|
int | ShowSymbologyDialog (wxWindow *parent, const wxPoint &dlgpos=wxDefaultPosition) |
| Display the symbology dialog.
|
|
virtual int | ShowLabelDialog (wxWindow *parent, tmLayerProperties *properties, const wxPoint &pos=wxDefaultPosition) |
|
virtual bool | Serialize (tmSerialize &s) |
|
virtual int | GetTransparency () |
|
void | SetDatabase (DataBaseTM *database) |
|
void | SetTocName (TOC_GENERIC_NAME tocname) |
|
|
static tmSymbol * | CreateSymbolBasedOnType (TM_GIS_SPATIAL_TYPES spattype, TOC_GENERIC_NAME tocname) |
|
static tmSymbol * | CreateCopySymbolBasedOnType (TM_GIS_SPATIAL_TYPES spattype, TOC_GENERIC_NAME tocname, tmSymbol *origin) |
|
◆ ConvertTransparency()
char tmSymbol::ConvertTransparency |
( |
int |
itransparency | ) |
|
|
protected |
Convert transparency.
Convert transparency from a percent basis (%) to a 0-255 colour basis. See documentation of wxColour for more informations
- Parameters
-
itransparency | the transparency to convert from. Based on a 0-100 percent scale |
- Returns
- The new transparency : on a 0 (transparent) -255 (opaque) scale.
- Author
- Lucien Schreiber (c) CREALP 2008
- Date
- 11 September 2008
◆ ShowSymbologyDialog()
int tmSymbol::ShowSymbologyDialog |
( |
wxWindow * |
parent, |
|
|
const wxPoint & |
dlgpos = wxDefaultPosition |
|
) |
| |
Display the symbology dialog.
A personalized symbology dialog is displayed
- Parameters
-
parent | Adress of the parent (for the dialog) |
metadata | String containing html formatted metadata for displaying in the first dialog tab. |
dlgpos | Desired position for the dialog |
- Returns
- wxID_OK if user select 'ok' in the symbology dialog, wxID_CANCEL otherwise
- Author
- Lucien Schreiber (c) CREALP 2008
- Date
- 15 October 2008
The documentation for this class was generated from the following files:
- /github/workspace/src/gis/tmsymbol.h
- /github/workspace/src/gis/tmsymbol.cpp