facdlg.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# facdlg.h

    00001
    00002
    00003 /*
    00004  * Definition of class for dialog to specify the factor settings.
    00005 */
    00006
    00007 #ifndef FACDLG_H
    00008 #define FACDLG_H
    00009
    00010 #ifdef __GNUG__
    00011 #pragma interface
    00012 #endif
    00013
    00014 #include <wx/notebook.h>
    00015
    00018
    00019 //:defenition
    00023
    00024 class Factors: public wxDialog
    00025 {
    00026         public:
    00027
    00028         // Constructor.
    00029                 Factors(GDSMainWindow* parent,long style = (wxTHICK_FRAME | wxCAPTION));
    00030
    00031       // Destructor.
    00032                 ~Factors();
    00033
    00034       // windows initialization.
    00035                 void                            SetupWindow();
    00036
    00037       // Close window if OK-button is pressed.
    00038                 void                            CmOk();
    00039
    00040       // Close window if CANCEL-button is pressed.
    00041                 void                            CmCancel();
    00042
    00043       // Close window if EXIT-button is pressed.
    00044       void                              OnCloseWindow(wxCloseEvent& event);
    00045
    00046         protected:
    00047
    00048         // get values from the controls.
    00049                 void                            StoreValues();
    00050
    00051       // wxWindows class.
    00052       wxNotebook*    m_notebook;
    00053
    00054       // Pointer to mainwindow.
    00055                 GDSMainWindow*  _parent;
    00056
    00057       // wxWindows class.
    00058                 wxPanel*                        _panel;
    00059
    00060       // wxWindows class.
    00061                 wxPanel*                        _panel2;
    00062
    00063       // wxWindows class.
    00064                 wxPanel*                        _panel3;
    00065
    00066       // wxWindows class.
    00067                 wxPanel*                        _panel4;
    00068
    00069       // wxWindows class.
    00070                 wxButton*               _ok;
    00071
    00072       // wxWindows class.
    00073                 wxButton*               _cancel;
    00074
    00075       // wxWindows class.
    00076                 wxCheckBox*             _drawprim;
    00077
    00078       // wxWindows class.
    00079                 wxRadioBox*                     _ed_circleORmedial;
    00080
    00081       // wxWindows class.
    00082                 wxTextCtrl*                     _ed_selectmarge;
    00083
    00084       // wxWindows class.
    00085                 wxTextCtrl*                     _ed_snapfactor;
    00086
    00087       // wxWindows class.
    00088                 wxTextCtrl*                     _ed_correctionfactor;
    00089
    00090       // wxWindows class.
    00091                 wxTextCtrl*                     _ed_roundfactor;
    00092
    00093       // wxWindows class.
    00094                 wxTextCtrl*                     _ed_correctionaber;
    00095
    00096       // wxWindows class.
    00097                 wxTextCtrl*                     _ed_poly2arcrmin;
    00098
    00099       // wxWindows class.
    00100                 wxTextCtrl*                     _ed_poly2arcrmax;
    00101
    00102       // wxWindows class.
    00103                 wxTextCtrl*                     _ed_poly2arcaber;
    00104
    00105       // wxWindows class.
    00106                 wxTextCtrl*                     _ed_arc2polyaber;
    00107
    00108       // wxWindows class.
    00109                 wxTextCtrl*                     _ed_smoothaber;
    00110
    00111       // wxWindows class.
    00112                 wxTextCtrl*                     _ed_displayaber;
    00113
    00114       // wxWindows class.
    00115                 wxTextCtrl*                     _ed_maxlinemerge;
    00116
    00117       // wxWindows class.
    00118                 wxTextCtrl*                     _ed_structhres;
    00119
    00120       // wxWindows class.
    00121                 wxTextCtrl*                     _ed_primthres;
    00122
    00123       // wxWindows class.
    00124                 wxStaticText*           _m_selectmarge;
    00125
    00126       // wxWindows class.
    00127                 wxStaticText*           _m_selectmarge_comm;
    00128
    00129       // wxWindows class.
    00130                 wxStaticText*           _m_snapfactor;
    00131
    00132       // wxWindows class.
    00133                 wxStaticText*           _m_correctionfactor;
    00134
    00135       // wxWindows class.
    00136                 wxStaticText*           _m_roundfactor;
    00137
    00138       // wxWindows class.
    00139                 wxStaticText*           _m_correctionaber;
    00140
    00141       // wxWindows class.
    00142                 wxStaticText*           _m_poly2arcrmin;
    00143
    00144       // wxWindows class.
    00145                 wxStaticText*           _m_poly2arcrmax;
    00146
    00147       // wxWindows class.
    00148                 wxStaticText*           _m_poly2arcaber;
    00149
    00150       // wxWindows class.
    00151                 wxStaticText*           _m_arc2polyaber;
    00152
    00153       // wxWindows class.
    00154                 wxStaticText*           _m_smoothaber;
    00155
    00156       // wxWindows class.
    00157                 wxStaticText*           _m_displayaber;
    00158
    00159       // wxWindows class.
    00160                 wxStaticText*           _m_maxlinemerge;
    00161
    00162       // wxWindows class.
    00163                 wxStaticText*           _m_structhres;
    00164
    00165       // wxWindows class.
    00166                 wxStaticText*           _m_primthres;
    00167
    00168                 char                            _selectmarge[LINELENGTH];
    00169                 char                            _snapfactor[LINELENGTH];
    00170                 char                            _correctionfactor[LINELENGTH];
    00171                 char                            _roundfactor[LINELENGTH];
    00172                 char                            _correctionaber[LINELENGTH];
    00173                 char                            _roundtype[LINELENGTH];
    00174                 char                            _poly2arcrmin[LINELENGTH];
    00175                 char                            _poly2arcrmax[LINELENGTH];
    00176                 char                            _poly2arcaber[LINELENGTH];
    00177                 char                            _arc2polyaber[LINELENGTH];
    00178                 char                            _smoothaber[LINELENGTH];
    00179                 char                            _displayaber[LINELENGTH];
    00180                 char                            _maxlinemerge[LINELENGTH];
    00181                 char                            _primthres[LINELENGTH];
    00182                 char                            _structhres[LINELENGTH];
    00183
    00184       bool         _drawsmallprim;
    00185
    00186       // Declare used events.
    00187       DECLARE_EVENT_TABLE()
    00188
    00189 };
    00190
    00191 #endif

facdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page