Dimension type that represents some dimension of a named Image. Implements BaseDim interface.
More...
|
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.
|
|
Dimension type that represents some dimension of a named Image. Implements BaseDim interface.
Constructor.
- Parameters
-
imageset | String object holding the name of the imagseset which contains the image. |
image | String object holding the name of the image. |
dim | DimensionType value indicating which dimension of the described image that this ImageDim is to represent. |
Sets the source dimension type for this ImageDim.
- Parameters
-
dim | DimensionType value indicating which dimension of the described image that this ImageDim is to represent. |
- Returns
- Nothing.
void CEGUI::ImageDim::setSourceImage |
( |
const String & |
imageset, |
|
|
const String & |
image |
|
) |
| |
Sets the source image information for this ImageDim.
- Parameters
-
imageset | String object holding the name of the imagseset which contains the image. |
image | String object holding the name of the image. |
- Returns
- Nothing.