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 | PanelValidationResult |
| 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 | RegisterPanel (size_t session_id, const PanelDescriptor &base_info) |
| 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 | 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 |
| 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 | IsSidebarVisible () const |
| void | TogglePanelExpanded () |
| void | SetPanelExpanded (bool expanded) |
| bool | IsPanelExpanded () const |
| void | TriggerShowEmulator () |
| void | TriggerShowSettings () |
| void | TriggerShowPanelBrowser () |
| void | TriggerSaveRom () |
| void | TriggerUndo () |
| void | TriggerRedo () |
| void | TriggerShowSearch () |
| void | TriggerShowShortcuts () |
| void | TriggerShowCommandPalette () |
| void | TriggerShowHelp () |
| void | TriggerOpenRom () |
| void | TriggerPanelClicked (const std::string &category) |
| void | TriggerCategorySelected (const std::string &category) |
| void | SetShowEmulatorCallback (std::function< void()> cb) |
| void | SetShowSettingsCallback (std::function< void()> cb) |
| void | SetShowPanelBrowserCallback (std::function< void()> cb) |
| void | SetSaveRomCallback (std::function< void()> cb) |
| void | SetUndoCallback (std::function< void()> cb) |
| void | SetRedoCallback (std::function< void()> cb) |
| void | SetShowSearchCallback (std::function< void()> cb) |
| void | SetShowShortcutsCallback (std::function< void()> cb) |
| void | SetShowCommandPaletteCallback (std::function< void()> cb) |
| void | SetShowHelpCallback (std::function< void()> cb) |
| void | SetOpenRomCallback (std::function< void()> cb) |
| 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 |
| 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) |
| 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) |
| 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 | AddToRecent (const std::string &card_id) |
| const std::vector< std::string > & | GetRecentPanels () const |
| const std::unordered_set< std::string > & | GetFavoritePanels () const |
| 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) | |
Static Public Member Functions | |
| static constexpr float | GetSidebarWidth () |
| static constexpr float | GetSidePanelWidth () |
| 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 | UpdateSessionCount () |
| std::string | GetPrefixedPanelId (size_t session_id, const std::string &base_id) const |
| 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 > | favorite_cards_ |
| std::vector< std::string > | recent_cards_ |
| 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< std::string, WorkspacePreset > | presets_ |
| std::string | active_category_ |
| std::vector< std::string > | recent_categories_ |
| bool | sidebar_visible_ = false |
| bool | panel_expanded_ = false |
| int | focused_card_index_ = -1 |
| bool | sidebar_has_focus_ = false |
| bool | emulator_visible_ = false |
| std::function< void()> | on_show_emulator_ |
| std::function< void()> | on_show_settings_ |
| std::function< void()> | on_show_panel_browser_ |
| std::function< void()> | on_save_rom_ |
| std::function< void()> | on_undo_ |
| std::function< void()> | on_redo_ |
| std::function< void()> | on_show_search_ |
| std::function< void()> | on_show_shortcuts_ |
| std::function< void()> | on_show_command_palette_ |
| std::function< void()> | on_show_help_ |
| std::function< void()> | on_open_rom_ |
| std::function< void(bool visible, bool expanded)> | on_sidebar_state_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::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 | kMaxRecentPanels = 10 |
| static constexpr size_t | kMaxRecentCategories = 5 |
Central registry for all editor cards with session awareness and dependency injection.
Definition at line 84 of file panel_manager.h.
|
default |
|
default |
|
delete |
|
delete |
|
delete |
|
delete |
| void yaze::editor::PanelManager::RegisterSession | ( | size_t | session_id | ) |
Definition at line 115 of file panel_manager.cc.
References LOG_INFO, session_card_mapping_, session_cards_, session_count_, and UpdateSessionCount().
Referenced by RegisterPanel().

| void yaze::editor::PanelManager::UnregisterSession | ( | size_t | session_id | ) |
Definition at line 126 of file panel_manager.cc.
References active_session_, LOG_INFO, session_card_mapping_, session_cards_, session_count_, 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 147 of file panel_manager.cc.
References active_session_, and session_cards_.
Referenced by yaze::editor::SessionCoordinator::SwitchToSession().
| void yaze::editor::PanelManager::RegisterPanel | ( | size_t | session_id, |
| const PanelDescriptor & | base_info ) |
Definition at line 157 of file panel_manager.cc.
References yaze::editor::PanelDescriptor::card_id, cards_, centralized_visibility_, LOG_INFO, LOG_WARN, MakePanelId(), RegisterSession(), session_card_mapping_, session_cards_, and yaze::editor::PanelDescriptor::visibility_flag.
Referenced by yaze::editor::EditorManager::EditorManager(), yaze::editor::ScreenEditor::Initialize(), yaze::editor::MusicEditor::Initialize(), yaze::editor::EditorManager::Initialize(), yaze::editor::DungeonEditorV2::Initialize(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::MusicEditor::OpenSong(), yaze::editor::MusicEditor::OpenSongPianoRoll(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), RegisterEditorPanel(), RegisterPanel(), and RegisterPanel().

| 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 192 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(), 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 217 of file panel_manager.cc.
References cards_, centralized_visibility_, GetPrefixedPanelId(), LOG_INFO, pinned_panels_, 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 242 of file panel_manager.cc.
References cards_, centralized_visibility_, LOG_INFO, pinned_panels_, and session_cards_.
| void yaze::editor::PanelManager::ClearAllPanels | ( | ) |
Definition at line 271 of file panel_manager.cc.
References cards_, centralized_visibility_, LOG_INFO, panel_instances_, pinned_panels_, session_card_mapping_, session_cards_, and session_count_.
| 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 286 of file panel_manager.cc.
References active_session_, yaze::editor::PanelDescriptor::card_id, yaze::editor::PanelDescriptor::category, yaze::editor::PanelDescriptor::display_name, EnforceResourceLimits(), yaze::editor::PanelDescriptor::icon, LOG_ERROR, LOG_INFO, LOG_WARN, panel_instances_, panel_resource_types_, yaze::editor::PanelDescriptor::priority, RegisterPanel(), resource_panels_, yaze::editor::PanelDescriptor::shortcut_hint, ShowPanel(), yaze::editor::PanelDescriptor::visibility_flag, and yaze::editor::PanelDescriptor::window_title.
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 402 of file panel_manager.cc.
References active_session_, LOG_INFO, panel_instances_, 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 415 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 423 of file panel_manager.cc.
References active_category_, yaze::gui::PanelWindow::Begin(), yaze::gui::PanelWindow::End(), GetVisibilityFlag(), IsPanelPinned(), IsPanelVisible(), kDashboardCategory, panel_instances_, yaze::editor::Persistent, yaze::gui::PanelWindow::SetDefaultSize(), SetPanelPinned(), yaze::gui::PanelWindow::SetPinChangedCallback(), yaze::gui::PanelWindow::SetPinnable(), and yaze::gui::PanelWindow::SetPinned().
Referenced by yaze::editor::EditorManager::Update().
| 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 488 of file panel_manager.cc.
References yaze::editor::LayoutPresets::GetDefaultPanels(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), HidePanel(), IsPanelPinned(), LOG_INFO, panel_instances_, yaze::editor::Persistent, SetActiveCategory(), and ShowPanel().
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 521 of file panel_manager.cc.
References cards_, and GetPrefixedPanelId().
Referenced by yaze::editor::LayoutCoordinator::ApplyLayoutPreset(), yaze::editor::layout_designer::anonymous_namespace{layout_designer_window.cc}::ApplyLayoutToDockspace(), yaze::editor::OverworldEditor::DrawTile16Selector(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), yaze::editor::OverworldEditor::HandleTile16Edit(), OnEditorSwitch(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::MenuOrchestrator::OnShowHexEditor(), yaze::editor::MenuOrchestrator::OnShowMemoryEditor(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::MusicEditor::OpenSong(), yaze::editor::MusicEditor::OpenSongPianoRoll(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), RegisterEditorPanel(), RegisterPanel(), ResetToDefaults(), yaze::editor::UICoordinator::SetEmulatorVisible(), yaze::editor::anonymous_namespace{layout_manager.cc}::ShowDefaultPanelsForEditor(), ShowOnlyPanel(), ShowPanel(), yaze::editor::DungeonEditorV2::ShowPanel(), and yaze::editor::LayoutOrchestrator::ShowPresetPanels().

| bool yaze::editor::PanelManager::HidePanel | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 541 of file panel_manager.cc.
References cards_, and GetPrefixedPanelId().
Referenced by yaze::editor::LayoutOrchestrator::HideOptionalPanels(), HidePanel(), OnEditorSwitch(), and yaze::editor::UICoordinator::SetEmulatorVisible().

| bool yaze::editor::PanelManager::TogglePanel | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 561 of file panel_manager.cc.
References cards_, and GetPrefixedPanelId().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsSubmenu(), yaze::editor::OverworldToolbar::Draw(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::OverworldEditor::HandleKeyboardShortcuts(), and HandleSidebarKeyboardNav().

| bool yaze::editor::PanelManager::IsPanelVisible | ( | size_t | session_id, |
| const std::string & | base_card_id ) const |
Definition at line 583 of file panel_manager.cc.
References cards_, and GetPrefixedPanelId().
Referenced by yaze::editor::MenuOrchestrator::AddPanelsSubmenu(), yaze::editor::OverworldToolbar::Draw(), DrawAllVisiblePanels(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::UICoordinator::IsEmulatorVisible(), IsPanelVisible(), and yaze::editor::MusicEditor::Update().

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

| void yaze::editor::PanelManager::ShowAllPanelsInSession | ( | size_t | session_id | ) |
Definition at line 615 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by ShowAll(), and yaze::editor::SessionCoordinator::ShowAllPanelsInActiveSession().
| void yaze::editor::PanelManager::HideAllPanelsInSession | ( | size_t | session_id | ) |
Definition at line 630 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by HideAll(), yaze::editor::SessionCoordinator::HideAllPanelsInActiveSession(), and ResetToDefaults().
| void yaze::editor::PanelManager::ShowAllPanelsInCategory | ( | size_t | session_id, |
| const std::string & | category ) |
Definition at line 645 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel(), ShowAllPanelsInCategory(), and yaze::editor::SessionCoordinator::ShowPanelsInCategory().
| void yaze::editor::PanelManager::HideAllPanelsInCategory | ( | size_t | session_id, |
| const std::string & | category ) |
Definition at line 663 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel(), HideAllPanelsInCategory(), yaze::editor::EditorManager::HideCurrentEditorPanels(), yaze::editor::UICoordinator::HideCurrentEditorPanels(), yaze::editor::SessionCoordinator::HidePanelsInCategory(), ResetToDefaults(), and ShowOnlyPanel().
| void yaze::editor::PanelManager::ShowOnlyPanel | ( | size_t | session_id, |
| const std::string & | base_card_id ) |
Definition at line 681 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 707 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 716 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsSubmenu(), yaze::editor::ActivityBar::DrawPanelBrowser(), yaze::editor::SettingsPanel::DrawPanelShortcuts(), and yaze::editor::ActivityBar::DrawSidePanel().
| std::vector< std::string > yaze::editor::PanelManager::GetAllCategories | ( | size_t | session_id | ) | const |
Definition at line 739 of file panel_manager.cc.
References cards_, and session_cards_.
Referenced by yaze::editor::MenuOrchestrator::AddPanelsSubmenu(), 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 758 of file panel_manager.cc.
References cards_, and GetPrefixedPanelId().
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(), yaze::editor::LayoutManager::GetWindowTitle(), yaze::editor::LayoutOrchestrator::GetWindowTitle(), and yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags().

|
inline |
Get all panel descriptors (for layout designer, panel browser, etc.)
Definition at line 209 of file panel_manager.h.
References cards_.
Referenced by yaze::editor::layout_designer::LayoutDesignerWindow::DrawMenuBar(), yaze::editor::layout_designer::LayoutDesignerWindow::GetAvailablePanels(), and yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags().
| std::vector< std::string > yaze::editor::PanelManager::GetAllCategories | ( | ) | const |
Definition at line 772 of file panel_manager.cc.
References cards_.
|
inlinestaticconstexpr |
Definition at line 215 of file panel_manager.h.
Referenced by yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), and getSidebarState().
|
inlinestaticconstexpr |
Definition at line 216 of file panel_manager.h.
Referenced by yaze::editor::ActivityBar::DrawSidePanel(), yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), and getSidebarState().
|
inlinestaticconstexpr |
Definition at line 217 of file panel_manager.h.
|
static |
Definition at line 28 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().
|
static |
Definition at line 49 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 787 of file panel_manager.cc.
References focused_card_index_, sidebar_has_focus_, and TogglePanel().

|
inline |
Definition at line 238 of file panel_manager.h.
References sidebar_has_focus_.
|
inline |
Definition at line 239 of file panel_manager.h.
References focused_card_index_.
|
inline |
Definition at line 241 of file panel_manager.h.
References on_sidebar_state_changed_, panel_expanded_, and sidebar_visible_.
Referenced by yaze::editor::MenuOrchestrator::AddViewMenuItems(), yaze::editor::EditorManager::DrawMenuBar(), and yaze::editor::UICoordinator::TogglePanelSidebar().
|
inline |
Definition at line 248 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 257 of file panel_manager.h.
References sidebar_visible_.
Referenced by yaze::editor::MenuOrchestrator::AddViewMenuItems(), yaze::editor::EditorManager::DrawMenuBar(), yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), yaze::editor::UICoordinator::IsPanelSidebarVisible(), and yaze::editor::ActivityBar::Render().
|
inline |
Definition at line 259 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 266 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(), and yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 275 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 281 of file panel_manager.h.
References on_show_emulator_.
|
inline |
Definition at line 282 of file panel_manager.h.
References on_show_settings_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
|
inline |
Definition at line 283 of file panel_manager.h.
References on_show_panel_browser_.
|
inline |
Definition at line 284 of file panel_manager.h.
References on_save_rom_.
|
inline |
Definition at line 285 of file panel_manager.h.
References on_undo_.
|
inline |
Definition at line 286 of file panel_manager.h.
References on_redo_.
|
inline |
Definition at line 287 of file panel_manager.h.
References on_show_search_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
|
inline |
Definition at line 288 of file panel_manager.h.
References on_show_shortcuts_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
|
inline |
Definition at line 289 of file panel_manager.h.
References on_show_command_palette_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
|
inline |
Definition at line 290 of file panel_manager.h.
References on_show_help_.
|
inline |
Definition at line 291 of file panel_manager.h.
References on_open_rom_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
|
inline |
Definition at line 292 of file panel_manager.h.
References on_card_clicked_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel().
|
inline |
Definition at line 293 of file panel_manager.h.
References on_category_selected_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
|
inline |
Definition at line 299 of file panel_manager.h.
References on_show_emulator_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 302 of file panel_manager.h.
References on_show_settings_.
Referenced by yaze::editor::EditorManager::EditorManager(), and yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 305 of file panel_manager.h.
References on_show_panel_browser_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 308 of file panel_manager.h.
References on_save_rom_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 311 of file panel_manager.h.
References on_undo_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 314 of file panel_manager.h.
References on_redo_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 317 of file panel_manager.h.
References on_show_search_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 320 of file panel_manager.h.
References on_show_shortcuts_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 323 of file panel_manager.h.
References on_show_command_palette_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 326 of file panel_manager.h.
References on_show_help_.
Referenced by yaze::editor::EditorManager::EditorManager(), and yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 329 of file panel_manager.h.
References on_open_rom_.
|
inline |
Definition at line 332 of file panel_manager.h.
References on_sidebar_state_changed_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 341 of file panel_manager.h.
References emulator_visible_.
|
inline |
Definition at line 342 of file panel_manager.h.
References emulator_visible_, and on_emulator_visibility_changed_.
Referenced by ToggleEmulatorVisible().
|
inline |
Definition at line 350 of file panel_manager.h.
References emulator_visible_, and SetEmulatorVisible().

|
inline |
Definition at line 351 of file panel_manager.h.
References on_emulator_visibility_changed_.
|
inline |
Definition at line 354 of file panel_manager.h.
References on_category_changed_.
Referenced by yaze::editor::EditorManager::Initialize().
| void yaze::editor::PanelManager::SavePreset | ( | const std::string & | name, |
| const std::string & | description = "" ) |
Definition at line 875 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 894 of file panel_manager.cc.
| void yaze::editor::PanelManager::DeletePreset | ( | const std::string & | name | ) |
Definition at line 922 of file panel_manager.cc.
References presets_, and SavePresetsToFile().

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

| PanelManager::PanelValidationResult yaze::editor::PanelManager::ValidatePanel | ( | const std::string & | card_id | ) | const |
Definition at line 1282 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, yaze::editor::PanelDescriptor::GetWindowTitle(), and yaze::editor::PanelManager::PanelValidationResult::message.
Referenced by ValidatePanels().

| void yaze::editor::PanelManager::ShowAll | ( | size_t | session_id | ) |
Definition at line 940 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 944 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 948 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 957 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 400 of file panel_manager.h.
References cards_.
| size_t yaze::editor::PanelManager::GetVisiblePanelCount | ( | size_t | session_id | ) | const |
Definition at line 991 of file panel_manager.cc.
References cards_, and session_cards_.
|
inline |
Definition at line 402 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 1011 of file panel_manager.cc.
References ShouldPrefixPanels().
Referenced by yaze::editor::LayoutOrchestrator::GetPrefixedPanelId(), IsPanelPinned(), RegisterPanel(), and SetPanelPinned().

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

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

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

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

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

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

|
inline |
Definition at line 433 of file panel_manager.h.
References active_category_.
Referenced by yaze::editor::EditorActivator::ActivatePanelBasedEditor(), yaze::editor::MenuOrchestrator::AddPanelsSubmenu(), yaze::editor::EditorActivator::DeactivatePanelBasedEditor(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::EditorManager::Update(), and yaze::editor::MusicEditor::Update().
|
inline |
Definition at line 434 of file panel_manager.h.
References active_category_, and on_category_changed_.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), yaze::editor::EditorManager::Initialize(), yaze::editor::EditorManager::LoadProjectWithRom(), OnEditorSwitch(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), yaze::editor::EditorManager::OpenRomOrProject(), and yaze::editor::EditorManager::Update().
|
inline |
Definition at line 442 of file panel_manager.h.
References active_session_, and ShowAllPanelsInCategory().

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

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

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

|
inline |
Definition at line 450 of file panel_manager.h.
References on_card_clicked_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 453 of file panel_manager.h.
References on_category_selected_.
Referenced by yaze::editor::EditorManager::Initialize().
|
inline |
Definition at line 457 of file panel_manager.h.
References active_session_.
Referenced by yaze::editor::LayoutManager::BuildLayoutFromPreset(), and yaze::editor::LayoutManager::GetWindowTitle().
| FileBrowser * yaze::editor::PanelManager::GetFileBrowser | ( | const std::string & | category | ) |
Definition at line 1167 of file panel_manager.cc.
References category_file_browsers_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel().
| void yaze::editor::PanelManager::EnableFileBrowser | ( | const std::string & | category, |
| const std::string & | root_path = "" ) |
Definition at line 1175 of file panel_manager.cc.
References category_file_browsers_, LOG_INFO, on_card_clicked_, and on_file_clicked_.
Referenced by yaze::editor::EditorManager::Initialize().
| void yaze::editor::PanelManager::DisableFileBrowser | ( | const std::string & | category | ) |
Definition at line 1207 of file panel_manager.cc.
References category_file_browsers_.
| bool yaze::editor::PanelManager::HasFileBrowser | ( | const std::string & | category | ) | const |
Definition at line 1211 of file panel_manager.cc.
References category_file_browsers_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel().
| void yaze::editor::PanelManager::SetFileBrowserPath | ( | const std::string & | category, |
| const std::string & | path ) |
Definition at line 1216 of file panel_manager.cc.
References category_file_browsers_.
Referenced by yaze::editor::EditorManager::EditorManager(), yaze::editor::EditorManager::LoadProjectWithRom(), and yaze::editor::EditorManager::OpenRomOrProject().
|
inline |
Definition at line 469 of file panel_manager.h.
References on_file_clicked_.
Referenced by yaze::editor::EditorManager::Initialize().
| void yaze::editor::PanelManager::ToggleFavorite | ( | const std::string & | card_id | ) |
Definition at line 842 of file panel_manager.cc.
References favorite_cards_.
| bool yaze::editor::PanelManager::IsFavorite | ( | const std::string & | card_id | ) | const |
Definition at line 851 of file panel_manager.cc.
References favorite_cards_.
| void yaze::editor::PanelManager::AddToRecent | ( | const std::string & | card_id | ) |
Definition at line 855 of file panel_manager.cc.
References kMaxRecentPanels, and recent_cards_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel().
|
inline |
Definition at line 482 of file panel_manager.h.
References recent_cards_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel().
|
inline |
Definition at line 483 of file panel_manager.h.
References favorite_cards_.
| void yaze::editor::PanelManager::SetPanelPinned | ( | size_t | session_id, |
| const std::string & | base_card_id, | ||
| bool | pinned ) |
Definition at line 1228 of file panel_manager.cc.
References GetPrefixedPanelId(), MakePanelId(), and pinned_panels_.
Referenced by DrawAllVisiblePanels(), yaze::editor::ActivityBar::DrawSidePanel(), and SetPanelPinned().

| bool yaze::editor::PanelManager::IsPanelPinned | ( | size_t | session_id, |
| const std::string & | base_card_id ) const |
Definition at line 1238 of file panel_manager.cc.
References GetPrefixedPanelId(), MakePanelId(), and pinned_panels_.
Referenced by DrawAllVisiblePanels(), yaze::editor::DungeonEditorV2::DrawRoomPanels(), yaze::editor::ActivityBar::DrawSidePanel(), EnforceResourceLimits(), IsPanelPinned(), OnEditorSwitch(), and yaze::editor::MusicEditor::Update().

| std::vector< std::string > yaze::editor::PanelManager::GetPinnedPanels | ( | size_t | session_id | ) | const |
Definition at line 1248 of file panel_manager.cc.
References pinned_panels_, and ShouldPrefixPanels().
Referenced by yaze::editor::ActivityBar::DrawSidePanel().

| void yaze::editor::PanelManager::SetPanelPinned | ( | const std::string & | base_card_id, |
| bool | pinned ) |
Definition at line 1263 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 1268 of file panel_manager.cc.
References active_session_, and IsPanelPinned().

| std::vector< std::string > yaze::editor::PanelManager::GetPinnedPanels | ( | ) | const |
Definition at line 1272 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 347 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().

| 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 389 of file panel_manager.cc.
References panel_resource_types_, and resource_panels_.
|
private |
Definition at line 1023 of file panel_manager.cc.
References session_cards_, and session_count_.
Referenced by RegisterSession(), and UnregisterSession().
|
private |
Definition at line 1027 of file panel_manager.cc.
References cards_, and session_card_mapping_.
Referenced by GetPanelDescriptor(), GetVisibilityFlag(), HidePanel(), IsPanelPinned(), IsPanelVisible(), SetPanelPinned(), ShowOnlyPanel(), ShowPanel(), TogglePanel(), and UnregisterPanel().
|
private |
Definition at line 1045 of file panel_manager.cc.
References cards_, centralized_visibility_, pinned_panels_, and session_cards_.
Referenced by UnregisterSession().
|
private |
Definition at line 1056 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 1096 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 96 of file panel_manager.h.
Referenced by DrawAllVisiblePanels(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags(), and yaze::editor::EditorManager::OpenRomOrProject().
|
private |
Definition at line 520 of file panel_manager.h.
Referenced by EnforceResourceLimits(), MarkPanelUsed(), and RegisterEditorPanel().
|
private |
Definition at line 523 of file panel_manager.h.
Referenced by MarkPanelUsed(), and RegisterEditorPanel().
|
private |
Definition at line 527 of file panel_manager.h.
Referenced by ClearAllPanels(), GetAllCategories(), GetAllCategories(), GetAllPanelDescriptors(), GetPanelCount(), GetPanelDescriptor(), GetPanelsInCategory(), GetPrefixedPanelId(), GetVisibilityFlag(), GetVisiblePanelCount(), HideAllPanelsInCategory(), HideAllPanelsInSession(), HidePanel(), IsPanelVisible(), LoadPreset(), RegisterPanel(), SavePreset(), ShowAllPanelsInCategory(), ShowAllPanelsInSession(), ShowOnlyPanel(), ShowPanel(), TogglePanel(), UnregisterPanel(), UnregisterPanelsWithPrefix(), UnregisterSessionPanels(), ValidatePanel(), and ValidatePanels().
|
private |
Definition at line 531 of file panel_manager.h.
Referenced by ClearAllPanels(), DrawAllVisiblePanels(), GetEditorPanel(), OnEditorSwitch(), RegisterEditorPanel(), and UnregisterEditorPanel().
|
private |
Definition at line 534 of file panel_manager.h.
Referenced by GetFavoritePanels(), IsFavorite(), and ToggleFavorite().
|
private |
Definition at line 535 of file panel_manager.h.
Referenced by AddToRecent(), and GetRecentPanels().
|
staticconstexprprivate |
Definition at line 536 of file panel_manager.h.
Referenced by AddToRecent().
|
private |
Definition at line 539 of file panel_manager.h.
Referenced by ClearAllPanels(), RegisterPanel(), UnregisterPanel(), UnregisterPanelsWithPrefix(), and UnregisterSessionPanels().
|
private |
Definition at line 541 of file panel_manager.h.
Referenced by ClearAllPanels(), GetPinnedPanels(), IsPanelPinned(), SetPanelPinned(), UnregisterPanel(), UnregisterPanelsWithPrefix(), and UnregisterSessionPanels().
|
private |
Definition at line 544 of file panel_manager.h.
Referenced by ClearAllPanels(), GetSessionCount(), RegisterSession(), ShouldPrefixPanels(), UnregisterSession(), and UpdateSessionCount().
|
private |
Definition at line 545 of file panel_manager.h.
Referenced by GetActiveSessionId(), GetPinnedPanels(), GetVisibilityFlag(), HideAll(), HideAllPanelsInCategory(), HidePanel(), IsPanelPinned(), IsPanelVisible(), RegisterEditorPanel(), RegisterPanel(), SetActiveSession(), SetPanelPinned(), ShowAll(), ShowAllPanelsInCategory(), ShowPanel(), UnregisterEditorPanel(), UnregisterPanel(), and UnregisterSession().
|
private |
Definition at line 548 of file panel_manager.h.
Referenced by ClearAllPanels(), GetAllCategories(), GetPanelsInCategory(), GetPanelsInSession(), GetVisiblePanelCount(), HideAllPanelsInCategory(), HideAllPanelsInSession(), RegisterPanel(), RegisterSession(), SetActiveSession(), ShowAllPanelsInCategory(), ShowAllPanelsInSession(), UnregisterPanel(), UnregisterPanelsWithPrefix(), UnregisterSession(), UnregisterSessionPanels(), and UpdateSessionCount().
|
private |
Definition at line 552 of file panel_manager.h.
Referenced by ClearAllPanels(), GetPrefixedPanelId(), RegisterPanel(), RegisterSession(), UnregisterPanel(), and UnregisterSession().
|
private |
Definition at line 555 of file panel_manager.h.
Referenced by DeletePreset(), GetPresets(), LoadPreset(), LoadPresetsFromFile(), SavePreset(), and SavePresetsToFile().
|
private |
Definition at line 558 of file panel_manager.h.
Referenced by DrawAllVisiblePanels(), GetActiveCategory(), and SetActiveCategory().
|
private |
Definition at line 559 of file panel_manager.h.
|
staticconstexprprivate |
Definition at line 560 of file panel_manager.h.
|
private |
Definition at line 563 of file panel_manager.h.
Referenced by IsSidebarVisible(), SetPanelExpanded(), SetSidebarVisible(), TogglePanelExpanded(), and ToggleSidebarVisibility().
|
private |
Definition at line 564 of file panel_manager.h.
Referenced by IsPanelExpanded(), SetPanelExpanded(), SetSidebarVisible(), TogglePanelExpanded(), and ToggleSidebarVisibility().
|
private |
Definition at line 567 of file panel_manager.h.
Referenced by GetFocusedPanelIndex(), and HandleSidebarKeyboardNav().
|
private |
Definition at line 568 of file panel_manager.h.
Referenced by HandleSidebarKeyboardNav(), and SidebarHasFocus().
|
private |
Definition at line 571 of file panel_manager.h.
Referenced by IsEmulatorVisible(), SetEmulatorVisible(), and ToggleEmulatorVisible().
|
private |
Definition at line 574 of file panel_manager.h.
Referenced by SetShowEmulatorCallback(), and TriggerShowEmulator().
|
private |
Definition at line 575 of file panel_manager.h.
Referenced by SetShowSettingsCallback(), and TriggerShowSettings().
|
private |
Definition at line 576 of file panel_manager.h.
Referenced by SetShowPanelBrowserCallback(), and TriggerShowPanelBrowser().
|
private |
Definition at line 577 of file panel_manager.h.
Referenced by SetSaveRomCallback(), and TriggerSaveRom().
|
private |
Definition at line 578 of file panel_manager.h.
Referenced by SetUndoCallback(), and TriggerUndo().
|
private |
Definition at line 579 of file panel_manager.h.
Referenced by SetRedoCallback(), and TriggerRedo().
|
private |
Definition at line 580 of file panel_manager.h.
Referenced by SetShowSearchCallback(), and TriggerShowSearch().
|
private |
Definition at line 581 of file panel_manager.h.
Referenced by SetShowShortcutsCallback(), and TriggerShowShortcuts().
|
private |
Definition at line 582 of file panel_manager.h.
Referenced by SetShowCommandPaletteCallback(), and TriggerShowCommandPalette().
|
private |
Definition at line 583 of file panel_manager.h.
Referenced by SetShowHelpCallback(), and TriggerShowHelp().
|
private |
Definition at line 584 of file panel_manager.h.
Referenced by SetOpenRomCallback(), and TriggerOpenRom().
|
private |
Definition at line 587 of file panel_manager.h.
Referenced by SetPanelExpanded(), SetSidebarStateChangedCallback(), SetSidebarVisible(), TogglePanelExpanded(), and ToggleSidebarVisibility().
|
private |
Definition at line 588 of file panel_manager.h.
Referenced by SetActiveCategory(), and SetCategoryChangedCallback().
|
private |
Definition at line 589 of file panel_manager.h.
Referenced by EnableFileBrowser(), SetOnPanelClickedCallback(), and TriggerPanelClicked().
|
private |
Definition at line 590 of file panel_manager.h.
Referenced by SetOnCategorySelectedCallback(), and TriggerCategorySelected().
|
private |
Definition at line 591 of file panel_manager.h.
Referenced by SetEmulatorVisibilityChangedCallback(), and SetEmulatorVisible().
|
private |
Definition at line 592 of file panel_manager.h.
Referenced by EnableFileBrowser(), and SetFileClickedCallback().
|
private |
Definition at line 596 of file panel_manager.h.
Referenced by DisableFileBrowser(), EnableFileBrowser(), GetFileBrowser(), HasFileBrowser(), and SetFileBrowserPath().
|
private |
Definition at line 599 of file panel_manager.h.