GGUI::GGStyleScope struct

Rules and tokens that reach only the elements carrying a scope class: a widget asset's styles, the tokens a use gives it, or tokens set in code (ui.Tokens).

An element is in every scope whose class it carries; higher ranks win over lower ones and over the table itself.

Public variables

uint64_t Class
HashString of the scope class.
uint32_t Rank
higher wins
std::string Label
for tools
std::shared_ptr<const StyleTable> Sheet
its rules and tokens