00001
00002
00003
00004
00005
00006 #ifndef CURSORDLG_H
00007 #define CURSORDLG_H
00008
00009 #ifdef __GNUG__
00010 #pragma interface
00011 #endif
00012
00013 #include "wxwin.h"
00014 #include "mainwin.h"
00017
00018
00022
00023 class CursorDialog: public wxDialog
00024 {
00025 public:
00026
00027
00028 CursorDialog(GDSMainWindow* parent, long style);
00029
00030
00031 void SetupWindow();
00032
00033
00034 double GetCursorX();
00035
00036
00037 double GetCursorY();
00038
00039
00040 void SetCursorX(double);
00041
00042
00043 void SetCursorY(double);
00044
00045
00046 void CmOk();
00047
00048
00049 void CmApply();
00050
00051
00052 void OnCloseWindow(wxCloseEvent& event);
00053
00054 protected:
00055
00056
00057 GDSMainWindow* _parent;
00058
00059
00060 wxPanel* _panel;
00061
00062
00063 wxButton* _ok;
00064
00065
00066 wxButton* _apply;
00067
00068
00069 wxStaticBox* _XYbox;
00070
00071
00072 wxStaticBox* _units_box;
00073
00074
00075 wxTextCtrl* _XX;
00076
00077
00078 wxTextCtrl* _YY;
00079
00080 wxTextCtrl* _accuracy;
00081
00082
00083 wxChoice* _units_list;
00084
00085
00086 wxString _choices[9];
00087
00088
00089 double X;
00090
00091
00092 double Y;
00093
00094
00095 char _acc[10];
00096
00097
00098 char _unit[10];
00099
00100
00101
00102 DECLARE_EVENT_TABLE()
00103 };
00104
00105 #endif
cursordlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --