feat: Integrate ProjectFileEditor into EditorManager for enhanced project file handling

- Initialized ProjectFileEditor within EditorManager to facilitate project file editing.
- Added menu options for editing project files, including loading and error handling with toast notifications.
- Updated the DrawMenuBar method to render the ProjectFileEditor interface.
- Included necessary header for ProjectFileEditor in editor_manager.h.
This commit is contained in:
scawful
2025-10-04 21:47:55 -04:00
parent 9b51cd09f6
commit a057d0707a
5 changed files with 28 additions and 3 deletions

View File

@@ -13,6 +13,7 @@
#include "app/core/project.h"
#include "app/editor/code/assembly_editor.h"
#include "app/editor/code/memory_editor.h"
#include "app/editor/code/project_file_editor.h"
#include "app/editor/dungeon/dungeon_editor_v2.h"
#include "app/editor/graphics/graphics_editor.h"
#include "app/editor/graphics/palette_editor.h"
@@ -184,6 +185,9 @@ class EditorManager {
ProposalDrawer proposal_drawer_;
bool show_proposal_drawer_ = false;
// Project file editor
ProjectFileEditor project_file_editor_;
#ifdef YAZE_WITH_GRPC
// Agent editor - manages chat, collaboration, and network coordination
AgentEditor agent_editor_;