Chesto 0.9
A declarative and element-based library for creating GUIs on homebrew'd consoles
|
Public Member Functions | |
Animation (int startTime, int duration, std::function< void(float)> onStep, std::function< void()> onFinish) | |
bool | isFinished () |
bool | step () |
Public Attributes | |
int | startTime = 0 |
int | duration = 0 |
std::function< void(float)> | onStep = NULL |
std::function< void()> | onFinish = NULL |
Definition at line 4 of file Animation.hpp.
Animation::Animation | ( | int | startTime, |
int | duration, | ||
std::function< void(float)> | onStep, | ||
std::function< void()> | onFinish | ||
) |
Definition at line 4 of file Animation.cpp.
bool Animation::isFinished | ( | ) |
Definition at line 11 of file Animation.cpp.
bool Animation::step | ( | ) |
Definition at line 15 of file Animation.cpp.
int Animation::duration = 0 |
Definition at line 12 of file Animation.hpp.
std::function<void()> Animation::onFinish = NULL |
Definition at line 14 of file Animation.hpp.
std::function<void(float)> Animation::onStep = NULL |
Definition at line 13 of file Animation.hpp.
int Animation::startTime = 0 |
Definition at line 11 of file Animation.hpp.