13 #ifndef __LAYERDLG_H__
14 #define __LAYERDLG_H__
22 #include <wx/colordlg.h>
36 long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxDIALOG_NO_PARENT ,
37 const wxString& name = _T(
"Layer_Properties_Dialog" ) );
43 void FillControls(
int start );
46 void StoreControls(
unsigned int start,
unsigned int nrLayers = 10 );
52 void CmHide( wxCommandEvent& );
55 void CmSort( wxCommandEvent& );
58 void CmCancel( wxCommandEvent& );
61 void CmRestore( wxCommandEvent& );
64 void CmSaveToFile( wxCommandEvent& WXUNUSED( event ) );
67 void CmLoadFromFile( wxCommandEvent& WXUNUSED( event ) );
69 void CmVisible( wxCommandEvent& );
72 void CmRead( wxCommandEvent& );
75 void CmOutLine( wxCommandEvent& );
78 void CmPrev( wxCommandEvent& );
81 void CmNext( wxCommandEvent& );
84 void CmSelect( wxCommandEvent& );
98 wxButton* m_buttonSORT;
101 wxButton* m_buttonHIDE;
104 wxButton* m_buttonCANCEL;
107 wxButton* m_buttonVISIBLE;
110 wxButton* m_buttonREAD;
112 wxButton* m_buttonOutLine;
115 wxButton* m_buttonSELECT;
118 wxButton* m_buttonPREV;
121 wxButton* m_buttonNEXT;
124 wxButton* m_buttonRESTORE;
126 wxButton* m_buttonSAVETOFILE;
128 wxButton* m_buttonLOADFROMFILE;
135 void OnCloseWindow( wxCloseEvent& WXUNUSED( event ) );
141 void OnChar( wxKeyEvent& event );
143 void OnCharHook( wxKeyEvent& event );
145 void Cm_NumberBox( wxEvent& event );
147 void Cm_VisibleBox( wxEvent& event );
149 void Cm_SelectBox( wxEvent& event );
151 void Cm_ReadBox( wxEvent& event );
153 void Cm_OutLineBox( wxEvent& event );
155 void Cm_LayerName( wxEvent& event );
157 void Cm_B_BitB( wxEvent& event );
159 void Cm_F_BitB( wxEvent& event );
161 void Cm_P_BitB( wxEvent& event );
163 void Cm_InMap( wxEvent& event );
165 void Cm_OutMap( wxEvent& event );
171 wxButton* m_numberbox[10];
174 wxTextCtrl* m_namebox[10];
177 wxCheckBox* m_visiblebox[10];
180 wxCheckBox* m_selectablebox[10];
183 wxCheckBox* m_outlinebox[10];
186 wxCheckBox* m_readlayerbox[10];
189 wxButton* m_fillbut[10];
192 wxButton* m_borderbut[10];
195 wxBitmapButton* m_patternbut[10];
198 wxTextCtrl* m_gdsinmap[10];
201 wxTextCtrl* m_gdsoutmap[10];
204 wxStaticText* m_numberlabel;
207 wxStaticText* m_namelabel;
210 wxStaticText* m_availablelabel;
213 wxStaticText* m_visiblelabel;
216 wxStaticText* m_selectablelabel;
219 wxStaticText* m_outlinelabel;
222 wxStaticText* m_readlayerlabel;
225 wxStaticText* m_filllabel;
228 wxStaticText* m_borderlabel;
231 wxStaticText* m_patternlabel;
234 wxStaticText* m_mappinglabel;
236 wxBitmap* m_p_bitm[10];
245 wxColourData* m_cdata;
248 wxColourDialog* m_cd;
252 wxDateTime m_dialogLastUpdate;
259 DECLARE_EVENT_TABLE()
a2dSmrtPtr< a2dLayers > m_controlslayersetup
changed local setup which is shown in dialog and compared with the controlled external setup ...
contains the layer properties for one layer,
defines common settinsg for a habitat for a set of a2dCameleons.
Dialog for displaying/editing layers and properties of layers.
for choosing a a2dCanvasObject from a list.
Event sent to a2dCommandProcessor.