00001
00002
00003
00004
00005
00006
00007 #ifndef SETTINGS_H
00008 #define SETTINGS_H
00009
00010 #ifdef __GNUG__
00011 #pragma interface
00012 #endif
00013
00016
00017
00021
00022 class SettingsDialog: public wxDialog
00023 {
00024 public:
00025
00026 SettingsDialog(GDSMainWindow* parent, long style = (wxTHICK_FRAME | wxCAPTION));
00027
00028
00029 void SetupWindow();
00030
00031
00032 void CmOk();
00033
00034
00035 void CmApply();
00036
00037
00038 void OnCloseWindow(wxCloseEvent& event);
00039
00040 double GetPathtype();
00041
00042 char* GetPathwidth();
00043
00044
00045
00046 void CmRadioButton(wxEvent& event);
00047
00048
00049 protected:
00050
00051 char* GetUnit();
00052
00053
00054 GDSMainWindow* _parent;
00055
00056
00057 wxPanel* _panel;
00058
00059
00060 wxButton* _ok;
00061
00062
00063 wxButton* _apply;
00064
00065
00066 wxRadioBox* _ed_setpath;
00067
00068
00069 wxCheckBox* _spline;
00070
00071
00072 wxStaticBox* _widthbox;
00073
00074
00075 wxTextCtrl* _width;
00076
00077
00078 wxChoice* _settings_list;
00079
00080
00081 wxString _choices[9];
00082
00083
00084 char _acc[10];
00085
00086
00087 char _unit[10];
00088
00089
00090 DECLARE_EVENT_TABLE()
00091 };
00092
00093 #endif
settingsdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --