aboutsummaryrefslogtreecommitdiff
path: root/src/gui.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-23 14:21:33 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-23 14:21:33 +0100
commit42ca3ee005118f656f29190120c68f99692ab1be (patch)
treeec21491c1fa44bcd76bd47c28625af4bd76219c0 /src/gui.cpp
parent6291b5490490084d0a8ffd1c6f0ae11dc9b537dc (diff)
Update GUI
Diffstat (limited to 'src/gui.cpp')
-rw-r--r--src/gui.cpp90
1 files changed, 54 insertions, 36 deletions
diff --git a/src/gui.cpp b/src/gui.cpp
index 897ef15..f706a5e 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487)
+// C++ code generated with wxFormBuilder (version 3.10.1-88b0f50)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
@@ -375,42 +375,9 @@ TabBase::TabBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxS
wxBoxSizer* main_sizer;
main_sizer = new wxBoxSizer( wxVERTICAL );
- wxBoxSizer* top_sizer;
- top_sizer = new wxBoxSizer( wxHORIZONTAL );
-
- current_base = new wxStaticText( this, wxID_ANY, wxT("unknown"), wxDefaultPosition, wxDefaultSize, 0 );
- current_base->Wrap( -1 );
- top_sizer->Add( current_base, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
-
- save_button = new wxButton( this, ID_SAVE_BUTTON, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
- top_sizer->Add( save_button, 0, wxALL, 5 );
-
- export_button = new wxButton( this, ID_EXPORT_BUTTON, wxT("Export"), wxDefaultPosition, wxDefaultSize, 0 );
- top_sizer->Add( export_button, 0, wxALL, 5 );
-
-
- main_sizer->Add( top_sizer, 0, wxEXPAND, 5 );
-
- separator_1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
- main_sizer->Add( separator_1, 0, wxEXPAND | wxALL, 5 );
-
- wxBoxSizer* bottom_sizer;
- bottom_sizer = new wxBoxSizer( wxHORIZONTAL );
-
-
- bottom_sizer->Add( 0, 0, 1, wxEXPAND, 5 );
-
- import_button = new wxButton( this, ID_IMPORT_BUTTON, wxT("Import games"), wxDefaultPosition, wxDefaultSize, 0 );
- bottom_sizer->Add( import_button, 0, wxALL, 5 );
-
- delete_button = new wxButton( this, ID_DELETE_BUTTON, wxT("Delete selection"), wxDefaultPosition, wxDefaultSize, 0 );
- bottom_sizer->Add( delete_button, 0, wxALL, 5 );
-
-
- main_sizer->Add( bottom_sizer, 0, wxEXPAND, 5 );
+ notebook = new wxAuiNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_NB_DEFAULT_STYLE );
- game_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT );
- main_sizer->Add( game_list, 1, wxALL|wxEXPAND, 5 );
+ main_sizer->Add( notebook, 1, wxEXPAND | wxALL, 5 );
this->SetSizer( main_sizer );
@@ -550,3 +517,54 @@ TabGameRightPanel::TabGameRightPanel( wxWindow* parent, wxWindowID id, const wxP
TabGameRightPanel::~TabGameRightPanel()
{
}
+
+TabBase_TabGames::TabBase_TabGames( 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 );
+
+ current_base = new wxStaticText( this, wxID_ANY, wxT("unknown"), wxDefaultPosition, wxDefaultSize, 0 );
+ current_base->Wrap( -1 );
+ top_sizer->Add( current_base, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ save_button = new wxButton( this, ID_SAVE_BUTTON, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
+ top_sizer->Add( save_button, 0, wxALL, 5 );
+
+ export_button = new wxButton( this, ID_EXPORT_BUTTON, wxT("Export"), wxDefaultPosition, wxDefaultSize, 0 );
+ top_sizer->Add( export_button, 0, wxALL, 5 );
+
+
+ main_sizer->Add( top_sizer, 0, wxEXPAND, 5 );
+
+ separator_1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
+ main_sizer->Add( separator_1, 0, wxEXPAND | wxALL, 5 );
+
+ wxBoxSizer* bottom_sizer;
+ bottom_sizer = new wxBoxSizer( wxHORIZONTAL );
+
+
+ bottom_sizer->Add( 0, 0, 1, wxEXPAND, 5 );
+
+ import_button = new wxButton( this, ID_IMPORT_BUTTON, wxT("Import games"), wxDefaultPosition, wxDefaultSize, 0 );
+ bottom_sizer->Add( import_button, 0, wxALL, 5 );
+
+ delete_button = new wxButton( this, ID_DELETE_BUTTON, wxT("Delete selection"), wxDefaultPosition, wxDefaultSize, 0 );
+ bottom_sizer->Add( delete_button, 0, wxALL, 5 );
+
+
+ main_sizer->Add( bottom_sizer, 0, wxEXPAND, 5 );
+
+ game_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT );
+ main_sizer->Add( game_list, 1, wxALL|wxEXPAND, 5 );
+
+
+ this->SetSizer( main_sizer );
+ this->Layout();
+}
+
+TabBase_TabGames::~TabBase_TabGames()
+{
+}