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. | |
BaseDim * | clone_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. |
CEGUI::PropertyDim::PropertyDim | ( | const String & | name, | |
const String & | property, | |||
DimensionType | type | |||
) |
Constructor.
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 either a UDim value or a simple float value - dependning upon what type is specified as. | |
type | DimensionType value indicating what dimension named property represents. The possible DimensionType values are as follows:
|
Referenced by clone_impl().