![]() |
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 6 of file Animation.hpp.
| Chesto::Animation::Animation | ( | int | startTime, |
| int | duration, | ||
| std::function< void(float)> | onStep, | ||
| std::function< void()> | onFinish | ||
| ) |
Definition at line 6 of file Animation.cpp.
| bool Chesto::Animation::isFinished | ( | ) |
Definition at line 13 of file Animation.cpp.
| bool Chesto::Animation::step | ( | ) |
Definition at line 17 of file Animation.cpp.
| int Chesto::Animation::duration = 0 |
Definition at line 14 of file Animation.hpp.
| std::function<void()> Chesto::Animation::onFinish = NULL |
Definition at line 16 of file Animation.hpp.
| std::function<void(float)> Chesto::Animation::onStep = NULL |
Definition at line 15 of file Animation.hpp.
| int Chesto::Animation::startTime = 0 |
Definition at line 13 of file Animation.hpp.