strucdlg.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# strucdlg.h

    00001
    00002
    00003 /*
    00004  * Definition of class for dialog to view the used structures in a GDSII-file.
    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 //:defenition
    00023 class StructuresDialog: public wxDialog
    00024 {
    00025         public:
    00026
    00027         // constructor.
    00028                 StructuresDialog(GDSMainWindow* parent, long style= (wxTHICK_FRAME | wxCAPTION));
    00029
    00030       // destructor.
    00031                 ~StructuresDialog();
    00032
    00033       // Pointer to structure class.
    00034                 Structure*              GetStructure();
    00035
    00036       // Windows initialisation
    00037                 void                            SetupWindow(GdsII* gdsii);
    00038
    00039       // Close window if OK-button is pressed.
    00040                 void                            CmOk();
    00041
    00042       // Close window if CANCEL-button is pressed.
    00043                 void                            CmCancel();
    00044
    00045       // View selected structure.
    00046                 void                            CmShow();
    00047
    00048       // Close window if EXIT \-button is pressed.
    00049         void                            OnCloseWindow(wxCloseEvent& event);
    00050
    00051         protected:
    00052                 void                            Update();
    00053
    00054       // wxWindows class.
    00055                 wxPanel*                        _panel;
    00056
    00057       // wxWindows class.
    00058                 wxStaticBox*            _gb;
    00059
    00060       // wxWindows class.
    00061                 wxStaticText*           _mess1;
    00062
    00063       // wxWindows class.
    00064                 wxStaticText*           _mess2;
    00065
    00066       // wxWindows class.
    00067                 wxListBox*              _listbox;
    00068
    00069       // wxWindows class.
    00070                 wxButton*               _button1;
    00071
    00072       // wxWindows class.
    00073                 wxButton*               _button2;
    00074
    00075       // wxWindows class.
    00076                 wxButton*               _buttonSHOW;
    00077
    00078       // Pointer to mainwindow.
    00079                 GDSMainWindow*  _parent;
    00080
    00081       // Pointer to structurelist class
    00082                 GdsII*                  _structurelist;
    00083
    00084       // Pointer to structure class which holds the choosen structure.
    00085                 Structure*              _structure;
    00086
    00087       // Declare used events.
    00088       DECLARE_EVENT_TABLE()
    00089
    00090
    00091 };
    00092
    00093 //:defenition
    00097 class StructuresDialog2: public wxDialog
    00098 {
    00099         public:
    00100
    00101         // constructor.
    00102                 StructuresDialog2(GDSMainWindow* parent, long style= (wxTHICK_FRAME | wxCAPTION));
    00103
    00104       // destructor.
    00105                 ~StructuresDialog2();
    00106
    00107       // Pointer to structure class.
    00108                 Structure*              GetStructure();
    00109
    00110       // Windows initialisation
    00111                 void                            SetupWindow(GdsII* gdsii);
    00112
    00113       // Close window if OK-button is pressed.
    00114                 void                            CmOk();
    00115
    00116       // Close window if CANCEL-button is pressed.
    00117                 void                            CmCancel();
    00118
    00119       // Close window if EXIT \-button is pressed.
    00120         void                            OnCloseWindow(wxCloseEvent& event);
    00121
    00122         protected:
    00123
    00124       // wxWindows class.
    00125                 wxPanel*                        _panel;
    00126
    00127       // wxWindows class.
    00128                 wxStaticBox*            _gb;
    00129
    00130       // wxWindows class.
    00131                 wxStaticText*           _mess1;
    00132
    00133       // wxWindows class.
    00134                 wxStaticText*           _mess2;
    00135
    00136       // wxWindows class.
    00137                 wxListBox*              _listbox;
    00138
    00139       // wxWindows class.
    00140                 wxButton*               _button1;
    00141
    00142       // wxWindows class.
    00143                 wxButton*               _button2;
    00144
    00145       // Pointer to mainwindow.
    00146                 GDSMainWindow*  _parent;
    00147
    00148       // Pointer to structurelist class
    00149                 GdsII*                  _structurelist;
    00150
    00151       // Pointer to structure class which holds the choosen structure.
    00152                 Structure*              _structure;
    00153
    00154       // Declare used events.
    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 -- -- . -- Main Page