mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Improve the binding between LiveEngineDialog and BoardCanvas
This commit is contained in:
parent
93c7cb3d24
commit
d2f078adb5
6 changed files with 45 additions and 27 deletions
|
@ -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);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue