yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::WindowBrowser Class Reference

#include <window_browser.h>

Collaboration diagram for yaze::editor::WindowBrowser:

Public Member Functions

 WindowBrowser (WorkspaceWindowManager &window_manager)
 
void Draw (size_t session_id, bool *p_open)
 

Private Attributes

WorkspaceWindowManagerwindow_manager_
 
char search_filter_ [256] = {}
 
std::string category_filter_ = "All"
 

Detailed Description

Definition at line 12 of file window_browser.h.

Constructor & Destructor Documentation

◆ WindowBrowser()

yaze::editor::WindowBrowser::WindowBrowser ( WorkspaceWindowManager & window_manager)
explicit

Definition at line 43 of file window_browser.cc.

Member Function Documentation

◆ Draw()

void yaze::editor::WindowBrowser::Draw ( size_t session_id,
bool * p_open )

Definition at line 46 of file window_browser.cc.

References category_filter_, yaze::editor::WorkspaceWindowManager::GetAllWindowCategories(), yaze::editor::WorkspaceWindowManager::GetCategoryIcon(), yaze::editor::WorkspaceWindowManager::GetDefaultWindowBrowserCategoryWidth(), yaze::gui::GetOutlineVec4(), yaze::gui::GetPrimaryVec4(), yaze::gui::LayoutHelpers::GetStandardWidgetHeight(), yaze::gui::GetTextDisabledVec4(), yaze::editor::WorkspaceWindowManager::GetWindowBrowserCategoryWidth(), yaze::editor::WorkspaceWindowManager::GetWindowDescriptor(), yaze::editor::WorkspaceWindowManager::GetWindowsInCategory(), yaze::editor::WorkspaceWindowManager::GetWindowsInSession(), yaze::editor::WorkspaceWindowManager::GetWorkspaceWindowName(), yaze::editor::WorkspaceWindowManager::HideAllWindowsInCategory(), yaze::editor::WorkspaceWindowManager::HideAllWindowsInSession(), ICON_MD_CLEAR, ICON_MD_DASHBOARD, ICON_MD_PIN, ICON_MD_PUSH_PIN, ICON_MD_SEARCH, ICON_MD_VISIBILITY, ICON_MD_VISIBILITY_OFF, yaze::editor::WorkspaceWindowManager::IsWindowPinned(), yaze::editor::WorkspaceWindowManager::OpenWindow(), search_filter_, yaze::editor::WorkspaceWindowManager::SetWindowBrowserCategoryWidth(), yaze::editor::WorkspaceWindowManager::SetWindowPinned(), yaze::editor::WorkspaceWindowManager::ShowAllWindowsInCategory(), yaze::editor::WorkspaceWindowManager::ShowAllWindowsInSession(), yaze::editor::WorkspaceWindowManager::ToggleWindow(), yaze::gui::TransparentIconButton(), yaze::editor::WindowDescriptor::visibility_flag, and window_manager_.

Referenced by yaze::editor::ActivityBar::DrawWindowBrowser().

Member Data Documentation

◆ window_manager_

WorkspaceWindowManager& yaze::editor::WindowBrowser::window_manager_
private

Definition at line 19 of file window_browser.h.

Referenced by Draw().

◆ search_filter_

char yaze::editor::WindowBrowser::search_filter_[256] = {}
private

Definition at line 20 of file window_browser.h.

Referenced by Draw().

◆ category_filter_

std::string yaze::editor::WindowBrowser::category_filter_ = "All"
private

Definition at line 21 of file window_browser.h.

Referenced by Draw().


The documentation for this class was generated from the following files: