Crazy Eddie's GUI System  ${CEGUI_VERSION}
ImagePropertyDim_wrapper Struct Reference
+ Inheritance diagram for ImagePropertyDim_wrapper:
+ Collaboration diagram for ImagePropertyDim_wrapper:

Public Member Functions

 ImagePropertyDim_wrapper (CEGUI::ImagePropertyDim const &arg)
 
 ImagePropertyDim_wrapper (::CEGUI::String const &property_name,::CEGUI::DimensionType dim)
 
virtual ::CEGUI::BaseDimclone () const
 Create an exact copy of the specialised object and return it as a pointer to a BaseDim object. More...
 
::CEGUI::BaseDimdefault_clone () const
 
virtual ::CEGUI::Image const * getSourceImage (::CEGUI::Window const &wnd) const
 
virtual ::CEGUI::Image const * default_getSourceImage (::CEGUI::Window const &wnd) const
 
virtual void writeXMLElementAttributes_impl (::CEGUI::XMLSerializer &xml_stream) const
 
virtual void default_writeXMLElementAttributes_impl (::CEGUI::XMLSerializer &xml_stream) const
 
virtual void writeXMLElementName_impl (::CEGUI::XMLSerializer &xml_stream) const
 
virtual void default_writeXMLElementName_impl (::CEGUI::XMLSerializer &xml_stream) const
 
virtual bool handleFontRenderSizeChange (::CEGUI::Window &window,::CEGUI::Font const *font) const
 
bool default_handleFontRenderSizeChange (::CEGUI::Window &window,::CEGUI::Font const *font) const
 
virtual void writeXMLToStream (::CEGUI::XMLSerializer &xml_stream) const
 
void default_writeXMLToStream (::CEGUI::XMLSerializer &xml_stream) const
 
- Public Member Functions inherited from CEGUI::ImagePropertyDim
 ImagePropertyDim (const String &property_name, DimensionType dim)
 Constructor. More...
 
const StringgetSourceProperty () const
 return the name of the property accessed by this ImagePropertyDim.
 
void setSourceProperty (const String &property_name)
 set the name of the property accessed by this ImagePropertyDim.
 
 ImagePropertyDim (const String &property_name, DimensionType dim)
 Constructor. More...
 
const StringgetSourceProperty () const
 return the name of the property accessed by this ImagePropertyDim.
 
void setSourceProperty (const String &property_name)
 set the name of the property accessed by this ImagePropertyDim.
 
BaseDimclone () const
 Create an exact copy of the specialised object and return it as a pointer to a BaseDim object. More...
 
- Public Member Functions inherited from CEGUI::ImageDimBase
 ImageDimBase (DimensionType dim)
 Constructor. More...
 
DimensionType getSourceDimension () const
 Gets the source dimension type for this WidgetDim. More...
 
void setSourceDimension (DimensionType dim)
 Sets the source dimension type for this ImageDim. More...
 
float getValue (const Window &wnd) const
 Return a value that represents this dimension as absolute pixels. More...
 
float getValue (const Window &wnd, const Rectf &container) const
 Return a value that represents this dimension as absolute pixels. More...
 
 ImageDimBase (DimensionType dim)
 Constructor. More...
 
DimensionType getSourceDimension () const
 Gets the source dimension type for this WidgetDim. More...
 
void setSourceDimension (DimensionType dim)
 Sets the source dimension type for this ImageDim. More...
 
float getValue (const Window &wnd) const
 Return a value that represents this dimension as absolute pixels. More...
 
float getValue (const Window &wnd, const Rectf &container) const
 Return a value that represents this dimension as absolute pixels. More...
 
- Public Member Functions inherited from CEGUI::BaseDim
virtual void writeXMLToStream (XMLSerializer &xml_stream) const
 Writes an xml representation of this BaseDim to out_stream. More...
 
virtual bool handleFontRenderSizeChange (Window &window, const Font *font) const
 perform any processing required due to the given font having changed.
 
virtual void writeXMLToStream (XMLSerializer &xml_stream) const
 Writes an xml representation of this BaseDim to out_stream. More...
 
virtual bool handleFontRenderSizeChange (Window &window, const Font *font) const
 perform any processing required due to the given font having changed.
 

Additional Inherited Members

- Protected Member Functions inherited from CEGUI::ImagePropertyDim
const ImagegetSourceImage (const Window &wnd) const
 return the image instance to access
 
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.
 
const ImagegetSourceImage (const Window &wnd) const
 return the image instance to access
 
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.
 
- Protected Attributes inherited from CEGUI::ImagePropertyDim
String d_propertyName
 name of the property from which to fetch the image name.
 
- Protected Attributes inherited from CEGUI::ImageDimBase
DimensionType d_what
 the dimension of the image that we are to represent.
 

Member Function Documentation

virtual ::CEGUI::BaseDim* ImagePropertyDim_wrapper::clone ( ) const
inlinevirtual

Create an exact copy of the specialised object and return it as a pointer to a BaseDim object.

Since the system needs to be able to copy objects derived from BaseDim, but only has knowledge of the BaseDim interface, this clone method is provided to prevent slicing issues.

Reimplemented from CEGUI::ImagePropertyDim.

References CEGUI::ImagePropertyDim::clone(), CEGUI::ImagePropertyDim::getSourceImage(), CEGUI::ImagePropertyDim::getSourceProperty(), CEGUI::BaseDim::handleFontRenderSizeChange(), CEGUI::ImagePropertyDim::setSourceProperty(), CEGUI::ImagePropertyDim::writeXMLElementAttributes_impl(), CEGUI::ImagePropertyDim::writeXMLElementName_impl(), and CEGUI::BaseDim::writeXMLToStream().