ui: Run pattern language runtime asynchronously, added compile button

This commit is contained in:
WerWolv
2021-02-20 22:38:31 +01:00
parent 305b4d0ac0
commit 9b9c040d2d
4 changed files with 56 additions and 14 deletions

View File

@@ -31,6 +31,8 @@ namespace hex {
std::vector<lang::PatternData*> &m_patternData;
std::vector<std::string> m_possiblePatternFiles;
int m_selectedPatternFile = 0;
bool m_runAutomatically = false;
bool m_compilerRunning = false;
TextEditor m_textEditor;
std::vector<std::pair<lang::LogConsole::Level, std::string>> m_console;