aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/left_panel/GameTabLeftPanel.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-09 16:36:48 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-09 16:36:48 +0100
commitf4108bc06cd9fa1977267836e9176118e8863b57 (patch)
tree3cd663f6547c6915d4f0fe8cf137fe68a9a1bec4 /src/game_tab/left_panel/GameTabLeftPanel.hpp
parent30b7577ab321e70b5ebb2c4ec1b9edfe1d3c0a44 (diff)
Bind live engine analysis to BoardCanvas
Diffstat (limited to 'src/game_tab/left_panel/GameTabLeftPanel.hpp')
-rw-r--r--src/game_tab/left_panel/GameTabLeftPanel.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game_tab/left_panel/GameTabLeftPanel.hpp b/src/game_tab/left_panel/GameTabLeftPanel.hpp
index 578f8c4..2dec70d 100644
--- a/src/game_tab/left_panel/GameTabLeftPanel.hpp
+++ b/src/game_tab/left_panel/GameTabLeftPanel.hpp
@@ -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);
}; \ No newline at end of file