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

#include <gui_core/elements/gui_element.h>

Public Attributes

ID id = ID::Invalid()
EventHandler eventHandler
 Per-frame input handler for immediate-mode widgets.
TextID textID = TextID::Invalid
IconID iconID = IconID::Invalid
StyleRef styleRef {}
int16_t monitorIndex = -1
 window elements only: the monitor the window is on
ElementFlags flags = ElementFlags::None
ElementState state = ElementState::None
ImageIndex backgroundImage = ImageIndex::Invalid
VisualColorStyleIndex colorStyleIndex {}
 Background ColorStyle override (solid or gradient); Invalid uses the box style's background.

Member Data Documentation

◆ id

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

◆ eventHandler

EventHandler tachyon::Element::eventHandler

Per-frame input handler for immediate-mode widgets.

◆ textID

TextID tachyon::Element::textID = TextID::Invalid

◆ iconID

IconID tachyon::Element::iconID = IconID::Invalid

◆ styleRef

StyleRef tachyon::Element::styleRef {}

◆ monitorIndex

int16_t tachyon::Element::monitorIndex = -1

window elements only: the monitor the window is on

◆ flags

ElementFlags tachyon::Element::flags = ElementFlags::None

◆ state

ElementState tachyon::Element::state = ElementState::None

◆ backgroundImage

ImageIndex tachyon::Element::backgroundImage = ImageIndex::Invalid

◆ colorStyleIndex

VisualColorStyleIndex tachyon::Element::colorStyleIndex {}

Background ColorStyle override (solid or gradient); Invalid uses the box style's background.


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