aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/left_panel/board/BoardCanvas.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-08 12:26:38 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-08 12:26:38 +0100
commit7fe3e6dee0b66bac61ae20c2e2cd8bcc843b8f5d (patch)
treea997d0eaf35e9d6a54d4655d21183f144b468312 /src/game_tab/left_panel/board/BoardCanvas.hpp
parent749455cf19d84a3657c3cddf04394ddff5a81ea8 (diff)
Improve BoardCanvas
Diffstat (limited to 'src/game_tab/left_panel/board/BoardCanvas.hpp')
-rw-r--r--src/game_tab/left_panel/board/BoardCanvas.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game_tab/left_panel/board/BoardCanvas.hpp b/src/game_tab/left_panel/board/BoardCanvas.hpp
index 6ef2957..0576f1d 100644
--- a/src/game_tab/left_panel/board/BoardCanvas.hpp
+++ b/src/game_tab/left_panel/board/BoardCanvas.hpp
@@ -42,8 +42,8 @@ typedef std::tuple<short, short, short> ClockTime;
typedef struct AnimState {
/// @brief Temporary buffer to reduce latency
wxBitmap *buffer;
- /// @brief Should *buffer be used?
- bool reuseBuffer;
+ /// @brief Should animation be played on refresh?
+ bool animate;
/// @brief Current animated frame
int frame;
/// @brief Total number of frames for the animation