From 81d7a419624e79ec3fa6c4bcb52fccaa6004065b Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 28 Feb 2022 14:02:02 +0100 Subject: Improve game tab left panel --- src/gui.h | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) (limited to 'src/gui.h') diff --git a/src/gui.h b/src/gui.h index 76d9614..6c52418 100644 --- a/src/gui.h +++ b/src/gui.h @@ -36,6 +36,7 @@ #include #include #include +#include #include /////////////////////////////////////////////////////////////////////////// @@ -49,10 +50,14 @@ #define ID_EXPORT_BUTTON 1006 #define ID_IMPORT_BUTTON 1007 #define ID_DELETE_BUTTON 1008 -#define COMMENT_INPUT_BOX 1009 -#define UPDATE_BTN 1010 -#define DELETE_BTN 1011 -#define LIVE_ANALYSIS_GAME_BUTTON 1012 +#define SWAP_BTN 1009 +#define ZOOM_IN_BTN 1010 +#define ZOOM_OUT_BTN 1011 +#define COPY_FEN_BTN 1012 +#define COMMENT_INPUT_BOX 1013 +#define UPDATE_BTN 1014 +#define DELETE_BTN 1015 +#define LIVE_ANALYSIS_GAME_BUTTON 1016 /////////////////////////////////////////////////////////////////////////////// /// Class MainFrame @@ -243,6 +248,28 @@ class TabBase : public wxPanel }; +/////////////////////////////////////////////////////////////////////////////// +/// Class TabGameLeftPanel +/////////////////////////////////////////////////////////////////////////////// +class TabGameLeftPanel : public wxPanel +{ + private: + + protected: + wxBoxSizer* main_sizer; + wxBitmapButton* swap_button; + wxBitmapButton* zoomin_button; + wxBitmapButton* zoomout_button; + wxButton* copy_fen_button; + + public: + + TabGameLeftPanel( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); + + ~TabGameLeftPanel(); + +}; + /////////////////////////////////////////////////////////////////////////////// /// Class TabGameRightPanel /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3