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