Drawing buffer and state for animations.
More...
#include <BoardCanvas.hpp>
|
|
wxBitmap * | buffer |
| | Temporary buffer to reduce latency.
|
| |
|
bool | animate |
| | Should animation be played on refresh?
|
| |
|
int | frame |
| | Current animated frame.
|
| |
|
int | frames |
| | Total number of frames for the animation.
|
| |
|
int | duration |
| | Animation durations (in ms)
|
| |
|
int | duration_fast |
| |
|
std::uint8_t | fps |
| | Animation FPS.
|
| |
|
char | piece_moved |
| | Current animated piece.
|
| |
|
wxPoint | src |
| | Starting point of the animated piece.
|
| |
|
wxPoint | transVect |
| | Translation vector of the animated piece.
|
| |
Drawing buffer and state for animations.
The documentation for this struct was generated from the following file:
- /home/loic/Documents/Git/ochess/src/game_tab/left_panel/board/BoardCanvas.hpp