25 #ifndef LAYERWIDGET_H_ 26 #define LAYERWIDGET_H_ 29 #include <wx/statbmp.h> 30 #include <wx/string.h> 31 #include <wx/aui/auibook.h> 32 #include <wx/notebook.h> 34 #include <wx/gdicmn.h> 35 #include <wx/scrolwin.h> 37 #include <wx/colour.h> 38 #include <wx/settings.h> 40 #include <wx/bitmap.h> 48 #define LYR_COLUMN_COUNT 5 49 #define RND_COLUMN_COUNT 2 51 #define COLUMN_ICON_ACTIVE 0 52 #define COLUMN_COLORBM 1 53 #define COLUMN_COLOR_LYR_CB 2 54 #define COLUMN_COLOR_LYRNAME 3 55 #define COLUMN_ALPHA_INDICATOR 4 95 ROW(
const wxString& aRowName,
int aId,
const COLOR4D& aColor = COLOR4D::UNSPECIFIED,
96 const wxString& aTooltip = wxEmptyString,
bool aState =
true,
97 bool aChangeable =
true,
const COLOR4D& aDefaultColor = COLOR4D::UNSPECIFIED )
112 color = COLOR4D::UNSPECIFIED;
132 LAYER_WIDGET( wxWindow* aParent, wxWindow* aFocusOwner, wxWindowID
id = wxID_ANY,
133 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
134 long style = wxTAB_TRAVERSAL );
177 for(
int row=0; row<aRowCount; ++row )
202 for(
int row=0; row<aRowCount; ++row )
374 static int encodeId(
int aColumn,
int aId );
390 const wxString& aLayerName );
407 const wxString& aRenderName );
477 #endif // LAYERWIDGET_H_
Icon provider for the "standard" row indicators, for example in layer selection lists.
int LAYER_NUM
This can be replaced with int and removed.
A simple color swatch of the kind used to set layer colors.
A color representation with 4 components: red, green, blue, alpha.