Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Public Member Functions | |
virtual void | text (::CEGUI::String const &text) |
void | default_text (::CEGUI::String const &text) |
![]() | |
template<typename T > | |
void | addImageType (const String &name) |
Register an Image subclass with the system and associate it with the identifier name. More... | |
void | removeImageType (const String &name) |
Unregister the Image subclass that was registered under the identifier name. More... | |
bool | isImageTypeAvailable (const String &name) const |
Return whether an Image subclass has been registered using the identifier name. More... | |
Image & | create (const String &type, const String &name) |
Create an instance of Image subclass registered for identifier type using the name name. More... | |
Image & | create (const XMLAttributes &attributes) |
void | destroy (Image &image) |
void | destroy (const String &name) |
void | destroyAll () |
Image & | get (const String &name) const |
bool | isDefined (const String &name) const |
uint | getImageCount () const |
void | loadImageset (const String &filename, const String &resource_group="") |
void | loadImagesetFromString (const String &source) |
void | destroyImageCollection (const String &prefix, const bool delete_texture=true) |
void | addFromImageFile (const String &name, const String &filename, const String &resource_group="") |
void | notifyDisplaySizeChanged (const Sizef &size) |
Notify the ImageManager that the display size may have changed. More... | |
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. | |
ImageIterator | getIterator () const |
Return a ImageManager::ImageIterator object to iterate over the available Image objects. | |
template<typename T > | |
void | addImageType (const String &name) |
Register an Image subclass with the system and associate it with the identifier name. More... | |
void | removeImageType (const String &name) |
Unregister the Image subclass that was registered under the identifier name. More... | |
bool | isImageTypeAvailable (const String &name) const |
Return whether an Image subclass has been registered using the identifier name. More... | |
Image & | create (const String &type, const String &name) |
Create an instance of Image subclass registered for identifier type using the name name. More... | |
Image & | create (const XMLAttributes &attributes) |
void | destroy (Image &image) |
void | destroy (const String &name) |
void | destroyAll () |
Image & | get (const String &name) const |
bool | isDefined (const String &name) const |
uint | getImageCount () const |
void | loadImageset (const String &filename, const String &resource_group="") |
void | loadImagesetFromString (const String &source) |
void | destroyImageCollection (const String &prefix, const bool delete_texture=true) |
void | addFromImageFile (const String &name, const String &filename, const String &resource_group="") |
void | notifyDisplaySizeChanged (const Sizef &size) |
Notify the ImageManager that the display size may have changed. More... | |
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. | |
ImageIterator | getIterator () const |
Return a ImageManager::ImageIterator object to iterate over the available Image objects. | |
![]() | |
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. | |
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... | |
Additional Inherited Members | |
![]() | |
typedef std::pair< Image *, ImageFactory * > | ImagePair |
One entry in the image container. | |
typedef std::map< String, ImagePair, StringFastLessCompare CEGUI_MAP_ALLOC(String, Image *)> | ImageMap |
container type used to hold the images. | |
typedef ConstMapIterator < ImageMap > | ImageIterator |
ConstBaseIterator type definition. | |
typedef std::pair< Image *, ImageFactory * > | ImagePair |
One entry in the image container. | |
typedef std::map< String, ImagePair, StringFastLessCompare CEGUI_MAP_ALLOC(String, Image *)> | ImageMap |
container type used to hold the images. | |
typedef ConstMapIterator < ImageMap > | ImageIterator |
ConstBaseIterator type definition. | |
![]() | |
static void | setImagesetDefaultResourceGroup (const String &resourceGroup) |
Sets the default resource group to be used when loading imageset data. More... | |
static const String & | getImagesetDefaultResourceGroup () |
Returns the default resource group currently set for Imagesets. More... | |
static void | setImagesetDefaultResourceGroup (const String &resourceGroup) |
Sets the default resource group to be used when loading imageset data. More... | |
static const String & | getImagesetDefaultResourceGroup () |
Returns the default resource group currently set for Imagesets. More... | |
![]() | |
static ImageManager & | getSingleton (void) |
static ImageManager & | getSingleton (void) |
static ImageManager * | getSingletonPtr (void) |
static ImageManager * | getSingletonPtr (void) |
![]() | |
void | cleanupChainedHandler () |
clean up any chained handler. | |
void | cleanupChainedHandler () |
clean up any chained handler. | |
![]() | |
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? | |
![]() | |
static ImageManager * | ms_Singleton |