|
TachyonUI 0.1.0
High-performance UI for building tools.
|
A registered style, as StyleManager::Register returns it: indices into the shared style pools, cheap to copy. More...
#include <gui_core/style/gui_style_ref.h>
Public Member Functions | |
| bool | operator== (const StyleRef &rhs) const |
| bool | operator!= (const StyleRef &rhs) const |
Static Public Member Functions | |
| static constexpr StyleRef | Invalid () |
| A reference to no style (all indices Invalid). | |
Public Attributes | |
| LayoutStyleIndex | layoutStyleIndex = LayoutStyleIndex::Invalid |
| Index into layout style pool. | |
| VisualBoxStyleIndex | visualBoxStyleIndex = VisualBoxStyleIndex::Invalid |
| Index into visual box style pool. | |
| VisualTextStyleIndex | visualTextStyleIndex = VisualTextStyleIndex::Invalid |
| Index into visual text style pool. | |
A registered style, as StyleManager::Register returns it: indices into the shared style pools, cheap to copy.
A theme reload (StyleManager::ClearAll) invalidates it.
|
inlinestaticconstexpr |
A reference to no style (all indices Invalid).
|
inline |
|
inline |
| LayoutStyleIndex tachyon::StyleRef::layoutStyleIndex = LayoutStyleIndex::Invalid |
Index into layout style pool.
| VisualBoxStyleIndex tachyon::StyleRef::visualBoxStyleIndex = VisualBoxStyleIndex::Invalid |
Index into visual box style pool.
| VisualTextStyleIndex tachyon::StyleRef::visualTextStyleIndex = VisualTextStyleIndex::Invalid |
Index into visual text style pool.