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

One toolbar item. More...

#include <gui_controls/controls_toolbar_dock.h>

Public Attributes

ID id = ID::Invalid()
std::string debugName {}
 stable name; saved UI state places items by it
std::function< void()> renderBody

Detailed Description

One toolbar item.

renderBody emits its contents, wrapped by the dock in a reorderable item and BeginToolbar / EndToolbar.

Member Data Documentation

◆ id

ID tachyon::ToolbarItem::id = ID::Invalid()

◆ debugName

std::string tachyon::ToolbarItem::debugName {}

stable name; saved UI state places items by it

◆ renderBody

std::function<void()> tachyon::ToolbarItem::renderBody

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