Bind live engine analysis to BoardCanvas

This commit is contained in:
Loic Guegan 2023-01-09 16:36:48 +01:00
parent 30b7577ab3
commit f4108bc06c
8 changed files with 42 additions and 2 deletions

View file

@ -13,7 +13,8 @@ class GameTabLeftPanel : public TabGameLeftPanel {
BoardCanvas *board_canvas;
bool repeat;
HalfMove *last_move;
std::vector<std::string> engine_arrows;
public:
GameTabLeftPanel(wxFrame *parent, std::shared_ptr<Game> game);
void Notify(bool skip_animation=false);
@ -22,4 +23,5 @@ public:
void OnRefreshBoard(wxCommandEvent &event);
void ApplyPreferences();
void SetSaveToolEnable(bool state){game_toolbar->EnableTool(0,state);};
void SetEngineArrows(std::vector<std::string> arrows);
};