00001
00002
00003
00004
00005
00006
00007 #ifndef TRANSDLG_H
00008 #define TRANSDLG_H
00009
00010 #ifdef __GNUG__
00011 #pragma interface
00012 #endif
00013
00016
00017
00021
00022 {
00023 public:
00024
00025
00026 Transformations(GDSMainWindow* parent,long style = (wxTHICK_FRAME | wxCAPTION));
00027
00028
00029 ~Transformations();
00030
00031
00032 void SetupWindow(bool);
00033
00034
00035 void CmOk();
00036
00037
00038 void CmReset();
00039
00040
00041 void CmApply();
00042
00043
00044 void CmUndo();
00045
00046
00047 void EnableItem(char*, bool);
00048
00049
00050 void OnCloseWindow(wxCloseEvent& event);
00051
00052 protected:
00053
00054 bool _all_layers;
00055
00056
00057 GDSMainWindow* _parent;
00058
00059
00060 wxPanel* _panel;
00061
00062
00063 wxButton* _ok;
00064
00065
00066 wxButton* _reset;
00067
00068
00069 wxButton* _apply;
00070
00071
00072 wxButton* _undo;
00073
00074
00075 wxStaticBox* _movebox;
00076
00077
00078 wxStaticBox* _mirrorbox;
00079
00080
00081 wxStaticBox* _scalebox;
00082
00083
00084 wxStaticBox* _rotatebox;
00085
00086
00087 wxStaticBox* _selectbox;
00088
00089
00090 wxRadioBox* _ed_cwORccw;
00091
00092
00093 wxTextCtrl* _ed_scale_h;
00094
00095
00096 wxTextCtrl* _ed_degrees;
00097
00098
00099 wxTextCtrl* _ed_move_h;
00100
00101
00102 wxTextCtrl* _ed_move_v;
00103
00104
00105 wxCheckBox* _check_move;
00106
00107
00108 wxCheckBox* _check_mirror_h;
00109
00110
00111 wxCheckBox* _check_mirror_v;
00112
00113
00114 wxCheckBox* _check_scale_h;
00115
00116
00117 wxCheckBox* _check_ratio;
00118
00119
00120 wxCheckBox* _check_rotate;
00121
00122
00123 wxCheckBox* _check_select;
00124
00125
00126 wxString _scale_h_ratio;
00127
00128
00129 wxString _degr;
00130
00131
00132 wxString _move_h;
00133
00134
00135 wxString _move_v;
00136
00137
00138 bool _mirror_x;
00139
00140
00141 bool _mirror_y;
00142
00143
00144 DECLARE_EVENT_TABLE()
00145 };
00146
00147 #endif
transdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --