Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Public Member Functions | |
UnifiedDim_wrapper (CEGUI::UnifiedDim const &arg) | |
UnifiedDim_wrapper (::CEGUI::UDim const &value,::CEGUI::DimensionType dim) | |
virtual ::CEGUI::BaseDim * | clone () const |
Create an exact copy of the specialised object and return it as a pointer to a BaseDim object. More... | |
::CEGUI::BaseDim * | default_clone () const |
virtual float | getValue (::CEGUI::Window const &wnd) const |
float | default_getValue (::CEGUI::Window const &wnd) const |
virtual float | getValue (::CEGUI::Window const &wnd,::CEGUI::Rectf const &container) const |
float | default_getValue (::CEGUI::Window const &wnd,::CEGUI::Rectf const &container) 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 |
![]() | |
UnifiedDim (const UDim &value, DimensionType dim) | |
Constructor. More... | |
const UDim & | getBaseValue () const |
Get the current value of the UnifiedDim. | |
void | setBaseValue (const UDim &val) |
Set the current value of the UnifiedDim. | |
DimensionType | getSourceDimension () const |
Gets the source dimension type for this WidgetDim. More... | |
void | setSourceDimension (DimensionType dim) |
Sets the source dimension type for this WidgetDim. 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... | |
UnifiedDim (const UDim &value, DimensionType dim) | |
Constructor. More... | |
const UDim & | getBaseValue () const |
Get the current value of the UnifiedDim. | |
void | setBaseValue (const UDim &val) |
Set the current value of the UnifiedDim. | |
DimensionType | getSourceDimension () const |
Gets the source dimension type for this WidgetDim. More... | |
void | setSourceDimension (DimensionType dim) |
Sets the source dimension type for this WidgetDim. 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... | |
BaseDim * | clone () const |
Create an exact copy of the specialised object and return it as a pointer to a BaseDim object. More... | |
![]() | |
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 | |
![]() | |
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. | |
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. | |
|
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::UnifiedDim.
References CEGUI::UnifiedDim::clone(), CEGUI::UnifiedDim::getBaseValue(), CEGUI::UnifiedDim::getSourceDimension(), CEGUI::UnifiedDim::getValue(), CEGUI::BaseDim::handleFontRenderSizeChange(), CEGUI::UnifiedDim::setBaseValue(), CEGUI::UnifiedDim::setSourceDimension(), CEGUI::UnifiedDim::writeXMLElementAttributes_impl(), CEGUI::UnifiedDim::writeXMLElementName_impl(), and CEGUI::BaseDim::writeXMLToStream().