orderdlg.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# orderdlg.h

    00001
    00002
    00003 /*
    00004  * Definition of class for dialog to specify the layerorder.
    00005 */
    00006
    00007 #ifndef ORDERDLG_H
    00008 #define ORDERDLG_H
    00009
    00010 #ifdef __GNUG__
    00011 #pragma interface
    00012 #endif
    00013
    00016
    00017 //:defenition
    00021
    00022 class LayerOrder: public wxDialog
    00023 {
    00024         public:
    00025
    00026                 // constructor.
    00027                 LayerOrder(GDSMainWindow* parent,char* title,long style =0 ,char* name = "main_layer_dlg");
    00028
    00029                 // destructor.
    00030                 ~LayerOrder();
    00031
    00032       // wxWindows class.
    00033                 wxListBox* Get_ListBox();
    00034
    00035       // wxWindows class.
    00036                 wxButton* Get_ButtonUP();
    00037
    00038       // wxWindows class.
    00039                 wxButton* Get_ButtonDOWN();
    00040
    00041       // wxWindows class.
    00042                 wxMessageDialog* Get_Text();
    00043
    00044       // wxWindows initialisation.
    00045                 void SetupWindow();
    00046
    00047       //
    00048       void StoreOrder();
    00049
    00050       // Close window if OK-button is pressed.
    00051       void      CmOk();
    00052
    00053       // Close window if CANCEL-button is pressed.
    00054       void      CmCancel();
    00055
    00056       // Move selected layer to a heigher layersetting if UP-button is pressed.
    00057       void      CmUp();
    00058
    00059       // Move selected layer to a lower layersetting if the DOWN-button is pressed.
    00060       void      CmDown();
    00061
    00062       // Show new layerorder if the SHOW-button is pressed.
    00063       void      CmShow();
    00064
    00065       // Make sure the UP- and DOWN-button can't be used if the top or the bottom of the list
    00066       // has been reached.
    00067       void      CmListBox();
    00068
    00069       // Close window if EXIT-button is pressed.
    00070       void      OnCloseWindow(wxCloseEvent& event);
    00071
    00072         protected:
    00073
    00074       void Update();
    00075
    00076                 // Pointer to mainwindow
    00077                 GDSMainWindow*  _parent;
    00078
    00079                 // wxWindows class.
    00080                 wxPanel*                _panel1;
    00081
    00082       // wxWindows class.
    00083                 wxButton*       _buttonOK;
    00084
    00085       // wxWindows class.
    00086                 wxButton*       _buttonCANCEL;
    00087
    00088       // wxWindows class.
    00089                 wxStaticBox* _groupbox;
    00090
    00091       // wxWindows class.
    00092                 wxListBox*      _listbox;
    00093
    00094       // wxWindows class.
    00095                 wxStaticText*   _text1;
    00096
    00097       // wxWindows class.
    00098                 wxButton*       _buttonUP;
    00099
    00100       // wxWindows class.
    00101                 wxButton*       _buttonDOWN;
    00102
    00103       // wxWindows class.
    00104                 wxButton*       _buttonSHOW;
    00105
    00106       // Declare used events.
    00107       DECLARE_EVENT_TABLE()
    00108
    00109 };
    00110
    00111 #endif

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