wxArt2D
|
#include <canorderdlg.h>
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< a2dLayers > | m_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 | |
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 51 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 471 of file canorderdlg.cpp.