Handles all menu building and UI coordination logic. More...
#include <menu_orchestrator.h>
Private Member Functions | |
| void | AddFileMenuItems () |
| void | AddEditMenuItems () |
| void | AddViewMenuItems () |
| void | AddAppearanceMenuItems () |
| void | AddLayoutMenuItems () |
| void | AddPanelsMenuItems () |
| void | AddToolsMenuItems () |
| void | AddSearchMenuItems () |
| void | AddRomAnalysisMenuItems () |
| void | AddAsarIntegrationMenuItems () |
| void | AddDevelopmentMenuItems () |
| void | AddTestingMenuItems () |
| void | AddWindowMenuItems () |
| void | AddHelpMenuItems () |
| bool | CanSaveRom () const |
| bool | CanSaveProject () const |
| bool | HasActiveRom () const |
| bool | HasActiveProject () const |
| bool | HasProjectFile () const |
| bool | HasCurrentEditor () const |
| bool | HasMultipleSessions () const |
| std::string | GetRomFilename () const |
| std::string | GetProjectName () const |
| std::string | GetCurrentEditorName () const |
| std::string | GetShortcutForAction (const std::string &action) const |
| void | RegisterGlobalShortcuts () |
Private Attributes | |
| EditorManager * | editor_manager_ |
| MenuBuilder & | menu_builder_ |
| RomFileManager & | rom_manager_ |
| ProjectManager & | project_manager_ |
| EditorRegistry & | editor_registry_ |
| SessionCoordinator & | session_coordinator_ |
| ToastManager & | toast_manager_ |
| PopupManager & | popup_manager_ |
| PanelManager * | panel_manager_ = nullptr |
| StatusBar * | status_bar_ = nullptr |
| UserSettings * | user_settings_ = nullptr |
| bool | menu_needs_refresh_ = false |
Handles all menu building and UI coordination logic.
Extracted from EditorManager to provide focused menu management:
This class follows the Single Responsibility Principle by focusing solely on menu construction and coordination, delegating actual operations to specialized managers.
Definition at line 42 of file menu_orchestrator.h.
| yaze::editor::MenuOrchestrator::MenuOrchestrator | ( | EditorManager * | editor_manager, |
| MenuBuilder & | menu_builder, | ||
| RomFileManager & | rom_manager, | ||
| ProjectManager & | project_manager, | ||
| EditorRegistry & | editor_registry, | ||
| SessionCoordinator & | session_coordinator, | ||
| ToastManager & | toast_manager, | ||
| PopupManager & | popup_manager ) |
Definition at line 30 of file menu_orchestrator.cc.
|
default |
|
delete |
|
inline |
Definition at line 53 of file menu_orchestrator.h.
References panel_manager_.
|
inline |
Definition at line 54 of file menu_orchestrator.h.
References status_bar_.
|
inline |
Definition at line 55 of file menu_orchestrator.h.
References user_settings_.
|
delete |
| void yaze::editor::MenuOrchestrator::BuildMainMenu | ( | ) |
Definition at line 44 of file menu_orchestrator.cc.
References BuildEditMenu(), BuildFileMenu(), BuildHelpMenu(), BuildPanelsMenu(), BuildToolsMenu(), BuildViewMenu(), BuildWindowMenu(), ClearMenu(), yaze::editor::MenuBuilder::Draw(), menu_builder_, and menu_needs_refresh_.
| void yaze::editor::MenuOrchestrator::BuildFileMenu | ( | ) |
Definition at line 63 of file menu_orchestrator.cc.
References AddFileMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.
Referenced by BuildMainMenu().

| void yaze::editor::MenuOrchestrator::BuildEditMenu | ( | ) |
Definition at line 134 of file menu_orchestrator.cc.
References AddEditMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.
Referenced by BuildMainMenu().

| void yaze::editor::MenuOrchestrator::BuildViewMenu | ( | ) |
Definition at line 170 of file menu_orchestrator.cc.
References AddViewMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.
Referenced by BuildMainMenu().

| void yaze::editor::MenuOrchestrator::BuildPanelsMenu | ( | ) |
Definition at line 287 of file menu_orchestrator.cc.
References AddPanelsMenuItems(), yaze::editor::MenuBuilder::CustomMenu(), and menu_builder_.
Referenced by BuildMainMenu().

| void yaze::editor::MenuOrchestrator::BuildToolsMenu | ( | ) |
Definition at line 374 of file menu_orchestrator.cc.
References AddToolsMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.
Referenced by BuildMainMenu().

| void yaze::editor::MenuOrchestrator::BuildWindowMenu | ( | ) |
Definition at line 517 of file menu_orchestrator.cc.
References AddWindowMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.
Referenced by BuildMainMenu().

| void yaze::editor::MenuOrchestrator::BuildHelpMenu | ( | ) |
Definition at line 703 of file menu_orchestrator.cc.
References AddHelpMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.
Referenced by BuildMainMenu().

| void yaze::editor::MenuOrchestrator::ClearMenu | ( | ) |
Definition at line 733 of file menu_orchestrator.cc.
References yaze::editor::MenuBuilder::Clear(), and menu_builder_.
Referenced by BuildMainMenu().

| void yaze::editor::MenuOrchestrator::RefreshMenu | ( | ) |
Definition at line 737 of file menu_orchestrator.cc.
References menu_needs_refresh_.
| void yaze::editor::MenuOrchestrator::OnOpenRom | ( | ) |
Definition at line 742 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::kError, yaze::editor::EditorManager::LoadRom(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnSaveRom | ( | ) |
Definition at line 754 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::EditorManager::SaveRom(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnSaveRomAs | ( | ) |
Definition at line 771 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kSaveAs, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnCreateProject | ( | ) |
Definition at line 775 of file menu_orchestrator.cc.
References yaze::editor::EditorManager::CreateNewProject(), editor_manager_, yaze::editor::kError, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnOpenProject | ( | ) |
Definition at line 787 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::kError, yaze::editor::EditorManager::OpenProject(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnSaveProject | ( | ) |
Definition at line 799 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::EditorManager::SaveProject(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnSaveProjectAs | ( | ) |
Definition at line 813 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::kError, yaze::editor::EditorManager::SaveProjectAs(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowProjectManagement | ( | ) |
Definition at line 825 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ShowProjectManagement().
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowProjectFileEditor | ( | ) |
Definition at line 832 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ShowProjectFileEditor().
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnUndo | ( | ) |
Definition at line 840 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentEditor(), yaze::editor::Editor::GetUndoDescription(), yaze::editor::kError, yaze::editor::kInfo, yaze::editor::ToastManager::Show(), toast_manager_, and yaze::editor::Editor::Undo().
Referenced by AddEditMenuItems().

| void yaze::editor::MenuOrchestrator::OnRedo | ( | ) |
Definition at line 861 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentEditor(), yaze::editor::Editor::GetRedoDescription(), yaze::editor::kError, yaze::editor::kInfo, yaze::editor::Editor::Redo(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddEditMenuItems().

| void yaze::editor::MenuOrchestrator::OnCut | ( | ) |
Definition at line 882 of file menu_orchestrator.cc.
References yaze::editor::Editor::Cut(), editor_manager_, yaze::editor::EditorManager::GetCurrentEditor(), yaze::editor::kError, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddEditMenuItems().

| void yaze::editor::MenuOrchestrator::OnCopy | ( | ) |
Definition at line 895 of file menu_orchestrator.cc.
References yaze::editor::Editor::Copy(), editor_manager_, yaze::editor::EditorManager::GetCurrentEditor(), yaze::editor::kError, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddEditMenuItems().

| void yaze::editor::MenuOrchestrator::OnPaste | ( | ) |
Definition at line 909 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentEditor(), yaze::editor::kError, yaze::editor::Editor::Paste(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddEditMenuItems().

| void yaze::editor::MenuOrchestrator::OnFind | ( | ) |
Definition at line 923 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::Editor::Find(), yaze::editor::EditorManager::GetCurrentEditor(), yaze::editor::kError, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddEditMenuItems().

| void yaze::editor::MenuOrchestrator::OnSwitchToEditor | ( | EditorType | editor_type | ) |
Definition at line 938 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::SwitchToEditor().

| void yaze::editor::MenuOrchestrator::OnShowEditorSelection | ( | ) |
Definition at line 945 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddViewMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowDisplaySettings | ( | ) |
Definition at line 954 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kDisplaySettings, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddAppearanceMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowHexEditor | ( | ) |
Definition at line 958 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentSessionId(), yaze::editor::EditorManager::panel_manager(), and yaze::editor::PanelManager::ShowPanel().

| void yaze::editor::MenuOrchestrator::OnShowPanelBrowser | ( | ) |
Definition at line 966 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddPanelsMenuItems(), and AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowPanelFinder | ( | ) |
Definition at line 974 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddSearchMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowWelcomeScreen | ( | ) |
Definition at line 982 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddAppearanceMenuItems().

| void yaze::editor::MenuOrchestrator::OnCreateNewSession | ( | ) |
Definition at line 1009 of file menu_orchestrator.cc.
References yaze::editor::SessionCoordinator::CreateNewSession(), and session_coordinator_.
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnDuplicateCurrentSession | ( | ) |
Definition at line 1013 of file menu_orchestrator.cc.
References yaze::editor::SessionCoordinator::DuplicateCurrentSession(), and session_coordinator_.
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnCloseCurrentSession | ( | ) |
Definition at line 1017 of file menu_orchestrator.cc.
References yaze::editor::SessionCoordinator::CloseCurrentSession(), and session_coordinator_.
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowSessionSwitcher | ( | ) |
Definition at line 1021 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowSessionManager | ( | ) |
Definition at line 1030 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kSessionManager, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowAllWindows | ( | ) |
Definition at line 1035 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnHideAllWindows | ( | ) |
Definition at line 1044 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::HideAllWindows().
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnResetWorkspaceLayout | ( | ) |
Definition at line 1051 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::kInfo, yaze::editor::EditorManager::QueueDeferredAction(), yaze::editor::EditorManager::ResetWorkspaceLayout(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnSaveWorkspaceLayout | ( | ) |
Definition at line 1061 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::SaveWorkspaceLayout().
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnLoadWorkspaceLayout | ( | ) |
Definition at line 1068 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::LoadWorkspaceLayout().
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowLayoutPresets | ( | ) |
Definition at line 1075 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kLayoutPresets, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnLoadDeveloperLayout | ( | ) |
Definition at line 1079 of file menu_orchestrator.cc.
References yaze::editor::EditorManager::ApplyLayoutPreset(), and editor_manager_.
Referenced by AddLayoutMenuItems(), and AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnLoadDesignerLayout | ( | ) |
Definition at line 1085 of file menu_orchestrator.cc.
References yaze::editor::EditorManager::ApplyLayoutPreset(), and editor_manager_.
Referenced by AddLayoutMenuItems(), and AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnLoadModderLayout | ( | ) |
Definition at line 1091 of file menu_orchestrator.cc.
References yaze::editor::EditorManager::ApplyLayoutPreset(), and editor_manager_.
Referenced by AddLayoutMenuItems(), and AddWindowMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowGlobalSearch | ( | ) |
Definition at line 1098 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddSearchMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowCommandPalette | ( | ) |
Definition at line 1106 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddSearchMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowPerformanceDashboard | ( | ) |
Definition at line 1114 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddDevelopmentMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowImGuiDemo | ( | ) |
Definition at line 1122 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ShowImGuiDemo().
Referenced by AddToolsMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowImGuiMetrics | ( | ) |
Definition at line 1128 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ShowImGuiMetrics().
Referenced by AddToolsMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowMemoryEditor | ( | ) |
Definition at line 1134 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentSessionId(), yaze::editor::EditorManager::panel_manager(), and yaze::editor::PanelManager::ShowPanel().
Referenced by AddDevelopmentMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowResourceLabelManager | ( | ) |
Definition at line 1141 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::ui_coordinator().
Referenced by AddSearchMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowRomInfo | ( | ) |
Definition at line 1233 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kRomInfo, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddFileMenuItems(), and AddRomAnalysisMenuItems().

| void yaze::editor::MenuOrchestrator::OnCreateBackup | ( | ) |
Definition at line 1237 of file menu_orchestrator.cc.
References yaze::editor::RomFileManager::CreateBackup(), editor_manager_, yaze::editor::EditorManager::GetCurrentRom(), yaze::editor::kError, yaze::editor::kSuccess, rom_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnValidateRom | ( | ) |
Definition at line 1250 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentRom(), yaze::editor::kError, yaze::editor::kSuccess, rom_manager_, yaze::editor::ToastManager::Show(), toast_manager_, and yaze::editor::RomFileManager::ValidateRom().
Referenced by AddFileMenuItems().

| void yaze::editor::MenuOrchestrator::OnRunDataIntegrityCheck | ( | ) |
Definition at line 1341 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentRom(), yaze::Rom::is_loaded(), yaze::editor::kInfo, yaze::editor::kSuccess, yaze::editor::kWarning, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddRomAnalysisMenuItems().

| void yaze::editor::MenuOrchestrator::OnTestSaveLoad | ( | ) |
Definition at line 1359 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentRom(), yaze::Rom::is_loaded(), yaze::editor::kInfo, yaze::editor::kSuccess, yaze::editor::kWarning, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddRomAnalysisMenuItems().

| void yaze::editor::MenuOrchestrator::OnCheckRomVersion | ( | ) |
Definition at line 1375 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentRom(), yaze::Rom::is_loaded(), yaze::editor::kInfo, yaze::zelda3::OverworldCustomASMHasBeenApplied, yaze::editor::ToastManager::Show(), yaze::Rom::title(), and toast_manager_.
Referenced by AddRomAnalysisMenuItems().

| void yaze::editor::MenuOrchestrator::OnUpgradeRom | ( | ) |
Definition at line 1393 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentRom(), yaze::Rom::is_loaded(), yaze::editor::kInfo, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddRomAnalysisMenuItems().

| void yaze::editor::MenuOrchestrator::OnToggleCustomLoading | ( | ) |
Definition at line 1404 of file menu_orchestrator.cc.
References yaze::core::FeatureFlags::get(), yaze::editor::kInfo, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddRomAnalysisMenuItems().

| void yaze::editor::MenuOrchestrator::OnToggleAsarPatch | ( | ) |
Definition at line 1415 of file menu_orchestrator.cc.
References editor_manager_, yaze::core::FeatureFlags::get(), yaze::editor::EditorManager::GetCurrentRom(), yaze::Rom::is_loaded(), yaze::editor::kInfo, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddAsarIntegrationMenuItems().

| void yaze::editor::MenuOrchestrator::OnLoadAsmFile | ( | ) |
Definition at line 1433 of file menu_orchestrator.cc.
References yaze::editor::kWarning, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by AddAsarIntegrationMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowAssemblyEditor | ( | ) |
Definition at line 1438 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::kAssembly, and yaze::editor::EditorManager::SwitchToEditor().
Referenced by AddDevelopmentMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowAbout | ( | ) |
Definition at line 1200 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kAbout, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddHelpMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowGettingStarted | ( | ) |
Definition at line 1204 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kGettingStarted, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddHelpMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowBuildInstructions | ( | ) |
Definition at line 1208 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kBuildInstructions, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddHelpMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowCLIUsage | ( | ) |
Definition at line 1212 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kCLIUsage, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddHelpMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowTroubleshooting | ( | ) |
Definition at line 1216 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kTroubleshooting, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddHelpMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowContributing | ( | ) |
Definition at line 1220 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kContributing, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddHelpMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowWhatsNew | ( | ) |
Definition at line 1224 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kWhatsNew, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddHelpMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowSupportedFeatures | ( | ) |
Definition at line 1228 of file menu_orchestrator.cc.
References yaze::editor::PopupID::kSupportedFeatures, popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddHelpMenuItems().

| void yaze::editor::MenuOrchestrator::OnShowSettings | ( | ) |
Definition at line 1263 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::kSettings, and yaze::editor::EditorManager::SwitchToEditor().
Referenced by AddFileMenuItems(), and AddHelpMenuItems().

| void yaze::editor::MenuOrchestrator::OnQuit | ( | ) |
Definition at line 1270 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::Quit().
Referenced by AddFileMenuItems().

|
private |
Definition at line 69 of file menu_orchestrator.cc.
References CanSaveProject(), CanSaveRom(), HasActiveRom(), HasProjectFile(), ICON_MD_BACKUP, ICON_MD_CHECK_CIRCLE, ICON_MD_CREATE_NEW_FOLDER, ICON_MD_DESCRIPTION, ICON_MD_EXIT_TO_APP, ICON_MD_FILE_OPEN, ICON_MD_FOLDER_OPEN, ICON_MD_FOLDER_SPECIAL, ICON_MD_INFO, ICON_MD_SAVE, ICON_MD_SAVE_AS, ICON_MD_SETTINGS, ICON_MD_TUNE, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), yaze::editor::PopupID::kRomBackups, yaze::editor::PopupID::kSaveScope, menu_builder_, OnCreateBackup(), OnCreateProject(), OnOpenProject(), OnOpenRom(), OnQuit(), OnSaveProject(), OnSaveProjectAs(), OnSaveRom(), OnSaveRomAs(), OnShowProjectFileEditor(), OnShowProjectManagement(), OnShowRomInfo(), OnShowSettings(), OnValidateRom(), popup_manager_, SHORTCUT_CTRL, and yaze::editor::PopupManager::Show().
Referenced by BuildFileMenu().
|
private |
Definition at line 140 of file menu_orchestrator.cc.
References HasCurrentEditor(), ICON_MD_CONTENT_COPY, ICON_MD_CONTENT_CUT, ICON_MD_CONTENT_PASTE, ICON_MD_REDO, ICON_MD_SEARCH, ICON_MD_UNDO, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), menu_builder_, OnCopy(), OnCut(), OnFind(), OnPaste(), OnRedo(), OnUndo(), and SHORTCUT_CTRL.
Referenced by BuildEditMenu().
|
private |
Definition at line 176 of file menu_orchestrator.cc.
References AddAppearanceMenuItems(), AddLayoutMenuItems(), HasActiveRom(), ICON_MD_SWAP_HORIZ, yaze::editor::MenuBuilder::Item(), menu_builder_, OnShowEditorSelection(), yaze::editor::MenuBuilder::Separator(), and SHORTCUT_CTRL.
Referenced by BuildViewMenu().
|
private |
Definition at line 190 of file menu_orchestrator.cc.
References ICON_MD_DISPLAY_SETTINGS, ICON_MD_HOME, ICON_MD_HORIZONTAL_RULE, ICON_MD_VIEW_SIDEBAR, yaze::editor::PanelManager::IsSidebarVisible(), yaze::editor::Item, yaze::editor::MenuBuilder::Item(), menu_builder_, OnShowDisplaySettings(), OnShowWelcomeScreen(), panel_manager_, yaze::editor::UserSettings::prefs(), yaze::editor::UserSettings::Save(), yaze::editor::StatusBar::SetEnabled(), SHORTCUT_CTRL, yaze::editor::UserSettings::Preferences::show_status_bar, status_bar_, yaze::editor::PanelManager::ToggleSidebarVisibility(), and user_settings_.
Referenced by AddViewMenuItems().
|
private |
Definition at line 227 of file menu_orchestrator.cc.
References yaze::editor::EditorManager::ApplyLayoutProfile(), yaze::editor::MenuBuilder::BeginSubMenu(), editor_manager_, HasCurrentEditor(), ICON_MD_BUG_REPORT, ICON_MD_BUILD, ICON_MD_CODE, ICON_MD_DESIGN_SERVICES, ICON_MD_DEVELOPER_MODE, ICON_MD_MAP, ICON_MD_REFRESH, ICON_MD_SMART_TOY, ICON_MD_VIEW_QUILT, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), menu_builder_, OnLoadDesignerLayout(), OnLoadDeveloperLayout(), OnLoadModderLayout(), and yaze::editor::EditorManager::ResetCurrentEditorLayout().
Referenced by AddViewMenuItems().
|
private |
Definition at line 292 of file menu_orchestrator.cc.
References yaze::editor::PanelManager::GetActiveCategory(), yaze::editor::SessionCoordinator::GetActiveSessionIndex(), yaze::editor::PanelManager::GetAllCategories(), yaze::editor::PanelManager::GetPanelsInCategory(), yaze::editor::PanelManager::HideAllPanelsInCategory(), yaze::editor::PanelManager::HideAllPanelsInSession(), ICON_MD_APPS, ICON_MD_CHECK_BOX, ICON_MD_CHECK_BOX_OUTLINE_BLANK, ICON_MD_FOLDER, ICON_MD_FOLDER_OPEN, ICON_MD_VISIBILITY, ICON_MD_VISIBILITY_OFF, yaze::editor::PanelManager::IsPanelVisible(), OnShowPanelBrowser(), panel_manager_, session_coordinator_, SHORTCUT_CTRL_SHIFT, yaze::editor::PanelManager::ShowAllPanelsInCategory(), yaze::editor::PanelManager::ShowAllPanelsInSession(), and yaze::editor::PanelManager::TogglePanel().
Referenced by BuildPanelsMenu().
|
private |
Definition at line 380 of file menu_orchestrator.cc.
References AddAsarIntegrationMenuItems(), AddDevelopmentMenuItems(), AddRomAnalysisMenuItems(), AddSearchMenuItems(), AddTestingMenuItems(), yaze::editor::MenuBuilder::BeginSubMenu(), ICON_MD_ANALYTICS, ICON_MD_BUG_REPORT, ICON_MD_HELP, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), menu_builder_, OnShowImGuiDemo(), OnShowImGuiMetrics(), and yaze::editor::MenuBuilder::Separator().
Referenced by BuildToolsMenu().
|
private |
Definition at line 407 of file menu_orchestrator.cc.
References ICON_MD_DASHBOARD, ICON_MD_LABEL, ICON_MD_SEARCH, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), menu_builder_, OnShowCommandPalette(), OnShowGlobalSearch(), OnShowPanelFinder(), OnShowResourceLabelManager(), SHORTCUT_CTRL, and SHORTCUT_CTRL_SHIFT.
Referenced by AddToolsMenuItems().
|
private |
Definition at line 423 of file menu_orchestrator.cc.
References yaze::editor::MenuBuilder::BeginSubMenu(), HasActiveRom(), ICON_MD_ANALYTICS, ICON_MD_CODE, ICON_MD_INFO, ICON_MD_SAVE_ALT, ICON_MD_SETTINGS, ICON_MD_STORAGE, ICON_MD_UPGRADE, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), menu_builder_, OnCheckRomVersion(), OnRunDataIntegrityCheck(), OnShowRomInfo(), OnTestSaveLoad(), OnToggleCustomLoading(), and OnUpgradeRom().
Referenced by AddToolsMenuItems().
|
private |
Definition at line 451 of file menu_orchestrator.cc.
References yaze::editor::MenuBuilder::BeginSubMenu(), HasActiveRom(), ICON_MD_BUILD, ICON_MD_CODE, ICON_MD_FOLDER_OPEN, ICON_MD_INFO, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), yaze::editor::PopupID::kAsarIntegration, menu_builder_, OnLoadAsmFile(), OnToggleAsarPatch(), popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddToolsMenuItems().
|
private |
Definition at line 463 of file menu_orchestrator.cc.
References yaze::editor::MenuBuilder::BeginSubMenu(), ICON_MD_CODE, ICON_MD_DEVELOPER_MODE, ICON_MD_FLAG, ICON_MD_MEMORY, ICON_MD_PREVIEW, ICON_MD_SMART_TOY, ICON_MD_SPEED, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), yaze::editor::PopupID::kFeatureFlags, menu_builder_, OnShowAssemblyEditor(), OnShowMemoryEditor(), OnShowPerformanceDashboard(), popup_manager_, and yaze::editor::PopupManager::Show().
Referenced by AddToolsMenuItems().
|
private |
Definition at line 483 of file menu_orchestrator.cc.
References yaze::editor::MenuBuilder::BeginSubMenu(), yaze::editor::MenuBuilder::DisabledItem(), yaze::editor::MenuBuilder::EndMenu(), ICON_MD_CHECK_BOX, ICON_MD_DASHBOARD, ICON_MD_INFO, ICON_MD_INTEGRATION_INSTRUCTIONS, ICON_MD_PLAY_ARROW, ICON_MD_SCIENCE, ICON_MD_VISIBILITY, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), menu_builder_, and SHORTCUT_CTRL.
Referenced by AddToolsMenuItems().

