|
TachyonUI 0.1.0
High-performance UI for building tools.
|
#include <gui_core/elements/gui_element.h>
Public Attributes | |
| IntRect | rect {} |
| Computed during layout. | |
| IntRect | innerRect {} |
| Padding box (screen space). | |
| IntRect | clipRect {} |
| Clip bounds (screen space). | |
| IntRect | contentBounds {} |
| Bounds of all children (parent-local space). | |
| int2 | scrollOffset {} |
| LayoutOverride | constraints |
| const LayoutStyle * | layoutStyle {nullptr} |
| float3x2 | contentTransform |
| Applied to children at render/hit-test time; layout ignores it except for scroll clamping. | |
| int16_t | monitorIndex = -1 |
| window elements only: the monitor the window is on | |
| ElementFlags | flags = ElementFlags::None |
| Display | display {} |
| uint16_t | wrapLineIndex = 0 |
| row-wrap line, set by horizontal and read by vertical positioning | |
| int16_t | minContentWidth = 0 |
| Leaf with visibly overflowing text: the margin box width flex shrink stops at (CSS min-content). | |
| int32_t | anchorTargetX = 0 |
| Anchored X: the target's x when X was placed (flipped or clamped to the screen). | |
| int2 tachyon::ElementRect::scrollOffset {} |
| LayoutOverride tachyon::ElementRect::constraints |
| const LayoutStyle* tachyon::ElementRect::layoutStyle {nullptr} |
| float3x2 tachyon::ElementRect::contentTransform |
Applied to children at render/hit-test time; layout ignores it except for scroll clamping.
| int16_t tachyon::ElementRect::monitorIndex = -1 |
window elements only: the monitor the window is on
| ElementFlags tachyon::ElementRect::flags = ElementFlags::None |
| Display tachyon::ElementRect::display {} |
| uint16_t tachyon::ElementRect::wrapLineIndex = 0 |
row-wrap line, set by horizontal and read by vertical positioning
| int16_t tachyon::ElementRect::minContentWidth = 0 |
Leaf with visibly overflowing text: the margin box width flex shrink stops at (CSS min-content).
| int32_t tachyon::ElementRect::anchorTargetX = 0 |
Anchored X: the target's x when X was placed (flipped or clamped to the screen).
A target that scrolls after that moves it by as much.