nomlib
Loading...
Searching...
No Matches
nom::DecoratorFinalFantasyFrame Class Reference

#include <DecoratorFinalFantasyFrame.hpp>

Inheritance diagram for nom::DecoratorFinalFantasyFrame:
[legend]

Public Member Functions

bool Initialise ()
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)

Private Attributes

std::unique_ptr< IDecoratordecorator_
FloatRect bounds_
 The bounds of our decorator.

Detailed Description

Member Function Documentation

◆ GenerateElementData()

virtual Rocket::Core::DecoratorDataHandle nom::DecoratorFinalFantasyFrame::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::DecoratorFinalFantasyFrame::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::DecoratorFinalFantasyFrame::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.

Member Data Documentation

◆ bounds_

FloatRect nom::DecoratorFinalFantasyFrame::bounds_
private

The bounds of our decorator.

Note
The state of the element's coordinates are stored every frame so that we can synchronize the coordinates to our custom decorator.

Definition at line 74 of file DecoratorFinalFantasyFrame.hpp.

◆ decorator_

std::unique_ptr<IDecorator> nom::DecoratorFinalFantasyFrame::decorator_
private

Definition at line 68 of file DecoratorFinalFantasyFrame.hpp.


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