00001
00004
00005
00006
00007
00008 #ifndef DISTDLG_H
00009 #define DISTDLG_H
00010
00011 #ifdef __GNUG__
00012 #pragma interface
00013 #endif
00014
00017
00018
00024
00025 class DistanceDlg: public wxDialog
00026 {
00027 public:
00028
00029 DistanceDlg(GDSMainWindow*,char*,long style = (wxTHICK_FRAME | wxCAPTION),char *name="frame");
00030
00031
00032 ~DistanceDlg();
00033
00034
00035 void hide();
00036
00037
00038 void OnCloseWindow(wxCloseEvent& event);
00039
00040
00041 void addCommand(char *);
00042
00043
00044 void setStartPoint(double, double);
00045
00046
00047 void setRelPoint(double, double);
00048
00049
00050 void ClearMe();
00051
00052 protected:
00053
00054
00055 GDSMainWindow* _parent;
00056
00057
00058 wxStaticText* _m_start;
00059
00060
00061 wxStaticText* _m_lb;
00062
00063
00064 wxPanel* _panel;
00065
00066
00067 wxButton* _clearButton;
00068
00069
00070 wxButton* _hideButton;
00071
00072
00073 wxTextCtrl* _editField;
00074
00075
00076 wxListBox* _lb;
00077
00078
00079 char _temp_char[60];
00080
00081
00082 char _start_point[30];
00083
00084
00085 double _start_x;
00086
00087
00088 double _start_y;
00089
00090
00091 DECLARE_EVENT_TABLE()
00092
00093 };
00094
00095 #endif
distdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --