Crazy Eddie's GUI System 0.8.7
|
#include <Image.h>
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 |
![]() | |
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. | |
void | elementEnd (const String &element) |
Method called to notify the handler at the end of each XML element encountered. | |
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. | |
void | handleFile (const String &fileName, const String &resourceGroup) |
Takes given file containing XML and handles it. | |
void | handleString (const String &source) |
Takes given string containing XML source and handles it. | |
virtual void | text (const String &text) |
Method called to notify text node, several successiv text node are agregated. | |
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. | |
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 | 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.
Function that handles elements locally (used at end of handler chain)
Implements CEGUI::ChainedXMLHandler.
|
protectedvirtual |
Function that handles elements locally (used at end of handler chain)
Implements CEGUI::ChainedXMLHandler.
Implemented in CEGUI::BasicImage.