ToolMap
Loading...
Searching...
No Matches
tmsymbolvectorlinemultiple.h
1/***************************************************************************
2 tmsymbolvectorlinemultiple.h
3 -------------------
4 copyright : (C) 2011 CREALP Lucien Schreiber
5 ***************************************************************************/
6
7/***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef _TM_SYMBOLVECTORLINE_MULTIPLE_H_
17#define _TM_SYMBOLVECTORLINE_MULTIPLE_H_
18
19// For compilers that support precompilation, includes "wx/wx.h".
20#include <wx/wxprec.h>
21
22// Include wxWidgets' headers
23#ifndef WX_PRECOMP
24#include <wx/wx.h>
25#endif
26
27#include "tmsymboldlgline.h"
28#include "tmsymboldlglinemultiple.h"
29#include "tmsymbolvectorline.h" // tmSymbol class definition
30
32 private:
33 tmSymbolDataLineMultiple m_lSymMultiple;
34
35 virtual tmSymbolDLG* GetSymbolDialog(wxWindow* parent, const wxPoint& dlgpos);
36
37 virtual bool GetDialogData(tmSymbolDLG* dlg);
38
39 public:
41
43
45
46 virtual bool Serialize(tmSerialize& s);
47
48 virtual wxColour GetColour();
49
50 virtual int GetWidth() {
51 return m_lSymMultiple.m_Width;
52 }
53
54 virtual int GetShape() {
55 return tmSYMBOLPENSYLES[m_lSymMultiple.m_Shape];
56 }
57
58 virtual int GetTransparency() {
59 return m_lSymMultiple.m_GlobalTransparency;
60 }
61
62 int GetSelectedSymbology() {
63 return m_lSymMultiple.m_PanelNo;
64 }
65
66 tmSymbolDataLineMultiple* GetSymbology() {
67 return &m_lSymMultiple;
68 }
69};
70
71#endif
Definition tmserialize.h:36
Definition tmsymboldlg.h:55
Definition tmsymboldlglinemultiple.h:35
Definition tmsymbolvectorlinemultiple.h:31
Definition tmsymbolvectorline.h:31