00001
00002
00003
00004
00005
00006
00007 #ifndef STRUCDLG_H
00008 #define STRUCDLG_H
00009
00010 #ifdef __GNUG__
00011 #pragma interface
00012 #endif
00013
00014 #include "gdsii.h"
00015
00018
00019
00023
00024 {
00025 public:
00026
00027
00028 StructuresDialog(GDSMainWindow* parent, long style= (wxTHICK_FRAME | wxCAPTION));
00029
00030
00031 ~StructuresDialog();
00032
00033
00034 Structure* GetStructure();
00035
00036
00037 void SetupWindow(GdsII* gdsii);
00038
00039
00040 void CmOk();
00041
00042
00043 void CmCancel();
00044
00045
00046 void CmShow();
00047
00048
00049 void OnCloseWindow(wxCloseEvent& event);
00050
00051 protected:
00052 void Update();
00053
00054
00055 wxPanel* _panel;
00056
00057
00058 wxStaticBox* _gb;
00059
00060
00061 wxStaticText* _mess1;
00062
00063
00064 wxStaticText* _mess2;
00065
00066
00067 wxListBox* _listbox;
00068
00069
00070 wxButton* _button1;
00071
00072
00073 wxButton* _button2;
00074
00075
00076 wxButton* _buttonSHOW;
00077
00078
00079 GDSMainWindow* _parent;
00080
00081
00082 GdsII* _structurelist;
00083
00084
00085 Structure* _structure;
00086
00087
00088 DECLARE_EVENT_TABLE()
00089
00090
00091 };
00092
00093
00097
00098 {
00099 public:
00100
00101
00102 StructuresDialog2(GDSMainWindow* parent, long style= (wxTHICK_FRAME | wxCAPTION));
00103
00104
00105 ~StructuresDialog2();
00106
00107
00108 Structure* GetStructure();
00109
00110
00111 void SetupWindow(GdsII* gdsii);
00112
00113
00114 void CmOk();
00115
00116
00117 void CmCancel();
00118
00119
00120 void OnCloseWindow(wxCloseEvent& event);
00121
00122 protected:
00123
00124
00125 wxPanel* _panel;
00126
00127
00128 wxStaticBox* _gb;
00129
00130
00131 wxStaticText* _mess1;
00132
00133
00134 wxStaticText* _mess2;
00135
00136
00137 wxListBox* _listbox;
00138
00139
00140 wxButton* _button1;
00141
00142
00143 wxButton* _button2;
00144
00145
00146 GDSMainWindow* _parent;
00147
00148
00149 GdsII* _structurelist;
00150
00151
00152 Structure* _structure;
00153
00154
00155 DECLARE_EVENT_TABLE()
00156
00157
00158 };
00159 #endif
00160
strucdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --