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 OnShowLayoutDesigner ()
 
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 45 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 111 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 195 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 231 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 353 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 449 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 1005 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ ClearMenu()

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

Definition at line 1049 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ RefreshMenu()

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

Definition at line 1053 of file menu_orchestrator.cc.

◆ OnOpenRom()

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

Definition at line 1058 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRom()

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

Definition at line 1070 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRomAs()

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

Definition at line 1085 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnCreateProject()

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

Definition at line 1089 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnOpenProject()

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

Definition at line 1101 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProject()

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

Definition at line 1113 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProjectAs()

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

Definition at line 1127 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectManagement()

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

Definition at line 1139 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectFileEditor()

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

Definition at line 1146 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnUndo()

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

Definition at line 1154 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 1175 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 1196 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 1209 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 1223 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 1237 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 1252 of file menu_orchestrator.cc.

◆ OnShowEditorSelection()

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

Definition at line 1259 of file menu_orchestrator.cc.

Referenced by AddViewMenuItems().

◆ OnShowDisplaySettings()

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

Definition at line 1268 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnShowHexEditor()

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

Definition at line 1272 of file menu_orchestrator.cc.

◆ OnShowPanelBrowser()

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

Definition at line 1280 of file menu_orchestrator.cc.

Referenced by AddPanelsMenuItems().

◆ OnShowPanelFinder()

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

Definition at line 1288 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowWelcomeScreen()

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

Definition at line 1296 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnCreateNewSession()

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

Definition at line 1323 of file menu_orchestrator.cc.

◆ OnDuplicateCurrentSession()

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

Definition at line 1327 of file menu_orchestrator.cc.

◆ OnCloseCurrentSession()

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

Definition at line 1331 of file menu_orchestrator.cc.

◆ OnShowSessionSwitcher()

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

Definition at line 1339 of file menu_orchestrator.cc.

◆ OnShowSessionManager()

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

Definition at line 1348 of file menu_orchestrator.cc.

◆ OnShowAllWindows()

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

Definition at line 1353 of file menu_orchestrator.cc.

◆ OnHideAllWindows()

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

Definition at line 1362 of file menu_orchestrator.cc.

◆ OnResetWorkspaceLayout()

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

Definition at line 1369 of file menu_orchestrator.cc.

◆ OnSaveWorkspaceLayout()

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

Definition at line 1379 of file menu_orchestrator.cc.

◆ OnLoadWorkspaceLayout()

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

Definition at line 1386 of file menu_orchestrator.cc.

◆ OnShowLayoutPresets()

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

Definition at line 1393 of file menu_orchestrator.cc.

◆ OnShowLayoutDesigner()

◆ OnLoadDeveloperLayout()

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

Definition at line 1431 of file menu_orchestrator.cc.

Referenced by AddLayoutMenuItems().

◆ OnLoadDesignerLayout()

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

Definition at line 1437 of file menu_orchestrator.cc.

Referenced by AddLayoutMenuItems().

◆ OnLoadModderLayout()

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

Definition at line 1443 of file menu_orchestrator.cc.

Referenced by AddLayoutMenuItems().

◆ OnShowGlobalSearch()

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

Definition at line 1450 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowCommandPalette()

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

Definition at line 1458 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowPerformanceDashboard()

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

Definition at line 1466 of file menu_orchestrator.cc.

◆ OnShowImGuiDemo()

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

Definition at line 1474 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowImGuiMetrics()

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

Definition at line 1480 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowMemoryEditor()

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

Definition at line 1486 of file menu_orchestrator.cc.

◆ OnShowResourceLabelManager()

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

Definition at line 1493 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowRomInfo()

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

Definition at line 1585 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnCreateBackup()

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

Definition at line 1589 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnValidateRom()

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

Definition at line 1602 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnRunDataIntegrityCheck()

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

Definition at line 1693 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 1711 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 1727 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 1745 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 1756 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 1767 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 1785 of file menu_orchestrator.cc.

◆ OnExportBpsPatch()

◆ OnApplyBpsPatch()

◆ OnShowAssemblyEditor()

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

Definition at line 1790 of file menu_orchestrator.cc.

◆ OnShowAbout()

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

Definition at line 1552 of file menu_orchestrator.cc.

◆ OnShowGettingStarted()

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

Definition at line 1556 of file menu_orchestrator.cc.

◆ OnShowBuildInstructions()

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

Definition at line 1560 of file menu_orchestrator.cc.

◆ OnShowCLIUsage()

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

Definition at line 1564 of file menu_orchestrator.cc.

◆ OnShowTroubleshooting()

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

Definition at line 1568 of file menu_orchestrator.cc.

◆ OnShowContributing()

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

Definition at line 1572 of file menu_orchestrator.cc.

◆ OnShowWhatsNew()

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

Definition at line 1576 of file menu_orchestrator.cc.

◆ OnShowSupportedFeatures()

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

Definition at line 1580 of file menu_orchestrator.cc.

◆ OnShowSettings()

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

Definition at line 1615 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnQuit()

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

Definition at line 1622 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

◆ 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()

◆ CanSaveRom()

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

Definition at line 1629 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ CanSaveProject()

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

Definition at line 1634 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasActiveRom()

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

Definition at line 1638 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems(), and AddViewMenuItems().

◆ HasActiveProject()

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

Definition at line 1643 of file menu_orchestrator.cc.

◆ HasProjectFile()

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

Definition at line 1647 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasCurrentEditor()

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

Definition at line 1655 of file menu_orchestrator.cc.

Referenced by AddEditMenuItems(), and AddLayoutMenuItems().

◆ HasMultipleSessions()

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

Definition at line 1659 of file menu_orchestrator.cc.

◆ GetRomFilename()

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

Definition at line 1664 of file menu_orchestrator.cc.

◆ GetProjectName()

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

Definition at line 1669 of file menu_orchestrator.cc.

◆ GetCurrentEditorName()

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

Definition at line 1673 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 1679 of file menu_orchestrator.cc.

◆ RegisterGlobalShortcuts()

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

Definition at line 1685 of file menu_orchestrator.cc.

Member Data Documentation

◆ editor_manager_

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

Definition at line 193 of file menu_orchestrator.h.

Referenced by AddLayoutMenuItems(), and BuildMainMenu().

◆ menu_builder_

◆ rom_manager_

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

Definition at line 195 of file menu_orchestrator.h.

◆ project_manager_

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

Definition at line 196 of file menu_orchestrator.h.

◆ editor_registry_

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

Definition at line 197 of file menu_orchestrator.h.

◆ session_coordinator_

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

Definition at line 198 of file menu_orchestrator.h.

Referenced by AddHackWorkflowMenuItems(), and AddPanelsMenuItems().

◆ toast_manager_

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

Definition at line 199 of file menu_orchestrator.h.

◆ popup_manager_

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

Definition at line 200 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 204 of file menu_orchestrator.h.

Referenced by AddAppearanceMenuItems(), and SetStatusBar().

◆ user_settings_

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

Definition at line 205 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 208 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 212 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 213 of file menu_orchestrator.h.

Referenced by BuildMainMenu().


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