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 | RegisterWindowContent (std::unique_ptr< WindowContent > window, WindowPresentationPolicy presentation) |
| 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) |
| Update the active category and start panel transitions. | |
| bool | OpenWindow (size_t session_id, const std::string &base_window_id) |
| bool | OpenWindowFloating (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) |
| 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 | 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 | 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 | 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 | GetWindowCount () const |
| size_t | GetVisibleWindowCount (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 |
| 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 | OpenWindowFloating (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) |
| std::string | GetActiveCategory () const |
| void | SetActiveCategory (const std::string &category, bool notify=true) |
| void | ShowAllWindowsInCategory (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_ |
| std::unordered_set< std::string > & | pending_float_window_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 129 of file workspace_window_manager.h.
|
default |
|
default |
|
delete |
|
delete |
|
delete |
|
delete |
| void yaze::editor::WorkspaceWindowManager::RegisterSession | ( | size_t | session_id | ) |
Definition at line 45 of file workspace_window_manager_state.cc.
References FindSessionWindowIds(), global_panel_ids_, LOG_DEBUG, 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 61 of file workspace_window_manager_state.cc.
References active_session_, FindSessionWindowIds(), LOG_DEBUG, 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::CloseSessionInternal(), and yaze::editor::SessionCoordinator::DiscardProvisionalSession().

| void yaze::editor::WorkspaceWindowManager::SetActiveSession | ( | size_t | session_id | ) |
Definition at line 82 of file workspace_window_manager_state.cc.
References active_session_.
Referenced by yaze::editor::SessionCoordinator::ActivateCreatedSession(), yaze::editor::SessionCoordinator::ApplySessionActivation(), yaze::editor::SessionCoordinator::CloseSessionInternal(), yaze::editor::SessionCoordinator::CreateSessionFromRom(), yaze::editor::SessionCoordinator::DiscardProvisionalSession(), and anonymous_namespace{main.cc}::RegisterLabPanels().
| 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 86 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 100 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 371 of file workspace_window_manager.cc.
References yaze::editor::WindowDescriptor::card_id, cards_, centralized_visibility_, global_panel_ids_, yaze::editor::kGlobal, LOG_DEBUG, 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 171 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 114 of file workspace_window_manager_state.cc.
References panel_id_aliases_.
Referenced by yaze::editor::OverworldEditor::Load(), yaze::editor::EditorManager::RegisterEmulatorPanels(), yaze::editor::WindowHost::RegisterPanelAlias(), and RegisterWindowAlias().
|
inline |
Definition at line 183 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 123 of file workspace_window_manager_state.cc.
References ResolveBaseWindowId().
Referenced by ResolveWindowAlias().

|
inline |
Definition at line 193 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 417 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 205 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 442 of file workspace_window_manager.cc.
References cards_, centralized_visibility_, GetPrefixedWindowId(), global_panel_ids_, LOG_DEBUG, pending_float_window_ids_, 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 218 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 489 of file workspace_window_manager.cc.
References cards_, centralized_visibility_, LOG_DEBUG, pending_float_window_ids_, pinned_panels_, RememberPinnedStateForRemovedWindow(), session_cards_, session_reverse_card_mapping_, and UntrackResourceWindow().

| void yaze::editor::WorkspaceWindowManager::ClearAllPanels | ( | ) |
Definition at line 543 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 223 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 564 of file workspace_window_manager.cc.
References EnforceResourceWindowLimits(), global_panel_ids_, yaze::editor::kGlobal, LOG_DEBUG, LOG_ERROR, LOG_WARN, panel_instances_, registry_panel_ids_, and TrackResourceWindow().
Referenced by yaze::editor::EditorManager::RegisterEditors(), and RegisterRegistryWindow().

|
inline |
Definition at line 238 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 601 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 249 of file workspace_window_manager.h.
References RegisterRegistryWindowContentsForSession().

|
inline |
Returns the number of window contents registered via ContentRegistry.
Definition at line 254 of file workspace_window_manager.h.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::registry_ids, and registry_state_.
Referenced by GetRegistryWindowCount().
|
inline |
Definition at line 257 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 613 of file workspace_window_manager.cc.
References yaze::editor::WindowPresentationPolicy::OptionalPopOut(), and RegisterWindowContent().
Referenced by yaze::editor::DungeonEditorV2::EnsureMinecartTrackEditorPanel(), yaze::editor::AgentEditor::Initialize(), yaze::editor::AssemblyEditor::Initialize(), yaze::editor::PlanningEditor::Initialize(), yaze::editor::SpriteEditor::Initialize(), yaze::editor::EditorManager::InitializeSubsystems(), yaze::editor::DungeonEditorV2::Load(), and RegisterWindowContent().

| void yaze::editor::WorkspaceWindowManager::RegisterWindowContent | ( | std::unique_ptr< WindowContent > | window, |
| WindowPresentationPolicy | presentation ) |
Definition at line 621 of file workspace_window_manager.cc.
References active_session_, cards_, yaze::gui::Animator::ClearAnimationsForPanel(), yaze::editor::WindowPresentationPolicy::declared, yaze::editor::WindowDescriptor::display_name, EnforceResourceWindowLimits(), FindSessionWindowMapping(), yaze::gui::GetAnimator(), GetPrefixedWindowId(), yaze::editor::kSession, LOG_DEBUG, LOG_ERROR, MakeWindowId(), OpenWindowImpl(), panel_instances_, RegisterPanel(), ResolveBaseWindowId(), TrackResourceWindow(), and UntrackResourceWindow().
| 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 772 of file workspace_window_manager.cc.
References active_session_, yaze::gui::Animator::ClearAnimationsForPanel(), FindSessionWindowMapping(), yaze::gui::GetAnimator(), GetPrefixedWindowId(), global_panel_ids_, LOG_DEBUG, 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 846 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(), yaze::editor::anonymous_namespace{palette_editor.cc}::ResolveSessionPalettePanel(), and yaze::editor::OverworldEditor::SelectItemByIdentity().

| WindowContent * yaze::editor::WorkspaceWindowManager::GetWindowContent | ( | size_t | session_id, |
| const std::string & | window_id ) |
Definition at line 851 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 896 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::PanelWindow::Floating, 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::WindowDescriptor::on_hide, yaze::editor::WindowContent::OnClose(), pending_float_window_ids_, yaze::editor::WindowContent::PrefersFloating(), PublishWindowVisibilityChanged(), yaze::gui::PanelWindow::RequestForceUndock(), 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 297 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 ) |
Update the active category and start panel transitions.
| from_category | The category being switched away from |
| to_category | The category being switched to |
Leaves panel visibility unchanged so switching categories does not overwrite user preferences or close dynamic resource windows.
Definition at line 1070 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 314 of file workspace_window_manager.h.
References OpenWindowImpl().
Referenced by yaze::editor::MenuOrchestrator::AddHackWorkflowMenuItems(), yaze::editor::LayoutCoordinator::ApplyLayoutPreset(), yaze::editor::EditorManager::ConfigureEditorDependencies(), yaze::editor::WindowSidebar::DispatchContextAction(), yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::PaletteEditor::DrawControlPanel(), yaze::editor::MessageEditor::DrawFindBar(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::SettingsPanel::DrawWorkspaceSettings(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), yaze::editor::GraphicsEditor::ImportScratchBin(), yaze::editor::GraphicsEditor::Initialize(), yaze::editor::EditorManager::InitializeSubsystems(), yaze::editor::PaletteEditor::JumpToPalette(), yaze::editor::DungeonEditorV2::Load(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), yaze::editor::WindowHost::OpenAndFocusWindow(), yaze::editor::ScreenEditor::OpenDungeonMapTileGraphics(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::OverworldEditor::OpenGraphicsForTile16Quadrant(), yaze::editor::GraphicsEditor::OpenInContext(), yaze::editor::MessageEditor::OpenMessageById(), yaze::editor::DungeonEditorV2::OpenObjectTileEditorForObject(), 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::UICoordinator::SetAsmEditorVisible(), yaze::editor::UICoordinator::SetEmulatorVisible(), yaze::editor::EditorManager::SetupSidebarCallbacks(), yaze::editor::anonymous_namespace{layout_manager.cc}::ShowDefaultWindowsForEditor(), and yaze::editor::UICoordinator::UICoordinator().

| bool yaze::editor::WorkspaceWindowManager::OpenWindowFloating | ( | size_t | session_id, |
| const std::string & | base_window_id ) |
Definition at line 1117 of file workspace_window_manager.cc.
References GetPrefixedWindowId(), GetWindowDescriptorImpl(), OpenWindowImpl(), pending_float_window_ids_, and ResolveBaseWindowId().
Referenced by yaze::editor::OverworldEditor::HandleTile16Edit(), and OpenWindowFloating().

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

|
inline |
Definition at line 321 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::CommandPalette::RegisterPanelCommands(), yaze::editor::OverworldEditor::ToggleItemListWindow(), yaze::editor::OverworldEditor::ToggleTile16EditorWindow(), and yaze::editor::WindowHost::ToggleWindow().

|
inline |
Definition at line 324 of file workspace_window_manager.h.
References IsWindowVisibleImpl().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::LayoutCoordinator::ApplyLayoutPreset(), yaze::editor::LayoutManager::DockOpenPresetPanels(), yaze::editor::OverworldToolbar::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::SettingsPanel::DrawWorkspaceSettings(), yaze::editor::EditorManager::ExecuteEditorControl(), yaze::editor::GraphicsEditor::Initialize(), 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 328 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 1271 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), and FindSessionWindowIds().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), ShowAll(), and yaze::editor::SessionCoordinator::ShowAllPanelsInActiveSession().

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

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

| void yaze::editor::WorkspaceWindowManager::HideAllWindowsInCategory | ( | size_t | session_id, |
| const std::string & | category ) |
Definition at line 1327 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), FindSessionWindowIds(), and pending_float_window_ids_.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::WindowSidebar::Draw(), HideAllWindowsInCategory(), yaze::editor::SessionCoordinator::HidePanelsInCategory(), 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 1347 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), GetPrefixedWindowId(), HideAllWindowsInCategory(), and OpenWindowImpl().

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

|
inline |
Definition at line 350 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(), ResetToDefaults(), and yaze::editor::EditorManager::SetupSidebarCallbacks().

| std::vector< std::string > yaze::editor::WorkspaceWindowManager::GetAllCategories | ( | size_t | session_id | ) | const |
Definition at line 1418 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 355 of file workspace_window_manager.h.
References GetAllCategories().
Referenced by yaze::editor::WindowBrowser::Draw().

|
inline |
Definition at line 358 of file workspace_window_manager.h.
References GetWindowDescriptorImpl().
Referenced by yaze::editor::AuditPanelAdmission(), yaze::editor::CollectDefaultVisibleWindowIds(), yaze::editor::EditorManager::CollectEditorsToPreload(), yaze::editor::WindowSidebar::DispatchContextAction(), yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::EditorManager::ExecuteEditorControl(), 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 368 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 1447 of file workspace_window_manager.cc.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::descriptors, and registry_state_.
Referenced by GetAllWindowCategories(), and GetAllWindowCategories().
|
inline |
Definition at line 373 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 386 of file workspace_window_manager.h.
References GetVisibleWindowIdsImpl().
Referenced by yaze::editor::EditorManager::CollectEditorsToPreload(), yaze::editor::SpriteEditor::CreateSpriteAssetFromVanilla(), and yaze::editor::SpriteEditor::ImportCatalogDraw().

|
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 395 of file workspace_window_manager.h.
References SetVisibleWindowsImpl().
Referenced by yaze::editor::SpriteEditor::CreateSpriteAssetFromVanilla(), and yaze::editor::SpriteEditor::ImportCatalogDraw().

| 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 232 of file workspace_window_manager_state.cc.
References FindDescriptorByPrefixedId(), FindSessionWindowMapping(), and yaze::editor::IsTransientPanelVisibilityId().

| 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 254 of file workspace_window_manager_state.cc.
References FindDescriptorByPrefixedId(), FindSessionWindowMapping(), yaze::editor::IsTransientPanelVisibilityId(), LOG_INFO, LOG_WARN, pending_float_window_ids_, PublishWindowVisibilityChanged(), and ResolveBaseWindowId().
Referenced by yaze::editor::EditorManager::DrawInterface(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::EditorManager::Initialize(), yaze::editor::EditorManager::RestoreEditorLayoutAfterAssets(), 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 296 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 320 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 433 of file workspace_window_manager.h.
References GetWindowNameImpl().
Referenced by yaze::editor::WindowSidebar::DispatchContextAction(), yaze::editor::WindowBrowser::Draw(), yaze::editor::WindowSidebar::Draw(), yaze::editor::WindowHost::GetWorkspaceWindowName(), yaze::editor::WindowHost::OpenAndFocusWindow(), yaze::editor::DungeonEditorV2::ProcessPendingStandaloneToolWindow(), and yaze::editor::anonymous_namespace{layout_manager.cc}::ResolveDockWindowTitle().

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

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

|
inlinestatic |
Definition at line 448 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 187 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::GetWorkspaceChromeBudget().

| void yaze::editor::WorkspaceWindowManager::SetActiveSidePanelWidth | ( | float | width, |
| float | viewport_width = 0.0f, | ||
| bool | notify = true ) |
Definition at line 198 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 SetStoredSidePanelWidth().

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

|
inline |
Definition at line 494 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 498 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 230 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 503 of file workspace_window_manager.h.
References SetPanelBrowserCategoryWidth().
Referenced by yaze::editor::WindowBrowser::Draw(), and yaze::editor::EditorManager::Initialize().

|
inline |
Definition at line 506 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 510 of file workspace_window_manager.h.
References SetPanelBrowserCategoryWidthChangedCallback().

|
inline |
Definition at line 514 of file workspace_window_manager.h.
|
inlinestaticconstexpr |
Definition at line 519 of file workspace_window_manager.h.
Referenced by yaze::editor::WindowBrowser::Draw().
|
inlinestaticconstexpr |
Definition at line 523 of file workspace_window_manager.h.
|
static |
Definition at line 66 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_ROUTE, 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 103 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 365 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 544 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_has_focus.
|
inline |
Definition at line 545 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::focused_window_index.
Referenced by GetFocusedWindowIndex().
|
inline |
Definition at line 548 of file workspace_window_manager.h.
References GetFocusedPanelIndex().

|
inline |
Definition at line 550 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 558 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 568 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::GetWorkspaceChromeBudget(), yaze::editor::UICoordinator::IsPanelSidebarVisible(), and yaze::editor::ActivityBar::Render().
|
inline |
Definition at line 570 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().
|
inline |
Definition at line 579 of file workspace_window_manager.h.
References SetSidebarExpanded().

|
inline |
Definition at line 583 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::EditorManager::Initialize(), yaze::editor::ActivityBar::Render(), and SetPanelExpanded().
|
inline |
Definition at line 594 of file workspace_window_manager.h.
References IsSidebarExpanded().

|
inline |
Definition at line 595 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::GetWorkspaceChromeBudget(), IsPanelExpanded(), and yaze::editor::ActivityBar::Render().
|
inline |
Definition at line 601 of file workspace_window_manager.h.
References event_bus_.
Referenced by yaze::editor::EditorManager::InitializeSubsystems().
|
inline |
Definition at line 607 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowEmulator().

|
inline |
Definition at line 612 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 618 of file workspace_window_manager.h.
References TriggerShowWindowBrowser().

|
inline |
Definition at line 620 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 626 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::SaveRom().
Referenced by yaze::editor::PaletteEditor::DrawControlPanel().

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

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

|
inline |
Definition at line 641 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 647 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 653 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 658 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 664 of file workspace_window_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowAgentChatSidebar().

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

|
inline |
Definition at line 674 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 680 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 685 of file workspace_window_manager.h.
References browser_state_, and yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_clicked.
Referenced by yaze::editor::WindowSidebar::DispatchContextAction(), and yaze::editor::WindowSidebar::Draw().
|
inline |
Definition at line 689 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 694 of file workspace_window_manager.h.
References TriggerCategorySelected().

|
inline |
Definition at line 702 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 706 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 1486 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 1505 of file workspace_window_manager.cc.
References cards_, LOG_INFO, pending_float_window_ids_, and presets_.
| void yaze::editor::WorkspaceWindowManager::DeletePreset | ( | const std::string & | name | ) |
Definition at line 1534 of file workspace_window_manager.cc.
References presets_, and SavePresetsToFile().

| std::vector< WorkspaceWindowManager::WorkspacePreset > yaze::editor::WorkspaceWindowManager::GetPresets | ( | ) | const |
Definition at line 1540 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 1552 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 1556 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 1560 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 1569 of file workspace_window_manager.cc.
References CloseWindow(), yaze::editor::LayoutPresets::GetDefaultPanels(), yaze::editor::EditorRegistry::GetEditorCategory(), GetWindowsInCategory(), LOG_DEBUG, LOG_INFO, LOG_WARN, and OpenWindowImpl().
|
inline |
Definition at line 752 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 444 of file workspace_window_manager_state.cc.
|
inline |
Definition at line 754 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 1605 of file workspace_window_manager.cc.
References yaze::editor::kSession, and MakeWindowId().
Referenced by IsWindowPinnedImpl(), 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 1610 of file workspace_window_manager.cc.
References yaze::editor::kGlobal, ResolveBaseWindowId(), and ShouldPrefixPanels().

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

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

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

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

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

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

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

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

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

|
inline |
Definition at line 796 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::EditorManager::HasOpenEditor(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::EditorManager::RestoreActiveEditorLayoutAfterAssets(), yaze::editor::EditorManager::RestoreEditorLayoutAfterAssets(), and yaze::editor::MusicEditor::Update().
|
inline |
Definition at line 799 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(), OnEditorSwitch(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), and yaze::editor::EditorManager::ShowPostLoadSurface().
|
inline |
Definition at line 807 of file workspace_window_manager.h.
References active_session_, and ShowAllWindowsInCategory().

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

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

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

|
inline |
Definition at line 815 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 819 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 823 of file workspace_window_manager.h.
References editor_resolver_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 827 of file workspace_window_manager.h.
References active_session_.
Referenced by yaze::editor::LayoutManager::DockOpenPresetPanels(), yaze::editor::OverworldToolbar::Draw(), yaze::editor::OverworldEditor::DrawEditorMenu(), yaze::editor::EditorManager::DrawInterface(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::DungeonEditorV2::EnsureMinecartTrackEditorPanel(), yaze::editor::OverworldEditor::HandleTile16Edit(), yaze::editor::EditorManager::Initialize(), yaze::editor::MenuOrchestrator::OnShowLayoutDesigner(), yaze::editor::OverworldEditor::OpenMapPropertiesWindow(), yaze::editor::LayoutManager::RefreshLazyDefaultDockingContext(), yaze::editor::WindowHost::RegisterPanel(), yaze::editor::WindowHost::RegisterPanels(), yaze::editor::EditorManager::RestoreEditorLayoutAfterAssets(), yaze::editor::EditorManager::SetupSidebarCallbacks(), yaze::editor::DungeonEditorV2::SetWorkbenchWorkflowMode(), yaze::editor::OverworldEditor::ToggleItemListWindow(), and yaze::editor::OverworldEditor::ToggleTile16EditorWindow().
| 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 839 of file workspace_window_manager.h.
References on_file_clicked_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 850 of file workspace_window_manager.h.
References IsWindowPinned(), and SetWindowPinned().

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

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

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

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

|
inline |
Definition at line 874 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 878 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::GetStandaloneViewerForRoom(), IsFavorite(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), yaze::editor::CommandPalette::RegisterPanelCommands(), ToggleFavorite(), and yaze::editor::MusicEditor::Update().

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

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

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

|
inline |
Definition at line 892 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 735 of file workspace_window_manager.cc.
References GetResourceWindowLimit(), resource_panels_, SelectResourceWindowForEviction(), and UnregisterWindowContent().
Referenced by EnforceResourceWindowLimits().

|
inline |
Definition at line 908 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 758 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 869 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 882 of file workspace_window_manager.cc.
References panel_instances_.
|
private |
Definition at line 156 of file workspace_window_manager_state.cc.
References CloseWindowImpl(), FindDescriptorByPrefixedId(), FindSessionWindowIds(), GetBaseIdForPrefixedId(), and IsWindowPinnedImpl().
Referenced by SetContextKey().
|
private |
Definition at line 244 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 250 of file workspace_window_manager.cc.
References yaze::editor::WorkspaceWindowManager::WindowRegistryState::descriptors, and registry_state_.
|
private |
Definition at line 256 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 262 of file workspace_window_manager.cc.
References session_state_, and yaze::editor::WorkspaceWindowManager::WindowSessionState::session_windows.
|
private |
Definition at line 269 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 276 of file workspace_window_manager.cc.
References session_state_, and yaze::editor::WorkspaceWindowManager::WindowSessionState::session_window_mapping.
|
private |
Definition at line 283 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 290 of file workspace_window_manager.cc.
References yaze::editor::WorkspaceWindowManager::WindowSessionState::session_reverse_window_mapping, and session_state_.
|
private |
Definition at line 297 of file workspace_window_manager.cc.
References yaze::editor::PanelVisibilityChangedEvent::Create(), and yaze::editor::ContentRegistry::Context::event_bus().
Referenced by CloseWindowImpl(), DrawAllVisiblePanels(), OpenWindowImpl(), RestoreVisibilityState(), and ToggleWindowImpl().

|
private |
Definition at line 1132 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), FindPanelInstance(), GetPrefixedWindowId(), PublishWindowVisibilityChanged(), and ResolveBaseWindowId().
Referenced by OpenWindow(), OpenWindow(), OpenWindowFloating(), RegisterPanel(), RegisterWindowContent(), ResetToDefaults(), and ShowOnlyWindow().
|
private |
Definition at line 1167 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), FindPanelInstance(), GetPrefixedWindowId(), pending_float_window_ids_, PublishWindowVisibilityChanged(), and ResolveBaseWindowId().
Referenced by ApplyContextPolicy(), CloseWindow(), and CloseWindow().
|
private |
Definition at line 1201 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), FindPanelInstance(), GetPrefixedWindowId(), pending_float_window_ids_, PublishWindowVisibilityChanged(), and ResolveBaseWindowId().
Referenced by HandleSidebarKeyboardNav(), and ToggleWindow().
|
private |
Definition at line 1237 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), GetPrefixedWindowId(), and ResolveBaseWindowId().
Referenced by IsWindowOpen(), and IsWindowOpen().

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

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

|
private |
Definition at line 1388 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 1462 of file workspace_window_manager.cc.
References FindDescriptorByPrefixedId(), and FindSessionWindowMapping().
Referenced by GetVisibleWindowIds().

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

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

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

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

|
private |
Definition at line 412 of file workspace_window_manager_state.cc.
References last_used_at_, and mru_counter_.
Referenced by MarkWindowRecentlyUsed().
|
private |
Definition at line 417 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 972 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 307 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 324 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 334 of file workspace_window_manager.cc.
References panel_resource_types_, and resource_panels_.
Referenced by RegisterWindowContent(), UnregisterPanel(), UnregisterPanelsWithPrefix(), and UnregisterWindowContent().
|
private |
Definition at line 352 of file workspace_window_manager.cc.
References IsWindowPinnedImpl().
Referenced by EnforceResourceLimits().

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

|
private |
Definition at line 460 of file workspace_window_manager_state.cc.
Referenced by RegisterSession(), and UnregisterSession().
|
private |
Definition at line 464 of file workspace_window_manager_state.cc.
Referenced by CloseWindowImpl(), GetVisibilityFlag(), GetWindowDescriptorImpl(), IsWindowPinnedImpl(), IsWindowVisibleImpl(), OnEditorSwitch(), OpenWindowFloating(), OpenWindowImpl(), RegisterWindowContent(), SetWindowPinnedImpl(), ShowOnlyWindow(), ToggleWindowImpl(), UnregisterPanel(), and UnregisterWindowContent().
|
private |
Definition at line 483 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 496 of file workspace_window_manager_state.cc.
Referenced by RegisterPanel(), and RegisterSession().
|
private |
Definition at line 520 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 141 of file workspace_window_manager.h.
Referenced by yaze::editor::EditorManager::CollectEditorsToPreload(), yaze::editor::ActivityBar::DrawActivityBarStrip(), DrawAllVisiblePanels(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::EditorManager::HasOpenEditor(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::SidebarCommandsProvider::Provide(), yaze::editor::ActivityBar::Render(), yaze::editor::EditorManager::ResolveEditorForCategory(), yaze::editor::EditorManager::SetupSidebarCallbacks(), yaze::editor::EditorManager::ShowPostLoadSurface(), yaze::editor::EditorManager::SubscribeToEvents(), and yaze::editor::EditorManager::SyncEditorContextForCategory().
|
private |
Definition at line 1004 of file workspace_window_manager.h.
|
private |
Definition at line 1006 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), EnforceResourceLimits(), MarkPanelUsed(), TrackResourceWindow(), and UntrackResourceWindow().
|
private |
Definition at line 1008 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), MarkPanelUsed(), TrackResourceWindow(), and UntrackResourceWindow().
|
private |
Definition at line 1043 of file workspace_window_manager.h.
Referenced by FindDescriptorByPrefixedId(), FindDescriptorByPrefixedId(), GetAllCategories(), GetAllWindowDescriptors(), GetRegistryWindowContentCount(), and GetWindowCount().
|
private |
Definition at line 1044 of file workspace_window_manager.h.
Referenced by FindSessionReverseWindowMapping(), FindSessionReverseWindowMapping(), FindSessionWindowIds(), FindSessionWindowIds(), FindSessionWindowMapping(), FindSessionWindowMapping(), GetContextKey(), GetSessionCount(), RegisterSession(), SetContextKey(), and UnregisterSession().
|
private |
Definition at line 1048 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), DrawAllVisiblePanels(), LoadPreset(), RegisterPanel(), RegisterWindowContent(), RememberPinnedStateForRemovedWindow(), SavePreset(), UnregisterPanel(), UnregisterPanelsWithPrefix(), ValidateWindow(), and ValidateWindows().
|
private |
Definition at line 1051 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), FindPanelInstance(), FindPanelInstance(), RegisterRegistryWindowContent(), RegisterRegistryWindowContentsForSession(), RegisterWindowContent(), and UnregisterWindowContent().
|
private |
Definition at line 1052 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RegisterRegistryWindowContent(), RegisterRegistryWindowContentsForSession(), and UnregisterWindowContent().
|
private |
Definition at line 1054 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RegisterPanel(), RegisterRegistryWindowContent(), RegisterSession(), UnregisterPanel(), and UnregisterWindowContent().
|
private |
Definition at line 1056 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RegisterPanel(), UnregisterPanel(), and UnregisterPanelsWithPrefix().
|
private |
Definition at line 1058 of file workspace_window_manager.h.
Referenced by RegisterPanelAlias(), and ResolveBaseWindowId().
|
private |
Definition at line 1061 of file workspace_window_manager.h.
Referenced by GetWindowMRUTimeImpl(), GetWindowsSortedByMRUImpl(), and MarkWindowRecentlyUsedImpl().
|
private |
Definition at line 1063 of file workspace_window_manager.h.
Referenced by MarkWindowRecentlyUsedImpl().
|
private |
Definition at line 1064 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), GetPinnedWindowsImpl(), IsWindowPinnedImpl(), RememberPinnedStateForRemovedWindow(), RestorePinnedState(), SerializePinnedState(), SetWindowPinnedImpl(), UnregisterPanel(), and UnregisterPanelsWithPrefix().
|
private |
Definition at line 1066 of file workspace_window_manager.h.
Referenced by RememberPinnedStateForRemovedWindow(), RestorePinnedState(), and SerializePinnedState().
|
private |
Definition at line 1068 of file workspace_window_manager.h.
Referenced by CloseWindowImpl(), DrawAllVisiblePanels(), HideAllWindowsInCategory(), HideAllWindowsInSession(), LoadPreset(), OpenWindowFloating(), RestoreVisibilityState(), ToggleWindowImpl(), UnregisterPanel(), and UnregisterPanelsWithPrefix().
|
private |
Definition at line 1070 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RegisterSession(), ShouldPrefixPanels(), and UnregisterSession().
|
private |
Definition at line 1071 of file workspace_window_manager.h.
Referenced by CloseWindow(), DrawAllVisiblePanels(), GetActiveSessionId(), GetPinnedWindowsImpl(), GetWindowContent(), GetWindowVisibilityFlag(), HideAll(), HideAllWindowsInCategory(), IsWindowOpen(), IsWindowPinnedImpl(), OnEditorSwitch(), OpenWindow(), OpenWindowFloating(), RegisterPanel(), RegisterWindow(), RegisterWindowContent(), SetActiveSession(), SetWindowPinnedImpl(), ShowAll(), ShowAllWindowsInCategory(), UnregisterPanel(), UnregisterSession(), UnregisterWindow(), and UnregisterWindowContent().
|
private |
Definition at line 1072 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), DrawAllVisiblePanels(), RegisterPanel(), UnregisterPanel(), and UnregisterPanelsWithPrefix().
|
private |
Definition at line 1075 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), RememberPinnedStateForRemovedWindow(), RestorePinnedState(), and UnregisterPanel().
|
private |
Definition at line 1077 of file workspace_window_manager.h.
Referenced by ClearAllPanels(), UnregisterPanel(), UnregisterPanelsWithPrefix(), and UnregisterWindowContent().
|
private |
Definition at line 1081 of file workspace_window_manager.h.
Referenced by ClearAllPanels().
|
private |
Definition at line 1084 of file workspace_window_manager.h.
Referenced by DeletePreset(), GetPresets(), LoadPreset(), LoadPresetsFromFile(), SavePreset(), and SavePresetsToFile().
|
private |
Definition at line 1107 of file workspace_window_manager.h.
Referenced by DisableFileBrowser(), DrawAllVisiblePanels(), EnableFileBrowser(), GetActiveCategory(), GetActiveSidePanelWidth(), GetFileBrowser(), GetFocusedPanelIndex(), 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 1110 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 1113 of file workspace_window_manager.h.
Referenced by EnableFileBrowser(), and SetFileClickedCallback().
|
private |
Definition at line 1114 of file workspace_window_manager.h.
Referenced by DrawAllVisiblePanels(), and SetEditorResolver().