mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Implement pieces move animations
This commit is contained in:
parent
7187e6d6ee
commit
3efabf1c33
10 changed files with 160 additions and 53 deletions
|
@ -12,14 +12,16 @@ class GameTabLeftPanel : public TabGameLeftPanel {
|
|||
std::shared_ptr<Game> game;
|
||||
BoardCanvas *board_canvas;
|
||||
void NotifyEditor();
|
||||
|
||||
std::string last_absolute_move;
|
||||
bool repeat;
|
||||
|
||||
public:
|
||||
GameTabLeftPanel(wxFrame *parent, std::shared_ptr<Game> game);
|
||||
void Notify(bool animate=false);
|
||||
void Notify(bool animate=false,bool backward=false);
|
||||
void OnPlay(wxCommandEvent &event);
|
||||
void OnGotoMove(wxCommandEvent &event);
|
||||
void OnPreviousMove(wxCommandEvent &event);
|
||||
void OnNextMove(wxCommandEvent &event);
|
||||
void PreviousMove(bool isKeyDown);
|
||||
void NextMove(bool isKeyDown);
|
||||
void OnZoomIn(wxCommandEvent &event);
|
||||
void OnZoomOut(wxCommandEvent &event);
|
||||
void OnSwap(wxCommandEvent &event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue