ToolMap
Loading...
Searching...
No Matches
tmsymbolvectorpoint.h
1/***************************************************************************
2 tmsymbolvectorpoint.h
3 Deals with GIS point 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// comment doxygen
18
19#ifndef _TM_SYMBOLVECTORPOINT_H_
20#define _TM_SYMBOLVECTORPOINT_H_
21
22// For compilers that support precompilation, includes "wx/wx.h".
23#include <wx/wxprec.h>
24
25// Include wxWidgets' headers
26#ifndef WX_PRECOMP
27#include <wx/wx.h>
28#endif
29
30#include "tmsymboldlgpoint.h"
31#include "tmsymbolvector.h" // tmSymbol class definition
32
34 private:
35 tmSymbolDataPointUnique m_ptUniqueSymbol;
36
37 virtual tmSymbolDLG* GetSymbolDialog(wxWindow* parent, const wxPoint& dlgpos);
38
39 virtual bool GetDialogData(tmSymbolDLG* dlg);
40
41 protected:
42 public:
44
46
48
49 virtual wxColour GetColour();
50
51 virtual int GetRadius() {
52 return m_ptUniqueSymbol.m_Radius;
53 }
54
55 virtual int GetTransparency() {
56 return m_ptUniqueSymbol.m_GlobalTransparency;
57 }
58
59 virtual void SetColour(const wxColour& colour) {
60 m_ptUniqueSymbol.m_Colour = colour;
61 }
62
63 virtual bool Serialize(tmSerialize& s);
64
65 tmSymbolDataPointUnique* GetSymbolData() {
66 return &m_ptUniqueSymbol;
67 }
68};
69
70#endif
Definition tmserialize.h:36
Definition tmsymboldlg.h:55
Definition tmsymboldlgpoint.h:67
Definition tmsymbolvectorpoint.h:33
Definition tmsymbolvector.h:29