ZenitUI
Retained-mode C++20 UI framework
Loading...
Searching...
No Matches
ZenitUI::PropSpec Struct Reference

Executable + documentation descriptor for one ZStyle key. More...

#include <StyleSpecs.hpp>

Public Attributes

std::string_view name
 ZStyle key (kebab-case), e.g. "justify".
std::string_view group
 Reference section ("Sizing", "Flex", ...).
std::string_view syntax
 Value grammar (auto-derived for Keyword enums).
std::string_view example
 Valid literal value checked by tests.
std::vector< std::string_view > sets
 camelCase Style fields written by this key.
std::string_view description
 One or two sentences.
StyleApplyFn apply {nullptr}
 Executable parser for this key.
std::string_view prelude {}
 Required preceding declaration (e.g. transition longhands).
std::string_view defaultText {}
 Optional human-readable override for the default column.

Detailed Description

Executable + documentation descriptor for one ZStyle key.


The documentation for this struct was generated from the following file: