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

#include <DecoratorPhotograph.hpp>

Inheritance diagram for nom::DecoratorInstancerPhotograph:
[legend]

Public Member Functions

Rocket::Core::Decorator * InstanceDecorator (const Rocket::Core::String &name, const Rocket::Core::PropertyDictionary &properties)
void ReleaseDecorator (Rocket::Core::Decorator *decorator)
void Release ()
 Releases the instancer.

Detailed Description

Member Function Documentation

◆ InstanceDecorator()

Rocket::Core::Decorator * nom::DecoratorInstancerPhotograph::InstanceDecorator ( const Rocket::Core::String & name,
const Rocket::Core::PropertyDictionary & properties )

Instances a decorator given the property tag and attributes from the RCSS file.

Parameters
nameThe type of decorator desired. For example, "background-decorator: simple;" is declared as type "simple".
propertiesAll RCSS properties associated with the decorator.
Returns
The decorator if it was instanced successful, NULL if an error occured.

◆ ReleaseDecorator()

void nom::DecoratorInstancerPhotograph::ReleaseDecorator ( Rocket::Core::Decorator * decorator)

Releases the given decorator.

Parameters
decoratorDecorator to release. This is guaranteed to have been constructed by this instancer.

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