OChess v0.0.2
Programmer's Manual
AnimState Struct Reference

Drawing buffer and state for animations. More...

#include <BoardCanvas.hpp>

Public Attributes

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.
 

Detailed Description

Drawing buffer and state for animations.


The documentation for this struct was generated from the following file: