Public Attributes | |
| std::string | active_category |
| std::vector< std::string > | recent_categories |
| bool | sidebar_visible = false |
| bool | sidebar_expanded = false |
| float | sidebar_width = 0.0f |
| float | window_browser_category_width = GetDefaultPanelBrowserCategoryWidth() |
| int | focused_window_index = -1 |
| bool | sidebar_has_focus = false |
| std::function< void(bool visible, bool expanded)> | on_sidebar_state_changed |
| std::function< void(float width)> | on_sidebar_width_changed |
| std::function< void(float width)> | on_window_browser_width_changed |
| std::function< void(const std::string &) | on_category_changed ) |
| std::function< void(const std::string &) | on_window_clicked ) |
| std::function< void(const std::string &) | on_category_selected ) |
| std::unordered_map< std::string, std::unique_ptr< FileBrowser > > | category_file_browsers |
Static Public Attributes | |
| static constexpr size_t | kMaxRecentCategories = 5 |
Definition at line 1122 of file workspace_window_manager.h.
|
staticconstexpr |
Definition at line 1123 of file workspace_window_manager.h.
| std::string yaze::editor::WorkspaceWindowManager::WindowBrowserState::active_category |
Definition at line 1125 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::DrawAllVisiblePanels(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), and yaze::editor::WorkspaceWindowManager::SetActiveCategory().
| std::vector<std::string> yaze::editor::WorkspaceWindowManager::WindowBrowserState::recent_categories |
Definition at line 1126 of file workspace_window_manager.h.
| bool yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_visible = false |
Definition at line 1127 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::IsSidebarVisible(), yaze::editor::WorkspaceWindowManager::SetSidebarExpanded(), yaze::editor::WorkspaceWindowManager::SetSidebarVisible(), yaze::editor::WorkspaceWindowManager::ToggleSidebarExpanded(), and yaze::editor::WorkspaceWindowManager::ToggleSidebarVisibility().
| bool yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_expanded = false |
Definition at line 1128 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::IsSidebarExpanded(), yaze::editor::WorkspaceWindowManager::SetSidebarExpanded(), yaze::editor::WorkspaceWindowManager::SetSidebarVisible(), yaze::editor::WorkspaceWindowManager::ToggleSidebarExpanded(), and yaze::editor::WorkspaceWindowManager::ToggleSidebarVisibility().
| float yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_width = 0.0f |
Definition at line 1129 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::GetActiveSidePanelWidth(), yaze::editor::WorkspaceWindowManager::GetStoredSidePanelWidth(), yaze::editor::WorkspaceWindowManager::ResetSidePanelWidth(), and yaze::editor::WorkspaceWindowManager::SetActiveSidePanelWidth().
| float yaze::editor::WorkspaceWindowManager::WindowBrowserState::window_browser_category_width = GetDefaultPanelBrowserCategoryWidth() |
| int yaze::editor::WorkspaceWindowManager::WindowBrowserState::focused_window_index = -1 |
Definition at line 1131 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::GetFocusedPanelIndex(), and yaze::editor::WorkspaceWindowManager::HandleSidebarKeyboardNav().
| bool yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_has_focus = false |
Definition at line 1132 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::HandleSidebarKeyboardNav(), and yaze::editor::WorkspaceWindowManager::SidebarHasFocus().
| std::function<void(bool visible, bool expanded)> yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_state_changed |
Definition at line 1133 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::SetSidebarExpanded(), yaze::editor::WorkspaceWindowManager::SetSidebarStateChangedCallback(), yaze::editor::WorkspaceWindowManager::SetSidebarVisible(), yaze::editor::WorkspaceWindowManager::ToggleSidebarExpanded(), and yaze::editor::WorkspaceWindowManager::ToggleSidebarVisibility().
| std::function<void(float width)> yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_width_changed |
| std::function<void(float width)> yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_browser_width_changed |
Definition at line 1135 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::SetPanelBrowserCategoryWidth(), and yaze::editor::WorkspaceWindowManager::SetPanelBrowserCategoryWidthChangedCallback().
| std::function<void(const std::string&) yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_category_changed) |
Definition at line 1136 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::SetActiveCategory(), and yaze::editor::WorkspaceWindowManager::SetCategoryChangedCallback().
| std::function<void(const std::string&) yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_clicked) |
| std::function<void(const std::string&) yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_category_selected) |
Definition at line 1138 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::SetOnWindowCategorySelectedCallback(), and yaze::editor::WorkspaceWindowManager::TriggerCategorySelected().
| std::unordered_map<std::string, std::unique_ptr<FileBrowser> > yaze::editor::WorkspaceWindowManager::WindowBrowserState::category_file_browsers |
Definition at line 1140 of file workspace_window_manager.h.
Referenced by yaze::editor::WorkspaceWindowManager::DisableFileBrowser(), yaze::editor::WorkspaceWindowManager::EnableFileBrowser(), yaze::editor::WorkspaceWindowManager::GetFileBrowser(), yaze::editor::WorkspaceWindowManager::HasFileBrowser(), and yaze::editor::WorkspaceWindowManager::SetFileBrowserPath().