polyeditdlg.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# polyeditdlg.h

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

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