|
private |
Definition at line 523 of file menu_orchestrator.cc.
References yaze::editor::EditorManager::ApplyLayoutPreset(), yaze::editor::EditorManager::ApplyLayoutProfile(), yaze::editor::MenuBuilder::BeginSubMenu(), yaze::editor::EditorManager::CaptureTemporaryLayoutSnapshot(), yaze::editor::EditorManager::ClearTemporaryLayoutSnapshot(), editor_manager_, HasActiveRom(), HasCurrentEditor(), HasMultipleSessions(), ICON_MD_ADD, ICON_MD_BOOKMARK_ADD, ICON_MD_BOOKMARK_REMOVE, ICON_MD_BUG_REPORT, ICON_MD_BUILD, ICON_MD_CASTLE, ICON_MD_CLOSE, ICON_MD_CODE, ICON_MD_CONTENT_COPY, ICON_MD_DASHBOARD, ICON_MD_DESIGN_SERVICES, ICON_MD_DEVELOPER_MODE, ICON_MD_FOLDER_OPEN, ICON_MD_MAP, ICON_MD_MUSIC_NOTE, ICON_MD_REFRESH, ICON_MD_RESET_TV, ICON_MD_RESTORE, ICON_MD_SAVE, ICON_MD_SCIENCE, ICON_MD_SMART_TOY, ICON_MD_SWITCH_ACCOUNT, ICON_MD_TAB, ICON_MD_TUNE, ICON_MD_VIEW_COMPACT, ICON_MD_VIEW_LIST, ICON_MD_VIEW_QUILT, ICON_MD_VISIBILITY, ICON_MD_VISIBILITY_OFF, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), menu_builder_, OnCloseCurrentSession(), OnCreateNewSession(), OnDuplicateCurrentSession(), OnHideAllWindows(), OnLoadDesignerLayout(), OnLoadDeveloperLayout(), OnLoadModderLayout(), OnLoadWorkspaceLayout(), OnResetWorkspaceLayout(), OnSaveWorkspaceLayout(), OnShowAllWindows(), OnShowLayoutPresets(), OnShowPanelBrowser(), OnShowSessionManager(), OnShowSessionSwitcher(), yaze::editor::EditorManager::ResetCurrentEditorLayout(), yaze::editor::EditorManager::RestoreTemporaryLayoutSnapshot(), yaze::editor::MenuBuilder::Separator(), SHORTCUT_CTRL, and SHORTCUT_CTRL_SHIFT.
Referenced by BuildWindowMenu().
|
private |
Definition at line 709 of file menu_orchestrator.cc.
References ICON_MD_BUILD, ICON_MD_BUILD_CIRCLE, ICON_MD_CHECK_CIRCLE, ICON_MD_INFO, ICON_MD_KEYBOARD, ICON_MD_NEW_RELEASES, ICON_MD_PLAY_ARROW, ICON_MD_TERMINAL, ICON_MD_VOLUNTEER_ACTIVISM, yaze::editor::Item, yaze::editor::MenuBuilder::Item(), menu_builder_, OnShowAbout(), OnShowBuildInstructions(), OnShowCLIUsage(), OnShowContributing(), OnShowGettingStarted(), OnShowSettings(), OnShowSupportedFeatures(), OnShowTroubleshooting(), and OnShowWhatsNew().
Referenced by BuildHelpMenu().
|
private |
Definition at line 1277 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentRom(), yaze::editor::RomFileManager::IsRomLoaded(), and rom_manager_.
Referenced by AddFileMenuItems().

|
private |
Definition at line 1282 of file menu_orchestrator.cc.
References yaze::editor::ProjectManager::HasActiveProject(), and project_manager_.
Referenced by AddFileMenuItems().

|
private |
Definition at line 1286 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentRom(), yaze::editor::RomFileManager::IsRomLoaded(), and rom_manager_.
Referenced by AddAsarIntegrationMenuItems(), AddFileMenuItems(), AddRomAnalysisMenuItems(), AddViewMenuItems(), and AddWindowMenuItems().

|
private |
Definition at line 1291 of file menu_orchestrator.cc.
References yaze::editor::ProjectManager::HasActiveProject(), and project_manager_.

|
private |
Definition at line 1295 of file menu_orchestrator.cc.
References editor_manager_, yaze::project::YazeProject::filepath, and yaze::editor::EditorManager::GetCurrentProject().
Referenced by AddFileMenuItems().

|
private |
Definition at line 1303 of file menu_orchestrator.cc.
References editor_manager_, and yaze::editor::EditorManager::GetCurrentEditor().
Referenced by AddEditMenuItems(), AddLayoutMenuItems(), and AddWindowMenuItems().

|
private |
Definition at line 1307 of file menu_orchestrator.cc.
References yaze::editor::SessionCoordinator::HasMultipleSessions(), and session_coordinator_.
Referenced by AddWindowMenuItems().

