wxArt2D
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
a2dLayerOrderDlg Class Reference

#include <canorderdlg.h>

Inheritance diagram for a2dLayerOrderDlg:
Inheritance graph
[legend]
Collaboration diagram for a2dLayerOrderDlg:
Collaboration graph
[legend]

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
 
a2dDragListBoxm_listbox
 
wxButton * m_buttonUP
 
wxButton * m_buttonDOWN
 
wxButton * m_buttonSHOW
 
a2dSmrtPtr< a2dLayersm_layersetup
 
a2dHabitatm_habitat
 

Detailed Description

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.

Member Function Documentation

void a2dLayerOrderDlg::CmListBox ( wxCommandEvent &  )
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.


The documentation for this class was generated from the following files:
a2dLayerOrderDlg Class Reference -- Sun Oct 12 2014 17:04:41 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation