Rocket::Core::DecoratorNoneInstancer Class Reference

#include <DecoratorNoneInstancer.h>

Inheritance diagram for Rocket::Core::DecoratorNoneInstancer:
Collaboration diagram for Rocket::Core::DecoratorNoneInstancer:

Public Member Functions

virtual DecoratorInstanceDecorator (const String &name, const PropertyDictionary &properties)
virtual void ReleaseDecorator (Decorator *decorator)
virtual void Release ()
 Releases the instancer.

Detailed Description

The instancer for the none decorator.

Author:
Peter Curry

Member Function Documentation

virtual Decorator* Rocket::Core::DecoratorNoneInstancer::InstanceDecorator ( const String name,
const PropertyDictionary properties 
) [virtual]

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

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

Implements Rocket::Core::DecoratorInstancer.

void Rocket::Core::DecoratorNoneInstancer::ReleaseDecorator ( Decorator decorator  )  [virtual]

Releases the given decorator.

Parameters:
decorator Decorator to release. This is guaranteed to have been constructed by this instancer.

Implements Rocket::Core::DecoratorInstancer.


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