|
wxArt2D
|
#include <canorderdlg.h>


Public Member Functions | |
| a2dLayerOrderDlg (a2dHabitat *m_habitat, wxWindow *parent, a2dLayers *layersetup, const wxString &title, long style=0, const wxString &name=wxT("layer_order_dlg")) | |
| constructor. | |
| ~a2dLayerOrderDlg () | |
| destructor. | |
| void | Init (a2dLayers *layersetup) |
| initialize with this layer setup | |
| void | StoreOrder () |
| store current order to layer setup | |
Protected Member Functions | |
| void | CmOk (wxCommandEvent &) |
| Close window if OK-button is pressed. | |
| void | CmCancel (wxCommandEvent &) |
| Close window if CANCEL-button is pressed. | |
| void | CmUp (wxCommandEvent &) |
| Move selected layer to a heigher layersetting if UP-button is pressed. | |
| void | CmDown (wxCommandEvent &) |
| Move selected layer to a lower layersetting if the DOWN-button is pressed. | |
| void | CmShow (wxCommandEvent &) |
| Show new layerorder if the SHOW-button is pressed. | |
| void | CmListBox (wxCommandEvent &) |
| void | OnCloseWindow (wxCloseEvent &event) |
| Close window if EXIT-button is pressed. | |
| void | OnComEvent (a2dComEvent &event) |
Protected Attributes | |
| wxButton * | m_buttonOK |
| wxButton * | m_buttonCANCEL |
| a2dDragListBox * | m_listbox |
| wxButton * | m_buttonUP |
| wxButton * | m_buttonDOWN |
| wxButton * | m_buttonSHOW |
| a2dSmrtPtr< a2dLayers > | m_layersetup |
| a2dHabitat * | m_habitat |
This class is used to show the layerorder dialog, in which the drawing order of the used layers can be set.
Definition at line 113 of file canorderdlg.h.
|
protected |
Make sure the UP- and DOWN-button can't be used if the top or the bottom of the list has been reached.
Definition at line 320 of file canorderdlg.cpp.