aboutsummaryrefslogtreecommitdiff
path: root/src/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.cpp')
-rw-r--r--src/gui.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gui.cpp b/src/gui.cpp
index 6d76c61..9091001 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -421,6 +421,37 @@ TabBase::~TabBase()
{
}
+TabGameLeftPanel::TabGameLeftPanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
+{
+ main_sizer = new wxBoxSizer( wxVERTICAL );
+
+ wxBoxSizer* bar_sizer;
+ bar_sizer = new wxBoxSizer( wxHORIZONTAL );
+
+ swap_button = new wxBitmapButton( this, SWAP_BTN, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
+ bar_sizer->Add( swap_button, 0, wxALL|wxEXPAND, 5 );
+
+ zoomin_button = new wxBitmapButton( this, ZOOM_IN_BTN, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
+ bar_sizer->Add( zoomin_button, 0, wxALL|wxEXPAND, 5 );
+
+ zoomout_button = new wxBitmapButton( this, ZOOM_OUT_BTN, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
+ bar_sizer->Add( zoomout_button, 0, wxALL|wxEXPAND, 5 );
+
+ copy_fen_button = new wxButton( this, COPY_FEN_BTN, wxT("Copy FEN"), wxDefaultPosition, wxDefaultSize, 0 );
+ bar_sizer->Add( copy_fen_button, 0, wxALL|wxEXPAND, 5 );
+
+
+ main_sizer->Add( bar_sizer, 0, wxEXPAND, 5 );
+
+
+ this->SetSizer( main_sizer );
+ this->Layout();
+}
+
+TabGameLeftPanel::~TabGameLeftPanel()
+{
+}
+
TabGameRightPanel::TabGameRightPanel( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
{
wxBoxSizer* main_sizer;