Abstract UI animation advanced once per frame by UIAnimator.
More...
#include <UIAnimation.hpp>
Abstract UI animation advanced once per frame by UIAnimator.
Definition at line 24 of file UIAnimation.hpp.
◆ ~UIAnimation()
| virtual UIAnimation::~UIAnimation |
( |
| ) |
|
|
virtualdefault |
◆ UIAnimation() [1/3]
◆ UIAnimation() [2/3]
◆ UIAnimation() [3/3]
| UIAnimation::UIAnimation |
( |
| ) |
|
|
protecteddefault |
◆ applyRepeat()
| bool UIAnimation::applyRepeat |
( |
| ) |
|
|
inlineprotected |
Applies repeat policy after a completed cycle.
- Returns
- true if the animation should continue playing.
Definition at line 119 of file UIAnimation.hpp.
◆ cancel()
| void UIAnimation::cancel |
( |
| ) |
|
|
inline |
◆ isCancelled()
| bool UIAnimation::isCancelled |
( |
| ) |
const |
|
inline |
◆ isDone()
| bool UIAnimation::isDone |
( |
| ) |
const |
|
inline |
◆ isPaused()
| bool UIAnimation::isPaused |
( |
| ) |
const |
|
inline |
◆ onUpdate()
| virtual bool UIAnimation::onUpdate |
( |
ae::q20_12_t | dt | ) |
|
|
protectedpure virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ pause()
| void UIAnimation::pause |
( |
| ) |
|
|
inline |
◆ reset()
| virtual void UIAnimation::reset |
( |
| ) |
|
|
inlinevirtual |
◆ resume()
| void UIAnimation::resume |
( |
| ) |
|
|
inline |
◆ reverse()
| virtual void UIAnimation::reverse |
( |
| ) |
|
|
inlinevirtual |
◆ setRepeat()
| void UIAnimation::setRepeat |
( |
UIRepeatMode | mode, |
|
|
int | count = -1 ) |
|
inline |
◆ tick()
| bool UIAnimation::tick |
( |
ae::q20_12_t | dt | ) |
|
|
inline |
Advances the animation by dt seconds (Q20.12).
- Returns
- true if the animation is finished and may be removed.
Definition at line 38 of file UIAnimation.hpp.
◆ cancelled
| bool UIAnimation::cancelled = false |
|
protected |
◆ done
| bool UIAnimation::done = false |
|
protected |
◆ elapsed
| ae::q20_12_t UIAnimation::elapsed {0} |
|
protected |
◆ paused
| bool UIAnimation::paused = false |
|
protected |
◆ remainingRepeats
| int UIAnimation::remainingRepeats = -1 |
|
protected |
◆ repeatMode
The documentation for this class was generated from the following file: