Emergency 20 Dokumentation  4.2.0
DecoratorSEKScan.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
13 #include <Rocket/Core/Decorator.h>
14 
15 
16 //[-------------------------------------------------------]
17 //[ Namespace ]
18 //[-------------------------------------------------------]
19 namespace em5
20 {
21 
22 
23  //[-------------------------------------------------------]
24  //[ Classes ]
25  //[-------------------------------------------------------]
35  class DecoratorSEKScan : public Rocket::Core::Decorator
36  {
37 
38 
39  //[-------------------------------------------------------]
40  //[ Public methods ]
41  //[-------------------------------------------------------]
42  public:
47  inline DecoratorSEKScan();
48 
53  virtual ~DecoratorSEKScan();
54 
65  virtual Rocket::Core::DecoratorDataHandle GenerateElementData(Rocket::Core::Element* element) override;
66 
74  virtual void ReleaseElementData(Rocket::Core::DecoratorDataHandle element_data) override;
75 
85  virtual void RenderElement(Rocket::Core::Element* element, Rocket::Core::DecoratorDataHandle element_data) override;
86 
87 
88  };
89 
90 
91 //[-------------------------------------------------------]
92 //[ Namespace ]
93 //[-------------------------------------------------------]
94 } // em5
95 
96 
97 //[-------------------------------------------------------]
98 //[ Implementation ]
99 //[-------------------------------------------------------]
Definition: ActionPriority.h:13
EMERGENCY 5 mini-map decorator.
Definition: DecoratorSEKScan.h:35
virtual ~DecoratorSEKScan()
Destructor.
DecoratorSEKScan()
Default constructor.
Definition: DecoratorSEKScan-inl.h:14
virtual void RenderElement(Rocket::Core::Element *element, Rocket::Core::DecoratorDataHandle element_data) override
Called to render the decorator on an element.
virtual Rocket::Core::DecoratorDataHandle GenerateElementData(Rocket::Core::Element *element) override
Called on a decorator to generate any required per-element data for a newly decorated element...
virtual void ReleaseElementData(Rocket::Core::DecoratorDataHandle element_data) override
Called to release element data generated by this decorator.