TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_style_manager.h File Reference
#include <gui_core/style/gui_style.h>
#include <gui_core/style/gui_style_ref.h>
#include <gui_core/style/gui_gradient_manager.h>
#include <stdint.h>
#include <deque>
#include <vector>
#include <unordered_map>

Go to the source code of this file.

Classes

struct  tachyon::TextOverride
 Per-element text overrides for StyleManager::WithTextOverride. More...
class  tachyon::StyleManager
 Bakes serializable Styles into deduplicated runtime layout/visual styles; a StyleRef holds indices into the (possibly shared) pools. More...
struct  tachyon::StyleManager::ChildStyleRefs
 A style's variants for where an element is among its parent's children. More...

Namespaces

namespace  tachyon

Typedefs

using tachyon::VisualBoxStyleStates = VisualBoxStyle[Style::kStateCount]
 A box style's variants, one per visual element state (Style::kStateCount).
using tachyon::VisualTextStyleStates = VisualTextStyle[Style::kStateCount]
 A text style's variants, one per visual element state (Style::kStateCount).

Enumerations

enum class  tachyon::StyleUnits : uint8_t { tachyon::StyleUnits::Css , tachyon::StyleUnits::Pixels }
 Units of a style's metrics: CSS pixels (scaled to the UI) or final pixels. More...