wxArt2D
|
#include <orderdlg.h>
Public Member Functions | |
a2dLayerOrderDialog (wxWindow *parent, a2dLayers *layersetup, const wxString &title, long style=0, const wxString &name=wxT("layer_order_dlg")) | |
constructor. | |
~a2dLayerOrderDialog () | |
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 | OnActivateView (a2dViewEvent &viewevent) |
void | OnChangedDocument (a2dCommandEvent &event) |
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 |
This class is used to show the layerorder dialog, in which the drawing order of the used layers can be set.
Definition at line 33 of file orderdlg.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 284 of file orderdlg.cpp.