#include <CEGUIScheme.h>
Collaboration diagram for CEGUI::Scheme:
Public Member Functions | |
void | loadResources (void) |
Loads all resources for this scheme. | |
void | unloadResources (void) |
Unloads all resources for this scheme. This should be used very carefully. | |
bool | resourcesLoaded (void) const |
Return whether the resources for this Scheme are all loaded. | |
const String & | getName (void) const |
Return the name of this Scheme. | |
~Scheme (void) | |
Destroys a Scheme object. | |
Friends | |
class | Scheme_xmlHandler |
Scheme * | SchemeManager::loadScheme (const String &scheme_filename, const String &resourceGroup) |
void | SchemeManager::unloadScheme (const String &scheme_name) |
A GUI Scheme is a high-level construct that loads and initialises various lower-level objects and registers them within the system for usage. So, for example, a Scheme might create some Imageset objects, some Font objects, and register a collection of WindowFactory objects within the system which would then be in a state to serve those elements to client code.
Definition at line 54 of file CEGUIScheme.h.
|
Destroys a Scheme object.
Definition at line 158 of file CEGUIScheme.cpp. References CEGUI::Informative, unloadResources(), and CEGUI::utf8. |
|
Return the name of this Scheme.
Definition at line 95 of file CEGUIScheme.h. Referenced by CEGUI::SchemeManager::loadScheme(). |
|
|
Return whether the resources for this Scheme are all loaded.
Definition at line 345 of file CEGUIScheme.cpp. References CEGUI::WindowFactoryManager::getAliasIterator(), CEGUI::ConstBaseIterator< T >::getCurrentKey(), CEGUI::ConstBaseIterator< T >::getCurrentValue(), CEGUI::ConstBaseIterator< T >::isAtEnd(), CEGUI::WindowFactoryManager::isFactoryPresent(), CEGUI::FontManager::isFontPresent(), CEGUI::ImagesetManager::isImagesetPresent(), and CEGUI::WindowFactoryManager::TypeAliasIterator. |
|
Unloads all resources for this scheme. This should be used very carefully.
Definition at line 277 of file CEGUIScheme.cpp. References CEGUI::FontManager::destroyFont(), CEGUI::ImagesetManager::destroyImageset(), CEGUI::WindowFactoryManager::getAliasIterator(), CEGUI::ConstBaseIterator< T >::getCurrentKey(), CEGUI::Informative, CEGUI::ConstBaseIterator< T >::isAtEnd(), CEGUI::WindowFactoryManager::removeFactory(), CEGUI::WindowFactoryManager::removeWindowTypeAlias(), CEGUI::WindowFactoryManager::TypeAliasIterator, and CEGUI::utf8. Referenced by ~Scheme(). |
|
Definition at line 56 of file CEGUIScheme.h. |
|
|
|
|