TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::GUIApplication::SettingsPanelState::Page Struct Reference

A page: a stable ID, its name in the tree, and render, which builds its content. More...

#include <gui_controls/gui_application.h>

Public Attributes

tachyon::ID id
 Stable across frames.
std::string name
 Shown in the page tree.
std::function< void()> render
 Builds the page's content while it is selected.

Detailed Description

A page: a stable ID, its name in the tree, and render, which builds its content.

Member Data Documentation

◆ id

tachyon::ID tachyon::GUIApplication::SettingsPanelState::Page::id

Stable across frames.

◆ name

std::string tachyon::GUIApplication::SettingsPanelState::Page::name

Shown in the page tree.

◆ render

std::function<void()> tachyon::GUIApplication::SettingsPanelState::Page::render

Builds the page's content while it is selected.


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