aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/BasePanelBF.cpp
blob: 59dd152890610cb93030377235f71af9ab5f0f0f (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
///////////////////////////////////////////////////////////////////////////
// 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_label = new wxStaticText( this, wxID_ANY, wxT("Current base:"), wxDefaultPosition, wxDefaultSize, 0 );
	current_base_label->Wrap( -1 );
	top_sizer->Add( current_base_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	current_base = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	top_sizer->Add( current_base, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	open_button = new wxButton( this, wxID_ANY, wxT("Open"), wxDefaultPosition, wxDefaultSize, 0 );
	top_sizer->Add( open_button, 0, wxALL, 5 );

	save_as_button = new wxButton( this, wxID_ANY, wxT("Save as"), wxDefaultPosition, wxDefaultSize, 0 );
	top_sizer->Add( save_as_button, 0, wxALL, 5 );


	main_sizer->Add( top_sizer, 0, wxEXPAND, 5 );

	game_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_ICON|wxLC_REPORT );
	main_sizer->Add( game_list, 1, wxALL|wxEXPAND, 5 );

	wxBoxSizer* bottom_sizer;
	bottom_sizer = new wxBoxSizer( wxHORIZONTAL );

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


	main_sizer->Add( bottom_sizer, 0, wxEXPAND, 5 );


	this->SetSizer( main_sizer );
	this->Layout();
}

BasePanelBF::~BasePanelBF()
{
}