1 #ifndef __SETTINGSDLG_G__
2 #define __SETTINGSDLG_G__
8 class SettingsDlg
: public wxDialog
12 // "nice thing" about wxWindows:
14 wxCheckBox
* mpRTU_Check
;
15 wxCheckBox
* mpOPD_Check
;
16 wxCheckBox
* mpEDP_Check
;
17 wxCheckBox
* mpNDF_Check
;
18 wxCheckBox
* mpSPB_Check
;
20 wxCheckBox
* mpHAP_Check
;
21 wxCheckBox
* mpGCU_Check
;
22 wxCheckBox
* mpAFP_Check
;
23 wxCheckBox
* mpCSP_Check
;
25 wxTextCtrl
* mpRWInput
;
26 wxStaticText
* mpRWLabel
;
27 wxTextCtrl
* mpPTMInput
;
28 wxStaticText
* mpPTMLabel
;
29 wxTextCtrl
* mpPBMInput
;
30 wxStaticText
* mpPBMLabel
;
31 wxTextCtrl
* mpPLMInput
;
32 wxStaticText
* mpPLMLabel
;
33 wxTextCtrl
* mpPRMInput
;
34 wxStaticText
* mpPRMLabel
;
36 wxTextCtrl
* mpDCInput
;
37 wxStaticText
* mpDCLabel
;
38 wxTextCtrl
* mpLCInput
;
39 wxStaticText
* mpLCLabel
;
40 wxTextCtrl
* mpGCInput
;
41 wxStaticText
* mpGCLabel
;
42 wxTextCtrl
* mpBCInput
;
43 wxStaticText
* mpBCLabel
;
47 bool mRealTimeUpdatesOn
;
48 bool mOutOfPaneDragOn
;
49 bool mExactDockingPredictionOn
;
50 bool mNonDestructFrictionOn
;
52 bool mHintRectAnimationOn
;
54 bool mAntiflickerPluginOn
;
55 bool mCustomizationPluginOn
;
74 void ExchgCheck( wxCheckBox
* pChk
, bool& value
);
75 void ExchgIntField( wxTextCtrl
* pFld
, int& value
);
76 void ExchgColourField( wxTextCtrl
* pFld
, wxColour
& value
);
78 virtual bool TransferDataToWindow();
79 virtual bool TransferDataFromWindow();
83 SettingsDlg( wxWindow
* pParent
);
85 void ReadLayoutSettings( wxFrameLayout
& fl
);
86 void ApplyLayoutSettings( wxFrameLayout
& fl
);
88 void ExchangeFields( bool toDialog
);
90 void OnApply( wxCommandEvent
& event
);
91 void OnNotes( wxCommandEvent
& event
);
93 void OnHintAnimCheck( wxCommandEvent
& event
);
94 void OnRTUpdatesCheck( wxCommandEvent
& event
);
96 DECLARE_EVENT_TABLE();