2013-08-28 16:14:39 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-01-09 13:49:20 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2013-08-28 16:14:39 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-06-14 08:26:11 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-08-28 16:14:39 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_target_properties_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
DIALOG_TARGET_PROPERTIES_BASE::DIALOG_TARGET_PROPERTIES_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
|
2013-08-28 16:14:39 +00:00
|
|
|
{
|
|
|
|
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2013-08-28 16:14:39 +00:00
|
|
|
wxBoxSizer* bSizerMain;
|
|
|
|
bSizerMain = new wxBoxSizer( wxVERTICAL );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2013-08-28 16:14:39 +00:00
|
|
|
wxBoxSizer* bSizerUpper;
|
|
|
|
bSizerUpper = new wxBoxSizer( wxVERTICAL );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2013-08-28 16:14:39 +00:00
|
|
|
wxFlexGridSizer* fgSizer;
|
|
|
|
fgSizer = new wxFlexGridSizer( 0, 3, 0, 0 );
|
|
|
|
fgSizer->AddGrowableCol( 1 );
|
|
|
|
fgSizer->SetFlexibleDirection( wxBOTH );
|
|
|
|
fgSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_sizeLabel = new wxStaticText( this, wxID_ANY, _("Size:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_sizeLabel->Wrap( -1 );
|
|
|
|
fgSizer->Add( m_sizeLabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_sizeCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer->Add( m_sizeCtrl, 0, wxALL|wxEXPAND, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_sizeUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_sizeUnits->Wrap( -1 );
|
|
|
|
fgSizer->Add( m_sizeUnits, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxRIGHT, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_thicknessLabel = new wxStaticText( this, wxID_ANY, _("Thickness:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_thicknessLabel->Wrap( -1 );
|
|
|
|
fgSizer->Add( m_thicknessLabel, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_thicknessCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer->Add( m_thicknessCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_thicknessUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_thicknessUnits->Wrap( -1 );
|
|
|
|
fgSizer->Add( m_thicknessUnits, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2017-07-03 08:38:01 +00:00
|
|
|
m_staticTextShape = new wxStaticText( this, wxID_ANY, _("Shape:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-08-28 16:14:39 +00:00
|
|
|
m_staticTextShape->Wrap( -1 );
|
2013-11-18 17:52:18 +00:00
|
|
|
fgSizer->Add( m_staticTextShape, 0, wxTOP|wxBOTTOM|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-04-02 14:09:26 +00:00
|
|
|
wxString m_TargetShapeChoices[] = { _("+"), _("X") };
|
2013-11-18 17:52:18 +00:00
|
|
|
int m_TargetShapeNChoices = sizeof( m_TargetShapeChoices ) / sizeof( wxString );
|
|
|
|
m_TargetShape = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_TargetShapeNChoices, m_TargetShapeChoices, 0 );
|
|
|
|
m_TargetShape->SetSelection( 0 );
|
2015-06-15 13:54:58 +00:00
|
|
|
fgSizer->Add( m_TargetShape, 0, wxALL|wxEXPAND, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
|
|
|
|
2015-06-15 13:54:58 +00:00
|
|
|
fgSizer->Add( 0, 0, 1, wxEXPAND, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
bSizerUpper->Add( fgSizer, 1, wxBOTTOM|wxEXPAND, 5 );
|
|
|
|
|
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
bSizerMain->Add( bSizerUpper, 1, wxALL|wxEXPAND, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2013-08-28 16:14:39 +00:00
|
|
|
m_sdbSizerButts = new wxStdDialogButtonSizer();
|
|
|
|
m_sdbSizerButtsOK = new wxButton( this, wxID_OK );
|
|
|
|
m_sdbSizerButts->AddButton( m_sdbSizerButtsOK );
|
|
|
|
m_sdbSizerButtsCancel = new wxButton( this, wxID_CANCEL );
|
|
|
|
m_sdbSizerButts->AddButton( m_sdbSizerButtsCancel );
|
|
|
|
m_sdbSizerButts->Realize();
|
2023-01-09 13:49:20 +00:00
|
|
|
|
|
|
|
bSizerMain->Add( m_sdbSizerButts, 0, wxBOTTOM|wxEXPAND|wxTOP, 5 );
|
|
|
|
|
|
|
|
|
2013-08-28 16:14:39 +00:00
|
|
|
this->SetSizer( bSizerMain );
|
|
|
|
this->Layout();
|
2013-11-20 16:03:09 +00:00
|
|
|
bSizerMain->Fit( this );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2013-08-28 16:14:39 +00:00
|
|
|
this->Centre( wxBOTH );
|
|
|
|
}
|
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
DIALOG_TARGET_PROPERTIES_BASE::~DIALOG_TARGET_PROPERTIES_BASE()
|
2013-08-28 16:14:39 +00:00
|
|
|
{
|
|
|
|
}
|