#include <DecoratorPhotograph.hpp>
|
|
bool | Initialise (const Rocket::Core::String &image_source, const Rocket::Core::String &image_path) |
| virtual Rocket::Core::DecoratorDataHandle | GenerateElementData (Rocket::Core::Element *element) |
| virtual void | ReleaseElementData (Rocket::Core::DecoratorDataHandle element_data) |
| virtual void | RenderElement (Rocket::Core::Element *element, Rocket::Core::DecoratorDataHandle element_data) |
◆ GenerateElementData()
| virtual Rocket::Core::DecoratorDataHandle nom::DecoratorPhotograph::GenerateElementData |
( |
Rocket::Core::Element * | element | ) |
|
|
virtual |
Called on a decorator to generate any required per-element data for a newly decorated element.
- Parameters
-
| element[in] | The newly decorated element. |
- Returns
- A handle to a decorator-defined data handle, or NULL if none is needed for the element.
◆ ReleaseElementData()
| virtual void nom::DecoratorPhotograph::ReleaseElementData |
( |
Rocket::Core::DecoratorDataHandle | element_data | ) |
|
|
virtual |
Called to release element data generated by this decorator.
- Parameters
-
| element_data[in] | The element data handle to release. |
◆ RenderElement()
| virtual void nom::DecoratorPhotograph::RenderElement |
( |
Rocket::Core::Element * | element, |
|
|
Rocket::Core::DecoratorDataHandle | element_data ) |
|
virtual |
Called to render the decorator on an element.
- Parameters
-
| element[in] | The element to render the decorator on. |
| element_data[in] | The handle to the data generated by the decorator for the element. |
◆ image_
| Texture nom::DecoratorPhotograph::image_ |
|
private |
The documentation for this class was generated from the following file: