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

One entry in the transitions list of a Style. More...

#include <Style.hpp>

Public Attributes

std::string prop
float duration {0.15f}
TransitionFunction ease {TransitionFunction::Linear}
float delay {0.0f}

Detailed Description

One entry in the transitions list of a Style.

The prop string matches the macro-expanded field name ("opacity", "background", …) or the wildcard "all". See StyleResolver::tick for how it is consumed.


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