CEGUI::PropertyDim Class Reference

Dimension type that represents the value of a Window property. Implements BaseDim interface. More...

Inheritance diagram for CEGUI::PropertyDim:

Inheritance graph
[legend]
Collaboration diagram for CEGUI::PropertyDim:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PropertyDim (const String &name, const String &property, DimensionType type)
 Constructor.

Protected Member Functions

float getValue_impl (const Window &wnd) const
 Implementataion method to return the base value for this BaseDim. This method should not attempt to apply the mathematical operator; this is handled automatically.
float getValue_impl (const Window &wnd, const Rect &container) const
 Implementataion method to return the base value for this BaseDim. This method should not attempt to apply the mathematical operator; this is handled automatically by BaseDim.
void writeXMLElementName_impl (XMLSerializer &xml_stream) const
 Implementataion method to output real xml element name.
void writeXMLElementAttributes_impl (XMLSerializer &xml_stream) const
 Implementataion method to create the element attributes.
BaseDimclone_impl () const
 Implementataion method to return a clone of this sub-class of BaseDim. This method should not attempt to clone the mathematical operator or operand; theis is handled automatically by BaseDim.


Detailed Description

Dimension type that represents the value of a Window property. Implements BaseDim interface.

Constructor & Destructor Documentation

CEGUI::PropertyDim::PropertyDim ( const String name,
const String property,
DimensionType  type 
)

Constructor.

Parameters:
name String holding the name suffix of the window on which the property is to be accessed.
property String object holding the name of the property this PropertyDim represents the value of. The property named should represent a simple float value.
type DimensionType value indicating what dimension named property represents.


Generated on Sat Jun 28 14:36:02 2008 for Crazy Eddies GUI System by  doxygen 1.5.4