Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Inherits CEGUI::AllocatedObject< Image >, CEGUI::ChainedXMLHandler, CEGUI::AllocatedObject< Image >, and CEGUI::ChainedXMLHandler.
Inherited by CEGUI::BasicImage, CEGUI::BasicImage, and Image_wrapper.
Public Member Functions | |
virtual const String & | getName () const =0 |
virtual const Sizef & | getRenderedSize () const =0 |
virtual const Vector2f & | getRenderedOffset () const =0 |
virtual void | render (GeometryBuffer &buffer, const Rectf &dest_area, const Rectf *clip_area, const ColourRect &colours) const =0 |
virtual void | notifyDisplaySizeChanged (const Sizef &size)=0 |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Rectf *clip_area=0) const |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Rectf *clip_area, const ColourRect &colours) const |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Sizef &size, const Rectf *clip_area=0) const |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Sizef &size, const Rectf *clip_area, const ColourRect &colours) const |
virtual const String & | getName () const =0 |
virtual const Sizef & | getRenderedSize () const =0 |
virtual const Vector2f & | getRenderedOffset () const =0 |
virtual void | render (GeometryBuffer &buffer, const Rectf &dest_area, const Rectf *clip_area, const ColourRect &colours) const =0 |
virtual void | notifyDisplaySizeChanged (const Sizef &size)=0 |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Rectf *clip_area=0) const |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Rectf *clip_area, const ColourRect &colours) const |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Sizef &size, const Rectf *clip_area=0) const |
void | render (GeometryBuffer &buffer, const Vector2f &position, const Sizef &size, const Rectf *clip_area, const ColourRect &colours) const |
![]() | |
const String & | getSchemaName () const |
Retrieves the schema file name to use with resources handled by this handler. | |
const String & | getDefaultResourceGroup () const |
Retrieves the default resource group to be used when handling files. | |
void | elementStart (const String &element, const XMLAttributes &attributes) |
Method called to notify the handler at the start of each XML element encountered. More... | |
void | elementEnd (const String &element) |
Method called to notify the handler at the end of each XML element encountered. More... | |
bool | completed () const |
returns whether this chained handler has completed. | |
const String & | getSchemaName () const |
Retrieves the schema file name to use with resources handled by this handler. | |
const String & | getDefaultResourceGroup () const |
Retrieves the default resource group to be used when handling files. | |
void | elementStart (const String &element, const XMLAttributes &attributes) |
Method called to notify the handler at the start of each XML element encountered. More... | |
void | elementEnd (const String &element) |
Method called to notify the handler at the end of each XML element encountered. More... | |
bool | completed () const |
returns whether this chained handler has completed. | |
![]() | |
XMLHandler (void) | |
XMLHandler base class constructor. | |
virtual | ~XMLHandler (void) |
XMLHandler base class destructor. | |
void | handleContainer (const RawDataContainer &source) |
Takes given RawDataContainer containing XML and handles it. More... | |
void | handleFile (const String &fileName, const String &resourceGroup) |
Takes given file containing XML and handles it. More... | |
void | handleString (const String &source) |
Takes given string containing XML source and handles it. More... | |
virtual void | text (const String &text) |
Method called to notify text node, several successiv text node are agregated. More... | |
XMLHandler (void) | |
XMLHandler base class constructor. | |
virtual | ~XMLHandler (void) |
XMLHandler base class destructor. | |
void | handleContainer (const RawDataContainer &source) |
Takes given RawDataContainer containing XML and handles it. More... | |
void | handleFile (const String &fileName, const String &resourceGroup) |
Takes given file containing XML and handles it. More... | |
void | handleString (const String &source) |
Takes given string containing XML source and handles it. More... | |
virtual void | text (const String &text) |
Method called to notify text node, several successiv text node are agregated. More... | |
Static Public Member Functions | |
static void | computeScalingFactors (AutoScaledMode mode, const Sizef &display_size, const Sizef &native_display_size, float &x_scale, float &y_scale) |
Helper able to compute scaling factors for auto scaling. More... | |
static void | computeScalingFactors (AutoScaledMode mode, const Sizef &display_size, const Sizef &native_display_size, float &x_scale, float &y_scale) |
Helper able to compute scaling factors for auto scaling. More... | |
Protected Member Functions | |
void | elementStartLocal (const String &element, const XMLAttributes &attributes) |
Function that handles elements locally (used at end of handler chain) | |
void | elementEndLocal (const String &element) |
Function that handles elements locally (used at end of handler chain) | |
void | elementStartLocal (const String &element, const XMLAttributes &attributes) |
Function that handles elements locally (used at end of handler chain) | |
void | elementEndLocal (const String &element) |
Function that handles elements locally (used at end of handler chain) | |
![]() | |
void | cleanupChainedHandler () |
clean up any chained handler. | |
void | cleanupChainedHandler () |
clean up any chained handler. | |
Additional Inherited Members | |
![]() | |
ChainedXMLHandler * | d_chainedHandler |
chained xml handler object. | |
bool | d_completed |
is the chained handler completed. | |
bool | d_deleteChaniedHandler |
should the chained handler be deleted by us? | |
Interface for Image.
In CEGUI, an Image is some object that can render itself into a given GeometryBuffer object. This may be something as simple as a basic textured quad, or something more complex.
|
static |
Helper able to compute scaling factors for auto scaling.
References CEGUI::ASM_Both, CEGUI::ASM_Disabled, CEGUI::ASM_Horizontal, CEGUI::ASM_Max, CEGUI::ASM_Min, and CEGUI::ASM_Vertical.
Referenced by CEGUI::Font::Font(), and CEGUI::Font::notifyDisplaySizeChanged().
|
static |
Helper able to compute scaling factors for auto scaling.