8 #ifndef __OptionsDlg_H__
9 #define __OptionsDlg_H__
16 #include "vtui/AutoDialog.h"
17 #include "../Options.h"
32 OptionsDlg( wxWindow *parent, wxWindowID
id,
const wxString &title,
33 const wxPoint& pos = wxDefaultPosition,
34 const wxSize& size = wxDefaultSize,
35 long style = wxDEFAULT_DIALOG_STYLE );
38 wxTextCtrl* GetSelectionRadius() {
return (wxTextCtrl*) FindWindow( ID_SELECTION_RADIUS ); }
39 wxTextCtrl* GetSelectionCutoff() {
return (wxTextCtrl*) FindWindow( ID_SELECTION_CUTOFF ); }
40 wxCheckBox* GetSizeInside() {
return (wxCheckBox*) FindWindow( ID_SIZE_INSIDE ); }
41 wxTextCtrl* GetWinYsize() {
return (wxTextCtrl*) FindWindow( ID_WIN_YSIZE ); }
42 wxTextCtrl* GetWinXsize() {
return (wxTextCtrl*) FindWindow( ID_WIN_XSIZE ); }
43 wxTextCtrl* GetWiny() {
return (wxTextCtrl*) FindWindow( ID_WINY ); }
44 wxTextCtrl* GetWinx() {
return (wxTextCtrl*) FindWindow( ID_WINX ); }
45 wxChoice* GetContent() {
return (wxChoice*) FindWindow( ID_CHOICE_CONTENT ); }
49 void UpdateEnabling();
57 bool m_bLocationInside;
61 bool m_bTextureCompression;
62 bool m_bDisableMipmaps;
64 bool m_bDirectPicking;
65 float m_fSelectionCutoff;
66 float m_fMaxPickableInstanceRadius;
70 bool m_bOnlyAvailableSpecies;
73 wxString m_strContentFile;
81 void OnCheck( wxCommandEvent &
event );
82 void OnInitDialog(wxInitDialogEvent& event);
83 void OnOK( wxCommandEvent &event );
89 #endif // __OptionsDlg_H__