ToolMap
Loading...
Searching...
No Matches
tmsymbolvector.h
1/***************************************************************************
2 tmsymbolvector.h
3 Deals with GIS vector symbology and associed dialog
4 -------------------
5 copyright : (C) 2007 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17#ifndef _TM_SYMBOLVECTOR_H_
18#define _TM_SYMBOLVECTOR_H_
19
20#include <wx/wxprec.h>
21
22#ifndef WX_PRECOMP
23#include <wx/wx.h>
24#endif
25
26#include "tmsymbol.h"
27#include "tmsymboldlg.h"
28
29class tmSymbolVector : public tmSymbol {
30 private:
31 virtual tmSymbolDLG* GetSymbolDialog(wxWindow* parent, const wxPoint& dlgpos);
32
33 public:
35
37
38 static tmSymbolVector* CreateSymbolVectorBasedOnType(TM_GIS_SPATIAL_TYPES spattype, TOC_GENERIC_NAME tocname);
39
40 static tmSymbolVector* CreateCopySymbolVectorBasedOnType(TM_GIS_SPATIAL_TYPES spattype, TOC_GENERIC_NAME tocname,
41 tmSymbol* origin);
42
43 wxColour GetColourWithTransparency(const wxColour& col, int trans);
44
45 virtual void SetColour(const wxColour& colour) {
46 ;
47 }
48
49 virtual int ShowLabelDialog(wxWindow* parent, tmLayerProperties* properties,
50 const wxPoint& pos = wxDefaultPosition);
51};
52
53#endif
Storing object of layer type.
Definition tmlayerproperties.h:47
Definition tmsymboldlg.h:55
Definition tmsymbolvector.h:29
wxColour GetColourWithTransparency(const wxColour &col, int trans)
Get colour with transparency.
Definition tmsymbolvector.cpp:46
Definition tmsymbol.h:38