aboutsummaryrefslogtreecommitdiff
path: root/src/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.cpp')
-rw-r--r--src/gui.cpp48
1 files changed, 47 insertions, 1 deletions
diff --git a/src/gui.cpp b/src/gui.cpp
index f706a5e..c14d000 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -375,7 +375,7 @@ TabBase::TabBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxS
wxBoxSizer* main_sizer;
main_sizer = new wxBoxSizer( wxVERTICAL );
- notebook = new wxAuiNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_NB_DEFAULT_STYLE );
+ notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
main_sizer->Add( notebook, 1, wxEXPAND | wxALL, 5 );
@@ -568,3 +568,49 @@ TabBase_TabGames::TabBase_TabGames( wxWindow* parent, wxWindowID id, const wxPoi
TabBase_TabGames::~TabBase_TabGames()
{
}
+
+TabBase_TabImport::TabBase_TabImport( 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;
+ main_sizer = new wxBoxSizer( wxVERTICAL );
+
+ wxBoxSizer* top_sizer;
+ top_sizer = new wxBoxSizer( wxHORIZONTAL );
+
+ from_game_label = new wxStaticText( this, wxID_ANY, wxT("From opened games:"), wxDefaultPosition, wxDefaultSize, 0 );
+ from_game_label->Wrap( -1 );
+ top_sizer->Add( from_game_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ m_comboBox1 = new wxComboBox( this, wxID_ANY, wxT("Combo!"), wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
+ top_sizer->Add( m_comboBox1, 100, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ import_from_game_button = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
+ top_sizer->Add( import_from_game_button, 0, wxALL, 5 );
+
+
+ main_sizer->Add( top_sizer, 1, wxEXPAND, 5 );
+
+ m_staticline4 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
+ main_sizer->Add( m_staticline4, 0, wxEXPAND | wxALL, 5 );
+
+ wxBoxSizer* bottom_sizer;
+ bottom_sizer = new wxBoxSizer( wxHORIZONTAL );
+
+ from_db_label = new wxStaticText( this, wxID_ANY, wxT("From opened databases:"), wxDefaultPosition, wxDefaultSize, 0 );
+ from_db_label->Wrap( -1 );
+ bottom_sizer->Add( from_db_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+
+ main_sizer->Add( bottom_sizer, 1, wxEXPAND, 5 );
+
+ game_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_ICON );
+ main_sizer->Add( game_list, 20, wxALL|wxEXPAND, 5 );
+
+
+ this->SetSizer( main_sizer );
+ this->Layout();
+}
+
+TabBase_TabImport::~TabBase_TabImport()
+{
+}