Refactor editor UI components: streamline button handling in graphics and music editors, remove unused macros, and improve table setup in assembly editor.

This commit is contained in:
scawful
2025-03-08 00:58:47 -05:00
parent f31143f239
commit 9919677e43
5 changed files with 46 additions and 31 deletions

View File

@@ -54,19 +54,16 @@ class AssemblyEditor : public Editor {
private:
void DrawFileMenu();
void DrawEditMenu();
void SetEditorText();
void DrawCurrentFolder();
void DrawFileTabView();
bool file_is_loaded_ = false;
int current_file_id_ = 0;
std::vector<std::string> files_;
std::vector<TextEditor> open_files_;
ImVector<int> active_files_;
int current_file_id_ = 0;
std::string current_file_;
FolderItem current_folder_;