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)
 
void SetShortcutManager (const ShortcutManager *manager)
 
 MenuOrchestrator (const MenuOrchestrator &)=delete
 
MenuOrchestrator & operator= (const MenuOrchestrator &)=delete
 
void BuildMainMenu ()
 
void BuildFileMenu ()
 
void BuildEditMenu ()
 
void BuildViewMenu ()
 
void BuildEditorMenu ()
 
void BuildPanelsMenu ()
 
void BuildToolsMenu ()
 
void BuildHelpMenu ()
 
void ClearMenu ()
 
void RefreshMenu ()
 
void OnOpenRom ()
 
void OnSaveRom ()
 
void OnSaveRomAs ()
 
void OnCreateProject ()
 
void OnOpenProject ()
 
void OnCreateLyraTerrain ()
 
void OnOpenLyraTerrain ()
 
void OnSaveProject ()
 
void OnSaveProjectAs ()
 
void OnShowProjectManagement ()
 
void OnShowProjectFileEditor ()
 
void OnOpenRecentFile (const std::string &path)
 
void OnClearRecentFiles ()
 
void OnCloseRom ()
 
void OnRevertRom ()
 
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 OnZoomIn ()
 
void OnZoomOut ()
 
void OnZoomReset ()
 
void OnToggleFullscreen ()
 
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 OnCheckRomVersion ()
 
void OnOpenOverworldForUpgrade ()
 
void OnToggleCustomLoading ()
 
void OnToggleAsarPatch ()
 
void OnExportBpsPatch ()
 
void OnApplyBpsPatch ()
 
void OnShowAssemblyEditor ()
 
void OnShowAbout ()
 
void OnShowGettingStarted ()
 
void OnShowComingFromZScream ()
 
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 AddRecentFilesSubmenu ()
 
void AddThemeSubmenu ()
 
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
 
bool CurrentEditorCanUndo () const
 
bool CurrentEditorCanRedo () const
 
bool CurrentEditorCanCut () const
 
bool CurrentEditorCanCopy () const
 
bool CurrentEditorCanPaste () const
 
bool CurrentEditorCanFind () const
 
std::string GetRomFilename () const
 
std::string GetProjectName () const
 
std::string GetCurrentEditorName () const
 
std::string GetShortcutForAction (const std::string &action) const
 

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_
 
WorkspaceWindowManager * window_manager_ = nullptr
 
StatusBar * status_bar_ = nullptr
 
UserSettings * user_settings_ = nullptr
 
const ShortcutManager * shortcut_manager_ = 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 43 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 109 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 54 of file menu_orchestrator.h.

References window_manager_.

◆ SetStatusBar()

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

Definition at line 57 of file menu_orchestrator.h.

References status_bar_.

◆ SetUserSettings()

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

Definition at line 58 of file menu_orchestrator.h.

References user_settings_.

◆ SetShortcutManager()

void yaze::editor::MenuOrchestrator::SetShortcutManager ( const ShortcutManager * manager)
inline

Definition at line 60 of file menu_orchestrator.h.

References shortcut_manager_.

◆ operator=()

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

◆ BuildMainMenu()

◆ BuildFileMenu()

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

Definition at line 176 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 303 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 352 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:

◆ BuildEditorMenu()

◆ BuildPanelsMenu()

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

Definition at line 505 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 604 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 1152 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ ClearMenu()

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

Definition at line 1206 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ RefreshMenu()

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

Definition at line 1210 of file menu_orchestrator.cc.

◆ OnOpenRom()

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

Definition at line 1215 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRom()

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

Definition at line 1227 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRomAs()

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

Definition at line 1242 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnCreateProject()

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

Definition at line 1253 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnOpenProject()

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

Definition at line 1265 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnCreateLyraTerrain()

void yaze::editor::MenuOrchestrator::OnCreateLyraTerrain ( )

Definition at line 1277 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnOpenLyraTerrain()

void yaze::editor::MenuOrchestrator::OnOpenLyraTerrain ( )

Definition at line 1288 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProject()

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

Definition at line 1299 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProjectAs()

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

Definition at line 1313 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectManagement()

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

Definition at line 1325 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectFileEditor()

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

Definition at line 1332 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnOpenRecentFile()

void yaze::editor::MenuOrchestrator::OnOpenRecentFile ( const std::string & path)

Definition at line 1339 of file menu_orchestrator.cc.

Referenced by AddRecentFilesSubmenu().

◆ OnClearRecentFiles()

void yaze::editor::MenuOrchestrator::OnClearRecentFiles ( )

Definition at line 1352 of file menu_orchestrator.cc.

References yaze::project::RecentFilesManager::GetInstance().

Referenced by AddRecentFilesSubmenu().

Here is the call graph for this function:

◆ OnCloseRom()

void yaze::editor::MenuOrchestrator::OnCloseRom ( )

Definition at line 1358 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnRevertRom()

void yaze::editor::MenuOrchestrator::OnRevertRom ( )

Definition at line 1364 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnUndo()

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

Definition at line 1376 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 1397 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 1418 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 1441 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 1464 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 1487 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 1511 of file menu_orchestrator.cc.

◆ OnShowEditorSelection()

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

Definition at line 1518 of file menu_orchestrator.cc.

Referenced by AddViewMenuItems().

◆ OnShowDisplaySettings()

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

Definition at line 1527 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnShowHexEditor()

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

Definition at line 1592 of file menu_orchestrator.cc.

◆ OnShowPanelBrowser()

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

Definition at line 1600 of file menu_orchestrator.cc.

Referenced by AddPanelsMenuItems().

◆ OnShowPanelFinder()

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

Definition at line 1608 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowWelcomeScreen()

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

Definition at line 1616 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnZoomIn()

void yaze::editor::MenuOrchestrator::OnZoomIn ( )

Definition at line 1553 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnZoomOut()

void yaze::editor::MenuOrchestrator::OnZoomOut ( )

Definition at line 1565 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnZoomReset()

void yaze::editor::MenuOrchestrator::OnZoomReset ( )

Definition at line 1577 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnToggleFullscreen()

void yaze::editor::MenuOrchestrator::OnToggleFullscreen ( )

Definition at line 1585 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnCreateNewSession()

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

Definition at line 1643 of file menu_orchestrator.cc.

◆ OnDuplicateCurrentSession()

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

Definition at line 1647 of file menu_orchestrator.cc.

◆ OnCloseCurrentSession()

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

Definition at line 1651 of file menu_orchestrator.cc.

◆ OnShowSessionSwitcher()

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

Definition at line 1659 of file menu_orchestrator.cc.

◆ OnShowSessionManager()

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

Definition at line 1668 of file menu_orchestrator.cc.

◆ OnShowAllWindows()

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

Definition at line 1673 of file menu_orchestrator.cc.

◆ OnHideAllWindows()

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

Definition at line 1682 of file menu_orchestrator.cc.

◆ OnResetWorkspaceLayout()

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

Definition at line 1689 of file menu_orchestrator.cc.

◆ OnSaveWorkspaceLayout()

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

Definition at line 1699 of file menu_orchestrator.cc.

◆ OnLoadWorkspaceLayout()

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

Definition at line 1706 of file menu_orchestrator.cc.

◆ OnShowLayoutPresets()

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

Definition at line 1713 of file menu_orchestrator.cc.

◆ OnShowLayoutDesigner()

◆ OnLoadDeveloperLayout()

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

Definition at line 1751 of file menu_orchestrator.cc.

◆ OnLoadDesignerLayout()

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

Definition at line 1757 of file menu_orchestrator.cc.

◆ OnLoadModderLayout()

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

Definition at line 1763 of file menu_orchestrator.cc.

◆ OnShowGlobalSearch()

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

Definition at line 1770 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowCommandPalette()

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

Definition at line 1778 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowPerformanceDashboard()

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

Definition at line 1786 of file menu_orchestrator.cc.

◆ OnShowImGuiDemo()

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

Definition at line 1794 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowImGuiMetrics()

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

Definition at line 1800 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowMemoryEditor()

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

Definition at line 1806 of file menu_orchestrator.cc.

◆ OnShowResourceLabelManager()

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

Definition at line 1813 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowRomInfo()

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

Definition at line 1868 of file menu_orchestrator.cc.

◆ OnCreateBackup()

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

Definition at line 1872 of file menu_orchestrator.cc.

◆ OnValidateRom()

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

Definition at line 1885 of file menu_orchestrator.cc.

◆ OnCheckRomVersion()

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

Definition at line 2010 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:

◆ OnOpenOverworldForUpgrade()

void yaze::editor::MenuOrchestrator::OnOpenOverworldForUpgrade ( )

Definition at line 2028 of file menu_orchestrator.cc.

◆ OnToggleCustomLoading()

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

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

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

Here is the call graph for this function:

◆ OnExportBpsPatch()

◆ OnApplyBpsPatch()

◆ OnShowAssemblyEditor()

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

Definition at line 2069 of file menu_orchestrator.cc.

◆ OnShowAbout()

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

Definition at line 1831 of file menu_orchestrator.cc.

◆ OnShowGettingStarted()

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

Definition at line 1835 of file menu_orchestrator.cc.

◆ OnShowComingFromZScream()

void yaze::editor::MenuOrchestrator::OnShowComingFromZScream ( )

Definition at line 1839 of file menu_orchestrator.cc.

