yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::MenuOrchestrator Class Reference

Handles all menu building and UI coordination logic. More...

#include <menu_orchestrator.h>

Public Member Functions

 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)
 
 ~MenuOrchestrator ()=default
 
void SetWindowManager (WorkspaceWindowManager *manager)
 
void SetStatusBar (StatusBar *bar)
 
void SetUserSettings (UserSettings *settings)
 
 MenuOrchestrator (const MenuOrchestrator &)=delete
 
MenuOrchestratoroperator= (const MenuOrchestrator &)=delete
 
void BuildMainMenu ()
 
void BuildFileMenu ()
 
void BuildEditMenu ()
 
void BuildViewMenu ()
 
void BuildPanelsMenu ()
 
void BuildToolsMenu ()
 
void BuildHelpMenu ()
 
void ClearMenu ()
 
void RefreshMenu ()
 
void OnOpenRom ()
 
void OnSaveRom ()
 
void OnSaveRomAs ()
 
void OnCreateProject ()
 
void OnOpenProject ()
 
void OnSaveProject ()
 
void OnSaveProjectAs ()
 
void OnShowProjectManagement ()
 
void OnShowProjectFileEditor ()
 
void OnUndo ()
 
void OnRedo ()
 
void OnCut ()
 
void OnCopy ()
 
void OnPaste ()
 
void OnFind ()
 
void OnSwitchToEditor (EditorType editor_type)
 
void OnShowEditorSelection ()
 
void OnShowDisplaySettings ()
 
void OnShowHexEditor ()
 
void OnShowPanelBrowser ()
 
void OnShowPanelFinder ()
 
void OnShowWelcomeScreen ()
 
void OnCreateNewSession ()
 
void OnDuplicateCurrentSession ()
 
void OnCloseCurrentSession ()
 
void OnShowSessionSwitcher ()
 
void OnShowSessionManager ()
 
void OnShowAllWindows ()
 
void OnHideAllWindows ()
 
void OnResetWorkspaceLayout ()
 
void OnSaveWorkspaceLayout ()
 
void OnLoadWorkspaceLayout ()
 
void OnShowLayoutPresets ()
 
void OnLoadDeveloperLayout ()
 
void OnLoadDesignerLayout ()
 
void OnLoadModderLayout ()
 
void OnShowGlobalSearch ()
 
void OnShowCommandPalette ()
 
void OnShowPerformanceDashboard ()
 
void OnShowImGuiDemo ()
 
void OnShowImGuiMetrics ()
 
void OnShowMemoryEditor ()
 
void OnShowResourceLabelManager ()
 
void OnShowRomInfo ()
 
void OnCreateBackup ()
 
void OnValidateRom ()
 
void OnRunDataIntegrityCheck ()
 
void OnTestSaveLoad ()
 
void OnCheckRomVersion ()
 
void OnUpgradeRom ()
 
void OnToggleCustomLoading ()
 
void OnToggleAsarPatch ()
 
void OnLoadAsmFile ()
 
void OnExportBpsPatch ()
 
void OnApplyBpsPatch ()
 
void OnShowAssemblyEditor ()
 
void OnShowAbout ()
 
void OnShowGettingStarted ()
 
void OnShowBuildInstructions ()
 
void OnShowCLIUsage ()
 
void OnShowTroubleshooting ()
 
void OnShowContributing ()
 
void OnShowWhatsNew ()
 
void OnShowSupportedFeatures ()
 
void OnShowSettings ()
 
void OnQuit ()
 

Private Member Functions

void AddFileMenuItems ()
 
void AddEditMenuItems ()
 
void AddViewMenuItems ()
 
void AddAppearanceMenuItems ()
 
void AddLayoutMenuItems ()
 
void AddPanelsMenuItems ()
 
void AddToolsMenuItems ()
 
void AddSearchMenuItems ()
 
void AddHackWorkflowMenuItems ()
 
void AddRomAnalysisMenuItems ()
 
void AddAsarIntegrationMenuItems ()
 
void AddDevelopmentMenuItems ()
 
void AddTestingMenuItems ()
 
void AddSessionsSubmenu ()
 
void AddLayoutSubmenu ()
 
void AddSidebarSubmenu ()
 
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

EditorManagereditor_manager_
 
MenuBuildermenu_builder_
 
RomFileManagerrom_manager_
 
ProjectManagerproject_manager_
 
EditorRegistryeditor_registry_
 
