CEGUI::UnifiedDim Class Reference

Dimension type that represents an Unified dimension. Implements BaseDim interface. More...

Inheritance diagram for CEGUI::UnifiedDim:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UnifiedDim (const UDim &value, DimensionType dim)
 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 an Unified dimension. Implements BaseDim interface.

Constructor & Destructor Documentation

CEGUI::UnifiedDim::UnifiedDim ( const UDim value,
DimensionType  dim 
)

Constructor.

Parameters:
value UDim holding the value to assign to this UnifiedDim.
dim DimensionType value indicating what this UnifiedDim is to represent. This is required because we need to know what part of the base Window that the UDim scale component is to operate against.

Referenced by clone_impl().


Generated on Thu Nov 27 20:34:40 2008 for Crazy Eddies GUI System by  doxygen 1.5.7.1