template<typename T>
GGUI::GGStyleValue struct

One rule property: unset, a literal value, or a token.

Public types

enum class Source: uint8_t { Unset, Value, Token }
Where its value comes from.

Constructors, destructors, conversion operators

GGStyleValue() defaulted
Unset.
GGStyleValue(T value)
A literal.
GGStyleValue(GGToken token)
A token.

Public functions

auto IsSet() const -> bool
Whether the rule sets it.

Public variables

Source Kind
where its value comes from
T Fixed
the literal
uint64_t Named
the token's name hash

Enum documentation

template<typename T>
enum class GGUI::GGStyleValue<T>::Source: uint8_t

Where its value comes from.

Enumerators
Unset

the rule doesn't set it

Value

Fixed.

Token

the token Named