yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
shortcut_configurator.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_SYSTEM_SHORTCUT_CONFIGURATOR_H_
2#define YAZE_APP_EDITOR_SYSTEM_SHORTCUT_CONFIGURATOR_H_
3
4#include <functional>
5
6#include "app/editor/editor.h"
8
9namespace yaze {
10namespace editor {
11
12class EditorManager;
13class EditorRegistry;
14class MenuOrchestrator;
15class RomFileManager;
16class ProjectManager;
17class SessionCoordinator;
18class UICoordinator;
19class WorkspaceManager;
20class PopupManager;
21class ToastManager;
22class WorkspaceWindowManager;
23
24// Forward declaration
25class UserSettings;
26
41
43 ShortcutManager* shortcut_manager);
44
46 ShortcutManager* shortcut_manager);
47
55void ApplyUserShortcutOverrides(const UserSettings& user_settings,
56 ShortcutManager* shortcut_manager);
57
72 ShortcutManager* shortcut_manager);
73
74} // namespace editor
75} // namespace yaze
76
77#endif // YAZE_APP_EDITOR_SYSTEM_SHORTCUT_CONFIGURATOR_H_
The EditorManager controls the main editor window and manages the various editor classes.
Manages editor types, categories, and lifecycle.
Handles all menu building and UI coordination logic.
Handles all project file operations with ROM-first workflow.
Handles all ROM file I/O operations.
High-level orchestrator for multi-session UI.
Handles all UI drawing operations and state management.
Manages user preferences and settings persistence.
Manages workspace layouts, sessions, and presets.
Central registry for all editor cards with session awareness and dependency injection.
void ConfigureMenuShortcuts(const ShortcutDependencies &deps, ShortcutManager *shortcut_manager)
void ApplyUserShortcutOverrides(const UserSettings &user_settings, ShortcutManager *shortcut_manager)
Apply persisted global/editor rebinds (UserSettings global_shortcuts and editor_shortcuts) to already...
void ConfigurePanelShortcuts(const ShortcutDependencies &deps, ShortcutManager *shortcut_manager)
Final configuration pass: apply user rebinds, then register panel toggle shortcuts.
void ConfigureEditorShortcuts(const ShortcutDependencies &deps, ShortcutManager *shortcut_manager)