Central registry for all editor cards with session awareness and dependency injection. More...
#include <panel_manager.h>

Classes | |
| struct | CategoryTheme |
| Get the expressive theme color for a category. More... | |
| struct | PanelContextScopeHash |
| struct | PanelValidationResult |
| struct | SidePanelWidthBounds |
| struct | WorkspacePreset |
Public Member Functions | |
| PanelManager ()=default | |
| ~PanelManager ()=default | |
| PanelManager (const PanelManager &)=delete | |
| PanelManager & | operator= (const PanelManager &)=delete |
| PanelManager (PanelManager &&)=delete | |
| PanelManager & | operator= (PanelManager &&)=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, PanelContextScope scope, std::string key) |
| Set a string key for a given context scope (room/selection/etc) | |
| std::string | GetContextKey (size_t session_id, PanelContextScope scope) const |
| void | RegisterPanel (size_t session_id, const PanelDescriptor &base_info) |
| 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. | |
| std::string | ResolvePanelAlias (const std::string &panel_id) const |
| Resolve a panel ID through the alias table. | |
| 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 | UnregisterPanel (size_t session_id, const std::string &base_card_id) |
| void | UnregisterPanelsWithPrefix (const std::string &prefix) |
| void | ClearAllPanels () |
| void | RegisterRegistryPanel (std::unique_ptr< EditorPanel > panel) |
| Register a ContentRegistry-managed EditorPanel instance. | |
| void | RegisterRegistryPanelsForSession (size_t session_id) |
| Register descriptors for all registry panels in a session. | |
| size_t | GetRegistryPanelCount () const |
| Returns the number of panels registered via ContentRegistry. | |
| void | RegisterEditorPanel (std::unique_ptr< EditorPanel > panel) |
| Register an EditorPanel instance for central drawing. | |
| void | UnregisterEditorPanel (const std::string &panel_id) |
| Unregister and destroy an EditorPanel instance. | |
| EditorPanel * | GetEditorPanel (const std::string &panel_id) |
| Get an EditorPanel instance by ID. | |
| void | DrawAllVisiblePanels () |
| Draw all visible EditorPanel instances (central drawing) | |
| void | OnEditorSwitch (const std::string &from_category, const std::string &to_category) |
| Handle editor/category switching for panel visibility. | |
| bool | ShowPanel (size_t session_id, const std::string &base_card_id) |
| bool | HidePanel (size_t session_id, const std::string &base_card_id) |
| bool | TogglePanel (size_t session_id, const std::string &base_card_id) |
| bool | IsPanelVisible (size_t session_id, const std::string &base_card_id) const |
| bool * | GetVisibilityFlag (size_t session_id, const std::string &base_card_id) |
| void | ShowAllPanelsInSession (size_t session_id) |
| void | HideAllPanelsInSession (size_t session_id) |
| void | ShowAllPanelsInCategory (size_t session_id, const std::string &category) |
| void | HideAllPanelsInCategory (size_t session_id, const std::string &category) |
| void | ShowOnlyPanel (size_t session_id, const std::string &base_card_id) |
| std::vector< std::string > | GetPanelsInSession (size_t session_id) const |
| std::vector< PanelDescriptor > | GetPanelsInCategory (size_t session_id, const std::string &category) const |
| std::vector< std::string > | GetAllCategories (size_t session_id) const |
| const PanelDescriptor * | GetPanelDescriptor (size_t session_id, const std::string &base_card_id) const |
| const std::unordered_map< std::string, PanelDescriptor > & | GetAllPanelDescriptors () const |
| Get all panel descriptors (for layout designer, panel browser, etc.) | |
| std::vector< std::string > | GetAllCategories () const |
| std::vector< std::string > | GetVisiblePanelIds (size_t session_id) const |
| Get list of currently visible panel IDs for a session. | |
| void | SetVisiblePanels (size_t session_id, const std::vector< std::string > &panel_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 | GetPanelWindowName (size_t session_id, const std::string &base_card_id) const |
| Resolve the exact ImGui window name for a panel by base ID. | |
| std::string | GetPanelWindowName (const PanelDescriptor &descriptor) const |
| Resolve the exact ImGui window name for a descriptor. | |
| float | GetActiveSidePanelWidth (float viewport_width) const |
| void | SetActiveSidePanelWidth (float width, float viewport_width=0.0f, bool notify=true) |
| void | ResetSidePanelWidth (bool notify=true) |
| float | GetStoredSidePanelWidth () const |
| void | SetStoredSidePanelWidth (float width, bool notify=false) |
| void | SetSidePanelWidthChangedCallback (std::function< void(float)> cb) |
| float | GetPanelBrowserCategoryWidth () const |
| void | SetPanelBrowserCategoryWidth (float width, bool notify=true) |
| void | SetPanelBrowserCategoryWidthChangedCallback (std::function< void(float)> cb) |
| void | HandleSidebarKeyboardNav (size_t session_id, const std::vector< PanelDescriptor > &cards) |
| Handle keyboard navigation in sidebar (click-to-focus modal) | |
| bool | SidebarHasFocus () const |
| int | GetFocusedPanelIndex () const |
| void | ToggleSidebarVisibility () |
| void | SetSidebarVisible (bool visible, bool notify=true) |
| bool | IsSidebarVisible () const |
| void | TogglePanelExpanded () |
| void | SetPanelExpanded (bool expanded, bool notify=true) |
| bool | IsPanelExpanded () const |
| void | SetEventBus (EventBus *event_bus) |
| void | TriggerShowEmulator () |
| void | TriggerShowSettings () |
| void | TriggerShowPanelBrowser () |
| void | TriggerSaveRom () |
| void | TriggerUndo () |
| void | TriggerRedo () |
| void | TriggerShowSearch () |
| void | TriggerShowShortcuts () |
| void | TriggerShowCommandPalette () |
| void | TriggerShowHelp () |
| void | TriggerShowAgentChatSidebar () |
| void | TriggerShowAgentProposalsSidebar () |
| void | TriggerResetLayout () |
| void | TriggerOpenRom () |
| void | TriggerPanelClicked (const std::string &category) |
| void | TriggerCategorySelected (const std::string &category) |
| void | SetSidebarStateChangedCallback (std::function< void(bool, bool)> cb) |
| bool | IsEmulatorVisible () const |
| void | SetEmulatorVisible (bool visible) |
| void | ToggleEmulatorVisible () |
| void | SetEmulatorVisibilityChangedCallback (std::function< void(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< PanelValidationResult > | ValidatePanels () const |
| PanelValidationResult | ValidatePanel (const std::string &card_id) const |
| void | ShowAll (size_t session_id) |
| void | HideAll (size_t session_id) |
| void | ResetToDefaults (size_t session_id) |
| void | ResetToDefaults (size_t session_id, EditorType editor_type) |
| size_t | GetPanelCount () const |
| size_t | GetVisiblePanelCount (size_t session_id) const |
| size_t | GetSessionCount () const |
| std::string | MakePanelId (size_t session_id, const std::string &base_id) const |
| std::string | MakePanelId (size_t session_id, const std::string &base_id, PanelScope scope) const |
| bool | ShouldPrefixPanels () const |
| void | RegisterPanel (const PanelDescriptor &base_info) |
| void | UnregisterPanel (const std::string &base_card_id) |
| bool | ShowPanel (const std::string &base_card_id) |
| bool | HidePanel (const std::string &base_card_id) |
| bool | IsPanelVisible (const std::string &base_card_id) const |
| void | HideAllPanelsInCategory (const std::string &category) |
| std::string | GetActiveCategory () const |
| void | SetActiveCategory (const std::string &category, bool notify=true) |
| void | ShowAllPanelsInCategory (const std::string &category) |
| bool * | GetVisibilityFlag (const std::string &base_card_id) |
| void | ShowAll () |
| void | HideAll () |
| void | SetOnPanelClickedCallback (std::function< void(const std::string &)> callback) |
| void | SetOnCategorySelectedCallback (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 | MarkPanelRecentlyUsed (const std::string &card_id) |
| Record that a panel was used (for MRU ordering in sidebar) | |
| std::vector< PanelDescriptor > | GetPanelsSortedByMRU (size_t session_id, const std::string &category) const |
| Get panels in category sorted by: pinned first, then MRU. | |
| uint64_t | GetPanelMRUTime (const std::string &card_id) const |
| Get MRU timestamp for a panel (0 if never used) | |
| void | SetPanelPinned (size_t session_id, const std::string &base_card_id, bool pinned) |
| bool | IsPanelPinned (size_t session_id, const std::string &base_card_id) const |
| std::vector< std::string > | GetPinnedPanels (size_t session_id) const |
| void | SetPanelPinned (const std::string &base_card_id, bool pinned) |
| bool | IsPanelPinned (const std::string &base_card_id) const |
| std::vector< std::string > | GetPinnedPanels () const |
| void | EnforceResourceLimits (const std::string &resource_type) |
| Enforce limits on resource panels (LRU eviction) | |
| void | MarkPanelUsed (const std::string &panel_id) |
| Mark a panel as recently used (for LRU) | |
| EditorPanel * | FindPanelInstance (const std::string &prefixed_panel_id, const std::string &base_panel_id) |
| const EditorPanel * | 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 | GetDefaultPanelBrowserCategoryWidth () |
| 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, PanelContextScope scope, const std::string &old_key, const std::string &new_key) |
| std::string | ResolveBasePanelId (const std::string &panel_id) const |
| std::string | GetBaseIdForPrefixedId (size_t session_id, const std::string &prefixed_id) const |
| void | UpdateSessionCount () |
| std::string | GetPrefixedPanelId (size_t session_id, const std::string &base_id) const |
| void | RegisterPanelDescriptorForSession (size_t session_id, const EditorPanel &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 | |
| std::unordered_map< std::string, std::list< std::string > > | resource_panels_ |
| std::unordered_map< std::string, std::string > | panel_resource_types_ |
| std::unordered_map< std::string, PanelDescriptor > | cards_ |
| std::unordered_map< std::string, std::unique_ptr< EditorPanel > > | panel_instances_ |
| std::unordered_set< std::string > | registry_panel_ids_ |
| std::unordered_set< std::string > | global_panel_ids_ |
| std::unordered_map< std::string, uint64_t > | last_used_at_ |
| uint64_t | mru_counter_ = 0 |
| std::unordered_map< std::string, bool > | centralized_visibility_ |
| std::unordered_map< std::string, bool > | pinned_panels_ |
| size_t | session_count_ = 0 |
| size_t | active_session_ = 0 |
| 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_ |
| std::unordered_map< size_t, std::unordered_map< std::string, std::string > > | session_reverse_card_mapping_ |
| std::unordered_map< std::string, std::string > | panel_id_aliases_ |
| std::unordered_map< size_t, std::unordered_map< PanelContextScope, std::string, PanelContextScopeHash > > | session_context_keys_ |
| std::unordered_map< std::string, WorkspacePreset > | presets_ |
| std::string | active_category_ |
| std::vector< std::string > | recent_categories_ |
| bool | sidebar_visible_ = false |
| bool | panel_expanded_ = false |
| float | side_panel_width_ = 0.0f |
| float | panel_browser_category_width_ |
| int | focused_card_index_ = -1 |
| bool | sidebar_has_focus_ = false |
| bool | emulator_visible_ = false |
| EventBus * | event_bus_ = nullptr |
| std::function< void(bool visible, bool expanded)> | on_sidebar_state_changed_ |
| std::function< void(float width)> | on_side_panel_width_changed_ |
| std::function< void(float width)> | on_panel_browser_category_width_changed_ |
| std::function< void(const std::string &) | on_category_changed_ ) |
| std::function< void(const std::string &) | on_card_clicked_ ) |
| std::function< void(const std::string &) | on_category_selected_ ) |
| std::function< void(bool)> | on_emulator_visibility_changed_ |
| std::function< void(const std::string &, const std::string &) | on_file_clicked_ ) |
| std::function< Editor *(const std::string &) | editor_resolver_ ) |
| std::unordered_map< std::string, std::unique_ptr< FileBrowser > > | category_file_browsers_ |
| std::unordered_set< std::string > | active_editor_categories_ |
Static Private Attributes | |
| static constexpr size_t | kMaxRecentCategories = 5 |
Central registry for all editor cards with session awareness and dependency injection.
Definition at line 112 of file panel_manager.h.
|
default |
|
default |
|
delete |
|
delete |
|
delete |
|
delete |
| void yaze::editor::PanelManager::RegisterSession | ( | size_t | session_id | ) |
Definition at line 225 of file panel_manager.cc.
References LOG_INFO, session_card_mapping_, session_cards_, session_count_, session_reverse_card_mapping_, and UpdateSessionCount().
Referenced by anonymous_namespace{main.cc}::RegisterLabPanels(), RegisterPanel(), RegisterPanelDescriptorForSession(), RegisterRegistryPanelsForSession(), and SetContextKey().

| void yaze::editor::PanelManager::UnregisterSession | ( | size_t | session_id | ) |
Definition at line 238 of file panel_manager.cc.
References active_session_, LOG_INFO, session_card_mapping_, session_cards_, session_context_keys_, session_count_, session_reverse_card_mapping_, UnregisterSessionPanels(), and UpdateSessionCount().
Referenced by yaze::editor::SessionCoordinator::ClearAllSessions(), and yaze::editor::SessionCoordinator::CloseSession().

| void yaze::editor::PanelManager::SetActiveSession | ( | size_t | session_id | ) |
Definition at line 261 of file panel_manager.cc.
References active_session_.
Referenced by anonymous_namespace{main.cc}::RegisterLabPanels(), and yaze::editor::SessionCoordinator::SwitchToSession().
| void yaze::editor::PanelManager::SetContextKey | ( | size_t | session_id, |
| PanelContextScope | scope, | ||
| std::string | key ) |
Set a string key for a given context scope (room/selection/etc)
This is an opt-in policy hook. PanelManager can apply default rules when context becomes invalid (e.g., selection cleared) to avoid stale panels.
Definition at line 269 of file panel_manager.cc.
References ApplyContextPolicy(), RegisterSession(), and session_context_keys_.

| std::string yaze::editor::PanelManager::GetContextKey | ( | size_t | session_id, |
| PanelContextScope | scope ) const |
Definition at line 282 of file panel_manager.cc.
References session_context_keys_.
| void yaze::editor::PanelManager::RegisterPanel | ( | size_t | session_id, |
| const PanelDescriptor & | base_info ) |
Definition at line 393 of file panel_manager.cc.
References yaze::editor::PanelDescriptor::card_id, cards_, centralized_visibility_, global_panel_ids_, yaze::editor::kGlobal, LOG_INFO, LOG_WARN, MakePanelId(), RegisterSession(), ResolveBasePanelId(), yaze::editor::PanelDescriptor::scope, TrackPanelForSession(), and yaze::editor::PanelDescriptor::visibility_flag.
Referenced by yaze::editor::ScreenEditor::Initialize(), yaze::editor::MusicEditor::Initialize(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::MusicEditor::OpenSong(), yaze::editor::MusicEditor::OpenSongPianoRoll(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), RegisterEditorPanel(), yaze::editor::EditorManager::RegisterEditors(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), RegisterPanel(), yaze::editor::PanelHost::RegisterPanel(), RegisterPanel(), and RegisterPanelDescriptorForSession().

| void yaze::editor::PanelManager::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 296 of file panel_manager.cc.
References panel_id_aliases_.
Referenced by yaze::editor::DungeonEditorV2::Initialize(), yaze::editor::EditorManager::RegisterEmulatorPanels(), and yaze::editor::PanelHost::RegisterPanelAlias().
| std::string yaze::editor::PanelManager::ResolvePanelAlias | ( | const std::string & | panel_id | ) | const |
Resolve a panel ID through the alias table.
Definition at line 305 of file panel_manager.cc.
References ResolveBasePanelId().
Referenced by yaze::editor::PanelHost::ResolvePanelId().

| void yaze::editor::PanelManager::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 435 of file panel_manager.cc.
References yaze::editor::PanelDescriptor::card_id, yaze::editor::PanelDescriptor::category, yaze::editor::PanelDescriptor::display_name, yaze::editor::PanelDescriptor::icon, yaze::editor::PanelDescriptor::on_hide, yaze::editor::PanelDescriptor::on_show, yaze::editor::PanelDescriptor::priority, RegisterPanel(), ResolveBasePanelId(), yaze::editor::PanelDescriptor::shortcut_hint, ShowPanel(), and yaze::editor::PanelDescriptor::visibility_flag.

| void yaze::editor::PanelManager::UnregisterPanel | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 462 of file panel_manager.cc.
References cards_, centralized_visibility_, GetPrefixedPanelId(), global_panel_ids_, LOG_INFO, pinned_panels_, ResolveBasePanelId(), session_card_mapping_, and session_cards_.
Referenced by yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), UnregisterEditorPanel(), UnregisterPanel(), and yaze::editor::MusicEditor::Update().

| void yaze::editor::PanelManager::UnregisterPanelsWithPrefix | ( | const std::string & | prefix | ) |
Definition at line 499 of file panel_manager.cc.
References cards_, centralized_visibility_, LOG_INFO, pinned_panels_, and session_cards_.
| void yaze::editor::PanelManager::ClearAllPanels | ( | ) |
Definition at line 528 of file panel_manager.cc.
References cards_, centralized_visibility_, global_panel_ids_, LOG_INFO, panel_instances_, pinned_panels_, registry_panel_ids_, session_card_mapping_, session_cards_, session_context_keys_, session_count_, and session_reverse_card_mapping_.
| void yaze::editor::PanelManager::RegisterRegistryPanel | ( | std::unique_ptr< EditorPanel > | panel | ) |
Register a ContentRegistry-managed EditorPanel instance.
| panel | The panel to register (ownership transferred) |
Registry panels are stored without auto-registering descriptors. Call RegisterRegistryPanelsForSession() to add descriptors per session.
Definition at line 547 of file panel_manager.cc.
References EnforceResourceLimits(), global_panel_ids_, yaze::editor::kGlobal, LOG_ERROR, LOG_INFO, LOG_WARN, panel_instances_, panel_resource_types_, registry_panel_ids_, and resource_panels_.
Referenced by yaze::editor::EditorManager::RegisterEditors().

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

|
inline |
Returns the number of panels registered via ContentRegistry.
Definition at line 203 of file panel_manager.h.
References registry_panel_ids_.
| void yaze::editor::PanelManager::RegisterEditorPanel | ( | std::unique_ptr< EditorPanel > | panel | ) |
Register an EditorPanel instance for central drawing.
| panel | The panel to register (ownership transferred) |
This method:
Definition at line 599 of file panel_manager.cc.
References active_session_, yaze::editor::PanelDescriptor::display_name, EnforceResourceLimits(), LOG_ERROR, LOG_INFO, LOG_WARN, panel_instances_, panel_resource_types_, RegisterPanel(), resource_panels_, and ShowPanel().
Referenced by yaze::editor::AgentEditor::Initialize(), yaze::editor::AssemblyEditor::Initialize(), yaze::editor::SpriteEditor::Initialize(), and yaze::editor::DungeonEditorV2::Load().

| void yaze::editor::PanelManager::UnregisterEditorPanel | ( | const std::string & | panel_id | ) |
Unregister and destroy an EditorPanel instance.
| panel_id | The panel ID to unregister |
Definition at line 715 of file panel_manager.cc.
References active_session_, yaze::gui::Animator::ClearAnimationsForPanel(), yaze::gui::GetAnimator(), global_panel_ids_, LOG_INFO, panel_instances_, registry_panel_ids_, and UnregisterPanel().
Referenced by EnforceResourceLimits().

| EditorPanel * yaze::editor::PanelManager::GetEditorPanel | ( | const std::string & | panel_id | ) |
Get an EditorPanel instance by ID.
| panel_id | The panel ID |
Definition at line 731 of file panel_manager.cc.
References panel_instances_.
| void yaze::editor::PanelManager::DrawAllVisiblePanels | ( | ) |
Draw all visible EditorPanel instances (central drawing)
Call this once per frame to draw all panels that have EditorPanel implementations. Panels without EditorPanel instances are skipped (they use manual drawing).
Definition at line 766 of file panel_manager.cc.
References active_category_, active_session_, yaze::gui::PanelWindow::Begin(), cards_, yaze::editor::PanelDescriptor::category, yaze::gui::PanelWindow::Center, yaze::editor::PanelDescriptor::display_name, yaze::editor::EditorPanel::DrawWithLazyInit(), editor_resolver_, yaze::gui::PanelWindow::End(), FindPanelInstance(), yaze::gui::GetAnimator(), GetBaseIdForPrefixedId(), yaze::editor::EditorPanel::GetDisplayName(), yaze::editor::EditorPanel::GetEditorCategory(), yaze::editor::EditorPanel::GetIcon(), yaze::editor::EditorPanel::GetPanelCategory(), yaze::editor::EditorPanel::GetPreferredWidth(), yaze::editor::PanelDescriptor::icon, IsPanelPinned(), yaze::gui::LayoutHelpers::IsTouchDevice(), kDashboardCategory, yaze::gui::kRelaxed, yaze::gui::kSnappy, yaze::gui::kStandard, yaze::editor::EditorPanel::OnClose(), yaze::editor::PanelDescriptor::panel_category, yaze::editor::Persistent, session_cards_, yaze::editor::ContentRegistry::Context::SetCurrentEditor(), yaze::gui::PanelWindow::SetDefaultSize(), SetPanelPinned(), yaze::gui::PanelWindow::SetPinChangedCallback(), yaze::gui::PanelWindow::SetPinnable(), yaze::gui::PanelWindow::SetPinned(), yaze::gui::PanelWindow::SetPosition(), yaze::gui::PanelWindow::SetStableId(), and yaze::editor::PanelDescriptor::visibility_flag.
Referenced by yaze::editor::EditorManager::DrawInterface().
| void yaze::editor::PanelManager::OnEditorSwitch | ( | const std::string & | from_category, |
| const std::string & | to_category ) |
Handle editor/category switching for panel visibility.
| from_category | The category being switched away from |
| to_category | The category being switched to |
This method:
Definition at line 916 of file panel_manager.cc.
References yaze::gui::Animator::BeginPanelTransition(), yaze::gui::GetAnimator(), yaze::gui::kFade, LOG_INFO, and SetActiveCategory().
Referenced by yaze::editor::EditorActivator::ActivatePanelBasedEditor(), and yaze::editor::EditorActivator::DeactivatePanelBasedEditor().

| bool yaze::editor::PanelManager::ShowPanel | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 945 of file panel_manager.cc.
References cards_, yaze::editor::PanelVisibilityChangedEvent::Create(), yaze::editor::ContentRegistry::Context::event_bus(), FindPanelInstance(), GetPrefixedPanelId(), and ResolveBasePanelId().
Referenced by yaze::editor::LayoutManager::ApplyBuiltInProfile(), yaze::editor::LayoutCoordinator::ApplyLayoutPreset(), yaze::editor::layout_designer::anonymous_namespace{layout_designer_window.cc}::ApplyLayoutToDockspace(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), yaze::editor::OverworldEditor::HandleTile16Edit(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::MenuOrchestrator::OnShowHexEditor(), yaze::editor::MenuOrchestrator::OnShowMemoryEditor(), yaze::editor::PanelHost::OpenAndFocus(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::MessageEditor::OpenMessageById(), yaze::editor::MusicEditor::OpenSong(), yaze::editor::MusicEditor::OpenSongPianoRoll(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), RegisterEditorPanel(), yaze::editor::EditorManager::RegisterEmulatorPanels(), anonymous_namespace{main.cc}::RegisterLabPanels(), yaze::editor::PanelHost::RegisterPanel(), RegisterPanel(), RegisterPanelDescriptorForSession(), ResetToDefaults(), yaze::editor::UICoordinator::SetEmulatorVisible(), yaze::editor::EditorManager::SetupSidebarCallbacks(), yaze::editor::anonymous_namespace{layout_manager.cc}::ShowDefaultPanelsForEditor(), ShowOnlyPanel(), ShowPanel(), yaze::editor::DungeonEditorV2::ShowPanel(), yaze::editor::PanelHost::ShowPanel(), and yaze::editor::LayoutOrchestrator::ShowPresetPanels().
| bool yaze::editor::PanelManager::HidePanel | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 982 of file panel_manager.cc.
References cards_, yaze::editor::PanelVisibilityChangedEvent::Create(), yaze::editor::ContentRegistry::Context::event_bus(), FindPanelInstance(), GetPrefixedPanelId(), and ResolveBasePanelId().
Referenced by ApplyContextPolicy(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::LayoutOrchestrator::HideOptionalPanels(), HidePanel(), yaze::editor::PanelHost::HidePanel(), and yaze::editor::CommandPalette::RegisterPanelCommands().
| bool yaze::editor::PanelManager::TogglePanel | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 1019 of file panel_manager.cc.
References cards_, yaze::editor::PanelVisibilityChangedEvent::Create(), yaze::editor::ContentRegistry::Context::event_bus(), FindPanelInstance(), GetPrefixedPanelId(), and ResolveBasePanelId().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::OverworldToolbar::Draw(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::OverworldEditor::HandleKeyboardShortcuts(), HandleSidebarKeyboardNav(), yaze::editor::CommandPalette::RegisterPanelCommands(), and yaze::editor::PanelHost::TogglePanel().
| bool yaze::editor::PanelManager::IsPanelVisible | ( | size_t | session_id, |
| const std::string & | base_card_id ) const |
Definition at line 1057 of file panel_manager.cc.
References cards_, GetPrefixedPanelId(), and ResolveBasePanelId().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::OverworldToolbar::Draw(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::ActivityBar::DrawSidePanel(), IsPanelVisible(), yaze::editor::PanelHost::IsPanelVisible(), yaze::editor::DungeonEditorV2::IsWorkbenchWorkflowEnabled(), yaze::editor::DungeonEditorV2::OnRoomSelected(), and yaze::editor::MusicEditor::Update().

| bool * yaze::editor::PanelManager::GetVisibilityFlag | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 1072 of file panel_manager.cc.
References cards_, GetPrefixedPanelId(), and ResolveBasePanelId().
Referenced by yaze::editor::EditorManager::DrawSecondaryWindows(), GetVisibilityFlag(), yaze::emu::Emulator::RenderEmulatorInterface(), and yaze::editor::MusicEditor::Update().

| void yaze::editor::PanelManager::ShowAllPanelsInSession | ( | size_t | session_id | ) |
Definition at line 1091 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::ActivityBar::DrawPanelBrowser(), ShowAll(), and yaze::editor::SessionCoordinator::ShowAllPanelsInActiveSession().
| void yaze::editor::PanelManager::HideAllPanelsInSession | ( | size_t | session_id | ) |
Definition at line 1106 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::LayoutManager::ApplyBuiltInProfile(), yaze::editor::ActivityBar::DrawPanelBrowser(), HideAll(), yaze::editor::SessionCoordinator::HideAllPanelsInActiveSession(), and ResetToDefaults().
| void yaze::editor::PanelManager::ShowAllPanelsInCategory | ( | size_t | session_id, |
| const std::string & | category ) |
Definition at line 1121 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::DungeonEditorV2::OpenGraphicsEditorForObject(), ShowAllPanelsInCategory(), and yaze::editor::SessionCoordinator::ShowPanelsInCategory().
| void yaze::editor::PanelManager::HideAllPanelsInCategory | ( | size_t | session_id, |
| const std::string & | category ) |
Definition at line 1139 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::ActivityBar::DrawSidePanel(), HideAllPanelsInCategory(), yaze::editor::SessionCoordinator::HidePanelsInCategory(), ResetToDefaults(), yaze::editor::UICoordinator::SetEmulatorVisible(), and ShowOnlyPanel().
| void yaze::editor::PanelManager::ShowOnlyPanel | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 1157 of file panel_manager.cc.
References cards_, GetPrefixedPanelId(), HideAllPanelsInCategory(), and ShowPanel().

| std::vector< std::string > yaze::editor::PanelManager::GetPanelsInSession | ( | size_t | session_id | ) | const |
Definition at line 1183 of file panel_manager.cc.
References session_cards_.
Referenced by yaze::editor::ActivityBar::DrawPanelBrowser().
| std::vector< PanelDescriptor > yaze::editor::PanelManager::GetPanelsInCategory | ( | size_t | session_id, |
| const std::string & | category ) const |
Definition at line 1192 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::SettingsPanel::DrawPanelShortcuts(), yaze::editor::ActivityBar::DrawSidePanel(), GetPanelsSortedByMRU(), yaze::editor::UICoordinator::IsEmulatorVisible(), and yaze::editor::EditorManager::SetupSidebarCallbacks().
| std::vector< std::string > yaze::editor::PanelManager::GetAllCategories | ( | size_t | session_id | ) | const |
Definition at line 1215 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::ActivityBar::DrawPanelBrowser(), and yaze::editor::SettingsPanel::DrawPanelShortcuts().
| const PanelDescriptor * yaze::editor::PanelManager::GetPanelDescriptor | ( | size_t | session_id, |
| const std::string & | base_card_id ) const |
Definition at line 1234 of file panel_manager.cc.
References cards_, GetPrefixedPanelId(), and ResolveBasePanelId().
Referenced by yaze::editor::layout_designer::anonymous_namespace{layout_designer_window.cc}::ApplyLayoutToDockspace(), yaze::editor::LayoutManager::BuildLayoutFromPreset(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::ActivityBar::DrawSidePanel(), GetPanelWindowName(), and yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags().

|
inline |
Get all panel descriptors (for layout designer, panel browser, etc.)
Definition at line 286 of file panel_manager.h.
References cards_.
Referenced by anonymous_namespace{main.cc}::DrawLabPanels(), yaze::editor::layout_designer::LayoutDesignerWindow::DrawMenuBar(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::layout_designer::LayoutDesignerWindow::GetAvailablePanels(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), and yaze::editor::CommandPalette::RegisterPanelCommands().
| std::vector< std::string > yaze::editor::PanelManager::GetAllCategories | ( | ) | const |
Definition at line 1249 of file panel_manager.cc.
References cards_.
| std::vector< std::string > yaze::editor::PanelManager::GetVisiblePanelIds | ( | size_t | session_id | ) | const |
Get list of currently visible panel IDs for a session.
| session_id | The session to query |
Definition at line 1264 of file panel_manager.cc.
References cards_, and session_card_mapping_.
| void yaze::editor::PanelManager::SetVisiblePanels | ( | size_t | session_id, |
| const std::vector< std::string > & | panel_ids ) |
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 1284 of file panel_manager.cc.
References cards_, LOG_INFO, ResolveBasePanelId(), and session_card_mapping_.

| std::unordered_map< std::string, bool > yaze::editor::PanelManager::SerializeVisibilityState | ( | size_t | session_id | ) | const |
Serialize panel visibility state for persistence.
| session_id | The session to serialize |
Definition at line 1311 of file panel_manager.cc.
References cards_, and session_card_mapping_.
Referenced by yaze::editor::LayoutManager::CaptureTemporarySessionLayout(), and yaze::editor::LayoutManager::SaveCurrentLayout().
| void yaze::editor::PanelManager::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 1330 of file panel_manager.cc.
References cards_, yaze::editor::PanelVisibilityChangedEvent::Create(), yaze::editor::ContentRegistry::Context::event_bus(), LOG_INFO, LOG_WARN, ResolveBasePanelId(), and session_card_mapping_.
Referenced by yaze::editor::EditorManager::DrawInterface(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::EditorManager::Initialize(), yaze::editor::LayoutManager::LoadLayout(), yaze::editor::LayoutManager::RestoreTemporarySessionLayout(), and yaze::editor::EditorManager::SetupSidebarCallbacks().

| std::unordered_map< std::string, bool > yaze::editor::PanelManager::SerializePinnedState | ( | ) | const |
Serialize pinned panel state for persistence.
Definition at line 1365 of file panel_manager.cc.
References pinned_panels_.
Referenced by yaze::editor::LayoutManager::CaptureTemporarySessionLayout(), and yaze::editor::LayoutManager::SaveCurrentLayout().
| void yaze::editor::PanelManager::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 1384 of file panel_manager.cc.
References LOG_INFO, pinned_panels_, ResolveBasePanelId(), and session_card_mapping_.
Referenced by yaze::editor::EditorManager::HandleSessionCreated(), yaze::editor::EditorManager::InitializeServices(), yaze::editor::LayoutManager::LoadLayout(), and yaze::editor::LayoutManager::RestoreTemporarySessionLayout().

| std::string yaze::editor::PanelManager::GetPanelWindowName | ( | size_t | session_id, |
| const std::string & | base_card_id ) const |
Resolve the exact ImGui window name for a panel by base ID.
Definition at line 1406 of file panel_manager.cc.
References GetPanelDescriptor(), and GetPanelWindowName().
Referenced by yaze::editor::LayoutManager::BuildLayoutFromPreset(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::ActivityBar::DrawSidePanel(), GetPanelWindowName(), yaze::editor::PanelHost::GetPanelWindowName(), yaze::editor::LayoutManager::GetWindowTitle(), yaze::editor::LayoutOrchestrator::GetWindowTitle(), yaze::editor::PanelHost::OpenAndFocus(), and ValidatePanel().

| std::string yaze::editor::PanelManager::GetPanelWindowName | ( | const PanelDescriptor & | descriptor | ) | const |
Resolve the exact ImGui window name for a descriptor.
Definition at line 1415 of file panel_manager.cc.
References yaze::editor::PanelDescriptor::GetImGuiWindowName().

|
inlinestaticconstexpr |
Definition at line 352 of file panel_manager.h.
Referenced by yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), and getSidebarState().
|
inlinestaticconstexpr |
Definition at line 353 of file panel_manager.h.
Referenced by getSidebarState(), and GetSidePanelWidthForViewport().
|
static |
Definition at line 150 of file panel_manager.cc.
References GetSidePanelWidthForViewport(), and yaze::editor::PanelManager::SidePanelWidthBounds::min_width.
Referenced by GetActiveSidePanelWidth(), and SetActiveSidePanelWidth().

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

| float yaze::editor::PanelManager::GetActiveSidePanelWidth | ( | float | viewport_width | ) | const |
Definition at line 168 of file panel_manager.cc.
References GetSidePanelWidthBounds(), GetSidePanelWidthForViewport(), and side_panel_width_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel(), and yaze::editor::LayoutCoordinator::GetLeftLayoutOffset().

| void yaze::editor::PanelManager::SetActiveSidePanelWidth | ( | float | width, |
| float | viewport_width = 0.0f, | ||
| bool | notify = true ) |
Definition at line 177 of file panel_manager.cc.
References GetSidePanelWidthBounds(), on_side_panel_width_changed_, and side_panel_width_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel(), and SetStoredSidePanelWidth().

| void yaze::editor::PanelManager::ResetSidePanelWidth | ( | bool | notify = true | ) |
Definition at line 198 of file panel_manager.cc.
References on_side_panel_width_changed_, and side_panel_width_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel().
|
inline |
Definition at line 401 of file panel_manager.h.
References side_panel_width_.
|
inline |
Definition at line 402 of file panel_manager.h.
References SetActiveSidePanelWidth().
Referenced by yaze::editor::EditorManager::Initialize().

|
inline |
Definition at line 405 of file panel_manager.h.
References on_side_panel_width_changed_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 409 of file panel_manager.h.
References panel_browser_category_width_.
Referenced by yaze::editor::ActivityBar::DrawPanelBrowser().
| void yaze::editor::PanelManager::SetPanelBrowserCategoryWidth | ( | float | width, |
| bool | notify = true ) |
Definition at line 208 of file panel_manager.cc.
References GetDefaultPanelBrowserCategoryWidth(), on_panel_browser_category_width_changed_, and panel_browser_category_width_.
Referenced by yaze::editor::ActivityBar::DrawPanelBrowser(), and yaze::editor::EditorManager::Initialize().

|
inline |
Definition at line 413 of file panel_manager.h.
References on_panel_browser_category_width_changed_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inlinestaticconstexpr |
Definition at line 417 of file panel_manager.h.
Referenced by yaze::editor::ActivityBar::DrawPanelBrowser(), and SetPanelBrowserCategoryWidth().
|
inlinestaticconstexpr |
Definition at line 421 of file panel_manager.h.
|
static |
Definition at line 54 of file panel_manager.cc.
References ICON_MD_CASTLE, ICON_MD_CODE, ICON_MD_FOLDER, ICON_MD_IMAGE, ICON_MD_MAP, ICON_MD_MEMORY, ICON_MD_MESSAGE, ICON_MD_MUSIC_NOTE, ICON_MD_PALETTE, ICON_MD_PERSON, ICON_MD_SETTINGS, ICON_MD_SMART_TOY, ICON_MD_TV, and ICON_MD_VIDEOGAME_ASSET.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), and yaze::editor::ActivityBar::DrawPanelBrowser().
|
static |
Definition at line 88 of file panel_manager.cc.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
| void yaze::editor::PanelManager::HandleSidebarKeyboardNav | ( | size_t | session_id, |
| const std::vector< PanelDescriptor > & | cards ) |
Handle keyboard navigation in sidebar (click-to-focus modal)
Definition at line 1424 of file panel_manager.cc.
References focused_card_index_, sidebar_has_focus_, and TogglePanel().

|
inline |
Definition at line 442 of file panel_manager.h.
References sidebar_has_focus_.
|
inline |
Definition at line 443 of file panel_manager.h.
References focused_card_index_.
|
inline |
Definition at line 445 of file panel_manager.h.
References on_sidebar_state_changed_, panel_expanded_, and sidebar_visible_.
Referenced by yaze::editor::MenuOrchestrator::AddAppearanceMenuItems(), yaze::editor::EditorManager::DrawMainMenuBar(), and yaze::editor::UICoordinator::TogglePanelSidebar().
|
inline |
Definition at line 452 of file panel_manager.h.
References on_sidebar_state_changed_, panel_expanded_, and sidebar_visible_.
Referenced by yaze::editor::EditorManager::ApplyStartupVisibilityOverrides(), yaze::editor::EditorManager::Initialize(), and yaze::editor::UICoordinator::SetPanelSidebarVisible().
|
inline |
Definition at line 461 of file panel_manager.h.
References sidebar_visible_.
Referenced by yaze::editor::MenuOrchestrator::AddAppearanceMenuItems(), yaze::editor::EditorManager::DrawMainMenuBar(), yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), yaze::editor::UICoordinator::IsPanelSidebarVisible(), and yaze::editor::ActivityBar::Render().
|
inline |
Definition at line 463 of file panel_manager.h.
References on_sidebar_state_changed_, panel_expanded_, and sidebar_visible_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
|
inline |
Definition at line 470 of file panel_manager.h.
References on_sidebar_state_changed_, panel_expanded_, and sidebar_visible_.
Referenced by yaze::editor::EditorManager::ApplyStartupVisibilityOverrides(), yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::EditorManager::Initialize(), and yaze::editor::ActivityBar::Render().
|
inline |
Definition at line 479 of file panel_manager.h.
References panel_expanded_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), and yaze::editor::ActivityBar::Render().
|
inline |
Definition at line 485 of file panel_manager.h.
References event_bus_.
Referenced by yaze::editor::EditorManager::InitializeSubsystems().
|
inline |
Definition at line 491 of file panel_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowEmulator().

|
inline |
Definition at line 496 of file panel_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowSettings().
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().

|
inline |
Definition at line 501 of file panel_manager.h.
References yaze::editor::UIActionRequestEvent::Create(), event_bus_, yaze::editor::UIActionRequestEvent::kShowPanelBrowser, and yaze::EventBus::Publish().
Referenced by yaze::editor::ActivityBar::DrawSidePanel().

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

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

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

|
inline |
Definition at line 522 of file panel_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 528 of file panel_manager.h.
References yaze::editor::UIActionRequestEvent::Create(), event_bus_, yaze::editor::UIActionRequestEvent::kShowShortcuts, and yaze::EventBus::Publish().
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().

|
inline |
Definition at line 534 of file panel_manager.h.
References event_bus_, yaze::EventBus::Publish(), and yaze::editor::UIActionRequestEvent::ShowCommandPalette().
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().

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

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

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

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

|
inline |
Definition at line 561 of file panel_manager.h.
References event_bus_, yaze::editor::UIActionRequestEvent::OpenRom(), and yaze::EventBus::Publish().
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().

|
inline |
Definition at line 566 of file panel_manager.h.
References on_card_clicked_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel().
|
inline |
Definition at line 569 of file panel_manager.h.
References on_category_selected_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
|
inline |
Definition at line 577 of file panel_manager.h.
References on_sidebar_state_changed_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 586 of file panel_manager.h.
References emulator_visible_.
|
inline |
Definition at line 587 of file panel_manager.h.
References emulator_visible_, and on_emulator_visibility_changed_.
Referenced by ToggleEmulatorVisible().
|
inline |
Definition at line 595 of file panel_manager.h.
References emulator_visible_, and SetEmulatorVisible().

|
inline |
Definition at line 596 of file panel_manager.h.
References on_emulator_visibility_changed_.
|
inline |
Definition at line 599 of file panel_manager.h.
References on_category_changed_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
| void yaze::editor::PanelManager::SavePreset | ( | const std::string & | name, |
| const std::string & | description = "" ) |
Definition at line 1512 of file panel_manager.cc.
References cards_, yaze::editor::PanelManager::WorkspacePreset::description, LOG_INFO, yaze::editor::PanelManager::WorkspacePreset::name, presets_, SavePresetsToFile(), and yaze::editor::PanelManager::WorkspacePreset::visible_cards.

| bool yaze::editor::PanelManager::LoadPreset | ( | const std::string & | name | ) |
Definition at line 1531 of file panel_manager.cc.
| void yaze::editor::PanelManager::DeletePreset | ( | const std::string & | name | ) |
Definition at line 1559 of file panel_manager.cc.
References presets_, and SavePresetsToFile().

| std::vector< PanelManager::WorkspacePreset > yaze::editor::PanelManager::GetPresets | ( | ) | const |
Definition at line 1564 of file panel_manager.cc.
References presets_.
| std::vector< PanelManager::PanelValidationResult > yaze::editor::PanelManager::ValidatePanels | ( | ) | const |
Definition at line 1997 of file panel_manager.cc.
References cards_, and ValidatePanel().

| PanelManager::PanelValidationResult yaze::editor::PanelManager::ValidatePanel | ( | const std::string & | card_id | ) | const |
Definition at line 1962 of file panel_manager.cc.
References yaze::editor::PanelManager::PanelValidationResult::card_id, cards_, yaze::editor::PanelManager::PanelValidationResult::expected_title, yaze::editor::PanelManager::PanelValidationResult::found_in_imgui, GetPanelWindowName(), and yaze::editor::PanelManager::PanelValidationResult::message.
Referenced by ValidatePanels().

| void yaze::editor::PanelManager::ShowAll | ( | size_t | session_id | ) |
Definition at line 1576 of file panel_manager.cc.
References ShowAllPanelsInSession().
Referenced by yaze::editor::WorkspaceManager::ShowAllWindows().

| void yaze::editor::PanelManager::HideAll | ( | size_t | session_id | ) |
Definition at line 1580 of file panel_manager.cc.
References HideAllPanelsInSession().
Referenced by yaze::editor::LayoutCoordinator::ApplyLayoutPreset(), yaze::editor::PopupManager::DrawLayoutPresetsPopup(), and yaze::editor::WorkspaceManager::HideAllWindows().

| void yaze::editor::PanelManager::ResetToDefaults | ( | size_t | session_id | ) |
Definition at line 1584 of file panel_manager.cc.
References HideAllPanelsInSession(), and LOG_INFO.
Referenced by yaze::editor::LayoutCoordinator::ResetCurrentEditorLayout().

| void yaze::editor::PanelManager::ResetToDefaults | ( | size_t | session_id, |
| EditorType | editor_type ) |
Definition at line 1592 of file panel_manager.cc.
References yaze::editor::LayoutPresets::GetDefaultPanels(), yaze::editor::EditorRegistry::GetEditorCategory(), HideAllPanelsInCategory(), LOG_INFO, LOG_WARN, and ShowPanel().

|
inline |
Definition at line 645 of file panel_manager.h.
References cards_.
| size_t yaze::editor::PanelManager::GetVisiblePanelCount | ( | size_t | session_id | ) | const |
Definition at line 1623 of file panel_manager.cc.
References cards_, and session_cards_.
|
inline |
Definition at line 647 of file panel_manager.h.
References session_count_.
| std::string yaze::editor::PanelManager::MakePanelId | ( | size_t | session_id, |
| const std::string & | base_id ) const |
Definition at line 1643 of file panel_manager.cc.
References yaze::editor::kSession, and MakePanelId().
Referenced by yaze::editor::LayoutOrchestrator::GetPrefixedPanelId(), IsPanelPinned(), MakePanelId(), RegisterPanel(), RegisterPanelDescriptorForSession(), and SetPanelPinned().

| std::string yaze::editor::PanelManager::MakePanelId | ( | size_t | session_id, |
| const std::string & | base_id, | ||
| PanelScope | scope ) const |
Definition at line 1648 of file panel_manager.cc.
References yaze::editor::kGlobal, ResolveBasePanelId(), and ShouldPrefixPanels().

|
inline |
Definition at line 656 of file panel_manager.h.
References session_count_.
Referenced by MakePanelId().
|
inline |
Definition at line 662 of file panel_manager.h.
References active_session_, and RegisterPanel().

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

|
inline |
Definition at line 668 of file panel_manager.h.
References active_session_, and ShowPanel().

|
inline |
Definition at line 671 of file panel_manager.h.
References active_session_, and HidePanel().

|
inline |
Definition at line 674 of file panel_manager.h.
References active_session_, and IsPanelVisible().

|
inline |
Definition at line 677 of file panel_manager.h.
References active_session_, and HideAllPanelsInCategory().

|
inline |
Definition at line 680 of file panel_manager.h.
References active_category_.
Referenced by yaze::editor::EditorActivator::ActivatePanelBasedEditor(), yaze::editor::MenuOrchestrator::AddPanelsMenuItems(), yaze::editor::EditorActivator::DeactivatePanelBasedEditor(), yaze::editor::EditorManager::DrawInterface(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::WorkspaceManager::ResetWorkspaceLayout(), and yaze::editor::MusicEditor::Update().
|
inline |
Definition at line 681 of file panel_manager.h.
References active_category_, and on_category_changed_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::EditorManager::DrawInterface(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), yaze::editor::EditorManager::Initialize(), yaze::editor::EditorManager::LoadProjectWithRom(), OnEditorSwitch(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), and yaze::editor::EditorManager::OpenRomOrProject().
|
inline |
Definition at line 689 of file panel_manager.h.
References active_session_, and ShowAllPanelsInCategory().

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

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

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

|
inline |
Definition at line 697 of file panel_manager.h.
References on_card_clicked_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 700 of file panel_manager.h.
References on_category_selected_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 703 of file panel_manager.h.
References editor_resolver_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 707 of file panel_manager.h.
References active_session_.
Referenced by yaze::editor::LayoutManager::BuildLayoutFromPreset(), yaze::editor::EditorManager::DrawInterface(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::LayoutManager::GetWindowTitle(), yaze::editor::EditorManager::Initialize(), yaze::editor::LayoutManager::LoadLayout(), yaze::editor::PanelHost::RegisterPanel(), yaze::editor::PanelHost::RegisterPanels(), yaze::editor::LayoutManager::SaveCurrentLayout(), yaze::editor::EditorManager::SetupSidebarCallbacks(), and yaze::editor::DungeonEditorV2::SetWorkbenchWorkflowMode().
| FileBrowser * yaze::editor::PanelManager::GetFileBrowser | ( | const std::string & | category | ) |
Definition at line 1843 of file panel_manager.cc.
References category_file_browsers_.
| void yaze::editor::PanelManager::EnableFileBrowser | ( | const std::string & | category, |
| const std::string & | root_path = "" ) |
Definition at line 1851 of file panel_manager.cc.
References category_file_browsers_, LOG_INFO, on_card_clicked_, and on_file_clicked_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
| void yaze::editor::PanelManager::DisableFileBrowser | ( | const std::string & | category | ) |
Definition at line 1882 of file panel_manager.cc.
References category_file_browsers_.
| bool yaze::editor::PanelManager::HasFileBrowser | ( | const std::string & | category | ) | const |
Definition at line 1886 of file panel_manager.cc.
References category_file_browsers_.
| void yaze::editor::PanelManager::SetFileBrowserPath | ( | const std::string & | category, |
| const std::string & | path ) |
Definition at line 1891 of file panel_manager.cc.
References category_file_browsers_.
Referenced by yaze::editor::EditorManager::InitializeSubsystems(), yaze::editor::EditorManager::LoadProjectWithRom(), and yaze::editor::EditorManager::OpenRomOrProject().
|
inline |
Definition at line 719 of file panel_manager.h.
References on_file_clicked_.
Referenced by yaze::editor::EditorManager::SetupSidebarCallbacks().
|
inline |
Definition at line 730 of file panel_manager.h.
References IsPanelPinned(), and SetPanelPinned().

|
inline |
Definition at line 733 of file panel_manager.h.
References IsPanelPinned().

| void yaze::editor::PanelManager::MarkPanelRecentlyUsed | ( | const std::string & | card_id | ) |
Record that a panel was used (for MRU ordering in sidebar)
Definition at line 1479 of file panel_manager.cc.
References last_used_at_, and mru_counter_.
Referenced by yaze::editor::UICoordinator::DrawPanelFinder(), and yaze::editor::ActivityBar::DrawSidePanel().
| std::vector< PanelDescriptor > yaze::editor::PanelManager::GetPanelsSortedByMRU | ( | size_t | session_id, |
| const std::string & | category ) const |
Get panels in category sorted by: pinned first, then MRU.
Definition at line 1483 of file panel_manager.cc.
References GetPanelsInCategory().
Referenced by yaze::editor::ActivityBar::DrawSidePanel().

|
inline |
Get MRU timestamp for a panel (0 if never used)
Definition at line 745 of file panel_manager.h.
References last_used_at_.
| void yaze::editor::PanelManager::SetPanelPinned | ( | size_t | session_id, |
| const std::string & | base_card_id, | ||
| bool | pinned ) |
Definition at line 1903 of file panel_manager.cc.
References GetPrefixedPanelId(), MakePanelId(), pinned_panels_, and ResolveBasePanelId().
Referenced by DrawAllVisiblePanels(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), SetPanelPinned(), and ToggleFavorite().

| bool yaze::editor::PanelManager::IsPanelPinned | ( | size_t | session_id, |
| const std::string & | base_card_id ) const |
Definition at line 1914 of file panel_manager.cc.
References GetPrefixedPanelId(), MakePanelId(), pinned_panels_, and ResolveBasePanelId().
Referenced by ApplyContextPolicy(), DrawAllVisiblePanels(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::UICoordinator::DrawPanelFinder(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::ActivityBar::DrawSidePanel(), EnforceResourceLimits(), yaze::editor::DungeonEditorV2::GetViewerForRoom(), IsFavorite(), IsPanelPinned(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), ToggleFavorite(), and yaze::editor::MusicEditor::Update().

| std::vector< std::string > yaze::editor::PanelManager::GetPinnedPanels | ( | size_t | session_id | ) | const |
Definition at line 1925 of file panel_manager.cc.
References pinned_panels_, and session_cards_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel().
| void yaze::editor::PanelManager::SetPanelPinned | ( | const std::string & | base_card_id, |
| bool | pinned ) |
Definition at line 1945 of file panel_manager.cc.
References active_session_, and SetPanelPinned().

| bool yaze::editor::PanelManager::IsPanelPinned | ( | const std::string & | base_card_id | ) | const |
Definition at line 1950 of file panel_manager.cc.
References active_session_, and IsPanelPinned().

| std::vector< std::string > yaze::editor::PanelManager::GetPinnedPanels | ( | ) | const |
Definition at line 1954 of file panel_manager.cc.
References active_session_, and GetPinnedPanels().
Referenced by GetPinnedPanels().

| void yaze::editor::PanelManager::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 652 of file panel_manager.cc.
References IsPanelPinned(), yaze::editor::ResourcePanelLimits::kMaxMapPanels, yaze::editor::ResourcePanelLimits::kMaxRoomPanels, yaze::editor::ResourcePanelLimits::kMaxSheetPanels, yaze::editor::ResourcePanelLimits::kMaxSongPanels, yaze::editor::ResourcePanelLimits::kMaxTotalResourcePanels, LOG_INFO, resource_panels_, and UnregisterEditorPanel().
Referenced by RegisterEditorPanel(), and RegisterRegistryPanel().

| void yaze::editor::PanelManager::MarkPanelUsed | ( | const std::string & | panel_id | ) |
Mark a panel as recently used (for LRU)
| panel_id | The panel ID |
Definition at line 701 of file panel_manager.cc.
References panel_resource_types_, and resource_panels_.
| EditorPanel * yaze::editor::PanelManager::FindPanelInstance | ( | const std::string & | prefixed_panel_id, |
| const std::string & | base_panel_id ) |
Definition at line 739 of file panel_manager.cc.
References panel_instances_.
Referenced by DrawAllVisiblePanels(), HidePanel(), ShowPanel(), and TogglePanel().
| const EditorPanel * yaze::editor::PanelManager::FindPanelInstance | ( | const std::string & | prefixed_panel_id, |
| const std::string & | base_panel_id ) const |
Definition at line 752 of file panel_manager.cc.
References panel_instances_.
|
private |
Definition at line 336 of file panel_manager.cc.
References cards_, yaze::editor::PanelDescriptor::context_scope, GetBaseIdForPrefixedId(), HidePanel(), IsPanelPinned(), session_cards_, and yaze::editor::PanelDescriptor::visibility_flag.
Referenced by SetContextKey().

|
private |
Definition at line 309 of file panel_manager.cc.
References panel_id_aliases_.
Referenced by GetPanelDescriptor(), GetPrefixedPanelId(), GetVisibilityFlag(), HidePanel(), IsPanelPinned(), IsPanelVisible(), MakePanelId(), RegisterPanel(), RegisterPanel(), ResolvePanelAlias(), RestorePinnedState(), RestoreVisibilityState(), SetPanelPinned(), SetVisiblePanels(), ShowPanel(), TogglePanel(), TrackPanelForSession(), and UnregisterPanel().
|
private |
Definition at line 375 of file panel_manager.cc.
References session_reverse_card_mapping_.
Referenced by ApplyContextPolicy(), and DrawAllVisiblePanels().
|
private |
Definition at line 1665 of file panel_manager.cc.
References session_cards_, and session_count_.
Referenced by RegisterSession(), and UnregisterSession().
|
private |
Definition at line 1669 of file panel_manager.cc.
References cards_, ResolveBasePanelId(), and session_card_mapping_.
Referenced by GetPanelDescriptor(), GetVisibilityFlag(), HidePanel(), IsPanelPinned(), IsPanelVisible(), SetPanelPinned(), ShowOnlyPanel(), ShowPanel(), TogglePanel(), and UnregisterPanel().

|
private |
Definition at line 1689 of file panel_manager.cc.
References cards_, yaze::editor::EditorPanel::GetId(), yaze::editor::EditorPanel::GetScope(), yaze::editor::EditorPanel::IsVisibleByDefault(), MakePanelId(), RegisterPanel(), RegisterSession(), and ShowPanel().
Referenced by RegisterRegistryPanelsForSession().
|
private |
Definition at line 1702 of file panel_manager.cc.
References ResolveBasePanelId(), session_card_mapping_, session_cards_, and session_reverse_card_mapping_.
Referenced by RegisterPanel().

|
private |
Definition at line 1716 of file panel_manager.cc.
References cards_, centralized_visibility_, global_panel_ids_, pinned_panels_, and session_cards_.
Referenced by UnregisterSession().
|
private |
Definition at line 1730 of file panel_manager.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 1771 of file panel_manager.cc.
References yaze::Json::contains(), yaze::editor::PanelManager::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::PanelManager::WorkspacePreset::name, presets_, and yaze::editor::PanelManager::WorkspacePreset::visible_cards.
|
staticconstexpr |
Definition at line 124 of file panel_manager.h.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), DrawAllVisiblePanels(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::EditorManager::OpenRomOrProject(), yaze::editor::ActivityBar::Render(), yaze::editor::EditorManager::ResolveEditorForCategory(), yaze::editor::EditorManager::SetupSidebarCallbacks(), yaze::editor::EditorManager::SubscribeToEvents(), and yaze::editor::EditorManager::SyncEditorContextForCategory().
|
private |
Definition at line 803 of file panel_manager.h.
Referenced by EnforceResourceLimits(), MarkPanelUsed(), RegisterEditorPanel(), and RegisterRegistryPanel().
|
private |
Definition at line 806 of file panel_manager.h.
Referenced by MarkPanelUsed(), RegisterEditorPanel(), and RegisterRegistryPanel().
|
private |
Definition at line 810 of file panel_manager.h.
Referenced by ApplyContextPolicy(), ClearAllPanels(), DrawAllVisiblePanels(), GetAllCategories(), GetAllCategories(), GetAllPanelDescriptors(), GetPanelCount(), GetPanelDescriptor(), GetPanelsInCategory(), GetPrefixedPanelId(), GetVisibilityFlag(), GetVisiblePanelCount(), GetVisiblePanelIds(), HideAllPanelsInCategory(), HideAllPanelsInSession(), HidePanel(), IsPanelVisible(), LoadPreset(), RegisterPanel(), RegisterPanelDescriptorForSession(), RestoreVisibilityState(), SavePreset(), SerializeVisibilityState(), SetVisiblePanels(), ShowAllPanelsInCategory(), ShowAllPanelsInSession(), ShowOnlyPanel(), ShowPanel(), TogglePanel(), UnregisterPanel(), UnregisterPanelsWithPrefix(), UnregisterSessionPanels(), ValidatePanel(), and ValidatePanels().
|
private |
Definition at line 814 of file panel_manager.h.
Referenced by ClearAllPanels(), FindPanelInstance(), FindPanelInstance(), GetEditorPanel(), RegisterEditorPanel(), RegisterRegistryPanel(), RegisterRegistryPanelsForSession(), and UnregisterEditorPanel().
|
private |
Definition at line 815 of file panel_manager.h.
Referenced by ClearAllPanels(), GetRegistryPanelCount(), RegisterRegistryPanel(), RegisterRegistryPanelsForSession(), and UnregisterEditorPanel().
|
private |
Definition at line 816 of file panel_manager.h.
Referenced by ClearAllPanels(), RegisterPanel(), RegisterRegistryPanel(), UnregisterEditorPanel(), UnregisterPanel(), and UnregisterSessionPanels().
|
private |
Definition at line 819 of file panel_manager.h.
Referenced by GetPanelMRUTime(), and MarkPanelRecentlyUsed().
|
private |
Definition at line 820 of file panel_manager.h.
Referenced by MarkPanelRecentlyUsed().
|
private |
Definition at line 823 of file panel_manager.h.
Referenced by ClearAllPanels(), RegisterPanel(), UnregisterPanel(), UnregisterPanelsWithPrefix(), and UnregisterSessionPanels().
|
private |
Definition at line 825 of file panel_manager.h.
Referenced by ClearAllPanels(), GetPinnedPanels(), IsPanelPinned(), RestorePinnedState(), SerializePinnedState(), SetPanelPinned(), UnregisterPanel(), UnregisterPanelsWithPrefix(), and UnregisterSessionPanels().
|
private |
Definition at line 828 of file panel_manager.h.
Referenced by ClearAllPanels(), GetSessionCount(), RegisterSession(), ShouldPrefixPanels(), UnregisterSession(), and UpdateSessionCount().
|
private |
Definition at line 829 of file panel_manager.h.
Referenced by DrawAllVisiblePanels(), GetActiveSessionId(), GetPinnedPanels(), GetVisibilityFlag(), HideAll(), HideAllPanelsInCategory(), HidePanel(), IsPanelPinned(), IsPanelVisible(), RegisterEditorPanel(), RegisterPanel(), SetActiveSession(), SetPanelPinned(), ShowAll(), ShowAllPanelsInCategory(), ShowPanel(), UnregisterEditorPanel(), UnregisterPanel(), and UnregisterSession().
|
private |
Definition at line 832 of file panel_manager.h.
Referenced by ApplyContextPolicy(), ClearAllPanels(), DrawAllVisiblePanels(), GetAllCategories(), GetPanelsInCategory(), GetPanelsInSession(), GetPinnedPanels(), GetVisiblePanelCount(), HideAllPanelsInCategory(), HideAllPanelsInSession(), RegisterSession(), ShowAllPanelsInCategory(), ShowAllPanelsInSession(), TrackPanelForSession(), UnregisterPanel(), UnregisterPanelsWithPrefix(), UnregisterSession(), UnregisterSessionPanels(), and UpdateSessionCount().
|
private |
Definition at line 836 of file panel_manager.h.
Referenced by ClearAllPanels(), GetPrefixedPanelId(), GetVisiblePanelIds(), RegisterSession(), RestorePinnedState(), RestoreVisibilityState(), SerializeVisibilityState(), SetVisiblePanels(), TrackPanelForSession(), UnregisterPanel(), and UnregisterSession().
|
private |
Definition at line 840 of file panel_manager.h.
Referenced by ClearAllPanels(), GetBaseIdForPrefixedId(), RegisterSession(), TrackPanelForSession(), and UnregisterSession().
|
private |
Definition at line 844 of file panel_manager.h.
Referenced by RegisterPanelAlias(), and ResolveBasePanelId().
|
private |
Definition at line 850 of file panel_manager.h.
Referenced by ClearAllPanels(), GetContextKey(), SetContextKey(), and UnregisterSession().
|
private |
Definition at line 853 of file panel_manager.h.
Referenced by DeletePreset(), GetPresets(), LoadPreset(), LoadPresetsFromFile(), SavePreset(), and SavePresetsToFile().
|
private |
Definition at line 856 of file panel_manager.h.
Referenced by DrawAllVisiblePanels(), GetActiveCategory(), and SetActiveCategory().
|
private |
Definition at line 857 of file panel_manager.h.
|
staticconstexprprivate |
Definition at line 858 of file panel_manager.h.
|
private |
Definition at line 861 of file panel_manager.h.
Referenced by IsSidebarVisible(), SetPanelExpanded(), SetSidebarVisible(), TogglePanelExpanded(), and ToggleSidebarVisibility().
|
private |
Definition at line 862 of file panel_manager.h.
Referenced by IsPanelExpanded(), SetPanelExpanded(), SetSidebarVisible(), TogglePanelExpanded(), and ToggleSidebarVisibility().
|
private |
Definition at line 863 of file panel_manager.h.
Referenced by GetActiveSidePanelWidth(), GetStoredSidePanelWidth(), ResetSidePanelWidth(), and SetActiveSidePanelWidth().
|
private |
Definition at line 864 of file panel_manager.h.
Referenced by GetPanelBrowserCategoryWidth(), and SetPanelBrowserCategoryWidth().
|
private |
Definition at line 868 of file panel_manager.h.
Referenced by GetFocusedPanelIndex(), and HandleSidebarKeyboardNav().
|
private |
Definition at line 869 of file panel_manager.h.
Referenced by HandleSidebarKeyboardNav(), and SidebarHasFocus().
|
private |
Definition at line 872 of file panel_manager.h.
Referenced by IsEmulatorVisible(), SetEmulatorVisible(), and ToggleEmulatorVisible().
|
private |
Definition at line 875 of file panel_manager.h.
Referenced by SetEventBus(), TriggerOpenRom(), TriggerRedo(), TriggerResetLayout(), TriggerSaveRom(), TriggerShowAgentChatSidebar(), TriggerShowAgentProposalsSidebar(), TriggerShowCommandPalette(), TriggerShowEmulator(), TriggerShowHelp(), TriggerShowPanelBrowser(), TriggerShowSearch(), TriggerShowSettings(), TriggerShowShortcuts(), and TriggerUndo().
|
private |
Definition at line 878 of file panel_manager.h.
Referenced by SetPanelExpanded(), SetSidebarStateChangedCallback(), SetSidebarVisible(), TogglePanelExpanded(), and ToggleSidebarVisibility().
|
private |
Definition at line 879 of file panel_manager.h.
Referenced by ResetSidePanelWidth(), SetActiveSidePanelWidth(), and SetSidePanelWidthChangedCallback().
|
private |
Definition at line 880 of file panel_manager.h.
Referenced by SetPanelBrowserCategoryWidth(), and SetPanelBrowserCategoryWidthChangedCallback().
|
private |
Definition at line 881 of file panel_manager.h.
Referenced by SetActiveCategory(), and SetCategoryChangedCallback().
|
private |
Definition at line 882 of file panel_manager.h.
Referenced by EnableFileBrowser(), SetOnPanelClickedCallback(), and TriggerPanelClicked().
|
private |
Definition at line 883 of file panel_manager.h.
Referenced by SetOnCategorySelectedCallback(), and TriggerCategorySelected().
|
private |
Definition at line 884 of file panel_manager.h.
Referenced by SetEmulatorVisibilityChangedCallback(), and SetEmulatorVisible().
|
private |
Definition at line 885 of file panel_manager.h.
Referenced by EnableFileBrowser(), and SetFileClickedCallback().
|
private |
Definition at line 886 of file panel_manager.h.
Referenced by DrawAllVisiblePanels(), and SetEditorResolver().
|
private |
Definition at line 890 of file panel_manager.h.
Referenced by DisableFileBrowser(), EnableFileBrowser(), GetFileBrowser(), HasFileBrowser(), and SetFileBrowserPath().
|
private |
Definition at line 893 of file panel_manager.h.