mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Debug and clean the game tab code
This commit is contained in:
parent
1eb91c5926
commit
5607057ac3
9 changed files with 89 additions and 121 deletions
|
@ -8,11 +8,9 @@
|
|||
// Foreign events
|
||||
wxDECLARE_EVENT(GAME_CHANGE, wxCommandEvent);
|
||||
|
||||
|
||||
class GameTabLeftPanel : public TabGameLeftPanel {
|
||||
std::shared_ptr<Game> game;
|
||||
BoardCanvas *board_canvas;
|
||||
void NotifyEditor();
|
||||
std::string last_absolute_move;
|
||||
bool repeat;
|
||||
|
||||
|
@ -21,11 +19,6 @@ public:
|
|||
void Notify(bool animate=false,bool backward=false);
|
||||
void OnPlay(wxCommandEvent &event);
|
||||
void OnGotoMove(wxCommandEvent &event);
|
||||
void PreviousMove(bool isKeyDown);
|
||||
void NextMove(bool isKeyDown);
|
||||
void OnZoomIn(wxCommandEvent &event);
|
||||
void OnZoomOut(wxCommandEvent &event);
|
||||
void OnSwap(wxCommandEvent &event);
|
||||
void OnRefreshBoard(wxCommandEvent &event);
|
||||
void ApplyPreferences();
|
||||
void DisableSaveTool(){game_toolbar->EnableTool(0,false);};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue