newfiledlg.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# newfiledlg.h

    00001
    00002
    00003 /*
    00004  * Definition of class for dialog to specify newfile settings.
    00005 */
    00006
    00007 #ifndef NEWFILEDLG_H
    00008 #define NEWFILEDLG_H
    00009
    00010 #ifdef __GNUG__
    00011 #pragma interface
    00012 #endif
    00013
    00016
    00017 //: defenition
    00021 class NewFileDialog: public wxDialog
    00022 {
    00023         public:
    00024
    00025       // Constructor.
    00026                 NewFileDialog(GDSMainWindow* parent, long style = (wxTHICK_FRAME | wxCAPTION));
    00027
    00028       // Destructor.
    00029       ~NewFileDialog();
    00030
    00031       // Windows initialization.
    00032       void                              SetupWindow();
    00033
    00034       // Close window if EXIT-button is pressed.
    00035         void                            OnCloseWindow(wxCloseEvent& event);
    00036
    00037       // Close window if OK-button is pressed.
    00038       void                              CmOk();
    00039
    00040         protected:
    00041
    00042         // Pointer to mainwindow.
    00043                 GDSMainWindow*          _parent;
    00044
    00045       // wxWindows class.
    00046                 wxPanel*                                _panel;
    00047
    00048       // wxWindows class.
    00049       wxStaticBox*              _layoutsize_box;
    00050
    00051       // wxWindows class.
    00052       wxStaticBox*              _units_box;
    00053
    00054       // wxWindows class.
    00055       wxTextCtrl*       _layout_x;
    00056
    00057       // wxWindows class.
    00058       wxTextCtrl*                       _layout_y;
    00059
    00060       // wxWindows class.
    00061       wxTextCtrl*                       _ed_acc;
    00062
    00063       // wxWindows class.
    00064       wxButton*                 _ok;
    00065
    00066       // wxWindows class.
    00067       wxChoice*                 _units_list;
    00068
    00069       // wxWindows class.
    00070       wxString                  _choices[9];
    00071
    00072       // String which contains the accuracy value.
    00073       char                                      _acc[10];
    00074
    00075       // String which contains the unitsetting.
    00076       char                                      _unit[10];
    00077
    00078       // Declare used events.
    00079       DECLARE_EVENT_TABLE()
    00080 };
    00081
    00082 #endif

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