lattribute.h Header
Types
| class | LAttribute | Represents a named value within the Layers theme framework. |
Type Aliases
| using | json | ordered_json preserves JSON object key (insertion) order so a style's child hierarchy can carry meaningful structural/layout ordering. Must stay consistent across lattribute.h / lstyle.h. |
| using | LVariant | Variant type that can hold attribute values. Can be: monostate (empty), double, bool, LString, or vector of LStrings. |
| using | LAttributeList | |
| using | LAttributeMap |
Type Alias Documentation
using json = nlohmann::ordered_json
ordered_json preserves JSON object key (insertion) order so a style's child hierarchy can carry meaningful structural/layout ordering. Must stay consistent across lattribute.h / lstyle.h.
using LVariant = std::variant<std::monostate, double, bool, LString, std::vector<LString>>
Variant type that can hold attribute values. Can be: monostate (empty), double, bool, LString, or vector of LStrings.
using LAttributeList = std::vector<LAttribute *>
No description available.
using LAttributeMap = std::map<LString, LAttribute *>
No description available.