|
private |
Definition at line 1312 of file menu_orchestrator.cc.
References editor_manager_, yaze::editor::EditorManager::GetCurrentRom(), yaze::editor::RomFileManager::GetRomFilename(), and rom_manager_.

|
private |
Definition at line 1317 of file menu_orchestrator.cc.
References yaze::editor::ProjectManager::GetProjectName(), and project_manager_.

|
private |
Definition at line 1321 of file menu_orchestrator.cc.
|
private |
Definition at line 1327 of file menu_orchestrator.cc.
|
private |
Definition at line 1333 of file menu_orchestrator.cc.
|
private |
Definition at line 184 of file menu_orchestrator.h.
Referenced by AddLayoutMenuItems(), AddWindowMenuItems(), CanSaveRom(), GetRomFilename(), HasActiveRom(), HasCurrentEditor(), HasProjectFile(), OnCheckRomVersion(), OnCopy(), OnCreateBackup(), OnCreateProject(), OnCut(), OnFind(), OnHideAllWindows(), OnLoadDesignerLayout(), OnLoadDeveloperLayout(), OnLoadModderLayout(), OnLoadWorkspaceLayout(), OnOpenProject(), OnOpenRom(), OnPaste(), OnQuit(), OnRedo(), OnResetWorkspaceLayout(), OnRunDataIntegrityCheck(), OnSaveProject(), OnSaveProjectAs(), OnSaveRom(), OnSaveWorkspaceLayout(), OnShowAllWindows(), OnShowAssemblyEditor(), OnShowCommandPalette(), OnShowEditorSelection(), OnShowGlobalSearch(), OnShowHexEditor(), OnShowImGuiDemo(), OnShowImGuiMetrics(), OnShowMemoryEditor(), OnShowPanelBrowser(), OnShowPanelFinder(), OnShowPerformanceDashboard(), OnShowProjectFileEditor(), OnShowProjectManagement(), OnShowResourceLabelManager(), OnShowSessionSwitcher(), OnShowSettings(), OnShowWelcomeScreen(), OnSwitchToEditor(), OnTestSaveLoad(), OnToggleAsarPatch(), OnUndo(), OnUpgradeRom(), and OnValidateRom().
|
private |
Definition at line 185 of file menu_orchestrator.h.
Referenced by AddAppearanceMenuItems(), AddAsarIntegrationMenuItems(), AddDevelopmentMenuItems(), AddEditMenuItems(), AddFileMenuItems(), AddHelpMenuItems(), AddLayoutMenuItems(), AddRomAnalysisMenuItems(), AddSearchMenuItems(), AddTestingMenuItems(), AddToolsMenuItems(), AddViewMenuItems(), AddWindowMenuItems(), BuildEditMenu(), BuildFileMenu(), BuildHelpMenu(), BuildMainMenu(), BuildPanelsMenu(), BuildToolsMenu(), BuildViewMenu(), BuildWindowMenu(), and ClearMenu().
|
private |
Definition at line 186 of file menu_orchestrator.h.
Referenced by CanSaveRom(), GetRomFilename(), HasActiveRom(), OnCreateBackup(), and OnValidateRom().
|
private |
Definition at line 187 of file menu_orchestrator.h.
Referenced by CanSaveProject(), GetProjectName(), and HasActiveProject().
|
private |
Definition at line 188 of file menu_orchestrator.h.
|
private |
Definition at line 189 of file menu_orchestrator.h.
Referenced by AddPanelsMenuItems(), HasMultipleSessions(), OnCloseCurrentSession(), OnCreateNewSession(), and OnDuplicateCurrentSession().
|
private |
Definition at line 190 of file menu_orchestrator.h.
Referenced by OnCheckRomVersion(), OnCopy(), OnCreateBackup(), OnCreateProject(), OnCut(), OnFind(), OnLoadAsmFile(), OnOpenProject(), OnOpenRom(), OnPaste(), OnRedo(), OnResetWorkspaceLayout(), OnRunDataIntegrityCheck(), OnSaveProject(), OnSaveProjectAs(), OnSaveRom(), OnTestSaveLoad(), OnToggleAsarPatch(), OnToggleCustomLoading(), OnUndo(), OnUpgradeRom(), and OnValidateRom().
|
private |
Definition at line 191 of file menu_orchestrator.h.
Referenced by AddAsarIntegrationMenuItems(), AddDevelopmentMenuItems(), AddFileMenuItems(), OnSaveRomAs(), OnShowAbout(), OnShowBuildInstructions(), OnShowCLIUsage(), OnShowContributing(), OnShowDisplaySettings(), OnShowGettingStarted(), OnShowLayoutPresets(), OnShowRomInfo(), OnShowSessionManager(), OnShowSupportedFeatures(), OnShowTroubleshooting(), and OnShowWhatsNew().
|
private |
Definition at line 194 of file menu_orchestrator.h.
Referenced by AddAppearanceMenuItems(), AddPanelsMenuItems(), and SetPanelManager().
|
private |
Definition at line 195 of file menu_orchestrator.h.
Referenced by AddAppearanceMenuItems(), and SetStatusBar().
|
private |
Definition at line 196 of file menu_orchestrator.h.
Referenced by AddAppearanceMenuItems(), and SetUserSettings().
|
private |
Definition at line 199 of file menu_orchestrator.h.
Referenced by BuildMainMenu(), and RefreshMenu().