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

Dialog for displaying/editing layers and properties of layers. More...

#include <layerdlg.h>

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

Public Member Functions

 LayerPropertiesDialog (a2dHabitat *habitat, wxFrame *parent, a2dLayers *layersetup, const wxString &title=wxT("LayerProperties"), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxDIALOG_NO_PARENT, const wxString &name=_T("Layer_Properties_Dialog"))
 
void FillControls (int start)
 
void StoreControls (unsigned int start, unsigned int nrLayers=10)
 get the values from the controls and store them
 
void Init (a2dLayers *layersetup)
 
void CmHide (wxCommandEvent &)
 
void CmSort (wxCommandEvent &)
 sort order
 
void CmCancel (wxCommandEvent &)
 
void CmRestore (wxCommandEvent &)
 
void CmSaveToFile (wxCommandEvent &event)
 save layers settings in dialog to file
 
void CmLoadFromFile (wxCommandEvent &event)
 load layers settings in dialog from file
 
void CmVisible (wxCommandEvent &)
 
void CmRead (wxCommandEvent &)
 
void CmOutLine (wxCommandEvent &)
 
void CmPrev (wxCommandEvent &)
 
void CmNext (wxCommandEvent &)
 
void CmSelect (wxCommandEvent &)
 

Public Attributes

a2dSmrtPtr< a2dLayersm_controlslayersetup
 changed local setup which is shown in dialog and compared with the controlled external setup
 
a2dSmrtPtr< a2dLayersm_layersetup
 
a2dSmrtPtr< a2dLayersm_backuplayersetup
 
int m_startvalue
 
wxButton * m_buttonSORT
 
wxButton * m_buttonHIDE
 
wxButton * m_buttonCANCEL
 
wxButton * m_buttonVISIBLE
 
wxButton * m_buttonREAD
 
wxButton * m_buttonOutLine
 
wxButton * m_buttonSELECT
 
wxButton * m_buttonPREV
 
wxButton * m_buttonNEXT
 
wxButton * m_buttonRESTORE
 
wxButton * m_buttonSAVETOFILE
 
wxButton * m_buttonLOADFROMFILE
 

Protected Member Functions

a2dLayerInfoGetLocalLayerInfo (int i)
 
a2dLayerInfoGetDocLayerInfo (int i)
 
void OnCloseWindow (wxCloseEvent &event)
 
void OnComEvent (a2dComEvent &event)
 
void OnDoEvent (a2dCommandProcessorEvent &event)
 
void OnChar (wxKeyEvent &event)
 
void OnCharHook (wxKeyEvent &event)
 
void Cm_NumberBox (wxEvent &event)
 
void Cm_VisibleBox (wxEvent &event)
 
void Cm_SelectBox (wxEvent &event)
 
void Cm_ReadBox (wxEvent &event)
 
void Cm_OutLineBox (wxEvent &event)
 
void Cm_LayerName (wxEvent &event)
 
void Cm_B_BitB (wxEvent &event)
 
void Cm_F_BitB (wxEvent &event)
 
void Cm_P_BitB (wxEvent &event)
 
void Cm_InMap (wxEvent &event)
 
void Cm_OutMap (wxEvent &event)
 

Protected Attributes

wxFrame * m_parent
 
wxButton * m_numberbox [10]
 
wxTextCtrl * m_namebox [10]
 
wxCheckBox * m_visiblebox [10]
 
wxCheckBox * m_selectablebox [10]
 
wxCheckBox * m_outlinebox [10]
 
wxCheckBox * m_readlayerbox [10]
 
wxButton * m_fillbut [10]
 
wxButton * m_borderbut [10]
 
wxBitmapButton * m_patternbut [10]
 
wxTextCtrl * m_gdsinmap [10]
 
wxTextCtrl * m_gdsoutmap [10]
 
wxStaticText * m_numberlabel
 
wxStaticText * m_namelabel
 
wxStaticText * m_availablelabel
 
wxStaticText * m_visiblelabel
 
wxStaticText * m_selectablelabel
 
wxStaticText * m_outlinelabel
 
wxStaticText * m_readlayerlabel
 
wxStaticText * m_filllabel
 
wxStaticText * m_borderlabel
 
wxStaticText * m_patternlabel
 
wxStaticText * m_mappinglabel
 
wxBitmap * m_p_bitm [10]
 
int m_patterns [10]
 the choosen pattern.
 
wxBrush * m_brush
 
wxColourData * m_cdata
 
wxColourDialog * m_cd
 
FillPatternsm_fillpatterns
 
wxDateTime m_dialogLastUpdate
 
bool m_onorder
 
a2dHabitatm_habitat
 

Detailed Description

Dialog for displaying/editing layers and properties of layers.

This class is used to show a layerproperties dialog, in which the layernames, layernumber, visibility, select/read, fillcolour, border, pattern and mapping can be set.

Definition at line 30 of file layerdlg.h.


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