aboutsummaryrefslogtreecommitdiff
path: root/src/engine_tab/EngineTabBF.cpp
blob: e8cb18401af36785751d4e73f58af83c9e56958b (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
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 3.10.1-40-g8042f487)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "EngineTabBF.h"

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

EngineTabBF::EngineTabBF( 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* engine_name_sizer;
	engine_name_sizer = new wxBoxSizer( wxHORIZONTAL );

	engine_name_label = new wxStaticText( this, wxID_ANY, wxT("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
	engine_name_label->Wrap( -1 );
	engine_name_sizer->Add( engine_name_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	engine_name = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	engine_name_sizer->Add( engine_name, 1, wxALL, 5 );


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

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

	engine_location_label = new wxStaticText( this, wxID_ANY, wxT("Location:"), wxDefaultPosition, wxDefaultSize, 0 );
	engine_location_label->Wrap( -1 );
	engine_location_sizer->Add( engine_location_label, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	engine_location = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
	engine_location_sizer->Add( engine_location, 1, wxALL, 5 );


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

	separator_1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
	main_sizer->Add( separator_1, 0, wxEXPAND | wxALL, 5 );

	params_label = new wxStaticText( this, wxID_ANY, wxT("Parameters:"), wxDefaultPosition, wxDefaultSize, 0 );
	params_label->Wrap( -1 );
	main_sizer->Add( params_label, 0, wxALL, 5 );

	engine_parameters = new wxPropertyGrid(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxPG_DEFAULT_STYLE|wxPG_SPLITTER_AUTO_CENTER);
	main_sizer->Add( engine_parameters, 1, wxALL|wxEXPAND, 5 );

	save_button = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
	main_sizer->Add( save_button, 0, wxALL|wxEXPAND, 5 );


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

EngineTabBF::~EngineTabBF()
{
}