Central registry for all editor cards with session awareness and dependency injection. More...
#include <workspace_window_manager.h>
Classes | |
| struct | CategoryTheme |
| Get the expressive theme color for a category. More... | |
| struct | ResourceWindowState |
| struct | SidePanelWidthBounds |
| struct | WindowBrowserState |
| struct | WindowContextScopeHash |
| struct | WindowRegistryState |
| struct | WindowSessionState |
| struct | WindowValidationResult |
| struct | WorkspacePreset |
Public Member Functions | |
| WorkspaceWindowManager ()=default | |
| ~WorkspaceWindowManager ()=default | |
| WorkspaceWindowManager (const WorkspaceWindowManager &)=delete | |
| WorkspaceWindowManager & | operator= (const WorkspaceWindowManager &)=delete |
| WorkspaceWindowManager (WorkspaceWindowManager &&)=delete | |
| WorkspaceWindowManager & | operator= (WorkspaceWindowManager &&)=delete |
| void | RegisterSession (size_t session_id) |
| void | UnregisterSession (size_t session_id) |
| void | SetActiveSession (size_t session_id) |
| void | SetContextKey (size_t session_id, WindowContextScope scope, std::string key) |
| Set a string key for a given context scope (room/selection/etc) | |
| std::string | GetContextKey (size_t session_id, WindowContextScope scope) const |
| void | RegisterPanel (size_t session_id, const WindowDescriptor &base_info) |
| void | RegisterWindow (size_t session_id, const WindowDescriptor &descriptor) |
| void | RegisterPanelAlias (const std::string &legacy_base_id, const std::string &canonical_base_id) |
| Register a legacy panel ID alias that resolves to a canonical ID. | |
| void | RegisterWindowAlias (const std::string &legacy_base_id, const std::string &canonical_base_id) |
| std::string | ResolvePanelAlias (const std::string &panel_id) const |
| Resolve a panel ID through the alias table. | |
| std::string | ResolveWindowAlias (const std::string &window_id) const |
| void | RegisterPanel (size_t session_id, const std::string &card_id, const std::string &display_name, const std::string &icon, const std::string &category, const std::string &shortcut_hint="", int priority=50, std::function< void()> on_show=nullptr, std::function< void()> on_hide=nullptr, bool visible_by_default=false) |
| void | RegisterWindow (size_t session_id, const std::string &window_id, const std::string &display_name, const std::string &icon, const std::string &category, const std::string &shortcut_hint="", int priority=50, std::function< void()> on_show=nullptr, std::function< void()> on_hide=nullptr, bool visible_by_default=false) |
| void | UnregisterPanel (size_t session_id, const std::string &base_card_id) |
| void | UnregisterWindow (size_t session_id, const std::string &base_window_id) |
| void | UnregisterPanelsWithPrefix (const std::string &prefix) |
| void | ClearAllPanels () |
| void | ClearAllWindows () |
| void | RegisterRegistryWindowContent (std::unique_ptr< WindowContent > window) |
| Register a ContentRegistry-managed WindowContent instance. | |
| void | RegisterRegistryWindow (std::unique_ptr< WindowContent > window) |
| void | RegisterRegistryWindowContentsForSession (size_t session_id) |
| Register descriptors for all registry window contents in a session. | |
| void | RegisterRegistryWindowsForSession (size_t session_id) |
| size_t | GetRegistryWindowContentCount () const |
| Returns the number of window contents registered via ContentRegistry. | |
| size_t | GetRegistryWindowCount () const |
| void | RegisterWindowContent (std::unique_ptr< WindowContent > window) |
| Register a WindowContent instance for central drawing. | |
| void | UnregisterWindowContent (const std::string &window_id) |
| Unregister and destroy a WindowContent instance. | |
| WindowContent * | GetWindowContent (const std::string &window_id) |
| Get a WindowContent instance by ID. | |
| WindowContent * | GetWindowContent (size_t session_id, const std::string &window_id) |
| void | DrawAllVisiblePanels () |
| Draw all visible WindowContent instances (central drawing) | |
| void | DrawVisibleWindows () |
| void | OnEditorSwitch (const std::string &from_category, const std::string &to_category) |
| Handle editor/category switching for panel visibility. | |
| bool | OpenWindow (size_t session_id, const std::string &base_window_id) |
| bool | CloseWindow (size_t session_id, const std::string &base_window_id) |
| bool | ToggleWindow (size_t session_id, const std::string &base_window_id) |
| bool | IsWindowOpen (size_t session_id, const std::string &base_window_id) const |
| bool * | GetWindowVisibilityFlag (size_t session_id, const std::string &base_window_id) |
| void | ShowAllWindowsInSession (size_t session_id) |
| void | HideAllWindowsInSession (size_t session_id) |
| void | ShowAllWindowsInCategory (size_t session_id, const std::string &category) |
| void | HideAllWindowsInCategory (size_t session_id, const std::string &category) |
| void | ShowOnlyWindow (size_t session_id, const std::string &base_window_id) |
| void | ShowAllPanelsInSession (size_t session_id) |
| void | HideAllPanelsInSession (size_t session_id) |
| void | ShowAllPanelsInCategory (size_t session_id, const std::string &category) |
| void | HideAllPanelsInCategory (size_t session_id, const std::string &category) |
| void | ShowOnlyPanel (size_t session_id, const std::string &base_card_id) |
| std::vector< std::string > | GetWindowsInSession (size_t session_id) const |
| std::vector< WindowDescriptor > | GetWindowsInCategory (size_t session_id, const std::string &category) const |
| std::vector< std::string > | GetAllCategories (size_t session_id) const |
| std::vector< std::string > | GetAllWindowCategories (size_t session_id) const |
| const WindowDescriptor * | GetWindowDescriptor (size_t session_id, const std::string &base_window_id) const |
| const std::unordered_map< std::string, WindowDescriptor > & | GetAllWindowDescriptors () const |
| Get all panel descriptors (for layout designer, panel browser, etc.) | |
| std::vector< std::string > | GetAllCategories () const |
| std::vector< std::string > | GetAllWindowCategories () const |
| std::vector< std::string > | GetVisibleWindowIds (size_t session_id) const |
| Get list of currently visible panel IDs for a session. | |
| void | SetVisibleWindows (size_t session_id, const std::vector< std::string > &window_ids) |
| Set which panels should be visible for a session. | |
| std::unordered_map< std::string, bool > | SerializeVisibilityState (size_t session_id) const |
| Serialize panel visibility state for persistence. | |
| void | RestoreVisibilityState (size_t session_id, const std::unordered_map< std::string, bool > &state, bool publish_events=false) |
| Restore panel visibility state from persistence. | |
| std::unordered_map< std::string, bool > | SerializePinnedState () const |
| Serialize pinned panel state for persistence. | |
| void | RestorePinnedState (const std::unordered_map< std::string, bool > &state) |
| Restore pinned panel state from persistence. | |
| std::string | GetWorkspaceWindowName (size_t session_id, const std::string &base_window_id) const |
| Resolve the exact ImGui window name for a panel by base ID. | |
| std::string | GetWorkspaceWindowName (const WindowDescriptor &descriptor) const |
| float | GetActiveSidePanelWidth (float viewport_width) const |
| void | SetActiveSidePanelWidth (float width, float viewport_width=0.0f, bool notify=true) |
| void | ResetSidePanelWidth (bool notify=true) |
| float | GetStoredSidePanelWidth () const |
| void | SetStoredSidePanelWidth (float width, bool notify=false) |
| void | SetSidePanelWidthChangedCallback (std::function< void(float)> cb) |
| float | GetPanelBrowserCategoryWidth () const |
| float | GetWindowBrowserCategoryWidth () const |
| void | SetPanelBrowserCategoryWidth (float width, bool notify=true) |
| void | SetWindowBrowserCategoryWidth (float width, bool notify=true) |
| void | SetPanelBrowserCategoryWidthChangedCallback (std::function< void(float)> cb) |
| void | SetWindowBrowserCategoryWidthChangedCallback (std::function< void(float)> cb) |
| YAZE_CARD_SHIM_DEPRECATED ("Use GetDefaultWindowBrowserCategoryWidth() instead.") static const expr float GetDefaultPanelBrowserCategoryWidth() | |
| void | HandleSidebarKeyboardNav (size_t session_id, const std::vector< WindowDescriptor > &cards) |
| Handle keyboard navigation in sidebar (click-to-focus modal) | |
| bool | SidebarHasFocus () const |
| int | GetFocusedPanelIndex () const |
| int | GetFocusedWindowIndex () const |
| void | ToggleSidebarVisibility () |
| void | SetSidebarVisible (bool visible, bool notify=true) |
| bool | IsSidebarVisible () const |
| void | ToggleWindowImplExpanded () |
| void | ToggleSidebarExpanded () |
| void | SetPanelExpanded (bool expanded, bool notify=true) |
| void | SetSidebarExpanded (bool expanded, bool notify=true) |
| bool | IsPanelExpanded () const |
| bool | IsSidebarExpanded () const |
| void | SetEventBus (EventBus *event_bus) |
| void | TriggerShowEmulator () |
| void | TriggerShowSettings () |
| void | TriggerShowPanelBrowser () |
| void | TriggerShowWindowBrowser () |
| void | TriggerSaveRom () |
| void | TriggerUndo () |
| void | TriggerRedo () |
| void | TriggerShowSearch () |
| void | TriggerShowShortcuts () |
| void | TriggerShowCommandPalette () |
| void | TriggerShowHelp () |
| void | TriggerShowAgentChatSidebar () |
| void | TriggerShowAgentProposalsSidebar () |
| void | TriggerResetLayout () |
| void | TriggerOpenRom () |
| void | TriggerPanelClicked (const std::string &category) |
| void | TriggerWindowClicked (const std::string &category) |
| void | TriggerCategorySelected (const std::string &category) |
| void | TriggerWindowCategorySelected (const std::string &category) |
| void | SetSidebarStateChangedCallback (std::function< void(bool, bool)> cb) |
| void | SetCategoryChangedCallback (std::function< void(const std::string &)> cb) |
| void | SavePreset (const std::string &name, const std::string &description="") |
| bool | LoadPreset (const std::string &name) |
| void | DeletePreset (const std::string &name) |
| std::vector< WorkspacePreset > | GetPresets () const |
| std::vector< WindowValidationResult > | ValidateWindows () const |
| WindowValidationResult | ValidateWindow (const std::string &card_id) const |
| void | ShowAll (size_t session_id) |
| void | HideAll (size_t session_id) |
| void | ResetToDefaults (size_t session_id) |
| void | ResetToDefaults (size_t session_id, EditorType editor_type) |
| size_t | GetPanelCount () const |
| size_t | GetWindowCount () const |
| size_t | GetVisibleWindowCount (size_t session_id) const |
| size_t | GetVisiblePanelCount (size_t session_id) const |
| size_t | GetSessionCount () const |
| std::string | MakeWindowId (size_t session_id, const std::string &base_id) const |
| std::string | MakeWindowId (size_t session_id, const std::string &base_id, WindowScope scope) const |
| std::string | MakePanelId (size_t session_id, const std::string &base_id) const |
| std::string | MakePanelId (size_t session_id, const std::string &base_id, WindowScope scope) const |
| bool | ShouldPrefixPanels () const |
| void | RegisterPanel (const WindowDescriptor &base_info) |
| void | RegisterWindow (const WindowDescriptor &descriptor) |
| void | UnregisterPanel (const std::string &base_card_id) |
| void | UnregisterWindow (const std::string &base_window_id) |
| bool | OpenWindow (const std::string &base_window_id) |
| bool | CloseWindow (const std::string &base_window_id) |
| bool | IsWindowOpen (const std::string &base_window_id) const |
| void | HideAllWindowsInCategory (const std::string &category) |
| void | HideAllPanelsInCategory (const std::string &category) |
| std::string | GetActiveCategory () const |
| void | SetActiveCategory (const std::string &category, bool notify=true) |
| void | ShowAllWindowsInCategory (const std::string &category) |
| void | ShowAllPanelsInCategory (const std::string &category) |
| bool * | GetWindowVisibilityFlag (const std::string &base_window_id) |
| void | ShowAll () |
| void | HideAll () |
| void | SetOnWindowClickedCallback (std::function< void(const std::string &)> callback) |
| void | SetOnWindowCategorySelectedCallback (std::function< void(const std::string &)> callback) |
| void | SetEditorResolver (std::function< Editor *(const std::string &)> resolver) |
| size_t | GetActiveSessionId () const |
| FileBrowser * | GetFileBrowser (const std::string &category) |
| void | EnableFileBrowser (const std::string &category, const std::string &root_path="") |
| void | DisableFileBrowser (const std::string &category) |
| bool | HasFileBrowser (const std::string &category) const |
| void | SetFileBrowserPath (const std::string &category, const std::string &path) |
| void | SetFileClickedCallback (std::function< void(const std::string &category, const std::string &path)> callback) |
| void | ToggleFavorite (const std::string &card_id) |
| bool | IsFavorite (const std::string &card_id) const |
| void | MarkWindowRecentlyUsed (const std::string &window_id) |
| std::vector< WindowDescriptor > | GetWindowsSortedByMRU (size_t session_id, const std::string &category) const |
| uint64_t | GetWindowMRUTime (const std::string &window_id) const |
| void | SetWindowPinned (size_t session_id, const std::string &base_window_id, bool pinned) |
| bool | IsWindowPinned (size_t session_id, const std::string &base_window_id) const |
| std::vector< std::string > | GetPinnedWindows (size_t session_id) const |
| void | SetWindowPinned (const std::string &base_window_id, bool pinned) |
| bool | IsWindowPinned (const std::string &base_window_id) const |
| std::vector< std::string > | GetPinnedWindows () const |
| void | EnforceResourceLimits (const std::string &resource_type) |
| Enforce limits on resource panels (LRU eviction) | |
| void | EnforceResourceWindowLimits (const std::string &resource_type) |
| void | MarkPanelUsed (const std::string &panel_id) |
| Mark a panel as recently used (for LRU) | |
| WindowContent * | FindPanelInstance (const std::string &prefixed_panel_id, const std::string &base_panel_id) |
| const WindowContent * | FindPanelInstance (const std::string &prefixed_panel_id, const std::string &base_panel_id) const |
Static Public Member Functions | |
| static constexpr float | GetSidebarWidth () |
| static constexpr float | GetSidePanelWidth () |
| static SidePanelWidthBounds | GetSidePanelWidthBounds (float viewport_width) |
| static float | GetSidePanelWidthForViewport (float viewport_width) |
| static constexpr float | GetDefaultWindowBrowserCategoryWidth () |
| static constexpr float | GetCollapsedSidebarWidth () |
| static std::string | GetCategoryIcon (const std::string &category) |
| static CategoryTheme | GetCategoryTheme (const std::string &category) |
Static Public Attributes | |
| static constexpr const char * | kDashboardCategory = "Dashboard" |
Private Member Functions | |
| void | ApplyContextPolicy (size_t session_id, WindowContextScope scope, const std::string &old_key, const std::string &new_key) |
| WindowDescriptor * | FindDescriptorByPrefixedId (const std::string &prefixed_id) |
| const WindowDescriptor * | FindDescriptorByPrefixedId (const std::string &prefixed_id) const |
| std::vector< std::string > * | FindSessionWindowIds (size_t session_id) |
| const std::vector< std::string > * | FindSessionWindowIds (size_t session_id) const |
| std::unordered_map< std::string, std::string > * | FindSessionWindowMapping (size_t session_id) |
| const std::unordered_map< std::string, std::string > * | FindSessionWindowMapping (size_t session_id) const |
| std::unordered_map< std::string, std::string > * | FindSessionReverseWindowMapping (size_t session_id) |
| const std::unordered_map< std::string, std::string > * | FindSessionReverseWindowMapping (size_t session_id) const |
| void | PublishWindowVisibilityChanged (size_t session_id, const std::string &prefixed_window_id, const std::string &base_window_id, const std::string &category, bool visible) const |
| bool | OpenWindowImpl (size_t session_id, const std::string &base_card_id) |
| bool | CloseWindowImpl (size_t session_id, const std::string &base_card_id) |
| bool | ToggleWindowImpl (size_t session_id, const std::string &base_card_id) |
| bool | IsWindowVisibleImpl (size_t session_id, const std::string &base_card_id) const |
| bool * | GetVisibilityFlag (size_t session_id, const std::string &base_card_id) |
| std::vector< std::string > | GetWindowsInSessionImpl (size_t session_id) const |
| std::vector< WindowDescriptor > | GetWindowsInCategoryImpl (size_t session_id, const std::string &category) const |
| std::vector< std::string > | GetVisibleWindowIdsImpl (size_t session_id) const |
| void | SetVisibleWindowsImpl (size_t session_id, const std::vector< std::string > &panel_ids) |
| const WindowDescriptor * | GetWindowDescriptorImpl (size_t session_id, const std::string &base_card_id) const |
| std::string | GetWindowNameImpl (size_t session_id, const std::string &base_card_id) const |
| std::string | GetWindowNameImpl (const WindowDescriptor &descriptor) const |
| void | MarkWindowRecentlyUsedImpl (const std::string &card_id) |
| std::vector< WindowDescriptor > | GetWindowsSortedByMRUImpl (size_t session_id, const std::string &category) const |
| uint64_t | GetWindowMRUTimeImpl (const std::string &card_id) const |
| void | SetWindowPinnedImpl (size_t session_id, const std::string &base_card_id, bool pinned) |
| bool | IsWindowPinnedImpl (size_t session_id, const std::string &base_card_id) const |
| std::vector< std::string > | GetPinnedWindowsImpl (size_t session_id) const |
| void | RememberPinnedStateForRemovedWindow (size_t session_id, const std::string &base_card_id, const std::string &prefixed_id) |
| void | SetWindowPinnedImpl (const std::string &base_card_id, bool pinned) |
| bool | IsWindowPinnedImpl (const std::string &base_card_id) const |
| std::vector< std::string > | GetPinnedWindowsImpl () const |
| size_t | GetResourceWindowLimit (const std::string &resource_type) const |
| void | TrackResourceWindow (const std::string &panel_id, ResourceWindowContent *resource_panel) |
| void | UntrackResourceWindow (const std::string &panel_id) |
| std::string | SelectResourceWindowForEviction (const std::list< std::string > &panel_ids) const |
| std::string | ResolveBaseWindowId (const std::string &panel_id) const |
| std::string | GetBaseIdForPrefixedId (size_t session_id, const std::string &prefixed_id) const |
| void | UpdateSessionCount () |
| std::string | GetPrefixedWindowId (size_t session_id, const std::string &base_id) const |
| void | RegisterPanelDescriptorForSession (size_t session_id, const WindowContent &panel) |
| void | TrackPanelForSession (size_t session_id, const std::string &base_id, const std::string &panel_id) |
| void | UnregisterSessionPanels (size_t session_id) |
| void | SavePresetsToFile () |
| void | LoadPresetsFromFile () |
Private Attributes | |
| ResourceWindowState | resource_state_ |
| std::unordered_map< std::string, std::list< std::string > > & | resource_panels_ |
| std::unordered_map< std::string, std::string > & | panel_resource_types_ |
| WindowRegistryState | registry_state_ |
| WindowSessionState | session_state_ |
| std::unordered_map< std::string, WindowDescriptor > & | cards_ |
| std::unordered_map< std::string, std::unique_ptr< WindowContent > > & | panel_instances_ = registry_state_.instances |
| std::unordered_set< std::string > & | registry_panel_ids_ |
| std::unordered_set< std::string > & | global_panel_ids_ |
| std::unordered_map< std::string, bool > & | centralized_visibility_ |
| std::unordered_map< std::string, std::string > & | panel_id_aliases_ |
| std::unordered_map< std::string, uint64_t > & | last_used_at_ |
| uint64_t & | mru_counter_ = session_state_.mru_counter |
| std::unordered_map< std::string, bool > & | pinned_panels_ |
| std::unordered_map< std::string, bool > & | pending_pinned_base_ids_ |
| size_t & | session_count_ = session_state_.session_count |
| size_t & | active_session_ = session_state_.active_session |
| std::unordered_map< size_t, std::vector< std::string > > & | session_cards_ |
| std::unordered_map< size_t, std::unordered_map< std::string, std::string > > & | session_card_mapping_ = session_state_.session_window_mapping |
| std::unordered_map< size_t, std::unordered_map< std::string, std::string > > & | session_reverse_card_mapping_ |
| std::unordered_map< size_t, std::unordered_map< WindowContextScope, std::string, WindowContextScopeHash > > & | session_context_keys_ = session_state_.session_context_keys |
| std::unordered_map< std::string, WorkspacePreset > | presets_ |
| WindowBrowserState | browser_state_ |
| EventBus * | event_bus_ = nullptr |
| std::function< void(const std::string &, const std::string &) | on_file_clicked_ ) |
| std::function< Editor *(const std::string &) | editor_resolver_ ) |
Central registry for all editor cards with session awareness and dependency injection.
Definition at line 119 of file workspace_window_manager.h.
|
default |
|
default |
|
delete |
|
delete |
|
delete |
|
delete |
| void yaze::editor::WorkspaceWindowManager::RegisterSession | ( | size_t | session_id | ) |
Definition at line 54 of file workspace_window_manager_state.cc.
References FindSessionWindowIds(), global_panel_ids_, LOG_INFO, session_count_, yaze::editor::WorkspaceWindowManager::WindowSessionState::session_reverse_window_mapping, session_state_, yaze::editor::WorkspaceWindowManager::WindowSessionState::session_window_mapping, yaze::editor::WorkspaceWindowManager::WindowSessionState::session_windows, TrackPanelForSession(), and UpdateSessionCount().
Referenced by anonymous_namespace{main.cc}::RegisterLabPanels(), RegisterPanel(), RegisterRegistryWindowContentsForSession(), and SetContextKey().

