aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/BasePanelBF.cpp
blob: 4c25cf95dfa3dc0638019e901d2fa5744e766d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "BasePanelBF.h"

///////////////////////////////////////////////////////////////////////////

BasePanelBF::BasePanelBF( 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, wxID_ANY, 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 );

	append_choice_label = new wxStaticText( this, wxID_ANY, wxT("Import games from:"), wxDefaultPosition, wxDefaultSize, 0 );
	append_choice_label->Wrap( -1 );
	bottom_sizer->Add( append_choice_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	wxArrayString append_choiceChoices;
	append_choice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, append_choiceChoices, 0 );
	append_choice->SetSelection( 0 );
	bottom_sizer->Add( append_choice, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	append_button = new wxButton( this, wxID_ANY, wxT("Append"), wxDefaultPosition, wxDefaultSize, 0 );
	bottom_sizer->Add( append_button, 0, wxALL, 5 );


	bottom_sizer->Add( 0, 0, 1, wxEXPAND, 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();
}

BasePanelBF::~BasePanelBF()
{
}