|
persona-3-dual
A DS demake of Persona 3
|
Owns and ticks active UI animations. Safe against cancel-during-tick. More...
#include <UIAnimator.hpp>
Public Member Functions | |
| template<typename T> | |
| UIPropertyAnimationBuilder< T > | animate (T &target) |
| template<typename T> | |
| UIPropertyAnimationBuilder< T > | animate (UIAnimated< T > &target) |
| UISequenceBuilder | sequence () |
| UIAnimationHandle | play (std::shared_ptr< UIAnimation > anim) |
| std::shared_ptr< UIAnimation > | call (std::function< void()> fn) |
| std::shared_ptr< UIAnimation > | delay (int ms) |
| void | update (ae::q20_12_t dt) |
Advances all active animations by dt seconds (Q20.12). | |
| void | cancelAll () |
Static Public Attributes | |
| static constexpr std::size_t | MAX_ACTIVE_ANIMATIONS = 8 |
Private Attributes | |
| etl::vector< std::shared_ptr< UIAnimation >, MAX_ACTIVE_ANIMATIONS > | active |
| etl::vector< std::shared_ptr< UIAnimation >, MAX_ACTIVE_ANIMATIONS > | pendingPlay |
| bool | updating = false |
| bool | pendingCancelAll = false |
Owns and ticks active UI animations. Safe against cancel-during-tick.
Definition at line 24 of file UIAnimator.hpp.
|
inline |
Definition at line 29 of file UIAnimator.hpp.
|
inline |
|
inline |
Definition at line 69 of file UIAnimator.hpp.
|
inline |
Definition at line 122 of file UIAnimator.hpp.
|
inline |
Definition at line 74 of file UIAnimator.hpp.
|
inline |
Definition at line 44 of file UIAnimator.hpp.
|
inline |
Definition at line 39 of file UIAnimator.hpp.
|
inline |
Advances all active animations by dt seconds (Q20.12).
Definition at line 82 of file UIAnimator.hpp.
|
private |
Definition at line 140 of file UIAnimator.hpp.
|
staticconstexpr |
Definition at line 27 of file UIAnimator.hpp.
|
private |
Definition at line 143 of file UIAnimator.hpp.
|
private |
Definition at line 141 of file UIAnimator.hpp.
|
private |
Definition at line 142 of file UIAnimator.hpp.