mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Bind live engine analysis to BoardCanvas
This commit is contained in:
parent
30b7577ab3
commit
f4108bc06c
8 changed files with 42 additions and 2 deletions
|
@ -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);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue