|
ZenitUI
Retained-mode C++20 UI framework
|
Low-level animation types: imperative tracks, CSS keyframes, and the per-instance active animation state. More...
Go to the source code of this file.
Classes | |
| class | ZenitUI::UIAnimation |
| A time-parameterised sequence of per-property tracks. More... | |
| struct | ZenitUI::UIAnimation::TrackBase |
| Type-erased track interface. More... | |
| struct | ZenitUI::UIAnimation::Track< T > |
| Concrete typed track: start/end pair plus a setter. More... | |
| struct | ZenitUI::AnimState |
| Playback state for one UIAnimation on one node. More... | |
| struct | ZenitUI::Keyframe |
| One keyframe of a CSS animation: a normalized time and a sparse style delta. More... | |
| struct | ZenitUI::KeyframeAnimation |
| A named list of keyframes, keyed by name in Theme::keyframes. More... | |
| struct | ZenitUI::ActiveCssAnimation |
| Playback state for one CSS animation on one node. More... | |
Macros | |
| #define | X(T, name, def) |
Functions | |
| float | ZenitUI::sampleActive (const ActiveCssAnimation &a, bool &finished) |
| Sample the given CSS animation's local time without touching the cache. | |
| float | ZenitUI::sampleActiveCached (const ActiveCssAnimation &a, bool &finished) |
| Cached wrapper around sampleActive. | |
| Style | ZenitUI::evaluateKeyframes (const KeyframeAnimation &anim, float localT, TransitionFunction ease) |
Interpolate a KeyframeAnimation at local time localT. | |
Low-level animation types: imperative tracks, CSS keyframes, and the per-instance active animation state.
Two animation systems coexist:
The two systems share easing (Easing.hpp) and style interpolation (Style.hpp::lerpProp and friends) but are otherwise independent.
| #define X | ( | T, | |
| name, | |||
| def ) |