|
TachyonUI 1.1.0
High-performance UI for building tools.
|
State of one label group, kept across frames by group ID. More...
#include <gui_controls/subsystems/gui_label_group_subsystem.h>
Public Attributes | |
| int32_t | labelWidth = 120 |
| shared label width, CSS px | |
| int32_t | defaultWidth = 120 |
| the width it starts at; one still at it has nothing to keep | |
| int32_t | minWidth = 40 |
| CSS px. | |
| int32_t | maxWidth = 500 |
| CSS px. | |
| bool | resizable = true |
| false: the width fits the widest label instead | |
| bool | edgeHovered = false |
| a label's resize edge is hovered | |
| Gesture< int32_t > | edgeDrag |
| a label's resize edge dragged; the width as it was, put back by Escape | |
| bool | anyLabelHovered = false |
| transient: set during construction if any label has hover | |
| std::vector< tachyon::TextID > | labelTextIDs |
| transient: rebuilt each frame for auto-size | |
| int32_t | maxLabelWidthThisFrame = 0 |
| transient: widest label (pixels), for auto-width | |
| std::vector< tachyon::ElementRef > | labelRefs |
| transient: this frame's labels, in order | |
| uint64_t | lastUsedFrame = 0 |
| the frame it was last begun in | |
| int32_t tachyon::LabelGroupSubsystem::State::labelWidth = 120 |
shared label width, CSS px
| int32_t tachyon::LabelGroupSubsystem::State::defaultWidth = 120 |
the width it starts at; one still at it has nothing to keep
| int32_t tachyon::LabelGroupSubsystem::State::minWidth = 40 |
CSS px.
| int32_t tachyon::LabelGroupSubsystem::State::maxWidth = 500 |
CSS px.
| bool tachyon::LabelGroupSubsystem::State::resizable = true |
false: the width fits the widest label instead
| bool tachyon::LabelGroupSubsystem::State::edgeHovered = false |
a label's resize edge is hovered
| Gesture<int32_t> tachyon::LabelGroupSubsystem::State::edgeDrag |
a label's resize edge dragged; the width as it was, put back by Escape
| bool tachyon::LabelGroupSubsystem::State::anyLabelHovered = false |
transient: set during construction if any label has hover
| std::vector<tachyon::TextID> tachyon::LabelGroupSubsystem::State::labelTextIDs |
transient: rebuilt each frame for auto-size
| int32_t tachyon::LabelGroupSubsystem::State::maxLabelWidthThisFrame = 0 |
transient: widest label (pixels), for auto-width
| std::vector<tachyon::ElementRef> tachyon::LabelGroupSubsystem::State::labelRefs |
transient: this frame's labels, in order
| uint64_t tachyon::LabelGroupSubsystem::State::lastUsedFrame = 0 |
the frame it was last begun in