yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::WorkspaceWindowManager::WindowBrowserState Struct Reference

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
 

Detailed Description

Definition at line 1122 of file workspace_window_manager.h.

Member Data Documentation

◆ kMaxRecentCategories

constexpr size_t yaze::editor::WorkspaceWindowManager::WindowBrowserState::kMaxRecentCategories = 5
staticconstexpr

Definition at line 1123 of file workspace_window_manager.h.

◆ active_category

std::string yaze::editor::WorkspaceWindowManager::WindowBrowserState::active_category

◆ recent_categories

std::vector<std::string> yaze::editor::WorkspaceWindowManager::WindowBrowserState::recent_categories

Definition at line 1126 of file workspace_window_manager.h.

◆ sidebar_visible

◆ sidebar_expanded

◆ sidebar_width

◆ window_browser_category_width

float yaze::editor::WorkspaceWindowManager::WindowBrowserState::window_browser_category_width = GetDefaultPanelBrowserCategoryWidth()

◆ focused_window_index

int yaze::editor::WorkspaceWindowManager::WindowBrowserState::focused_window_index = -1

◆ sidebar_has_focus

bool yaze::editor::WorkspaceWindowManager::WindowBrowserState::sidebar_has_focus = false

◆ on_sidebar_state_changed

◆ on_sidebar_width_changed

std::function<void(float width)> yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_sidebar_width_changed

◆ on_window_browser_width_changed

std::function<void(float width)> yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_browser_width_changed

◆ on_category_changed

std::function<void(const std::string&) yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_category_changed)

◆ on_window_clicked

std::function<void(const std::string&) yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_window_clicked)

◆ on_category_selected

std::function<void(const std::string&) yaze::editor::WorkspaceWindowManager::WindowBrowserState::on_category_selected)

◆ category_file_browsers


The documentation for this struct was generated from the following file: