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

#include <canorderdlg.h>

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

Public Member Functions

 a2dLayerDlg (a2dHabitat *m_habitat, wxWindow *parent, a2dLayers *layersetup, bool onOrder, bool modal, const wxString &title, const wxString &name=wxT("layer_dlg"))
 constructor.
 
 ~a2dLayerDlg ()
 destructor.
 
void Init (a2dLayers *layersetup)
 initialize with this layer setup
 
wxUint16 GetSelectedLayer ()
 
void SetSelectedLayer (wxUint16 layerselected)
 

Protected Member Functions

void CmOk (wxCommandEvent &)
 Close window if OK-button is pressed.
 
void CmCancel (wxCommandEvent &)
 Close window if CANCEL-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
 
wxListBox * m_listbox
 
a2dSmrtPtr< a2dLayersm_layersetup
 
wxUint16 m_layerselected
 set or end selected layer
 
bool m_onOrder
 drawing order in listbox instead of layer id
 
bool m_modal
 show modal or not
 
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 51 of file canorderdlg.h.

Member Function Documentation

void a2dLayerDlg::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 471 of file canorderdlg.cpp.


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