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 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 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 175 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 285 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 327 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 447 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 546 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 1094 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ ClearMenu()

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

Definition at line 1148 of file menu_orchestrator.cc.

Referenced by BuildMainMenu().

◆ RefreshMenu()

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

Definition at line 1152 of file menu_orchestrator.cc.

◆ OnOpenRom()

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

Definition at line 1157 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRom()

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

Definition at line 1169 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveRomAs()

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

Definition at line 1184 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnCreateProject()

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

Definition at line 1188 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnOpenProject()

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

Definition at line 1200 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProject()

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

Definition at line 1212 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnSaveProjectAs()

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

Definition at line 1226 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectManagement()

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

Definition at line 1238 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnShowProjectFileEditor()

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

Definition at line 1245 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnOpenRecentFile()

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

Definition at line 1252 of file menu_orchestrator.cc.

Referenced by AddRecentFilesSubmenu().

◆ OnClearRecentFiles()

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

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

Referenced by AddFileMenuItems().

◆ OnRevertRom()

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

Definition at line 1277 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnUndo()

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

Definition at line 1289 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 1310 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 1331 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 1354 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 1377 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 1400 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 1424 of file menu_orchestrator.cc.

◆ OnShowEditorSelection()

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

Definition at line 1431 of file menu_orchestrator.cc.

Referenced by AddViewMenuItems().

◆ OnShowDisplaySettings()

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

Definition at line 1440 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnShowHexEditor()

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

Definition at line 1505 of file menu_orchestrator.cc.

◆ OnShowPanelBrowser()

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

Definition at line 1513 of file menu_orchestrator.cc.

Referenced by AddPanelsMenuItems().

◆ OnShowPanelFinder()

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

Definition at line 1521 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowWelcomeScreen()

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

Definition at line 1529 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnZoomIn()

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

Definition at line 1466 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnZoomOut()

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

Definition at line 1478 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnZoomReset()

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

Definition at line 1490 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnToggleFullscreen()

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

Definition at line 1498 of file menu_orchestrator.cc.

Referenced by AddAppearanceMenuItems().

◆ OnCreateNewSession()

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

Definition at line 1556 of file menu_orchestrator.cc.

◆ OnDuplicateCurrentSession()

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

Definition at line 1560 of file menu_orchestrator.cc.

◆ OnCloseCurrentSession()

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

Definition at line 1564 of file menu_orchestrator.cc.

◆ OnShowSessionSwitcher()

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

Definition at line 1572 of file menu_orchestrator.cc.

◆ OnShowSessionManager()

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

Definition at line 1581 of file menu_orchestrator.cc.

◆ OnShowAllWindows()

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

Definition at line 1586 of file menu_orchestrator.cc.

◆ OnHideAllWindows()

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

Definition at line 1595 of file menu_orchestrator.cc.

◆ OnResetWorkspaceLayout()

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

Definition at line 1602 of file menu_orchestrator.cc.

◆ OnSaveWorkspaceLayout()

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

Definition at line 1612 of file menu_orchestrator.cc.

◆ OnLoadWorkspaceLayout()

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

Definition at line 1619 of file menu_orchestrator.cc.

◆ OnShowLayoutPresets()

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

Definition at line 1626 of file menu_orchestrator.cc.

◆ OnShowLayoutDesigner()

◆ OnLoadDeveloperLayout()

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

Definition at line 1664 of file menu_orchestrator.cc.

◆ OnLoadDesignerLayout()

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

Definition at line 1670 of file menu_orchestrator.cc.

◆ OnLoadModderLayout()

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

Definition at line 1676 of file menu_orchestrator.cc.

◆ OnShowGlobalSearch()

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

Definition at line 1683 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowCommandPalette()

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

Definition at line 1691 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowPerformanceDashboard()

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

Definition at line 1699 of file menu_orchestrator.cc.

◆ OnShowImGuiDemo()

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

Definition at line 1707 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowImGuiMetrics()

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

Definition at line 1713 of file menu_orchestrator.cc.

Referenced by AddToolsMenuItems().

◆ OnShowMemoryEditor()

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

Definition at line 1719 of file menu_orchestrator.cc.

◆ OnShowResourceLabelManager()

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

Definition at line 1726 of file menu_orchestrator.cc.

Referenced by AddSearchMenuItems().

◆ OnShowRomInfo()

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

Definition at line 1781 of file menu_orchestrator.cc.

◆ OnCreateBackup()

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

Definition at line 1785 of file menu_orchestrator.cc.

◆ OnValidateRom()

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

Definition at line 1798 of file menu_orchestrator.cc.

◆ OnCheckRomVersion()

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

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

◆ OnToggleCustomLoading()

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

Definition at line 1953 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 1964 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 1982 of file menu_orchestrator.cc.

◆ OnShowAbout()

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

Definition at line 1744 of file menu_orchestrator.cc.

◆ OnShowGettingStarted()

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

Definition at line 1748 of file menu_orchestrator.cc.

◆ OnShowComingFromZScream()

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

Definition at line 1752 of file menu_orchestrator.cc.

◆ OnShowBuildInstructions()

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

Definition at line 1756 of file menu_orchestrator.cc.

◆ OnShowCLIUsage()

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

Definition at line 1760 of file menu_orchestrator.cc.

◆ OnShowTroubleshooting()

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

Definition at line 1764 of file menu_orchestrator.cc.

◆ OnShowContributing()

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

Definition at line 1768 of file menu_orchestrator.cc.

◆ OnShowWhatsNew()

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

Definition at line 1772 of file menu_orchestrator.cc.

◆ OnShowSupportedFeatures()

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

Definition at line 1776 of file menu_orchestrator.cc.

◆ OnShowSettings()

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

Definition at line 1811 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ OnQuit()

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

Definition at line 1818 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 700 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 726 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 1825 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ CanSaveProject()

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

Definition at line 1830 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasActiveRom()

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

Definition at line 1837 of file menu_orchestrator.cc.

Referenced by AddViewMenuItems().

◆ HasActiveProject()

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

Definition at line 1842 of file menu_orchestrator.cc.

◆ HasProjectFile()

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

Definition at line 1846 of file menu_orchestrator.cc.

Referenced by AddFileMenuItems().

◆ HasCurrentEditor()

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

Definition at line 1854 of file menu_orchestrator.cc.

◆ HasMultipleSessions()

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

Definition at line 1858 of file menu_orchestrator.cc.

◆ CurrentEditorCanUndo()

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

Definition at line 1862 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 1868 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 1874 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 1880 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 1886 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 1892 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 1899 of file menu_orchestrator.cc.

◆ GetProjectName()

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

Definition at line 1904 of file menu_orchestrator.cc.

◆ GetCurrentEditorName()

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

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

◆ project_manager_

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

Definition at line 197 of file menu_orchestrator.h.

◆ editor_registry_

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

Definition at line 198 of file menu_orchestrator.h.

◆ session_coordinator_

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

Definition at line 199 of file menu_orchestrator.h.

Referenced by AddHackWorkflowMenuItems(), and AddPanelsMenuItems().

◆ toast_manager_

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

Definition at line 200 of file menu_orchestrator.h.

◆ popup_manager_

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

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

Referenced by AddAppearanceMenuItems(), and SetStatusBar().

◆ user_settings_

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

Definition at line 206 of file menu_orchestrator.h.

Referenced by AddAppearanceMenuItems(), and SetUserSettings().

◆ shortcut_manager_

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

Definition at line 207 of file menu_orchestrator.h.

Referenced by SetShortcutManager().

◆ menu_needs_refresh_

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

Definition at line 210 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 214 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 215 of file menu_orchestrator.h.

Referenced by BuildMainMenu().


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