19 #ifndef __CANORDERDLG_H
20 #define __CANORDERDLG_H
35 a2dDragListBox( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
36 int n,
const wxString choices[],
long style );
38 void OnMouseLeftDown(
class wxMouseEvent& );
39 void OnMouseLeftUp(
class wxMouseEvent& );
40 void CmListBox( wxCommandEvent& );
57 const wxString& title,
const wxString& name = wxT(
"layer_dlg" ) );
65 wxUint16 GetSelectedLayer() {
return m_layerselected; }
66 void SetSelectedLayer( wxUint16 layerselected ) { m_layerselected = layerselected; }
71 void CmOk( wxCommandEvent& );
74 void CmCancel( wxCommandEvent& );
78 void CmListBox( wxCommandEvent& );
81 void OnCloseWindow( wxCloseEvent& event );
87 wxButton* m_buttonCANCEL;
106 DECLARE_EVENT_TABLE()
118 a2dLayerOrderDlg(
a2dHabitat* m_habitat, wxWindow* parent,
a2dLayers* layersetup,
const wxString& title,
long style = 0,
const wxString& name = wxT(
"layer_order_dlg" ) );
132 void CmOk( wxCommandEvent& );
135 void CmCancel( wxCommandEvent& );
138 void CmUp( wxCommandEvent& );
141 void CmDown( wxCommandEvent& );
144 void CmShow( wxCommandEvent& );
148 void CmListBox( wxCommandEvent& );
151 void OnCloseWindow( wxCloseEvent& event );
155 wxButton* m_buttonOK;
157 wxButton* m_buttonCANCEL;
161 wxButton* m_buttonUP;
163 wxButton* m_buttonDOWN;
165 wxButton* m_buttonSHOW;
173 DECLARE_EVENT_TABLE()
bool m_onOrder
drawing order in listbox instead of layer id
GUI listbox with copy feature.
defines common settinsg for a habitat for a set of a2dCameleons.
bool m_modal
show modal or not
wxUint16 m_layerselected
set or end selected layer