diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-09 18:38:19 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-09 18:38:19 +0100 |
| commit | d6ed30d276d0e2688051ed8d6fe542a331e5ac90 (patch) | |
| tree | 67bb2e67103451d5bb012956196b9bd8cade04ea /src/game_tab/left_panel/board/BoardCanvas.hpp | |
| parent | f4108bc06cd9fa1977267836e9176118e8863b57 (diff) | |
Improve engine arrows
Diffstat (limited to 'src/game_tab/left_panel/board/BoardCanvas.hpp')
| -rw-r--r-- | src/game_tab/left_panel/board/BoardCanvas.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game_tab/left_panel/board/BoardCanvas.hpp b/src/game_tab/left_panel/board/BoardCanvas.hpp index a764fee..553994c 100644 --- a/src/game_tab/left_panel/board/BoardCanvas.hpp +++ b/src/game_tab/left_panel/board/BoardCanvas.hpp @@ -97,9 +97,9 @@ class BoardCanvas : public wxPanel { GameState gs; /// @brief Draw an arrow from a source point to a destination point on DC - void DrawArrow(wxDC &dc, int xsrc, int ysrc, int xdst, int ydst); + void DrawArrow(wxDC &dc, int xsrc, int ysrc, int xdst, int ydst, std::uint8_t thickness=50); /// @brief Draw an arrow with a L shape (such as knight moves) - void DrawLArrow(wxDC &dc, int xsrc, int ysrc, int xdst, int ydst, bool flip=false); + void DrawLArrow(wxDC &dc, int xsrc, int ysrc, int xdst, int ydst, bool flip=false, std::uint8_t thickness=50); public: BoardCanvas(wxFrame *parent); |
