From 250096a0a036e8e40330a04818682530027efa2e Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 10 Aug 2024 02:11:59 -0400 Subject: [PATCH] add extensions and yaze_editor_context to MasterEditor --- src/app/editor/master_editor.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/app/editor/master_editor.h b/src/app/editor/master_editor.h index 55bcac7f..988a9304 100644 --- a/src/app/editor/master_editor.h +++ b/src/app/editor/master_editor.h @@ -28,9 +28,11 @@ #include "app/gui/icons.h" #include "app/gui/input.h" #include "app/rom.h" +#include "ext/extension.h" #include "imgui/imgui.h" #include "imgui/misc/cpp/imgui_stdlib.h" #include "imgui_memory_editor.h" +#include "yaze.h" namespace yaze { namespace app { @@ -86,12 +88,7 @@ class MasterEditor : public SharedRom, void DrawInfoPopup(); void DrawYazeMenu(); - void DrawFileMenu(); - void DrawEditMenu(); - void DrawViewMenu(); - void DrawTestMenu(); - void DrawProjectMenu(); - void DrawHelpMenu(); + void DrawYazeMenuBar(); void LoadRom(); void SaveRom(); @@ -112,6 +109,8 @@ class MasterEditor : public SharedRom, emu::Emulator emulator_; Project current_project_; + yaze_editor_context editor_context_; + std::vector extensions_; AssemblyEditor assembly_editor_; DungeonEditor dungeon_editor_;