|
TachyonUI 0.1.0
High-performance UI for building tools.
|
The text part of one state of a registered Style, in pixels. More...
#include <gui_core/style/gui_style.h>
Public Member Functions | |
| uint64_t | GetHashCode () const noexcept |
| bool | operator== (const VisualTextStyle &other) const noexcept |
Public Attributes | |
| TextStyle | textStyle {} |
| in pixels | |
| VisualColorStyleIndex | textColorIndex = VisualColorStyleIndex::Invalid |
| registered text color | |
| VisualColorStyleIndex | iconColorIndex = VisualColorStyleIndex::Invalid |
| the text color unless set | |
| VisualColorStyleIndex | decorationColorIndex [4] |
| Per DecorationLine; the text color unless set. | |
| uint16_t | iconTextGap = 0 |
| space between icon and text, pixels | |
| uint16_t | iconSize = 0 |
| icon size in pixels; 0 = its natural size | |
| int16_t | iconOffsetY = 0 |
| vertical nudge of the icon in pixels; positive = up | |
| IconSide | iconSide = IconSide::Left |
| see Style::iconSide | |
| VisualShadow | textShadows [kMaxTextShadows] {} |
| see StyleState::textShadow | |
The text part of one state of a registered Style, in pixels.
How the text block sits in its box is LayoutStyle::textLayoutStyle.
|
inlinenoexcept |
|
inlinenoexcept |
| TextStyle tachyon::VisualTextStyle::textStyle {} |
in pixels
| VisualColorStyleIndex tachyon::VisualTextStyle::textColorIndex = VisualColorStyleIndex::Invalid |
registered text color
| VisualColorStyleIndex tachyon::VisualTextStyle::iconColorIndex = VisualColorStyleIndex::Invalid |
the text color unless set
| VisualColorStyleIndex tachyon::VisualTextStyle::decorationColorIndex[4] |
Per DecorationLine; the text color unless set.
| uint16_t tachyon::VisualTextStyle::iconTextGap = 0 |
space between icon and text, pixels
| uint16_t tachyon::VisualTextStyle::iconSize = 0 |
icon size in pixels; 0 = its natural size
| int16_t tachyon::VisualTextStyle::iconOffsetY = 0 |
vertical nudge of the icon in pixels; positive = up
| IconSide tachyon::VisualTextStyle::iconSide = IconSide::Left |
see Style::iconSide
| VisualShadow tachyon::VisualTextStyle::textShadows[kMaxTextShadows] {} |