|
ZenitUI
Retained-mode C++20 UI framework
|
Concrete typed track: start/end pair plus a setter. More...
#include <AnimPrimitives.hpp>
Public Member Functions | |
| Track (T s, T e, std::function< void(Layout *, T)> setter, TransitionFunction tr) | |
| void | apply (float raw_t, Layout *target) override |
Advance the track to normalized time raw_t. | |
Public Attributes | |
| T | start_val |
| T | end_val |
| std::function< void(Layout *, T)> | setter |
| TransitionFunction | transition |
Concrete typed track: start/end pair plus a setter.
|
inlineoverridevirtual |
Advance the track to normalized time raw_t.
Implements ZenitUI::UIAnimation::TrackBase.