ToolMap
Loading...
Searching...
No Matches
tmsymbolvectorpointmultiple.h
1/***************************************************************************
2 tmsymbolvectorpointmultiple.h
3 Deals with GIS point vector symbology and associed dialog
4 -------------------
5 copyright : (C) 2011 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_SYMBOLVECTORPOINT_MULTIPLE_H_
18#define _TM_SYMBOLVECTORPOINT_MULTIPLE_H_
19
20#include <wx/wxprec.h>
21
22#ifndef WX_PRECOMP
23#include <wx/wx.h>
24#endif
25
26#include "tmsymboldlgpointmultiple.h" // tmSymbol class definition
27#include "tmsymbolvectorpoint.h"
28
30 private:
31 tmSymbolDataPointMultiple m_ptMultipleSymbol;
32
33 virtual tmSymbolDLG* GetSymbolDialog(wxWindow* parent, const wxPoint& dlgpos);
34
35 virtual bool GetDialogData(tmSymbolDLG* dlg);
36
37 public:
39
41
43
44 virtual wxColour GetColour();
45
46 virtual int GetRadius() {
47 return m_ptMultipleSymbol.m_Radius;
48 }
49
50 virtual int GetTransparency() {
51 return m_ptMultipleSymbol.m_GlobalTransparency;
52 }
53
54 virtual bool Serialize(tmSerialize& s);
55
56 int GetSelectedSymbology() {
57 return m_ptMultipleSymbol.m_PanelNo;
58 }
59
60 tmSymbolDataPointMultiple* GetSymbology() {
61 return &m_ptMultipleSymbol;
62 }
63};
64
65#endif
Definition tmserialize.h:36
Definition tmsymboldlg.h:55
Definition tmsymboldlgpointmultiple.h:31
Definition tmsymbolvectorpointmultiple.h:29
Definition tmsymbolvectorpoint.h:33