| void yaze::editor::WorkspaceWindowManager::UnregisterSession | ( | size_t | session_id | ) |
Definition at line 70 of file workspace_window_manager_state.cc.
References active_session_, FindSessionWindowIds(), LOG_INFO, yaze::editor::WorkspaceWindowManager::WindowSessionState::session_context_keys, session_count_, yaze::editor::WorkspaceWindowManager::WindowSessionState::session_reverse_window_mapping, session_state_, yaze::editor::WorkspaceWindowManager::WindowSessionState::session_window_mapping, yaze::editor::WorkspaceWindowManager::WindowSessionState::session_windows, UnregisterSessionPanels(), and UpdateSessionCount().
Referenced by yaze::editor::SessionCoordinator::ClearAllSessions(), yaze::editor::SessionCoordinator::CloseSession(), and yaze::editor::SessionCoordinator::DiscardProvisionalSession().

| void yaze::editor::WorkspaceWindowManager::SetActiveSession | ( | size_t | session_id | ) |
Definition at line 91 of file workspace_window_manager_state.cc.
References active_session_.
Referenced by yaze::editor::SessionCoordinator::ActivateCreatedSession(), yaze::editor::SessionCoordinator::CloseSession(), yaze::editor::SessionCoordinator::CreateSessionFromRom(), yaze::editor::SessionCoordinator::DiscardProvisionalSession(), anonymous_namespace{main.cc}::RegisterLabPanels(), and yaze::editor::SessionCoordinator::SwitchToSessionInternal().
| void yaze::editor::WorkspaceWindowManager::SetContextKey | ( | size_t | session_id, |
| WindowContextScope | scope, | ||
| std::string | key ) |
Set a string key for a given context scope (room/selection/etc)
This is an opt-in policy hook. WorkspaceWindowManager can apply default rules when context becomes invalid (e.g., selection cleared) to avoid stale panels.
Definition at line 95 of file workspace_window_manager_state.cc.
References ApplyContextPolicy(), RegisterSession(), yaze::editor::WorkspaceWindowManager::WindowSessionState::session_context_keys, and session_state_.

| std::string yaze::editor::WorkspaceWindowManager::GetContextKey | ( | size_t | session_id, |
| WindowContextScope | scope ) const |
Definition at line 109 of file workspace_window_manager_state.cc.
References yaze::editor::WorkspaceWindowManager::WindowSessionState::session_context_keys, and session_state_.
| void yaze::editor::WorkspaceWindowManager::RegisterPanel | ( | size_t | session_id, |
| const WindowDescriptor & | base_info ) |
Definition at line 362 of file workspace_window_manager.cc.
References yaze::editor::WindowDescriptor::card_id, cards_, centralized_visibility_, global_panel_ids_, yaze::editor::kGlobal, LOG_INFO, LOG_WARN, MakeWindowId(), RegisterSession(), ResolveBaseWindowId(), yaze::editor::WindowDescriptor::scope, session_cards_, TrackPanelForSession(), and yaze::editor::WindowDescriptor::visibility_flag.
Referenced by yaze::editor::ScreenEditor::Initialize(), yaze::editor::MusicEditor::Initialize(), yaze::editor::MusicEditor::OpenSong(), anonymous_namespace{main.cc}::RegisterLabPanels(), RegisterPanel(), RegisterPanel(), RegisterWindow(), RegisterWindow(), RegisterWindow(), and RegisterWindowContent().

|
inline |
Definition at line 161 of file workspace_window_manager.h.
References RegisterPanel().
Referenced by yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::MusicEditor::OpenSongPianoRoll(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), yaze::editor::EditorManager::RegisterEditors(), yaze::editor::EditorManager::RegisterEmulatorPanels(), and yaze::editor::WindowHost::RegisterPanel().

| void yaze::editor::WorkspaceWindowManager::RegisterPanelAlias | ( | const std::string & | legacy_base_id, |
| const std::string & | canonical_base_id ) |
Register a legacy panel ID alias that resolves to a canonical ID.
Use this when a panel has been renamed but persisted layout/user settings may still reference the old ID.
Definition at line 123 of file workspace_window_manager_state.cc.
References panel_id_aliases_.
Referenced by yaze::editor::DungeonEditorV2::Initialize(), yaze::editor::OverworldEditor::Load(), yaze::editor::EditorManager::RegisterEmulatorPanels(), yaze::editor::WindowHost::RegisterPanelAlias(), and RegisterWindowAlias().
|
inline |
Definition at line 173 of file workspace_window_manager.h.
References RegisterPanelAlias().

| std::string yaze::editor::WorkspaceWindowManager::ResolvePanelAlias | ( | const std::string & | panel_id | ) | const |
Resolve a panel ID through the alias table.
Definition at line 132 of file workspace_window_manager_state.cc.
References ResolveBaseWindowId().
Referenced by ResolveWindowAlias().

|
inline |
Definition at line 183 of file workspace_window_manager.h.
References ResolvePanelAlias().
Referenced by yaze::editor::WindowHost::ResolveWindowId().

| void yaze::editor::WorkspaceWindowManager::RegisterPanel | ( | size_t | session_id, |
| const std::string & | card_id, | ||
| const std::string & | display_name, | ||
| const std::string & | icon, | ||
| const std::string & | category, | ||
| const std::string & | shortcut_hint = "", | ||
| int | priority = 50, | ||
| std::function< void()> | on_show = nullptr, | ||
| std::function< void()> | on_hide = nullptr, | ||
| bool | visible_by_default = false ) |
Definition at line 408 of file workspace_window_manager.cc.
References yaze::editor::WindowDescriptor::card_id, yaze::editor::WindowDescriptor::category, yaze::editor::WindowDescriptor::display_name, yaze::editor::WindowDescriptor::icon, yaze::editor::WindowDescriptor::on_hide, yaze::editor::WindowDescriptor::on_show, OpenWindowImpl(), yaze::editor::WindowDescriptor::priority, RegisterPanel(), ResolveBaseWindowId(), yaze::editor::WindowDescriptor::shortcut_hint, and yaze::editor::WindowDescriptor::visibility_flag.

|
inline |
Definition at line 195 of file workspace_window_manager.h.
References RegisterPanel().

| void yaze::editor::WorkspaceWindowManager::UnregisterPanel | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 433 of file workspace_window_manager.cc.
References cards_, centralized_visibility_, GetPrefixedWindowId(), global_panel_ids_, LOG_INFO, pinned_panels_, RememberPinnedStateForRemovedWindow(), ResolveBaseWindowId(), session_card_mapping_, session_cards_, session_reverse_card_mapping_, and UntrackResourceWindow().
Referenced by UnregisterPanel(), UnregisterWindow(), UnregisterWindow(), UnregisterWindowContent(), and yaze::editor::MusicEditor::Update().

|
inline |
Definition at line 208 of file workspace_window_manager.h.
References UnregisterPanel().
Referenced by yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), and yaze::editor::MusicEditor::Update().

| void yaze::editor::WorkspaceWindowManager::UnregisterPanelsWithPrefix | ( | const std::string & | prefix | ) |
Definition at line 478 of file workspace_window_manager.cc.
References cards_, centralized_visibility_, LOG_INFO, pinned_panels_, RememberPinnedStateForRemovedWindow(), session_cards_, session_reverse_card_mapping_, and UntrackResourceWindow().

| void yaze::editor::WorkspaceWindowManager::ClearAllPanels | ( | ) |
Definition at line 530 of file workspace_window_manager.cc.
References cards_, centralized_visibility_, global_panel_ids_, LOG_INFO, panel_instances_, panel_resource_types_, pinned_panels_, registry_panel_ids_, resource_panels_, session_card_mapping_, session_cards_, session_context_keys_, session_count_, and session_reverse_card_mapping_.
Referenced by ClearAllWindows().
|
inline |
Definition at line 213 of file workspace_window_manager.h.
References ClearAllPanels().

| void yaze::editor::WorkspaceWindowManager::RegisterRegistryWindowContent | ( | std::unique_ptr< WindowContent > | window | ) |
Register a ContentRegistry-managed WindowContent instance.
| window | The window content to register (ownership transferred) |
Registry window contents are stored without auto-registering descriptors. Call RegisterRegistryWindowContentsForSession() to add descriptors per session.
Definition at line 551 of file workspace_window_manager.cc.
References EnforceResourceWindowLimits(), global_panel_ids_, yaze::editor::kGlobal, LOG_ERROR, LOG_INFO, LOG_WARN, panel_instances_, registry_panel_ids_, and TrackResourceWindow().
Referenced by yaze::editor::EditorManager::RegisterEditors(), and RegisterRegistryWindow().

|
inline |
Definition at line 228 of file workspace_window_manager.h.
References RegisterRegistryWindowContent().

| void yaze::editor::WorkspaceWindowManager::RegisterRegistryWindowContentsForSession | ( | size_t | session_id | ) |
Register descriptors for all registry window contents in a session.
| session_id | The session to register descriptors for |
Safe to call multiple times; descriptors are only created once.
Definition at line 588 of file workspace_window_manager.cc.
References panel_instances_, RegisterPanelDescriptorForSession(), RegisterSession(), and registry_panel_ids_.
Referenced by yaze::editor::EditorManager::HandleSessionCreated(), and RegisterRegistryWindowsForSession().

|
inline |
Definition at line 239 of file workspace_window_manager.h.
References RegisterRegistryWindowContentsForSession().

|
inline |
Returns the number of window contents registered via ContentRegistry.
Definition at line 244 of file workspace_window_manager.h.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::registry_ids, and registry_state_.
Referenced by GetRegistryWindowCount().
|
inline |
Definition at line 247 of file workspace_window_manager.h.
References GetRegistryWindowContentCount().

| void yaze::editor::WorkspaceWindowManager::RegisterWindowContent | ( | std::unique_ptr< WindowContent > | window | ) |
Register a WindowContent instance for central drawing.
| window | The window content to register (ownership transferred) |
This method:
Definition at line 600 of file workspace_window_manager.cc.
References active_session_, cards_, yaze::gui::Animator::ClearAnimationsForPanel(), yaze::editor::WindowDescriptor::display_name, EnforceResourceWindowLimits(), FindSessionWindowMapping(), yaze::gui::GetAnimator(), GetPrefixedWindowId(), yaze::editor::kSession, LOG_ERROR, LOG_INFO, MakeWindowId(), OpenWindowImpl(), panel_instances_, RegisterPanel(), ResolveBaseWindowId(), TrackResourceWindow(), and UntrackResourceWindow().
Referenced by yaze::editor::AgentEditor::Initialize(), yaze::editor::AssemblyEditor::Initialize(), yaze::editor::SpriteEditor::Initialize(), yaze::editor::EditorManager::InitializeSubsystems(), and yaze::editor::DungeonEditorV2::Load().
| void yaze::editor::WorkspaceWindowManager::UnregisterWindowContent | ( | const std::string & | window_id | ) |
Unregister and destroy a WindowContent instance.
| window_id | The window ID to unregister |
Definition at line 739 of file workspace_window_manager.cc.
References active_session_, yaze::gui::Animator::ClearAnimationsForPanel(), FindSessionWindowMapping(), yaze::gui::GetAnimator(), GetPrefixedWindowId(), global_panel_ids_, LOG_INFO, panel_instances_, registry_panel_ids_, ResolveBaseWindowId(), session_reverse_card_mapping_, UnregisterPanel(), and UntrackResourceWindow().
Referenced by EnforceResourceLimits().
| WindowContent * yaze::editor::WorkspaceWindowManager::GetWindowContent | ( | const std::string & | window_id | ) |
Get a WindowContent instance by ID.
| window_id | The window ID |
Definition at line 813 of file workspace_window_manager.cc.
References active_session_, and GetWindowContent().
Referenced by yaze::editor::OverworldEditor::ClearSelectedItem(), GetWindowContent(), yaze::editor::OverworldEditor::GetWorkbench(), yaze::editor::OverworldEditor::InitInteractionCoordinator(), yaze::editor::anonymous_namespace{layout_manager.cc}::ResolvePreferredRegionWidth(), and yaze::editor::OverworldEditor::SelectItemByIdentity().

| WindowContent * yaze::editor::WorkspaceWindowManager::GetWindowContent | ( | size_t | session_id, |
| const std::string & | window_id ) |
Definition at line 818 of file workspace_window_manager.cc.
References FindPanelInstance(), FindSessionWindowMapping(), GetBaseIdForPrefixedId(), and ResolveBaseWindowId().

| void yaze::editor::WorkspaceWindowManager::DrawAllVisiblePanels | ( | ) |
Draw all visible WindowContent instances (central drawing)
Call this once per frame to draw all windows that have WindowContent implementations. Windows without WindowContent instances are skipped (they use manual drawing).
Definition at line 863 of file workspace_window_manager.cc.
References yaze::editor::WorkspaceWindowManager::WindowBrowserState::active_category, active_session_, yaze::gui::PanelWindow::Begin(), browser_state_, cards_, yaze::editor::WindowDescriptor::category, yaze::gui::PanelWindow::Center, yaze::editor::WindowDescriptor::display_name, yaze::editor::WindowContent::DrawWithLazyInit(), editor_resolver_, yaze::gui::PanelWindow::End(), FindPanelInstance(), yaze::gui::GetAnimator(), GetBaseIdForPrefixedId(), yaze::editor::WindowContent::GetDisplayName(), yaze::editor::WindowContent::GetEditorCategory(), yaze::editor::WindowContent::GetIcon(), yaze::editor::WindowContent::GetPreferredHeight(), yaze::editor::WindowContent::GetPreferredWidth(), yaze::editor::WindowDescriptor::icon, yaze::gui::LayoutHelpers::IsTouchDevice(), IsWindowPinnedImpl(), kDashboardCategory, yaze::gui::kRelaxed, yaze::gui::kSnappy, yaze::gui::kStandard, yaze::editor::WindowContent::OnClose(), session_cards_, yaze::editor::ContentRegistry::Context::SetCurrentEditor(), yaze::gui::PanelWindow::SetDefaultSize(), yaze::gui::PanelWindow::SetPinChangedCallback(), yaze::gui::PanelWindow::SetPinnable(), yaze::gui::PanelWindow::SetPinned(), yaze::gui::PanelWindow::SetPosition(), yaze::gui::PanelWindow::SetStableId(), SetWindowPinnedImpl(), and yaze::editor::WindowDescriptor::visibility_flag.
Referenced by DrawVisibleWindows().
|
inline |
Definition at line 285 of file workspace_window_manager.h.
References DrawAllVisiblePanels().
Referenced by yaze::editor::EditorManager::DrawInterface().

| void yaze::editor::WorkspaceWindowManager::OnEditorSwitch | ( | const std::string & | from_category, |
| const std::string & | to_category ) |
Handle editor/category switching for panel visibility.
| from_category | The category being switched away from |
| to_category | The category being switched to |
This method:
Definition at line 1019 of file workspace_window_manager.cc.
References active_session_, yaze::gui::Animator::BeginPanelTransition(), yaze::gui::GetAnimator(), GetPrefixedWindowId(), GetWindowsInCategoryImpl(), yaze::gui::kFade, LOG_INFO, and SetActiveCategory().
Referenced by yaze::editor::EditorActivator::ActivatePanelBasedEditor(), and yaze::editor::EditorActivator::DeactivatePanelBasedEditor().
|
inline |
Definition at line 304 of file workspace_window_manager.h.
References OpenWindowImpl().
Referenced by yaze::editor::MenuOrchestrator::AddHackWorkflowMenuItems(), yaze::editor::LayoutCoordinator::ApplyLayoutPreset(), yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), yaze::editor::SettingsPanel::DrawWorkspaceSettings(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), yaze::editor::OverworldEditor::HandleTile16Edit(), yaze::editor::EditorManager::InitializeSubsystems(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), yaze::editor::WindowHost::OpenAndFocusWindow(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::MessageEditor::OpenMessageById(), yaze::editor::MusicEditor::OpenSong(), yaze::editor::MusicEditor::OpenSongPianoRoll(), yaze::editor::DungeonEditorV2::OpenWindow(), yaze::editor::WindowHost::OpenWindow(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), yaze::editor::EditorManager::RegisterEmulatorPanels(), yaze::editor::WindowHost::RegisterPanel(), yaze::editor::OverworldEditor::RequestTile16Selection(), yaze::editor::UICoordinator::SetAsmEditorVisible(), yaze::editor::UICoordinator::SetEmulatorVisible(), yaze::editor::EditorManager::SetupSidebarCallbacks(), yaze::editor::EditorManager::SetupWelcomeScreenCallbacks(), yaze::editor::anonymous_namespace{layout_manager.cc}::ShowDefaultWindowsForEditor(), yaze::editor::LayoutOrchestrator::ShowPresetPanels(), and yaze::editor::UICoordinator::UICoordinator().

|
inline |
Definition at line 307 of file workspace_window_manager.h.
References CloseWindowImpl().
Referenced by yaze::editor::WindowHost::CloseWindow(), yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::LayoutOrchestrator::HideOptionalPanels(), and yaze::editor::CommandPalette::RegisterPanelCommands().

|
inline |
Definition at line 310 of file workspace_window_manager.h.
References ToggleWindowImpl().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::OverworldToolbar::Draw(), yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::OverworldEditor::InitInteractionCoordinator(), yaze::editor::CommandPalette::RegisterPanelCommands(), and yaze::editor::WindowHost::ToggleWindow().

|
inline |
Definition at line 313 of file workspace_window_manager.h.
References IsWindowVisibleImpl().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::OverworldToolbar::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::SettingsPanel::DrawWorkspaceSettings(), yaze::editor::WindowHost::IsWindowOpen(), yaze::editor::DungeonEditorV2::IsWorkbenchWorkflowEnabled(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), and yaze::editor::MusicEditor::Update().

|
inline |
Definition at line 317 of file workspace_window_manager.h.
References GetVisibilityFlag().
Referenced by yaze::editor::EditorManager::DrawSecondaryWindows(), yaze::emu::Emulator::RenderEmulatorInterface(), and yaze::editor::MusicEditor::Update().

| void yaze::editor::WorkspaceWindowManager::ShowAllWindowsInSession | ( | size_t | session_id | ) |
Definition at line 1198 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), and FindSessionWindowIds().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), ShowAll(), yaze::editor::SessionCoordinator::ShowAllPanelsInActiveSession(), and ShowAllPanelsInSession().

| void yaze::editor::WorkspaceWindowManager::HideAllWindowsInSession | ( | size_t | session_id | ) |
Definition at line 1213 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), and FindSessionWindowIds().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), HideAll(), yaze::editor::SessionCoordinator::HideAllPanelsInActiveSession(), HideAllPanelsInSession(), and ResetToDefaults().

| void yaze::editor::WorkspaceWindowManager::ShowAllWindowsInCategory | ( | size_t | session_id, |
| const std::string & | category ) |
Definition at line 1228 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), and FindSessionWindowIds().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::WindowSidebar::Draw(), yaze::editor::DungeonEditorV2::OpenGraphicsEditorForObject(), ShowAllPanelsInCategory(), ShowAllPanelsInCategory(), ShowAllWindowsInCategory(), and yaze::editor::SessionCoordinator::ShowPanelsInCategory().

| void yaze::editor::WorkspaceWindowManager::HideAllWindowsInCategory | ( | size_t | session_id, |
| const std::string & | category ) |
Definition at line 1247 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), and FindSessionWindowIds().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::WindowSidebar::Draw(), HideAllPanelsInCategory(), HideAllPanelsInCategory(), HideAllWindowsInCategory(), yaze::editor::SessionCoordinator::HidePanelsInCategory(), ResetToDefaults(), yaze::editor::UICoordinator::SetAsmEditorVisible(), yaze::editor::UICoordinator::SetEmulatorVisible(), and ShowOnlyWindow().

| void yaze::editor::WorkspaceWindowManager::ShowOnlyWindow | ( | size_t | session_id, |
| const std::string & | base_window_id ) |
Definition at line 1266 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), GetPrefixedWindowId(), HideAllWindowsInCategory(), and OpenWindowImpl().
Referenced by ShowOnlyPanel().

|
inline |
Definition at line 333 of file workspace_window_manager.h.
References ShowAllWindowsInSession().

|
inline |
Definition at line 337 of file workspace_window_manager.h.
References HideAllWindowsInSession().

|
inline |
Definition at line 341 of file workspace_window_manager.h.
References ShowAllWindowsInCategory().

|
inline |
Definition at line 345 of file workspace_window_manager.h.
References HideAllWindowsInCategory().

|
inline |
Definition at line 349 of file workspace_window_manager.h.
References ShowOnlyWindow().

|
inline |
Definition at line 357 of file workspace_window_manager.h.
References GetWindowsInSessionImpl().
Referenced by yaze::editor::WindowBrowser::Draw(), yaze::editor::UICoordinator::DrawPanelFinder(), and yaze::editor::CommandPalette::RegisterPanelCommands().

|
inline |
Definition at line 360 of file workspace_window_manager.h.
References GetWindowsInCategoryImpl().
Referenced by yaze::editor::MenuOrchestrator::AddHackWorkflowMenuItems(), yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::SettingsPanel::DrawPanelShortcuts(), yaze::editor::UICoordinator::IsAsmEditorVisible(), yaze::editor::UICoordinator::IsEmulatorVisible(), yaze::editor::CommandPalette::RegisterWorkflowCommands(), and yaze::editor::EditorManager::SetupSidebarCallbacks().

| std::vector< std::string > yaze::editor::WorkspaceWindowManager::GetAllCategories | ( | size_t | session_id | ) | const |
Definition at line 1337 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), and FindSessionWindowIds().
Referenced by yaze::editor::MenuOrchestrator::AddHackWorkflowMenuItems(), yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::SettingsPanel::DrawPanelShortcuts(), yaze::editor::SidebarCommandsProvider::Provide(), and yaze::editor::CommandPalette::RegisterWorkflowCommands().

|
inline |
Definition at line 365 of file workspace_window_manager.h.
References GetAllCategories().
Referenced by yaze::editor::WindowBrowser::Draw().

|
inline |
Definition at line 368 of file workspace_window_manager.h.
References GetWindowDescriptorImpl().
Referenced by yaze::editor::EditorManager::CollectEditorsToPreload(), yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::CommandPalette::RegisterPanelCommands(), and yaze::editor::anonymous_namespace{layout_manager.cc}::ResolveDockWindowTitle().

|
inline |
Get all panel descriptors (for layout designer, panel browser, etc.)
Definition at line 378 of file workspace_window_manager.h.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::descriptors, and registry_state_.
Referenced by yaze::editor::EditorManager::CollectEditorsToPreload(), and yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags().
| std::vector< std::string > yaze::editor::WorkspaceWindowManager::GetAllCategories | ( | ) | const |
Definition at line 1366 of file workspace_window_manager.cc.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::descriptors, and registry_state_.
Referenced by GetAllWindowCategories(), and GetAllWindowCategories().
|
inline |
Definition at line 383 of file workspace_window_manager.h.
References GetAllCategories().

|
inline |
Get list of currently visible panel IDs for a session.
| session_id | The session to query |
Definition at line 396 of file workspace_window_manager.h.
References GetVisibleWindowIdsImpl().
Referenced by yaze::editor::EditorManager::CollectEditorsToPreload().

|
inline |
Set which panels should be visible for a session.
| session_id | The session to modify |
| panel_ids | Vector of base panel IDs to make visible (others hidden) |
Definition at line 405 of file workspace_window_manager.h.
References SetVisibleWindowsImpl().

| std::unordered_map< std::string, bool > yaze::editor::WorkspaceWindowManager::SerializeVisibilityState | ( | size_t | session_id | ) | const |
Serialize panel visibility state for persistence.
| session_id | The session to serialize |
Definition at line 241 of file workspace_window_manager_state.cc.
References FindDescriptorByPrefixedId(), and FindSessionWindowMapping().

| void yaze::editor::WorkspaceWindowManager::RestoreVisibilityState | ( | size_t | session_id, |
| const std::unordered_map< std::string, bool > & | state, | ||
| bool | publish_events = false ) |
Restore panel visibility state from persistence.
| session_id | The session to restore |
| state | Map of base_panel_id -> visible |
Definition at line 263 of file workspace_window_manager_state.cc.
References FindDescriptorByPrefixedId(), FindSessionWindowMapping(), LOG_INFO, LOG_WARN, PublishWindowVisibilityChanged(), and ResolveBaseWindowId().
Referenced by yaze::editor::EditorManager::DrawInterface(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::EditorManager::Initialize(), and yaze::editor::EditorManager::SetupSidebarCallbacks().

| std::unordered_map< std::string, bool > yaze::editor::WorkspaceWindowManager::SerializePinnedState | ( | ) | const |
Serialize pinned panel state for persistence.
Definition at line 303 of file workspace_window_manager_state.cc.
References pending_pinned_base_ids_, and pinned_panels_.
| void yaze::editor::WorkspaceWindowManager::RestorePinnedState | ( | const std::unordered_map< std::string, bool > & | state | ) |
Restore pinned panel state from persistence.
| state | Map of base_panel_id -> pinned |
Definition at line 327 of file workspace_window_manager_state.cc.
References LOG_INFO, pending_pinned_base_ids_, pinned_panels_, ResolveBaseWindowId(), and session_card_mapping_.
Referenced by yaze::editor::EditorManager::HandleSessionCreated(), and yaze::editor::EditorManager::InitializeServices().

|
inline |
Resolve the exact ImGui window name for a panel by base ID.
Definition at line 443 of file workspace_window_manager.h.
References GetWindowNameImpl().
Referenced by yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::LayoutOrchestrator::GetWindowTitle(), yaze::editor::WindowHost::GetWorkspaceWindowName(), yaze::editor::WindowHost::OpenAndFocusWindow(), and yaze::editor::anonymous_namespace{layout_manager.cc}::ResolveDockWindowTitle().

|
inline |
Definition at line 447 of file workspace_window_manager.h.
References GetWindowNameImpl().

|
inlinestaticconstexpr |
Definition at line 451 of file workspace_window_manager.h.
Referenced by yaze::editor::WindowSidebar::Draw(), yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), and getSidebarState().
|
inlinestaticconstexpr |
Definition at line 452 of file workspace_window_manager.h.
Referenced by getSidebarState(), and GetSidePanelWidthForViewport().
|
static |
Definition at line 161 of file workspace_window_manager.cc.
References GetSidePanelWidthForViewport(), and yaze::editor::WorkspaceWindowManager::SidePanelWidthBounds::min_width.
Referenced by GetActiveSidePanelWidth(), and SetActiveSidePanelWidth().

|
inlinestatic |
Definition at line 458 of file workspace_window_manager.h.
References GetSidePanelWidth().
Referenced by GetActiveSidePanelWidth(), and GetSidePanelWidthBounds().

| float yaze::editor::WorkspaceWindowManager::GetActiveSidePanelWidth | ( | float | viewport_width | ) | const |
Definition at line 178 of file workspace_window_manager.cc.
References browser_state_, GetSidePanelWidthBounds(), GetSidePanelWidthForViewport(), and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_width.
Referenced by yaze::editor::WindowSidebar::Draw(), and yaze::editor::LayoutCoordinator::GetLeftLayoutOffset().

| void yaze::editor::WorkspaceWindowManager::SetActiveSidePanelWidth | ( | float | width, |
| float | viewport_width = 0.0f, | ||
| bool | notify = true ) |
Definition at line 189 of file workspace_window_manager.cc.
References browser_state_, GetSidePanelWidthBounds(), yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_width_changed, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_width.
Referenced by yaze::editor::WindowSidebar::Draw(), and SetStoredSidePanelWidth().

| void yaze::editor::WorkspaceWindowManager::ResetSidePanelWidth | ( | bool | notify = true | ) |
Definition at line 211 of file workspace_window_manager.cc.
References browser_state_, yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_width_changed, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_width.
Referenced by yaze::editor::WindowSidebar::Draw().
|
inline |
Definition at line 500 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_width.
|
inline |
Definition at line 501 of file workspace_window_manager.h.
References SetActiveSidePanelWidth().
Referenced by yaze::editor::EditorManager::Initialize().

|
inline |
Definition at line 504 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_width_changed.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 509 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::window_browser_category_width.
|
inline |
Definition at line 512 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::window_browser_category_width.
Referenced by yaze::editor::WindowBrowser::Draw().
| void yaze::editor::WorkspaceWindowManager::SetPanelBrowserCategoryWidth | ( | float | width, |
| bool | notify = true ) |
Definition at line 221 of file workspace_window_manager.cc.
References browser_state_, yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_browser_width_changed, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::window_browser_category_width.
Referenced by SetWindowBrowserCategoryWidth().
|
inline |
Definition at line 517 of file workspace_window_manager.h.
References SetPanelBrowserCategoryWidth().
Referenced by yaze::editor::WindowBrowser::Draw(), and yaze::editor::EditorManager::Initialize().

|
inline |
Definition at line 520 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_browser_width_changed.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks(), and SetWindowBrowserCategoryWidthChangedCallback().
|
inline |
Definition at line 524 of file workspace_window_manager.h.
References SetPanelBrowserCategoryWidthChangedCallback().

|
inline |
Definition at line 528 of file workspace_window_manager.h.
|
inlinestaticconstexpr |
Definition at line 533 of file workspace_window_manager.h.
Referenced by yaze::editor::WindowBrowser::Draw().
|
inlinestaticconstexpr |
Definition at line 537 of file workspace_window_manager.h.
|
static |
Definition at line 63 of file workspace_window_manager.cc.
References ICON_MD_CASTLE, ICON_MD_CODE, ICON_MD_FOLDER, ICON_MD_IMAGE, ICON_MD_MAP, ICON_MD_MEMORY, ICON_MD_MESSAGE, ICON_MD_MUSIC_NOTE, ICON_MD_PALETTE, ICON_MD_PERSON, ICON_MD_SETTINGS, ICON_MD_SMART_TOY, ICON_MD_TV, and ICON_MD_VIDEOGAME_ASSET.
Referenced by yaze::editor::WindowBrowser::Draw(), and yaze::editor::ActivityBar::DrawActivityBarStrip().
|
static |
Definition at line 98 of file workspace_window_manager.cc.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
| void yaze::editor::WorkspaceWindowManager::HandleSidebarKeyboardNav | ( | size_t | session_id, |
| const std::vector< WindowDescriptor > & | cards ) |
Handle keyboard navigation in sidebar (click-to-focus modal)
Definition at line 372 of file workspace_window_manager_state.cc.
References browser_state_, yaze::editor::WorkspaceWindowManager::WindowBrowserState::focused_window_index, yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_has_focus, and ToggleWindowImpl().

|
inline |
Definition at line 558 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_has_focus.
|
inline |
Definition at line 559 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::focused_window_index.
Referenced by GetFocusedWindowIndex().
|
inline |
Definition at line 562 of file workspace_window_manager.h.
References GetFocusedPanelIndex().

|
inline |
Definition at line 564 of file workspace_window_manager.h.
References browser_state_, yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_state_changed, yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_expanded, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_visible.
Referenced by yaze::editor::MenuOrchestrator::AddAppearanceMenuItems(), yaze::editor::EditorManager::DrawMainMenuBar(), and yaze::editor::UICoordinator::TogglePanelSidebar().
|
inline |
Definition at line 572 of file workspace_window_manager.h.
References browser_state_, yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_state_changed, yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_expanded, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_visible.
Referenced by yaze::editor::EditorManager::ApplyStartupVisibilityOverrides(), yaze::editor::EditorManager::Initialize(), and yaze::editor::UICoordinator::SetPanelSidebarVisible().
|
inline |
Definition at line 582 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_visible.
Referenced by yaze::editor::MenuOrchestrator::AddAppearanceMenuItems(), yaze::editor::EditorManager::DrawMainMenuBar(), yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), yaze::editor::UICoordinator::IsPanelSidebarVisible(), and yaze::editor::ActivityBar::Render().
|
inline |
Definition at line 585 of file workspace_window_manager.h.
References ToggleSidebarExpanded().

|
inline |
Definition at line 587 of file workspace_window_manager.h.
References browser_state_, yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_state_changed, yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_expanded, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_visible.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), and ToggleWindowImplExpanded().
|
inline |
Definition at line 596 of file workspace_window_manager.h.
References SetSidebarExpanded().

|
inline |
Definition at line 600 of file workspace_window_manager.h.
References browser_state_, yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_state_changed, yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_expanded, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_visible.
Referenced by yaze::editor::EditorManager::ApplyStartupVisibilityOverrides(), yaze::editor::WindowSidebar::Draw(), yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::EditorManager::Initialize(), yaze::editor::ActivityBar::Render(), and SetPanelExpanded().
|
inline |
Definition at line 611 of file workspace_window_manager.h.
References IsSidebarExpanded().

|
inline |
Definition at line 612 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_expanded.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), IsPanelExpanded(), and yaze::editor::ActivityBar::Render().
|
inline |
Definition at line 618 of file workspace_window_manager.h.
References event_bus_.
Referenced by yaze::editor::EditorManager::InitializeSubsystems().
|
inline |
Definition at line 624 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowEmulator().

|
inline |
Definition at line 629 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowSettings().
Referenced by yaze::editor::EditorManager::InitializeSubsystems().

|
inline |
Definition at line 635 of file workspace_window_manager.h.
References TriggerShowWindowBrowser().

|
inline |
Definition at line 637 of file workspace_window_manager.h.
References yaze::editor::UIActionRequestEvent::Create(), event_bus_, yaze::editor::UIActionRequestEvent::kShowPanelBrowser, and yaze::EventBus::Publish().
Referenced by yaze::editor::WindowSidebar::Draw(), and TriggerShowPanelBrowser().

|
inline |
Definition at line 643 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::SaveRom().

|
inline |
Definition at line 648 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::Undo().

|
inline |
Definition at line 653 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::Redo().

|
inline |
Definition at line 658 of file workspace_window_manager.h.
References yaze::editor::UIActionRequestEvent::Create(), event_bus_, yaze::editor::UIActionRequestEvent::kShowSearch, and yaze::EventBus::Publish().
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().

|
inline |
Definition at line 664 of file workspace_window_manager.h.
References yaze::editor::UIActionRequestEvent::Create(), event_bus_, yaze::editor::UIActionRequestEvent::kShowShortcuts, and yaze::EventBus::Publish().
Referenced by yaze::editor::EditorManager::InitializeSubsystems().

|
inline |
Definition at line 670 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowCommandPalette().
Referenced by yaze::editor::EditorManager::InitializeSubsystems().

|
inline |
Definition at line 675 of file workspace_window_manager.h.
References yaze::editor::UIActionRequestEvent::Create(), event_bus_, yaze::editor::UIActionRequestEvent::kShowHelp, and yaze::EventBus::Publish().

|
inline |
Definition at line 681 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowAgentChatSidebar().

|
inline |
Definition at line 686 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowAgentProposalsSidebar().

|
inline |
Definition at line 691 of file workspace_window_manager.h.
References yaze::editor::UIActionRequestEvent::Create(), event_bus_, yaze::editor::UIActionRequestEvent::kResetLayout, and yaze::EventBus::Publish().

|
inline |
Definition at line 697 of file workspace_window_manager.h.
References event_bus_, yaze::editor::UIActionRequestEvent::OpenRom(), and yaze::EventBus::Publish().
Referenced by yaze::editor::EditorManager::InitializeSubsystems().

|
inline |
Definition at line 703 of file workspace_window_manager.h.
References TriggerWindowClicked().

|
inline |
Definition at line 706 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_clicked.
Referenced by yaze::editor::WindowSidebar::Draw(), and TriggerPanelClicked().
|
inline |
Definition at line 710 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_category_selected.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), and TriggerWindowCategorySelected().
|
inline |
Definition at line 715 of file workspace_window_manager.h.
References TriggerCategorySelected().

|
inline |
Definition at line 723 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_state_changed.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 727 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_category_changed.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
| void yaze::editor::WorkspaceWindowManager::SavePreset | ( | const std::string & | name, |
| const std::string & | description = "" ) |
Definition at line 1405 of file workspace_window_manager.cc.
References cards_, yaze::editor::WorkspaceWindowManager::WorkspacePreset::description, LOG_INFO, yaze::editor::WorkspaceWindowManager::WorkspacePreset::name, presets_, SavePresetsToFile(), and yaze::editor::WorkspaceWindowManager::WorkspacePreset::visible_cards.

| bool yaze::editor::WorkspaceWindowManager::LoadPreset | ( | const std::string & | name | ) |
Definition at line 1424 of file workspace_window_manager.cc.
| void yaze::editor::WorkspaceWindowManager::DeletePreset | ( | const std::string & | name | ) |
Definition at line 1452 of file workspace_window_manager.cc.
References presets_, and SavePresetsToFile().

| std::vector< WorkspaceWindowManager::WorkspacePreset > yaze::editor::WorkspaceWindowManager::GetPresets | ( | ) | const |
Definition at line 1458 of file workspace_window_manager.cc.
References presets_.
| std::vector< WorkspaceWindowManager::WindowValidationResult > yaze::editor::WorkspaceWindowManager::ValidateWindows | ( | ) | const |
Definition at line 296 of file workspace_window_manager_support.cc.
References cards_, and ValidateWindow().

| WorkspaceWindowManager::WindowValidationResult yaze::editor::WorkspaceWindowManager::ValidateWindow | ( | const std::string & | card_id | ) | const |
Definition at line 262 of file workspace_window_manager_support.cc.
References yaze::editor::WorkspaceWindowManager::WindowValidationResult::card_id, cards_, yaze::editor::WorkspaceWindowManager::WindowValidationResult::expected_title, yaze::editor::WorkspaceWindowManager::WindowValidationResult::found_in_imgui, GetWindowNameImpl(), and yaze::editor::WorkspaceWindowManager::WindowValidationResult::message.
Referenced by ValidateWindows().

| void yaze::editor::WorkspaceWindowManager::ShowAll | ( | size_t | session_id | ) |
Definition at line 1470 of file workspace_window_manager.cc.
References ShowAllWindowsInSession().
Referenced by yaze::editor::WorkspaceManager::ShowAllWindows().

| void yaze::editor::WorkspaceWindowManager::HideAll | ( | size_t | session_id | ) |
Definition at line 1474 of file workspace_window_manager.cc.
References HideAllWindowsInSession().
Referenced by yaze::editor::LayoutCoordinator::ApplyLayoutPreset(), yaze::editor::PopupManager::DrawLayoutPresetsPopup(), and yaze::editor::WorkspaceManager::HideAllWindows().

| void yaze::editor::WorkspaceWindowManager::ResetToDefaults | ( | size_t | session_id | ) |
Definition at line 1478 of file workspace_window_manager.cc.
References HideAllWindowsInSession(), and LOG_INFO.
Referenced by yaze::editor::LayoutCoordinator::ResetCurrentEditorLayout().

| void yaze::editor::WorkspaceWindowManager::ResetToDefaults | ( | size_t | session_id, |
| EditorType | editor_type ) |
Definition at line 1487 of file workspace_window_manager.cc.
References yaze::editor::LayoutPresets::GetDefaultPanels(), yaze::editor::EditorRegistry::GetEditorCategory(), HideAllWindowsInCategory(), LOG_INFO, LOG_WARN, and OpenWindowImpl().

|
inline |
Definition at line 774 of file workspace_window_manager.h.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::descriptors, and registry_state_.
|
inline |
Definition at line 775 of file workspace_window_manager.h.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::descriptors, and registry_state_.
| size_t yaze::editor::WorkspaceWindowManager::GetVisibleWindowCount | ( | size_t | session_id | ) | const |
Definition at line 451 of file workspace_window_manager_state.cc.
Referenced by GetVisiblePanelCount().
|
inline |
Definition at line 778 of file workspace_window_manager.h.
References GetVisibleWindowCount().

|
inline |
Definition at line 781 of file workspace_window_manager.h.
References yaze::editor::WorkspaceWindowManager::WindowSessionState::session_count, and session_state_.
| std::string yaze::editor::WorkspaceWindowManager::MakeWindowId | ( | size_t | session_id, |
| const std::string & | base_id ) const |
Definition at line 1521 of file workspace_window_manager.cc.
References yaze::editor::kSession, and MakeWindowId().
Referenced by yaze::editor::LayoutOrchestrator::GetPrefixedWindowId(), IsWindowPinnedImpl(), MakePanelId(), MakePanelId(), MakeWindowId(), RegisterPanel(), RegisterWindowContent(), and SetWindowPinnedImpl().

| std::string yaze::editor::WorkspaceWindowManager::MakeWindowId | ( | size_t | session_id, |
| const std::string & | base_id, | ||
| WindowScope | scope ) const |
Definition at line 1526 of file workspace_window_manager.cc.
References yaze::editor::kGlobal, ResolveBaseWindowId(), and ShouldPrefixPanels().

|
inline |
Definition at line 791 of file workspace_window_manager.h.
References MakeWindowId().

|
inline |
Definition at line 795 of file workspace_window_manager.h.
References MakeWindowId().

|
inline |
Definition at line 799 of file workspace_window_manager.h.
References session_count_.
Referenced by MakeWindowId().
|
inline |
Definition at line 805 of file workspace_window_manager.h.
References active_session_, and RegisterPanel().

|
inline |
Definition at line 808 of file workspace_window_manager.h.
References active_session_, and RegisterPanel().

|
inline |
Definition at line 811 of file workspace_window_manager.h.
References active_session_, and UnregisterPanel().

|
inline |
Definition at line 814 of file workspace_window_manager.h.
References active_session_, and UnregisterPanel().

|
inline |
Definition at line 817 of file workspace_window_manager.h.
References active_session_, and OpenWindowImpl().

|
inline |
Definition at line 820 of file workspace_window_manager.h.
References active_session_, and CloseWindowImpl().

|
inline |
Definition at line 823 of file workspace_window_manager.h.
References active_session_, and IsWindowVisibleImpl().

|
inline |
Definition at line 826 of file workspace_window_manager.h.
References active_session_, and HideAllWindowsInCategory().

|
inline |
Definition at line 830 of file workspace_window_manager.h.
References active_session_, and HideAllWindowsInCategory().

|
inline |
Definition at line 833 of file workspace_window_manager.h.
References yaze::editor::WorkspaceWindowManager::WindowBrowserState::active_category, and browser_state_.
Referenced by yaze::editor::EditorActivator::ActivatePanelBasedEditor(), yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::EditorManager::CollectEditorsToPreload(), yaze::editor::EditorActivator::DeactivatePanelBasedEditor(), yaze::editor::EditorManager::DrawInterface(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::WorkspaceManager::ResetWorkspaceLayout(), and yaze::editor::MusicEditor::Update().
|
inline |
Definition at line 836 of file workspace_window_manager.h.
References yaze::editor::WorkspaceWindowManager::WindowBrowserState::active_category, browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_category_changed.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::EditorManager::DrawInterface(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), yaze::editor::EditorManager::Initialize(), yaze::editor::EditorManager::LoadProjectWithRom(), OnEditorSwitch(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), and yaze::editor::EditorManager::OpenRomOrProjectInternal().
|
inline |
Definition at line 844 of file workspace_window_manager.h.
References active_session_, and ShowAllWindowsInCategory().

|
inline |
Definition at line 848 of file workspace_window_manager.h.
References active_session_, and ShowAllWindowsInCategory().

|
inline |
Definition at line 851 of file workspace_window_manager.h.
References active_session_, and GetVisibilityFlag().

|
inline |
Definition at line 854 of file workspace_window_manager.h.
References active_session_, and ShowAll().
Referenced by ShowAll().

|
inline |
Definition at line 855 of file workspace_window_manager.h.
References active_session_, and HideAll().
Referenced by HideAll().

|
inline |
Definition at line 856 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_clicked.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 860 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_category_selected.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 864 of file workspace_window_manager.h.
References editor_resolver_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 868 of file workspace_window_manager.h.
References active_session_.
Referenced by yaze::editor::OverworldToolbar::Draw(), yaze::editor::EditorManager::DrawInterface(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), yaze::editor::OverworldEditor::HandleTile16Edit(), yaze::editor::EditorManager::Initialize(), yaze::editor::OverworldEditor::InitInteractionCoordinator(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), yaze::editor::WindowHost::RegisterPanel(), yaze::editor::WindowHost::RegisterPanels(), yaze::editor::OverworldEditor::RequestTile16Selection(), yaze::editor::EditorManager::SetupSidebarCallbacks(), and yaze::editor::DungeonEditorV2::SetWorkbenchWorkflowMode().
| FileBrowser * yaze::editor::WorkspaceWindowManager::GetFileBrowser | ( | const std::string & | category | ) |
Definition at line 122 of file workspace_window_manager_support.cc.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::category_file_browsers.
| void yaze::editor::WorkspaceWindowManager::EnableFileBrowser | ( | const std::string & | category, |
| const std::string & | root_path = "" ) |
Definition at line 131 of file workspace_window_manager_support.cc.
References browser_state_, yaze::editor::WorkspaceWindowManager::WindowBrowserState::category_file_browsers, LOG_INFO, on_file_clicked_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_clicked.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
| void yaze::editor::WorkspaceWindowManager::DisableFileBrowser | ( | const std::string & | category | ) |
Definition at line 160 of file workspace_window_manager_support.cc.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::category_file_browsers.
| bool yaze::editor::WorkspaceWindowManager::HasFileBrowser | ( | const std::string & | category | ) | const |
Definition at line 164 of file workspace_window_manager_support.cc.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::category_file_browsers.
| void yaze::editor::WorkspaceWindowManager::SetFileBrowserPath | ( | const std::string & | category, |
| const std::string & | path ) |
Definition at line 169 of file workspace_window_manager_support.cc.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::category_file_browsers.
Referenced by yaze::editor::EditorManager::InitializeSubsystems(), yaze::editor::EditorManager::LoadProjectWithRom(), and yaze::editor::EditorManager::OpenRomOrProjectInternal().
|
inline |
Definition at line 880 of file workspace_window_manager.h.
References on_file_clicked_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 891 of file workspace_window_manager.h.
References IsWindowPinned(), and SetWindowPinned().

|
inline |
Definition at line 894 of file workspace_window_manager.h.
References IsWindowPinned().

|
inline |
Definition at line 898 of file workspace_window_manager.h.
References MarkWindowRecentlyUsedImpl().
Referenced by yaze::editor::WindowSidebar::Draw(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), yaze::editor::OverworldEditor::HandleTile16Edit(), yaze::editor::EditorManager::InitializeSubsystems(), and yaze::editor::OverworldEditor::RequestTile16Selection().

|
inline |
Definition at line 902 of file workspace_window_manager.h.
References GetWindowsSortedByMRUImpl().
Referenced by yaze::editor::WindowSidebar::Draw().

|
inline |
Definition at line 907 of file workspace_window_manager.h.
References GetWindowMRUTimeImpl().

|
inline |
Definition at line 915 of file workspace_window_manager.h.
References SetWindowPinnedImpl().
Referenced by yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::SettingsPanel::DrawWorkspaceSettings(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), yaze::editor::CommandPalette::RegisterPanelCommands(), and ToggleFavorite().

|
inline |
Definition at line 919 of file workspace_window_manager.h.
References IsWindowPinnedImpl().
Referenced by yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::DungeonEditorV2::GetViewerForRoom(), IsFavorite(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), yaze::editor::CommandPalette::RegisterPanelCommands(), ToggleFavorite(), and yaze::editor::MusicEditor::Update().

|
inline |
Definition at line 923 of file workspace_window_manager.h.
References GetPinnedWindowsImpl().
Referenced by yaze::editor::WindowSidebar::Draw().

|
inline |
Definition at line 927 of file workspace_window_manager.h.
References SetWindowPinnedImpl().

|
inline |
Definition at line 930 of file workspace_window_manager.h.
References IsWindowPinnedImpl().

|
inline |
Definition at line 933 of file workspace_window_manager.h.
References GetPinnedWindowsImpl().

| void yaze::editor::WorkspaceWindowManager::EnforceResourceLimits | ( | const std::string & | resource_type | ) |
Enforce limits on resource panels (LRU eviction)
| resource_type | The type of resource (e.g., "room", "song") |
Checks if the number of open panels of this type exceeds the limit. If so, closes and unregisters the least recently used panel.
Definition at line 702 of file workspace_window_manager.cc.
References GetResourceWindowLimit(), resource_panels_, SelectResourceWindowForEviction(), and UnregisterWindowContent().
Referenced by EnforceResourceWindowLimits().

|
inline |
Definition at line 949 of file workspace_window_manager.h.
References EnforceResourceLimits().
Referenced by RegisterRegistryWindowContent(), and RegisterWindowContent().

| void yaze::editor::WorkspaceWindowManager::MarkPanelUsed | ( | const std::string & | panel_id | ) |
Mark a panel as recently used (for LRU)
| panel_id | The panel ID |
Definition at line 725 of file workspace_window_manager.cc.
References panel_resource_types_, and resource_panels_.
| WindowContent * yaze::editor::WorkspaceWindowManager::FindPanelInstance | ( | const std::string & | prefixed_panel_id, |
| const std::string & | base_panel_id ) |
Definition at line 836 of file workspace_window_manager.cc.
References panel_instances_.
Referenced by CloseWindowImpl(), DrawAllVisiblePanels(), GetWindowContent(), OpenWindowImpl(), and ToggleWindowImpl().
| const WindowContent * yaze::editor::WorkspaceWindowManager::FindPanelInstance | ( | const std::string & | prefixed_panel_id, |
| const std::string & | base_panel_id ) const |
Definition at line 849 of file workspace_window_manager.cc.
References panel_instances_.
|
private |
Definition at line 165 of file workspace_window_manager_state.cc.
References CloseWindowImpl(), FindDescriptorByPrefixedId(), FindSessionWindowIds(), GetBaseIdForPrefixedId(), and IsWindowPinnedImpl().
Referenced by SetContextKey().
|
private |
Definition at line 235 of file workspace_window_manager.cc.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::descriptors, and registry_state_.
Referenced by ApplyContextPolicy(), CloseWindowImpl(), GetAllCategories(), GetVisibilityFlag(), GetVisibleWindowIdsImpl(), GetWindowDescriptorImpl(), GetWindowsInCategoryImpl(), HideAllWindowsInCategory(), HideAllWindowsInSession(), IsWindowVisibleImpl(), OpenWindowImpl(), RestoreVisibilityState(), SerializeVisibilityState(), SetVisibleWindowsImpl(), ShowAllWindowsInCategory(), ShowAllWindowsInSession(), ShowOnlyWindow(), and ToggleWindowImpl().
|
private |
Definition at line 241 of file workspace_window_manager.cc.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::descriptors, and registry_state_.
|
private |
Definition at line 247 of file workspace_window_manager.cc.
References session_state_, and yaze::editor::WorkspaceWindowManager::WindowSessionState::session_windows.
Referenced by ApplyContextPolicy(), GetAllCategories(), GetPinnedWindowsImpl(), GetWindowsInCategoryImpl(), GetWindowsInSessionImpl(), HideAllWindowsInCategory(), HideAllWindowsInSession(), RegisterSession(), ShowAllWindowsInCategory(), ShowAllWindowsInSession(), and UnregisterSession().
|
private |
Definition at line 253 of file workspace_window_manager.cc.
References session_state_, and yaze::editor::WorkspaceWindowManager::WindowSessionState::session_windows.
|
private |
Definition at line 260 of file workspace_window_manager.cc.
References session_state_, and yaze::editor::WorkspaceWindowManager::WindowSessionState::session_window_mapping.
Referenced by GetVisibleWindowIdsImpl(), GetWindowContent(), RegisterWindowContent(), RestoreVisibilityState(), SerializeVisibilityState(), SetVisibleWindowsImpl(), and UnregisterWindowContent().
|
private |
Definition at line 267 of file workspace_window_manager.cc.
References session_state_, and yaze::editor::WorkspaceWindowManager::WindowSessionState::session_window_mapping.
|
private |
Definition at line 274 of file workspace_window_manager.cc.
References yaze::editor::WorkspaceWindowManager::WindowSessionState::session_reverse_window_mapping, and session_state_.
Referenced by GetBaseIdForPrefixedId().
|
private |
Definition at line 281 of file workspace_window_manager.cc.
References yaze::editor::WorkspaceWindowManager::WindowSessionState::session_reverse_window_mapping, and session_state_.
|
private |
Definition at line 288 of file workspace_window_manager.cc.
References yaze::editor::PanelVisibilityChangedEvent::Create(), and yaze::editor::ContentRegistry::Context::event_bus().
Referenced by CloseWindowImpl(), OpenWindowImpl(), RestoreVisibilityState(), and ToggleWindowImpl().

|
private |
Definition at line 1066 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), FindPanelInstance(), GetPrefixedWindowId(), PublishWindowVisibilityChanged(), and ResolveBaseWindowId().
Referenced by OpenWindow(), OpenWindow(), RegisterPanel(), RegisterWindowContent(), ResetToDefaults(), and ShowOnlyWindow().
|
private |
Definition at line 1098 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), FindPanelInstance(), GetPrefixedWindowId(), PublishWindowVisibilityChanged(), and ResolveBaseWindowId().
Referenced by ApplyContextPolicy(), CloseWindow(), and CloseWindow().
|
private |
Definition at line 1130 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), FindPanelInstance(), GetPrefixedWindowId(), PublishWindowVisibilityChanged(), and ResolveBaseWindowId().
Referenced by HandleSidebarKeyboardNav(), and ToggleWindow().
|
private |
Definition at line 1164 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), GetPrefixedWindowId(), and ResolveBaseWindowId().
Referenced by IsWindowOpen(), and IsWindowOpen().

|
private |
Definition at line 1179 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), GetPrefixedWindowId(), and ResolveBaseWindowId().
Referenced by GetWindowVisibilityFlag(), and GetWindowVisibilityFlag().

|
private |
Definition at line 1292 of file workspace_window_manager.cc.
References FindSessionWindowIds(), and GetBaseIdForPrefixedId().
Referenced by GetWindowsInSession().

|
private |
Definition at line 1307 of file workspace_window_manager.cc.
References yaze::editor::WindowDescriptor::card_id, FindDescriptorByPrefixedId(), FindSessionWindowIds(), and GetBaseIdForPrefixedId().
Referenced by GetWindowsInCategory(), GetWindowsSortedByMRUImpl(), and OnEditorSwitch().

|
private |
Definition at line 1381 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), and FindSessionWindowMapping().
Referenced by GetVisibleWindowIds().

|
private |
Definition at line 214 of file workspace_window_manager_state.cc.
References FindDescriptorByPrefixedId(), FindSessionWindowMapping(), LOG_INFO, and ResolveBaseWindowId().
Referenced by SetVisibleWindows().

|
private |
Definition at line 1355 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), GetPrefixedWindowId(), and ResolveBaseWindowId().
Referenced by GetWindowDescriptor(), and GetWindowNameImpl().

|
private |
Definition at line 357 of file workspace_window_manager_state.cc.
References GetWindowDescriptorImpl(), and GetWindowNameImpl().
Referenced by GetWindowNameImpl(), GetWorkspaceWindowName(), GetWorkspaceWindowName(), and ValidateWindow().

|
private |
Definition at line 367 of file workspace_window_manager_state.cc.
References yaze::editor::WindowDescriptor::GetImGuiWindowName().

|
private |
Definition at line 419 of file workspace_window_manager_state.cc.
References last_used_at_, and mru_counter_.
Referenced by MarkWindowRecentlyUsed().
|
private |
Definition at line 424 of file workspace_window_manager_state.cc.
References yaze::editor::WindowDescriptor::card_id, GetWindowsInCategoryImpl(), last_used_at_, and yaze::editor::WindowDescriptor::priority.
Referenced by GetWindowsSortedByMRU().

|
inlineprivate |
Definition at line 1013 of file workspace_window_manager.h.
References last_used_at_.
Referenced by GetWindowMRUTime().
|
private |
Definition at line 177 of file workspace_window_manager_support.cc.
References GetPrefixedWindowId(), MakeWindowId(), pinned_panels_, and ResolveBaseWindowId().
Referenced by DrawAllVisiblePanels(), SetWindowPinned(), SetWindowPinned(), and SetWindowPinnedImpl().

|
private |
Definition at line 187 of file workspace_window_manager_support.cc.
References GetPrefixedWindowId(), MakeWindowId(), pinned_panels_, and ResolveBaseWindowId().
Referenced by ApplyContextPolicy(), DrawAllVisiblePanels(), IsWindowPinned(), IsWindowPinned(), IsWindowPinnedImpl(), and SelectResourceWindowForEviction().

|
private |
Definition at line 198 of file workspace_window_manager_support.cc.
References FindSessionWindowIds(), GetBaseIdForPrefixedId(), and pinned_panels_.

|
private |
Definition at line 218 of file workspace_window_manager_support.cc.
References cards_, pending_pinned_base_ids_, pinned_panels_, and session_card_mapping_.
Referenced by UnregisterPanel(), and UnregisterPanelsWithPrefix().
|
private |
Definition at line 247 of file workspace_window_manager_support.cc.
References active_session_, and SetWindowPinnedImpl().

|
private |
Definition at line 252 of file workspace_window_manager_support.cc.
References active_session_, and IsWindowPinnedImpl().

|
private |
Definition at line 257 of file workspace_window_manager_support.cc.
References active_session_, and GetPinnedWindowsImpl().
Referenced by GetPinnedWindows(), GetPinnedWindows(), and GetPinnedWindowsImpl().

|
private |
Definition at line 298 of file workspace_window_manager.cc.
References yaze::editor::ResourcePanelLimits::kMaxMapPanels, yaze::editor::ResourcePanelLimits::kMaxRoomPanels, yaze::editor::ResourcePanelLimits::kMaxSheetPanels, yaze::editor::ResourcePanelLimits::kMaxSongPanels, and yaze::editor::ResourcePanelLimits::kMaxTotalResourcePanels.
Referenced by EnforceResourceLimits().
|
private |
Definition at line 315 of file workspace_window_manager.cc.
References yaze::editor::ResourceWindowContent::GetResourceType(), panel_resource_types_, and resource_panels_.
Referenced by RegisterRegistryWindowContent(), and RegisterWindowContent().

|
private |
Definition at line 325 of file workspace_window_manager.cc.
References panel_resource_types_, and resource_panels_.
Referenced by RegisterWindowContent(), UnregisterPanel(), UnregisterPanelsWithPrefix(), and UnregisterWindowContent().
|
private |
Definition at line 343 of file workspace_window_manager.cc.
References IsWindowPinnedImpl().
Referenced by EnforceResourceLimits().

|
private |
Definition at line 137 of file workspace_window_manager_state.cc.
References panel_id_aliases_.
Referenced by CloseWindowImpl(), GetVisibilityFlag(), GetWindowContent(), GetWindowDescriptorImpl(), IsWindowPinnedImpl(), IsWindowVisibleImpl(), MakeWindowId(), OpenWindowImpl(), RegisterPanel(), RegisterPanel(), RegisterWindowContent(), ResolvePanelAlias(), RestorePinnedState(), RestoreVisibilityState(), SetVisibleWindowsImpl(), SetWindowPinnedImpl(), ToggleWindowImpl(), UnregisterPanel(), and UnregisterWindowContent().
|
private |
Definition at line 201 of file workspace_window_manager_state.cc.
References FindSessionReverseWindowMapping().
Referenced by ApplyContextPolicy(), DrawAllVisiblePanels(), GetPinnedWindowsImpl(), GetWindowContent(), GetWindowsInCategoryImpl(), and GetWindowsInSessionImpl().

|
private |
Definition at line 467 of file workspace_window_manager_state.cc.
Referenced by RegisterSession(), and UnregisterSession().
|
private |
Definition at line 471 of file workspace_window_manager_state.cc.
Referenced by CloseWindowImpl(), GetVisibilityFlag(), GetWindowDescriptorImpl(), IsWindowPinnedImpl(), IsWindowVisibleImpl(), OnEditorSwitch(), OpenWindowImpl(), RegisterWindowContent(), SetWindowPinnedImpl(), ShowOnlyWindow(), ToggleWindowImpl(), UnregisterPanel(), and UnregisterWindowContent().
|
private |
Definition at line 490 of file workspace_window_manager_state.cc.
References yaze::editor::WindowContent::GetId(), yaze::editor::WindowContent::GetScope(), and yaze::editor::WindowContent::IsVisibleByDefault().
Referenced by RegisterRegistryWindowContentsForSession().

|
private |
Definition at line 503 of file workspace_window_manager_state.cc.
Referenced by RegisterPanel(), and RegisterSession().
|
private |
Definition at line 527 of file workspace_window_manager_state.cc.
References yaze::gui::Animator::ClearAnimationsForPanel(), and yaze::gui::GetAnimator().
Referenced by UnregisterSession().

|
private |
Definition at line 19 of file workspace_window_manager_support.cc.
References yaze::Json::dump(), yaze::util::PlatformPaths::GetConfigDirectory(), LOG_ERROR, LOG_INFO, yaze::Json::object(), and presets_.
Referenced by DeletePreset(), and SavePreset().

|
private |
Definition at line 60 of file workspace_window_manager_support.cc.
References yaze::Json::contains(), yaze::editor::WorkspaceWindowManager::WorkspacePreset::description, yaze::util::PlatformPaths::Exists(), yaze::util::PlatformPaths::GetConfigDirectory(), yaze::Json::is_array(), yaze::Json::items(), LOG_ERROR, LOG_INFO, LOG_WARN, yaze::editor::WorkspaceWindowManager::WorkspacePreset::name, presets_, and yaze::editor::WorkspaceWindowManager::WorkspacePreset::visible_cards.
|
staticconstexpr |
Definition at line 131 of file workspace_window_manager.h.
Referenced by yaze::editor::EditorManager::CollectEditorsToPreload(), yaze::editor::ActivityBar::DrawActivityBarStrip(), DrawAllVisiblePanels(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::EditorManager::OpenRomOrProjectInternal(), yaze::editor::SidebarCommandsProvider::Provide(), yaze::editor::ActivityBar::Render(), yaze::editor::EditorManager::ResolveEditorForCategory(), yaze::editor::EditorManager::SetupSidebarCallbacks(), yaze::editor::EditorManager::SubscribeToEvents(), and yaze::editor::EditorManager::SyncEditorContextForCategory().
|
private |
Definition at line 1045 of file workspace_window_manager.h.
|
private |
Definition at line 1047 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), EnforceResourceLimits(), MarkPanelUsed(), TrackResourceWindow(), and UntrackResourceWindow().
|
private |
Definition at line 1049 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), MarkPanelUsed(), TrackResourceWindow(), and UntrackResourceWindow().
|
private |
Definition at line 1083 of file workspace_window_manager.h.
Referenced by FindDescriptorByPrefixedId(), FindDescriptorByPrefixedId(), GetAllCategories(), GetAllWindowDescriptors(), GetPanelCount(), GetRegistryWindowContentCount(), and GetWindowCount().
|
private |
Definition at line 1084 of file workspace_window_manager.h.
Referenced by FindSessionReverseWindowMapping(), FindSessionReverseWindowMapping(), FindSessionWindowIds(), FindSessionWindowIds(), FindSessionWindowMapping(), FindSessionWindowMapping(), GetContextKey(), GetSessionCount(), RegisterSession(), SetContextKey(), and UnregisterSession().
|
private |
Definition at line 1088 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), DrawAllVisiblePanels(), LoadPreset(), RegisterPanel(), RegisterWindowContent(), RememberPinnedStateForRemovedWindow(), SavePreset(), UnregisterPanel(), UnregisterPanelsWithPrefix(), ValidateWindow(), and ValidateWindows().
|
private |
Definition at line 1091 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), FindPanelInstance(), FindPanelInstance(), RegisterRegistryWindowContent(), RegisterRegistryWindowContentsForSession(), RegisterWindowContent(), and UnregisterWindowContent().
|
private |
Definition at line 1092 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RegisterRegistryWindowContent(), RegisterRegistryWindowContentsForSession(), and UnregisterWindowContent().
|
private |
Definition at line 1094 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RegisterPanel(), RegisterRegistryWindowContent(), RegisterSession(), UnregisterPanel(), and UnregisterWindowContent().
|
private |
Definition at line 1096 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RegisterPanel(), UnregisterPanel(), and UnregisterPanelsWithPrefix().
|
private |
Definition at line 1098 of file workspace_window_manager.h.
Referenced by RegisterPanelAlias(), and ResolveBaseWindowId().
|
private |
Definition at line 1101 of file workspace_window_manager.h.
Referenced by GetWindowMRUTimeImpl(), GetWindowsSortedByMRUImpl(), and MarkWindowRecentlyUsedImpl().
|
private |
Definition at line 1103 of file workspace_window_manager.h.
Referenced by MarkWindowRecentlyUsedImpl().
|
private |
Definition at line 1104 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), GetPinnedWindowsImpl(), IsWindowPinnedImpl(), RememberPinnedStateForRemovedWindow(), RestorePinnedState(), SerializePinnedState(), SetWindowPinnedImpl(), UnregisterPanel(), and UnregisterPanelsWithPrefix().
|
private |
Definition at line 1106 of file workspace_window_manager.h.
Referenced by RememberPinnedStateForRemovedWindow(), RestorePinnedState(), and SerializePinnedState().
|
private |
Definition at line 1108 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RegisterSession(), ShouldPrefixPanels(), and UnregisterSession().
|
private |
Definition at line 1109 of file workspace_window_manager.h.
Referenced by CloseWindow(), DrawAllVisiblePanels(), GetActiveSessionId(), GetPinnedWindowsImpl(), GetWindowContent(), GetWindowVisibilityFlag(), HideAll(), HideAllPanelsInCategory(), HideAllWindowsInCategory(), IsWindowOpen(), IsWindowPinnedImpl(), OnEditorSwitch(), OpenWindow(), RegisterPanel(), RegisterWindow(), RegisterWindowContent(), SetActiveSession(), SetWindowPinnedImpl(), ShowAll(), ShowAllPanelsInCategory(), ShowAllWindowsInCategory(), UnregisterPanel(), UnregisterSession(), UnregisterWindow(), and UnregisterWindowContent().
|
private |
Definition at line 1110 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), DrawAllVisiblePanels(), RegisterPanel(), UnregisterPanel(), and UnregisterPanelsWithPrefix().
|
private |
Definition at line 1113 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RememberPinnedStateForRemovedWindow(), RestorePinnedState(), and UnregisterPanel().
|
private |
Definition at line 1115 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), UnregisterPanel(), UnregisterPanelsWithPrefix(), and UnregisterWindowContent().
|
private |
Definition at line 1119 of file workspace_window_manager.h.
Referenced by ClearAllPanels().
|
private |
Definition at line 1122 of file workspace_window_manager.h.
Referenced by DeletePreset(), GetPresets(), LoadPreset(), LoadPresetsFromFile(), SavePreset(), and SavePresetsToFile().
|
private |
Definition at line 1145 of file workspace_window_manager.h.
Referenced by DisableFileBrowser(), DrawAllVisiblePanels(), EnableFileBrowser(), GetActiveCategory(), GetActiveSidePanelWidth(), GetFileBrowser(), GetFocusedPanelIndex(), GetPanelBrowserCategoryWidth(), GetStoredSidePanelWidth(), GetWindowBrowserCategoryWidth(), HandleSidebarKeyboardNav(), HasFileBrowser(), IsSidebarExpanded(), IsSidebarVisible(), ResetSidePanelWidth(), SetActiveCategory(), SetActiveSidePanelWidth(), SetCategoryChangedCallback(), SetFileBrowserPath(), SetOnWindowCategorySelectedCallback(), SetOnWindowClickedCallback(), SetPanelBrowserCategoryWidth(), SetPanelBrowserCategoryWidthChangedCallback(), SetSidebarExpanded(), SetSidebarStateChangedCallback(), SetSidebarVisible(), SetSidePanelWidthChangedCallback(), SidebarHasFocus(), ToggleSidebarExpanded(), ToggleSidebarVisibility(), TriggerCategorySelected(), and TriggerWindowClicked().
|
private |
Definition at line 1148 of file workspace_window_manager.h.
Referenced by SetEventBus(), TriggerOpenRom(), TriggerRedo(), TriggerResetLayout(), TriggerSaveRom(), TriggerShowAgentChatSidebar(), TriggerShowAgentProposalsSidebar(), TriggerShowCommandPalette(), TriggerShowEmulator(), TriggerShowHelp(), TriggerShowSearch(), TriggerShowSettings(), TriggerShowShortcuts(), TriggerShowWindowBrowser(), and TriggerUndo().
|
private |
Definition at line 1151 of file workspace_window_manager.h.
Referenced by EnableFileBrowser(), and SetFileClickedCallback().
|
private |
Definition at line 1152 of file workspace_window_manager.h.
Referenced by DrawAllVisiblePanels(), and SetEditorResolver().