|
TachyonUI 0.1.0
High-performance UI for building tools.
|
What a state draws on the CPU only: its shadows and its opacity. More...
#include <gui_core/style/gui_style.h>
Public Member Functions | |
| bool | operator== (const VisualShadowStyle &) const noexcept=default |
Public Attributes | |
| VisualShadow | layers [kMaxBoxShadows] {} |
| the state's box-shadow layers | |
| VisualShadow | ring {} |
| the focus ring (Style::focusRing) | |
| uint32_t | insetRing = 0 |
| 1 + flat GPU index of the outline's box style, 0 = none | |
| float | opacity = -1.0f |
| StyleState::opacity; below 0 = not set. | |
What a state draws on the CPU only: its shadows and its opacity.
The ring is drawn only while focus is from the keyboard, outside the box or, for an inset ring, as a border-only box style over it.
|
defaultnoexcept |
| VisualShadow tachyon::VisualShadowStyle::layers[kMaxBoxShadows] {} |
the state's box-shadow layers
| VisualShadow tachyon::VisualShadowStyle::ring {} |
the focus ring (Style::focusRing)
| uint32_t tachyon::VisualShadowStyle::insetRing = 0 |
1 + flat GPU index of the outline's box style, 0 = none
| float tachyon::VisualShadowStyle::opacity = -1.0f |
StyleState::opacity; below 0 = not set.