feat(editor): add hex editor and AI agent functionalities to MenuOrchestrator

- Implemented methods in EditorManager to show the hex editor, AI agent, and chat history, enhancing the editor's capabilities.
- Updated MenuOrchestrator to include new menu items for accessing the hex editor, AI agent, chat history, and other UI elements.
- Improved user interaction by providing quick access to essential features through keyboard shortcuts.

Benefits:
- Streamlines the user experience by integrating additional editor functionalities.
- Enhances the overall architecture by clearly defining roles for UI and editor operations within the MenuOrchestrator.
This commit is contained in:
scawful
2025-10-15 01:01:21 -04:00
parent 12480626f7
commit 5502b5246a
4 changed files with 110 additions and 3 deletions

View File

@@ -241,6 +241,19 @@ class EditorManager {
void ShowImGuiMetrics() {
if (ui_coordinator_) ui_coordinator_->SetImGuiMetricsVisible(true);
}
void ShowHexEditor();
void ShowEmulator() { show_emulator_ = true; }
void ShowCardBrowser() {
if (ui_coordinator_) ui_coordinator_->ShowCardBrowser();
}
void ShowWelcomeScreen() {
if (ui_coordinator_) ui_coordinator_->SetWelcomeScreenVisible(true);
}
#ifdef YAZE_WITH_GRPC
void ShowAIAgent();
void ShowChatHistory();
void ShowProposalDrawer() { proposal_drawer_.Show(); }
#endif
// ROM and Project operations (public for MenuOrchestrator)
absl::Status LoadRom();