Emergency 20 Dokumentation  4.2.0
em5::DecoratorMiniMap Class Reference

EMERGENCY 5 mini-map decorator. More...

#include <DecoratorMiniMap.h>

Inheritance diagram for em5::DecoratorMiniMap:

Public Member Functions

 DecoratorMiniMap ()
 Default constructor. More...
 
virtual ~DecoratorMiniMap ()
 Destructor. More...
 
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. More...
 
virtual void ReleaseElementData (Rocket::Core::DecoratorDataHandle element_data) override
 Called to release element data generated by this decorator. More...
 
virtual void RenderElement (Rocket::Core::Element *element, Rocket::Core::DecoratorDataHandle element_data) override
 Called to render the decorator on an element. More...
 

Detailed Description

EMERGENCY 5 mini-map decorator.

Note

Constructor & Destructor Documentation

em5::DecoratorMiniMap::DecoratorMiniMap ( )
inline

Default constructor.

virtual em5::DecoratorMiniMap::~DecoratorMiniMap ( )
virtual

Destructor.

Member Function Documentation

virtual Rocket::Core::DecoratorDataHandle em5::DecoratorMiniMap::GenerateElementData ( Rocket::Core::Element *  element)
overridevirtual

Called on a decorator to generate any required per-element data for a newly decorated element.

Parameters
[in]elementThe newly decorated element
Returns
A handle to a decorator-defined data handle, or null pointer if none is needed for the element
virtual void em5::DecoratorMiniMap::ReleaseElementData ( Rocket::Core::DecoratorDataHandle  element_data)
overridevirtual

Called to release element data generated by this decorator.

Parameters
[in]element_dataThe element data handle to release
virtual void em5::DecoratorMiniMap::RenderElement ( Rocket::Core::Element *  element,
Rocket::Core::DecoratorDataHandle  element_data 
)
overridevirtual

Called to render the decorator on an element.

Parameters
[in]elementThe element to render the decorator on
[in]element_dataThe handle to the data generated by the decorator for the element

The documentation for this class was generated from the following files: