Improve the binding between LiveEngineDialog and BoardCanvas

This commit is contained in:
Loic Guegan 2023-01-11 11:56:21 +01:00
parent 93c7cb3d24
commit d2f078adb5
6 changed files with 45 additions and 27 deletions

View file

@ -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);
};