◆ OnShowBuildInstructions()

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

Definition at line 1843 of file menu_orchestrator.cc.

◆ OnShowCLIUsage()

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

Definition at line 1847 of file menu_orchestrator.cc.

◆ OnShowTroubleshooting()

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

Definition at line 1851 of file menu_orchestrator.cc.

◆ OnShowContributing()

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

Definition at line 1855 of file menu_orchestrator.cc.

◆ OnShowWhatsNew()

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

Definition at line 1859 of file menu_orchestrator.cc.

◆ OnShowSupportedFeatures()

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

Definition at line 1863 of file menu_orchestrator.cc.

◆ OnShowSettings()

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

Definition at line 1898 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnQuit()

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

Definition at line 1905 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ AddFileMenuItems()

◆ AddEditMenuItems()

◆ AddViewMenuItems()

◆ AddAppearanceMenuItems()

◆ AddDrawersMenuItems()

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

◆ AddPanelsMenuItems()

◆ AddToolsMenuItems()

◆ AddSearchMenuItems()

◆ AddHackWorkflowMenuItems()

◆ AddRomAnalysisMenuItems()

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

◆ AddAsarIntegrationMenuItems()

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

Definition at line 758 of file menu_orchestrator.cc.

References ICON_MD_BUILD, ICON_MD_CODE, ICON_MD_INFO, and yaze::editor::Item.

Referenced by AddToolsMenuItems().

◆ AddDevelopmentMenuItems()

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

◆ AddTestingMenuItems()

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

Definition at line 784 of file menu_orchestrator.cc.

References ICON_MD_DASHBOARD, ICON_MD_INFO, and ICON_MD_SCIENCE.

Referenced by AddToolsMenuItems().

◆ AddRecentFilesSubmenu()

◆ AddThemeSubmenu()

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

Referenced by AddFileMenuItems().

◆ CanSaveProject()

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

Definition at line 1917 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasActiveRom()

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

Definition at line 1924 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems(), and AddViewMenuItems().

◆ HasActiveProject()

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

Definition at line 1929 of file menu_orchestrator.cc.

◆ HasProjectFile()

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

Definition at line 1933 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasCurrentEditor()

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

Definition at line 1941 of file menu_orchestrator.cc.

◆ HasMultipleSessions()

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

Definition at line 1945 of file menu_orchestrator.cc.

◆ CurrentEditorCanUndo()

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

Definition at line 1949 of file menu_orchestrator.cc.

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

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ CurrentEditorCanRedo()

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

Definition at line 1955 of file menu_orchestrator.cc.

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

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ CurrentEditorCanCut()

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

Definition at line 1961 of file menu_orchestrator.cc.

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

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ CurrentEditorCanCopy()

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

Definition at line 1967 of file menu_orchestrator.cc.

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

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ CurrentEditorCanPaste()

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

Definition at line 1973 of file menu_orchestrator.cc.

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

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ CurrentEditorCanFind()

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

Definition at line 1979 of file menu_orchestrator.cc.

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

Referenced by AddEditMenuItems().

Here is the call graph for this function:

◆ GetRomFilename()

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

Definition at line 1986 of file menu_orchestrator.cc.

◆ GetProjectName()

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

Definition at line 1991 of file menu_orchestrator.cc.

◆ GetCurrentEditorName()

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

Definition at line 1995 of file menu_orchestrator.cc.

◆ GetShortcutForAction()

std::string yaze::editor::MenuOrchestrator::GetShortcutForAction ( const std::string & action) const
private

Member Data Documentation

◆ editor_manager_

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

◆ menu_builder_

◆ rom_manager_

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

Definition at line 199 of file menu_orchestrator.h.

◆ project_manager_

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

Definition at line 200 of file menu_orchestrator.h.

◆ editor_registry_

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

Definition at line 201 of file menu_orchestrator.h.

◆ session_coordinator_

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

Definition at line 202 of file menu_orchestrator.h.

Referenced by AddHackWorkflowMenuItems(), and AddPanelsMenuItems().

◆ toast_manager_

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

Definition at line 203 of file menu_orchestrator.h.

◆ popup_manager_

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

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

Referenced by AddAppearanceMenuItems(), and SetStatusBar().

◆ user_settings_

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

Definition at line 209 of file menu_orchestrator.h.

Referenced by AddAppearanceMenuItems(), and SetUserSettings().

◆ shortcut_manager_

const ShortcutManager* yaze::editor::MenuOrchestrator::shortcut_manager_ = nullptr
private

Definition at line 210 of file menu_orchestrator.h.

Referenced by SetShortcutManager().

◆ menu_needs_refresh_

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

Definition at line 213 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 217 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 218 of file menu_orchestrator.h.

Referenced by BuildMainMenu().


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