diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-28 14:02:02 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-28 14:02:02 +0100 |
| commit | 81d7a419624e79ec3fa6c4bcb52fccaa6004065b (patch) | |
| tree | 5ec6cd8fee592e8e9feca9f140a8d722f03f4608 /src/gui.h | |
| parent | bf485fa577a76731f9eac97de3b0a647cd492e49 (diff) | |
Improve game tab left panel
Diffstat (limited to 'src/gui.h')
| -rw-r--r-- | src/gui.h | 35 |
1 files changed, 31 insertions, 4 deletions
@@ -36,6 +36,7 @@ #include <wx/clrpicker.h> #include <wx/checkbox.h> #include <wx/splitter.h> +#include <wx/bmpbuttn.h> #include <wx/notebook.h> /////////////////////////////////////////////////////////////////////////// @@ -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 @@ -244,6 +249,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 /////////////////////////////////////////////////////////////////////////////// class TabGameRightPanel : public wxPanel |
