[nostalgia/studio] Add active editor tab to config

This commit is contained in:
2022-04-04 01:11:01 -05:00
parent f0cbcbbddf
commit 632ade60b9
2 changed files with 44 additions and 30 deletions
+4 -2
View File
@@ -29,8 +29,8 @@ class StudioUI: public ox::SignalHandler {
ox::HashMap<ox::String, studio::EditorMaker::Func> m_editorMakers;
ProjectExplorer *m_projectExplorer = nullptr;
ox::Vector<ox::String> m_openFiles;
studio::Editor *m_acitveEditor = nullptr;
bool m_activeEditorUpdatePending = false;
studio::Editor *m_activeEditor = nullptr;
studio::Editor *m_activeEditorUpdatePending = nullptr;
bool m_saveEnabled = false;
bool m_aboutEnabled = false;
bool m_showProjectExplorer = true;
@@ -76,6 +76,8 @@ class StudioUI: public ox::SignalHandler {
ox::Error openFile(const ox::String &path) noexcept;
ox::Error openFileActiveTab(const ox::String &path, bool makeActiveTab) noexcept;
ox::Error closeFile(const ox::String &path) noexcept;
};