| 85 | // ═════════════════════════════════════════════════════════════════ |
| 86 | |
| 87 | PythonApp::PythonApp() |
| 88 | : _screen(nullptr) |
| 89 | , _tabBar(nullptr) |
| 90 | , _panelScripts(nullptr), _scriptList(nullptr) |
| 91 | , _scriptCount(0), _scriptIdx(0) |
| 92 | , _btnBarScripts(nullptr), _btnNew(nullptr), _btnRun(nullptr), _btnDelete(nullptr) |
| 93 | , _btnIdx(0), _btnFocus(false) |
| 94 | , _panelEditor(nullptr), _editorTA(nullptr) |
| 95 | , _acPopup(nullptr), _acCount(0), _acIdx(0), _acOpen(false) |
| 96 | , _panelConsole(nullptr), _consoleTA(nullptr) |
| 97 | , _tab(Tab::SCRIPTS), _focus(Focus::TAB_BAR), _tabIdx(0) |
| 98 | { |
| 99 | _editFilename[0] = '\0'; |
| 100 | _editCode[0] = '\0'; |
| 101 | _acPrefix[0] = '\0'; |
| 102 | for (int i = 0; i < 3; ++i) { _tabPills[i] = nullptr; _tabLabels[i] = nullptr; } |
| 103 | for (int i = 0; i < MAX_SCRIPTS; ++i) { |
| 104 | _scriptRows[i] = nullptr; |
| 105 | _scriptLabels[i] = nullptr; |
| 106 | _scriptNames[i][0] = '\0'; |
| 107 | } |
| 108 | for (int i = 0; i < 8; ++i) { _acRows[i] = nullptr; _acLabels[i] = nullptr; } |
| 109 | } |
| 110 | |
| 111 | PythonApp::~PythonApp() { end(); } |
| 112 |
nothing calls this directly
no outgoing calls
no test coverage detected