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

Dense style: every property has a concrete value. More...

#include <Style.hpp>

Static Public Member Functions

static ComputedStyle from (const Style &s, const ComputedStyle *parent=nullptr, const Style *root=nullptr)
 Build a ComputedStyle from a sparse Style and its context.

Public Attributes

SharedVector< TransitionSpec > transitions
SharedVector< AnimationRef > animations
SharedPropMap customProps

Detailed Description

Dense style: every property has a concrete value.

Examples
12_effects_canvas/main.cpp.

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