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 AddDrawersMenuItems ()
 
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 46 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 112 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 168 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 204 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 283 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 379 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 946 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ ClearMenu()

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

Definition at line 996 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ RefreshMenu()

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

Definition at line 1000 of file menu_orchestrator.cc.

◆ OnOpenRom()

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

Definition at line 1005 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRom()

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

Definition at line 1017 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRomAs()

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

Definition at line 1032 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnCreateProject()

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

Definition at line 1036 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnOpenProject()

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

Definition at line 1048 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProject()

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

Definition at line 1060 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProjectAs()

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

Definition at line 1074 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectManagement()

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

Definition at line 1086 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectFileEditor()

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

Definition at line 1093 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnUndo()

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

Definition at line 1101 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 1122 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 1143 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 1156 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 1170 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 1184 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 1199 of file menu_orchestrator.cc.

◆ OnShowEditorSelection()

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

Definition at line 1206 of file menu_orchestrator.cc.

Referenced by AddViewMenuItems().

◆ OnShowDisplaySettings()

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

Definition at line 1215 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnShowHexEditor()

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

Definition at line 1219 of file menu_orchestrator.cc.

◆ OnShowPanelBrowser()

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

Definition at line 1227 of file menu_orchestrator.cc.

Referenced by AddPanelsMenuItems().

◆ OnShowPanelFinder()

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

Definition at line 1235 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowWelcomeScreen()

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

Definition at line 1243 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnCreateNewSession()

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

Definition at line 1270 of file menu_orchestrator.cc.

◆ OnDuplicateCurrentSession()

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

Definition at line 1274 of file menu_orchestrator.cc.

◆ OnCloseCurrentSession()

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

Definition at line 1278 of file menu_orchestrator.cc.

◆ OnShowSessionSwitcher()

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

Definition at line 1286 of file menu_orchestrator.cc.

◆ OnShowSessionManager()

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

Definition at line 1295 of file menu_orchestrator.cc.

◆ OnShowAllWindows()

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

Definition at line 1300 of file menu_orchestrator.cc.

◆ OnHideAllWindows()

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

Definition at line 1309 of file menu_orchestrator.cc.

◆ OnResetWorkspaceLayout()

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

Definition at line 1316 of file menu_orchestrator.cc.

◆ OnSaveWorkspaceLayout()

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

Definition at line 1326 of file menu_orchestrator.cc.

◆ OnLoadWorkspaceLayout()

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

Definition at line 1333 of file menu_orchestrator.cc.

◆ OnShowLayoutPresets()

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

Definition at line 1340 of file menu_orchestrator.cc.

◆ OnShowLayoutDesigner()

◆ OnLoadDeveloperLayout()

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

Definition at line 1378 of file menu_orchestrator.cc.

◆ OnLoadDesignerLayout()

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

Definition at line 1384 of file menu_orchestrator.cc.

◆ OnLoadModderLayout()

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

Definition at line 1390 of file menu_orchestrator.cc.

◆ OnShowGlobalSearch()

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

Definition at line 1397 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowCommandPalette()

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

Definition at line 1405 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowPerformanceDashboard()

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

Definition at line 1413 of file menu_orchestrator.cc.

◆ OnShowImGuiDemo()

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

Definition at line 1421 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowImGuiMetrics()

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

Definition at line 1427 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowMemoryEditor()

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

Definition at line 1433 of file menu_orchestrator.cc.

◆ OnShowResourceLabelManager()

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

Definition at line 1440 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowRomInfo()

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

Definition at line 1532 of file menu_orchestrator.cc.

◆ OnCreateBackup()

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

Definition at line 1536 of file menu_orchestrator.cc.

◆ OnValidateRom()

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

Definition at line 1549 of file menu_orchestrator.cc.

◆ OnRunDataIntegrityCheck()

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

Definition at line 1640 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 1658 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 1674 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 1692 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 1703 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 1714 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 1732 of file menu_orchestrator.cc.

◆ OnExportBpsPatch()

◆ OnApplyBpsPatch()

◆ OnShowAssemblyEditor()

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

Definition at line 1737 of file menu_orchestrator.cc.

◆ OnShowAbout()

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

Definition at line 1499 of file menu_orchestrator.cc.

◆ OnShowGettingStarted()

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

Definition at line 1503 of file menu_orchestrator.cc.

◆ OnShowBuildInstructions()

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

Definition at line 1507 of file menu_orchestrator.cc.

◆ OnShowCLIUsage()

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

Definition at line 1511 of file menu_orchestrator.cc.

◆ OnShowTroubleshooting()

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

Definition at line 1515 of file menu_orchestrator.cc.

◆ OnShowContributing()

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

Definition at line 1519 of file menu_orchestrator.cc.

◆ OnShowWhatsNew()

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

Definition at line 1523 of file menu_orchestrator.cc.

◆ OnShowSupportedFeatures()

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

Definition at line 1527 of file menu_orchestrator.cc.

◆ OnShowSettings()

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

Definition at line 1562 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnQuit()

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

Definition at line 1569 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ AddFileMenuItems()

◆ AddEditMenuItems()

◆ AddViewMenuItems()

◆ AddAppearanceMenuItems()

◆ AddDrawersMenuItems()

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

Referenced by AddFileMenuItems().

◆ CanSaveProject()

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

Definition at line 1581 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasActiveRom()

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

Definition at line 1585 of file menu_orchestrator.cc.

Referenced by AddViewMenuItems().

◆ HasActiveProject()

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

Definition at line 1590 of file menu_orchestrator.cc.

◆ HasProjectFile()

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

Definition at line 1594 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasCurrentEditor()

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

Definition at line 1602 of file menu_orchestrator.cc.

Referenced by AddEditMenuItems().

◆ HasMultipleSessions()

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

Definition at line 1606 of file menu_orchestrator.cc.

◆ GetRomFilename()

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

Definition at line 1611 of file menu_orchestrator.cc.

◆ GetProjectName()

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

Definition at line 1616 of file menu_orchestrator.cc.

◆ GetCurrentEditorName()

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

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

◆ RegisterGlobalShortcuts()

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

Definition at line 1632 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 AddDrawersMenuItems(), 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: