12 #ifndef _a2dPathSettings_H_
13 #define _a2dPathSettings_H_
37 #define ID_a2dPathSettings 10000
38 #define SYMBOL_a2dPathSettings_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
39 #define SYMBOL_a2dPathSettings_TITLE _("Path Settings")
40 #define SYMBOL_a2dPathSettings_IDNAME ID_a2dPathSettings
41 #define SYMBOL_a2dPathSettings_SIZE wxSize(400, 300)
42 #define SYMBOL_a2dPathSettings_POSITION wxDefaultPosition
58 a2dPathSettings(
a2dHabitat* habitat, wxWindow* parent, wxWindowID
id = SYMBOL_a2dPathSettings_IDNAME,
const wxString& caption = SYMBOL_a2dPathSettings_TITLE,
const wxPoint& pos = SYMBOL_a2dPathSettings_POSITION,
const wxSize& size = SYMBOL_a2dPathSettings_SIZE,
long style = SYMBOL_a2dPathSettings_STYLE );
61 bool Create( wxWindow* parent, wxWindowID
id = SYMBOL_a2dPathSettings_IDNAME,
const wxString& caption = SYMBOL_a2dPathSettings_TITLE,
const wxPoint& pos = SYMBOL_a2dPathSettings_POSITION,
const wxSize& size = SYMBOL_a2dPathSettings_SIZE,
long style = SYMBOL_a2dPathSettings_STYLE );
80 void OnWidthEnter( wxCommandEvent& event );
83 void OnUnitsSelected( wxCommandEvent& event );
86 void OnRoundedSelected( wxCommandEvent& event );
89 void OnRectangleSelected( wxCommandEvent& event );
92 void OnRectangleExtSelected( wxCommandEvent& event );
95 void OnHideClick( wxCommandEvent& event );
98 void OnApplyClick( wxCommandEvent& event );
104 wxRadioButton* m_rounded;
105 wxRadioButton* m_rectangular;
106 wxRadioButton* m_extRectangular;
112 wxArrayString m_unitsStrings;
a2dPATH_END_TYPE
defines the way a polyline with a contour width is ended.
bool Create(wxWindow *parent, wxWindowID id=SYMBOL_a2dPathSettings_IDNAME, const wxString &caption=SYMBOL_a2dPathSettings_TITLE, const wxPoint &pos=SYMBOL_a2dPathSettings_POSITION, const wxSize &size=SYMBOL_a2dPathSettings_SIZE, long style=SYMBOL_a2dPathSettings_STYLE)
Creation.
store and convert number to number with unit and visa versa. e.g. 1.23e-6 => 1.23 * 1e-6 ...
a2dPathSettings()
Constructors.
void Init()
Initialises member variables.
defines common settinsg for a habitat for a set of a2dCameleons.
~a2dPathSettings()
Destructor.
void CreateControls()
Creates the controls and sizers.
all headers of the artbase module in one.
static bool ShowToolTips()
Should we show tooltips?
general canvas module declarations and classes