From 7fe3e6dee0b66bac61ae20c2e2cd8bcc843b8f5d Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 8 Jan 2023 12:26:38 +0100 Subject: Improve BoardCanvas --- src/game_tab/left_panel/board/BoardCanvas.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game_tab/left_panel/board/BoardCanvas.hpp') 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 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 -- cgit v1.2.3