|
TachyonUI 0.1.0
High-performance UI for building tools.
|
What RenderSettingsPanel shows: its pages, the selected one and the tree width. More...
#include <gui_controls/gui_application.h>
Classes | |
| struct | Page |
| A page: a stable ID, its name in the tree, and render, which builds its content. More... | |
| struct | Internal |
| Tree-view backing state, rebuilt per frame; not part of the API. More... | |
Public Member Functions | |
| tachyon::ID | AddPage (tachyon::ID id, std::string_view name, std::function< void()> render) |
| id must be stable. The first page added is selected initially. | |
Public Attributes | |
| std::vector< Page > | pages |
| Added with AddPage. | |
| tachyon::ID | selectedID = tachyon::ID::Invalid() |
| The page shown; a click in the tree changes it. | |
| CssPx | treeWidth = 200 |
| The page tree's width; its sizer changes it. | |
| struct tachyon::GUIApplication::SettingsPanelState::Internal | internal |
What RenderSettingsPanel shows: its pages, the selected one and the tree width.
|
inline |
id must be stable. The first page added is selected initially.
| std::vector<Page> tachyon::GUIApplication::SettingsPanelState::pages |
Added with AddPage.
| tachyon::ID tachyon::GUIApplication::SettingsPanelState::selectedID = tachyon::ID::Invalid() |
The page shown; a click in the tree changes it.
| CssPx tachyon::GUIApplication::SettingsPanelState::treeWidth = 200 |
The page tree's width; its sizer changes it.
| struct tachyon::GUIApplication::SettingsPanelState::Internal tachyon::GUIApplication::SettingsPanelState::internal |