SessionCoordinatorsession_coordinator_
 
ToastManagertoast_manager_
 
PopupManagerpopup_manager_
 
WorkspaceWindowManagerwindow_manager_ = nullptr
 
StatusBarstatus_bar_ = nullptr
 
UserSettingsuser_settings_ = nullptr
 
bool menu_needs_refresh_ = false
 
bool open_save_snapshot_modal_ = false
 
char save_snapshot_name_buffer_ [96] = {0}
 

Detailed Description

Handles all menu building and UI coordination logic.

Extracted from EditorManager to provide focused menu management:

  • Menu structure and organization
  • Menu item callbacks and shortcuts
  • Editor-specific menu items
  • Session-aware menu updates
  • Menu state 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.

Constructor & Destructor Documentation

◆ MenuOrchestrator() [1/2]

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 37 of file menu_orchestrator.cc.

◆ ~MenuOrchestrator()

yaze::editor::MenuOrchestrator::~MenuOrchestrator ( )
default

◆ MenuOrchestrator() [2/2]

yaze::editor::MenuOrchestrator::MenuOrchestrator ( const MenuOrchestrator & )
delete

Member Function Documentation

◆ SetWindowManager()

void yaze::editor::MenuOrchestrator::SetWindowManager ( WorkspaceWindowManager * manager)
inline

Definition at line 53 of file menu_orchestrator.h.

References window_manager_.

◆ SetStatusBar()

void yaze::editor::MenuOrchestrator::SetStatusBar ( StatusBar * bar)
inline

Definition at line 56 of file menu_orchestrator.h.

References status_bar_.

◆ SetUserSettings()

void yaze::editor::MenuOrchestrator::SetUserSettings ( UserSettings * settings)
inline

Definition at line 57 of file menu_orchestrator.h.

References user_settings_.

◆ operator=()

MenuOrchestrator & yaze::editor::MenuOrchestrator::operator= ( const MenuOrchestrator & )
delete

◆ BuildMainMenu()

◆ BuildFileMenu()

void yaze::editor::MenuOrchestrator::BuildFileMenu ( )

Definition at line 103 of file menu_orchestrator.cc.

References AddFileMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.

Referenced by BuildMainMenu().

Here is the call graph for this function:

◆ BuildEditMenu()

void yaze::editor::MenuOrchestrator::BuildEditMenu ( )

Definition at line 185 of file menu_orchestrator.cc.

References AddEditMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.

Referenced by BuildMainMenu().

Here is the call graph for this function:

◆ BuildViewMenu()

void yaze::editor::MenuOrchestrator::BuildViewMenu ( )

Definition at line 221 of file menu_orchestrator.cc.

References AddViewMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.

Referenced by BuildMainMenu().

Here is the call graph for this function:

◆ BuildPanelsMenu()

void yaze::editor::MenuOrchestrator::BuildPanelsMenu ( )

Definition at line 338 of file menu_orchestrator.cc.

References AddPanelsMenuItems(), yaze::editor::MenuBuilder::CustomMenu(), and menu_builder_.

Referenced by BuildMainMenu().

Here is the call graph for this function:

◆ BuildToolsMenu()

void yaze::editor::MenuOrchestrator::BuildToolsMenu ( )

Definition at line 434 of file menu_orchestrator.cc.

References AddToolsMenuItems(), yaze::editor::MenuBuilder::BeginMenu(), yaze::editor::MenuBuilder::EndMenu(), and menu_builder_.

Referenced by BuildMainMenu().

Here is the call graph for this function:

◆ BuildHelpMenu()

void yaze::editor::MenuOrchestrator::BuildHelpMenu ( )

Definition at line 974 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ ClearMenu()

void yaze::editor::MenuOrchestrator::ClearMenu ( )

Definition at line 1004 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ RefreshMenu()

void yaze::editor::MenuOrchestrator::RefreshMenu ( )

Definition at line 1008 of file menu_orchestrator.cc.

◆ OnOpenRom()

void yaze::editor::MenuOrchestrator::OnOpenRom ( )

Definition at line 1013 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRom()

void yaze::editor::MenuOrchestrator::OnSaveRom ( )

Definition at line 1025 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRomAs()

void yaze::editor::MenuOrchestrator::OnSaveRomAs ( )

Definition at line 1042 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnCreateProject()

void yaze::editor::MenuOrchestrator::OnCreateProject ( )

Definition at line 1046 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnOpenProject()

void yaze::editor::MenuOrchestrator::OnOpenProject ( )

Definition at line 1058 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProject()

void yaze::editor::MenuOrchestrator::OnSaveProject ( )

Definition at line 1070 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProjectAs()

void yaze::editor::MenuOrchestrator::OnSaveProjectAs ( )

Definition at line 1084 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectManagement()

void yaze::editor::MenuOrchestrator::OnShowProjectManagement ( )

Definition at line 1096 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectFileEditor()

void yaze::editor::MenuOrchestrator::OnShowProjectFileEditor ( )

Definition at line 1103 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnUndo()

void yaze::editor::MenuOrchestrator::OnUndo ( )

Definition at line 1111 of file menu_orchestrator.cc.

References yaze::editor::Editor::GetUndoDescription(), and yaze::editor::Editor::Undo().

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ OnRedo()

void yaze::editor::MenuOrchestrator::OnRedo ( )

Definition at line 1132 of file menu_orchestrator.cc.

References yaze::editor::Editor::GetRedoDescription(), and yaze::editor::Editor::Redo().

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ OnCut()

void yaze::editor::MenuOrchestrator::OnCut ( )

Definition at line 1153 of file menu_orchestrator.cc.

References yaze::editor::Editor::Cut().

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ OnCopy()

void yaze::editor::MenuOrchestrator::OnCopy ( )

Definition at line 1166 of file menu_orchestrator.cc.

References yaze::editor::Editor::Copy().

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ OnPaste()

void yaze::editor::MenuOrchestrator::OnPaste ( )

Definition at line 1180 of file menu_orchestrator.cc.

References yaze::editor::Editor::Paste().

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ OnFind()

void yaze::editor::MenuOrchestrator::OnFind ( )

Definition at line 1194 of file menu_orchestrator.cc.

References yaze::editor::Editor::Find().

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ OnSwitchToEditor()

void yaze::editor::MenuOrchestrator::OnSwitchToEditor ( EditorType editor_type)

Definition at line 1209 of file menu_orchestrator.cc.

◆ OnShowEditorSelection()

void yaze::editor::MenuOrchestrator::OnShowEditorSelection ( )

Definition at line 1216 of file menu_orchestrator.cc.

Referenced by AddViewMenuItems().

◆ OnShowDisplaySettings()

void yaze::editor::MenuOrchestrator::OnShowDisplaySettings ( )

Definition at line 1225 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnShowHexEditor()

void yaze::editor::MenuOrchestrator::OnShowHexEditor ( )

Definition at line 1229 of file menu_orchestrator.cc.

◆ OnShowPanelBrowser()

void yaze::editor::MenuOrchestrator::OnShowPanelBrowser ( )

Definition at line 1237 of file menu_orchestrator.cc.

Referenced by AddPanelsMenuItems().

◆ OnShowPanelFinder()

void yaze::editor::MenuOrchestrator::OnShowPanelFinder ( )

Definition at line 1245 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowWelcomeScreen()

void yaze::editor::MenuOrchestrator::OnShowWelcomeScreen ( )

Definition at line 1253 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnCreateNewSession()

void yaze::editor::MenuOrchestrator::OnCreateNewSession ( )

Definition at line 1280 of file menu_orchestrator.cc.

◆ OnDuplicateCurrentSession()

void yaze::editor::MenuOrchestrator::OnDuplicateCurrentSession ( )

Definition at line 1284 of file menu_orchestrator.cc.

◆ OnCloseCurrentSession()

void yaze::editor::MenuOrchestrator::OnCloseCurrentSession ( )

Definition at line 1288 of file menu_orchestrator.cc.

◆ OnShowSessionSwitcher()

void yaze::editor::MenuOrchestrator::OnShowSessionSwitcher ( )

Definition at line 1292 of file menu_orchestrator.cc.

◆ OnShowSessionManager()

void yaze::editor::MenuOrchestrator::OnShowSessionManager ( )

Definition at line 1301 of file menu_orchestrator.cc.

◆ OnShowAllWindows()

void yaze::editor::MenuOrchestrator::OnShowAllWindows ( )

Definition at line 1306 of file menu_orchestrator.cc.

◆ OnHideAllWindows()

void yaze::editor::MenuOrchestrator::OnHideAllWindows ( )

Definition at line 1315 of file menu_orchestrator.cc.

◆ OnResetWorkspaceLayout()

void yaze::editor::MenuOrchestrator::OnResetWorkspaceLayout ( )

Definition at line 1322 of file menu_orchestrator.cc.

◆ OnSaveWorkspaceLayout()

void yaze::editor::MenuOrchestrator::OnSaveWorkspaceLayout ( )

Definition at line 1332 of file menu_orchestrator.cc.

◆ OnLoadWorkspaceLayout()

void yaze::editor::MenuOrchestrator::OnLoadWorkspaceLayout ( )

Definition at line 1339 of file menu_orchestrator.cc.

◆ OnShowLayoutPresets()

void yaze::editor::MenuOrchestrator::OnShowLayoutPresets ( )

Definition at line 1346 of file menu_orchestrator.cc.

◆ OnLoadDeveloperLayout()

void yaze::editor::MenuOrchestrator::OnLoadDeveloperLayout ( )

Definition at line 1350 of file menu_orchestrator.cc.

Referenced by AddLayoutMenuItems().

◆ OnLoadDesignerLayout()

void yaze::editor::MenuOrchestrator::OnLoadDesignerLayout ( )

Definition at line 1356 of file menu_orchestrator.cc.

Referenced by AddLayoutMenuItems().

◆ OnLoadModderLayout()

void yaze::editor::MenuOrchestrator::OnLoadModderLayout ( )

Definition at line 1362 of file menu_orchestrator.cc.

Referenced by AddLayoutMenuItems().

◆ OnShowGlobalSearch()

void yaze::editor::MenuOrchestrator::OnShowGlobalSearch ( )

Definition at line 1369 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowCommandPalette()

void yaze::editor::MenuOrchestrator::OnShowCommandPalette ( )

Definition at line 1377 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowPerformanceDashboard()

void yaze::editor::MenuOrchestrator::OnShowPerformanceDashboard ( )

Definition at line 1385 of file menu_orchestrator.cc.

◆ OnShowImGuiDemo()

void yaze::editor::MenuOrchestrator::OnShowImGuiDemo ( )

Definition at line 1393 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowImGuiMetrics()

void yaze::editor::MenuOrchestrator::OnShowImGuiMetrics ( )

Definition at line 1399 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowMemoryEditor()

void yaze::editor::MenuOrchestrator::OnShowMemoryEditor ( )

Definition at line 1405 of file menu_orchestrator.cc.

◆ OnShowResourceLabelManager()

void yaze::editor::MenuOrchestrator::OnShowResourceLabelManager ( )

Definition at line 1412 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowRomInfo()

void yaze::editor::MenuOrchestrator::OnShowRomInfo ( )

Definition at line 1504 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnCreateBackup()

void yaze::editor::MenuOrchestrator::OnCreateBackup ( )

Definition at line 1508 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnValidateRom()

void yaze::editor::MenuOrchestrator::OnValidateRom ( )

Definition at line 1521 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnRunDataIntegrityCheck()

void yaze::editor::MenuOrchestrator::OnRunDataIntegrityCheck ( )

Definition at line 1612 of file menu_orchestrator.cc.

References yaze::Rom::is_loaded().

Here is the call graph for this function:

◆ OnTestSaveLoad()

void yaze::editor::MenuOrchestrator::OnTestSaveLoad ( )

Definition at line 1630 of file menu_orchestrator.cc.

References yaze::Rom::is_loaded().

Here is the call graph for this function:

◆ OnCheckRomVersion()

void yaze::editor::MenuOrchestrator::OnCheckRomVersion ( )

Definition at line 1646 of file menu_orchestrator.cc.

References yaze::Rom::is_loaded(), yaze::zelda3::OverworldCustomASMHasBeenApplied, and yaze::Rom::title().

Here is the call graph for this function:

◆ OnUpgradeRom()

void yaze::editor::MenuOrchestrator::OnUpgradeRom ( )

Definition at line 1664 of file menu_orchestrator.cc.

References yaze::Rom::is_loaded().

Here is the call graph for this function:

◆ OnToggleCustomLoading()

void yaze::editor::MenuOrchestrator::OnToggleCustomLoading ( )

Definition at line 1675 of file menu_orchestrator.cc.

References yaze::core::FeatureFlags::get().

Here is the call graph for this function:

◆ OnToggleAsarPatch()

void yaze::editor::MenuOrchestrator::OnToggleAsarPatch ( )

Definition at line 1686 of file menu_orchestrator.cc.

References yaze::core::FeatureFlags::get(), and yaze::Rom::is_loaded().

Here is the call graph for this function:

◆ OnLoadAsmFile()

void yaze::editor::MenuOrchestrator::OnLoadAsmFile ( )

Definition at line 1704 of file menu_orchestrator.cc.

◆ OnExportBpsPatch()

◆ OnApplyBpsPatch()

◆ OnShowAssemblyEditor()

void yaze::editor::MenuOrchestrator::OnShowAssemblyEditor ( )

Definition at line 1709 of file menu_orchestrator.cc.

◆ OnShowAbout()

void yaze::editor::MenuOrchestrator::OnShowAbout ( )

Definition at line 1471 of file menu_orchestrator.cc.

◆ OnShowGettingStarted()

void yaze::editor::MenuOrchestrator::OnShowGettingStarted ( )

Definition at line 1475 of file menu_orchestrator.cc.

◆ OnShowBuildInstructions()

void yaze::editor::MenuOrchestrator::OnShowBuildInstructions ( )

Definition at line 1479 of file menu_orchestrator.cc.

◆ OnShowCLIUsage()

void yaze::editor::MenuOrchestrator::OnShowCLIUsage ( )

Definition at line 1483 of file menu_orchestrator.cc.

◆ OnShowTroubleshooting()

void yaze::editor::MenuOrchestrator::OnShowTroubleshooting ( )

Definition at line 1487 of file menu_orchestrator.cc.

◆ OnShowContributing()

void yaze::editor::MenuOrchestrator::OnShowContributing ( )

Definition at line 1491 of file menu_orchestrator.cc.

◆ OnShowWhatsNew()

void yaze::editor::MenuOrchestrator::OnShowWhatsNew ( )

Definition at line 1495 of file menu_orchestrator.cc.

◆ OnShowSupportedFeatures()

void yaze::editor::MenuOrchestrator::OnShowSupportedFeatures ( )

Definition at line 1499 of file menu_orchestrator.cc.

◆ OnShowSettings()

void yaze::editor::MenuOrchestrator::OnShowSettings ( )

Definition at line 1534 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnQuit()

void yaze::editor::MenuOrchestrator::OnQuit ( )

Definition at line 1541 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ AddFileMenuItems()

◆ AddEditMenuItems()

◆ AddViewMenuItems()

◆ AddAppearanceMenuItems()

◆ AddLayoutMenuItems()

◆ AddPanelsMenuItems()

◆ AddToolsMenuItems()

◆ AddSearchMenuItems()

◆ AddHackWorkflowMenuItems()

◆ AddRomAnalysisMenuItems()

void yaze::editor::MenuOrchestrator::AddRomAnalysisMenuItems ( )
private

◆ AddAsarIntegrationMenuItems()

void yaze::editor::MenuOrchestrator::AddAsarIntegrationMenuItems ( )
private

Definition at line 580 of file menu_orchestrator.cc.

References ICON_MD_BUILD, ICON_MD_CODE, ICON_MD_FOLDER_OPEN, and ICON_MD_INFO.

Referenced by AddToolsMenuItems().

◆ AddDevelopmentMenuItems()

void yaze::editor::MenuOrchestrator::AddDevelopmentMenuItems ( )
private

◆ AddTestingMenuItems()

void yaze::editor::MenuOrchestrator::AddTestingMenuItems ( )
private

◆ AddSessionsSubmenu()

void yaze::editor::MenuOrchestrator::AddSessionsSubmenu ( )
private

◆ AddLayoutSubmenu()

◆ AddSidebarSubmenu()

void yaze::editor::MenuOrchestrator::AddSidebarSubmenu ( )
private

◆ AddHelpMenuItems()

void yaze::editor::MenuOrchestrator::AddHelpMenuItems ( )
private

◆ CanSaveRom()

bool yaze::editor::MenuOrchestrator::CanSaveRom ( ) const
private

Definition at line 1548 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ CanSaveProject()

bool yaze::editor::MenuOrchestrator::CanSaveProject ( ) const
private

Definition at line 1553 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasActiveRom()

bool yaze::editor::MenuOrchestrator::HasActiveRom ( ) const
private

Definition at line 1557 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems(), and AddViewMenuItems().

◆ HasActiveProject()

bool yaze::editor::MenuOrchestrator::HasActiveProject ( ) const
private

Definition at line 1562 of file menu_orchestrator.cc.

◆ HasProjectFile()

bool yaze::editor::MenuOrchestrator::HasProjectFile ( ) const
private

Definition at line 1566 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasCurrentEditor()

bool yaze::editor::MenuOrchestrator::HasCurrentEditor ( ) const
private

Definition at line 1574 of file menu_orchestrator.cc.

Referenced by AddEditMenuItems(), and AddLayoutMenuItems().

◆ HasMultipleSessions()

bool yaze::editor::MenuOrchestrator::HasMultipleSessions ( ) const
private

Definition at line 1578 of file menu_orchestrator.cc.

◆ GetRomFilename()

std::string yaze::editor::MenuOrchestrator::GetRomFilename ( ) const
private

Definition at line 1583 of file menu_orchestrator.cc.

◆ GetProjectName()

std::string yaze::editor::MenuOrchestrator::GetProjectName ( ) const
private

Definition at line 1588 of file menu_orchestrator.cc.

◆ GetCurrentEditorName()

std::string yaze::editor::MenuOrchestrator::GetCurrentEditorName ( ) const
private
Todo
Get current editor name

Definition at line 1592 of file menu_orchestrator.cc.

◆ GetShortcutForAction()

std::string yaze::editor::MenuOrchestrator::GetShortcutForAction ( const std::string & action) const
private
Todo
Implement shortcut mapping

Definition at line 1598 of file menu_orchestrator.cc.

◆ RegisterGlobalShortcuts()

void yaze::editor::MenuOrchestrator::RegisterGlobalShortcuts ( )
private
Todo
Register global keyboard shortcuts

Definition at line 1604 of file menu_orchestrator.cc.

Member Data Documentation

◆ editor_manager_

EditorManager* yaze::editor::MenuOrchestrator::editor_manager_
private

Definition at line 192 of file menu_orchestrator.h.

Referenced by AddLayoutMenuItems(), and BuildMainMenu().

◆ menu_builder_

◆ rom_manager_

RomFileManager& yaze::editor::MenuOrchestrator::rom_manager_
private

Definition at line 194 of file menu_orchestrator.h.

◆ project_manager_

ProjectManager& yaze::editor::MenuOrchestrator::project_manager_
private

Definition at line 195 of file menu_orchestrator.h.

◆ editor_registry_

EditorRegistry& yaze::editor::MenuOrchestrator::editor_registry_
private

Definition at line 196 of file menu_orchestrator.h.

◆ session_coordinator_

SessionCoordinator& yaze::editor::MenuOrchestrator::session_coordinator_
private

Definition at line 197 of file menu_orchestrator.h.

Referenced by AddHackWorkflowMenuItems(), and AddPanelsMenuItems().

◆ toast_manager_

ToastManager& yaze::editor::MenuOrchestrator::toast_manager_
private

Definition at line 198 of file menu_orchestrator.h.

◆ popup_manager_

PopupManager& yaze::editor::MenuOrchestrator::popup_manager_
private

Definition at line 199 of file menu_orchestrator.h.

Referenced by AddFileMenuItems().

◆ window_manager_

WorkspaceWindowManager* yaze::editor::MenuOrchestrator::window_manager_ = nullptr
private

◆ status_bar_

StatusBar* yaze::editor::MenuOrchestrator::status_bar_ = nullptr
private

Definition at line 203 of file menu_orchestrator.h.

Referenced by AddAppearanceMenuItems(), and SetStatusBar().

◆ user_settings_

UserSettings* yaze::editor::MenuOrchestrator::user_settings_ = nullptr
private

Definition at line 204 of file menu_orchestrator.h.

Referenced by AddAppearanceMenuItems(), and SetUserSettings().

◆ menu_needs_refresh_

bool yaze::editor::MenuOrchestrator::menu_needs_refresh_ = false
private

Definition at line 207 of file menu_orchestrator.h.

Referenced by BuildMainMenu().

◆ open_save_snapshot_modal_

bool yaze::editor::MenuOrchestrator::open_save_snapshot_modal_ = false
private

Definition at line 211 of file menu_orchestrator.h.

Referenced by BuildMainMenu().

◆ save_snapshot_name_buffer_

char yaze::editor::MenuOrchestrator::save_snapshot_name_buffer_[96] = {0}
private

Definition at line 212 of file menu_orchestrator.h.

Referenced by BuildMainMenu().


The documentation for this class was generated from the following files: