#include <window_sidebar.h>

Public Member Functions | |
| WindowSidebar (WorkspaceWindowManager &window_manager, std::function< bool()> is_dungeon_workbench_mode={}, std::function< void(bool)> set_dungeon_workflow_mode={}) | |
| void | Draw (size_t session_id, const std::string &category, std::function< bool()> has_rom) |
Static Public Member Functions | |
| static bool | MatchesWindowSearch (const std::string &query, const std::string &display_name, const std::string &window_id, const std::string &shortcut_hint) |
| static bool | IsDungeonWindowModeTarget (const std::string &window_id) |
Private Attributes | |
| WorkspaceWindowManager & | window_manager_ |
| std::function< bool()> | is_dungeon_workbench_mode_ |
| std::function< void(bool)> | set_dungeon_workflow_mode_ |
| char | sidebar_search_ [256] = {} |
Definition at line 12 of file window_sidebar.h.
|
explicit |
Definition at line 43 of file window_sidebar.cc.
|
static |
Definition at line 51 of file window_sidebar.cc.
Referenced by Draw(), and yaze::editor::anonymous_namespace{window_sidebar.cc}::MatchesWindowSearch().
|
static |
Definition at line 65 of file window_sidebar.cc.
Referenced by yaze::editor::anonymous_namespace{window_sidebar.cc}::IsDungeonPanelModeWindow().
| void yaze::editor::WindowSidebar::Draw | ( | size_t | session_id, |
| const std::string & | category, | ||
| std::function< bool()> | has_rom ) |
Definition at line 71 of file window_sidebar.cc.
References yaze::gui::LayoutHelpers::BeginContentChild(), yaze::editor::WorkspaceWindowManager::CloseWindow(), yaze::gui::ConvertColorToImVec4(), yaze::gui::LayoutHelpers::EndContentChild(), yaze::gui::ThemeManager::Get(), yaze::editor::WorkspaceWindowManager::GetActiveSidePanelWidth(), yaze::gui::ThemeManager::GetCurrentTheme(), yaze::gui::GetOnSurfaceVec4(), yaze::gui::GetOutlineVec4(), yaze::editor::WorkspaceWindowManager::GetPinnedWindows(), yaze::gui::GetPrimaryVec4(), yaze::gui::LayoutHelpers::GetSafeAreaInsets(), yaze::editor::WorkspaceWindowManager::GetSidebarWidth(), yaze::gui::LayoutHelpers::GetStandardSpacing(), yaze::gui::LayoutHelpers::GetStandardWidgetHeight(), yaze::gui::GetSurfaceContainerHighestVec4(), yaze::gui::GetSurfaceContainerHighVec4(), yaze::gui::GetTextSecondaryVec4(), yaze::gui::LayoutHelpers::GetTopInset(), yaze::editor::WorkspaceWindowManager::GetWindowDescriptor(), yaze::editor::WorkspaceWindowManager::GetWindowsInCategory(), yaze::editor::WorkspaceWindowManager::GetWindowsSortedByMRU(), yaze::editor::WorkspaceWindowManager::GetWorkspaceWindowName(), yaze::editor::WorkspaceWindowManager::HideAllWindowsInCategory(), ICON_MD_APPS, ICON_MD_CHEVRON_LEFT, ICON_MD_CLEAR, ICON_MD_FOLDER_OPEN, ICON_MD_PIN, ICON_MD_PUSH_PIN, ICON_MD_SEARCH, ICON_MD_VIEW_QUILT, ICON_MD_VISIBILITY, ICON_MD_VISIBILITY_OFF, ICON_MD_WORKSPACES, is_dungeon_workbench_mode_, yaze::editor::WorkspaceWindowManager::IsWindowOpen(), yaze::editor::WorkspaceWindowManager::IsWindowPinned(), yaze::gui::UIConfig::kContentMinHeightList, yaze::editor::WorkspaceWindowManager::MarkWindowRecentlyUsed(), MatchesWindowSearch(), yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::WorkspaceWindowManager::ResetSidePanelWidth(), set_dungeon_workflow_mode_, yaze::editor::WorkspaceWindowManager::SetActiveSidePanelWidth(), yaze::editor::WorkspaceWindowManager::SetSidebarExpanded(), yaze::editor::WorkspaceWindowManager::SetWindowPinned(), yaze::editor::WorkspaceWindowManager::ShowAllWindowsInCategory(), sidebar_search_, yaze::gui::IconSize::Small(), yaze::editor::WorkspaceWindowManager::ToggleWindow(), yaze::gui::TransparentIconButton(), yaze::editor::WorkspaceWindowManager::TriggerShowWindowBrowser(), yaze::editor::WorkspaceWindowManager::TriggerWindowClicked(), yaze::editor::WindowDescriptor::visibility_flag, and window_manager_.
Referenced by yaze::editor::ActivityBar::DrawSidePanel().
|
private |
Definition at line 29 of file window_sidebar.h.
Referenced by Draw().
|
private |
Definition at line 30 of file window_sidebar.h.
Referenced by Draw().
|
private |
Definition at line 31 of file window_sidebar.h.
Referenced by Draw().
|
private |
Definition at line 32 of file window_sidebar.h.
Referenced by Draw().