refactor(editor): enhance MenuOrchestrator with new UI controls and editor actions
- Expanded MenuOrchestrator to include additional UI visibility controls and editor action delegations, improving user interaction and functionality. - Introduced methods for showing global search, performance dashboard, and ImGui metrics, along with editor actions like undo, redo, cut, copy, paste, and find. - Updated the EditorManager to support new functionalities, including session management and layout presets. Benefits: - Streamlines user experience by providing quick access to essential features and enhancing the overall architecture of the editor. - Improves maintainability by clearly defining roles for UI and editor operations within the MenuOrchestrator.
This commit is contained in:
@@ -138,7 +138,7 @@ EditorManager::EditorManager()
|
||||
// Initialize MenuOrchestrator after SessionCoordinator is created
|
||||
menu_orchestrator_ = std::make_unique<MenuOrchestrator>(
|
||||
this, menu_builder_, rom_file_manager_, project_manager_, editor_registry_,
|
||||
*session_coordinator_, toast_manager_);
|
||||
*session_coordinator_, toast_manager_, *popup_manager_);
|
||||
|
||||
// Initialize UICoordinator after all other components are created
|
||||
ui_coordinator_ = std::make_unique<UICoordinator>(
|
||||
|
||||
Reference in New Issue
Block a user