aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/left_panel/GameTabLeftPanel.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-11 11:56:21 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-11 11:56:21 +0100
commitd2f078adb5293536d4c33718923a083f2e4de7fb (patch)
tree8a7137a28eb1f8e501b0f14d4ed8e1663d940f8f /src/game_tab/left_panel/GameTabLeftPanel.hpp
parent93c7cb3d24a2827e776d11d49ee6e5364548f064 (diff)
Improve the binding between LiveEngineDialog and BoardCanvas
Diffstat (limited to 'src/game_tab/left_panel/GameTabLeftPanel.hpp')
-rw-r--r--src/game_tab/left_panel/GameTabLeftPanel.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game_tab/left_panel/GameTabLeftPanel.hpp b/src/game_tab/left_panel/GameTabLeftPanel.hpp
index d438dc6..fe4176e 100644
--- a/src/game_tab/left_panel/GameTabLeftPanel.hpp
+++ b/src/game_tab/left_panel/GameTabLeftPanel.hpp
@@ -18,6 +18,7 @@ class GameTabLeftPanel : public TabGameLeftPanel {
std::string promote_on;
std::string promotion_move;
float eval_cp;
+ bool is_engine_on;
public:
GameTabLeftPanel(wxFrame *parent, std::shared_ptr<Game> game);
@@ -28,4 +29,5 @@ public:
void ApplyPreferences();
void SetSaveToolEnable(bool state){game_toolbar->EnableTool(0,state);};
void SetEngineEvaluation(EngineEvaluation eval);
+ void SetLiveEngineState(bool isOn);
}; \ No newline at end of file