#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) |
Classes | |
struct | AliasMapping |
struct | FalagardMapping |
struct | LoadableUIElement |
struct | UIElementFactory |
struct | UIModule |
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 87 of file CEGUIScheme.cpp. References CEGUI::Logger::getSingleton(), CEGUI::Informative, CEGUI::Logger::logEvent(), and unloadResources(). |
|
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 353 of file CEGUIScheme.cpp. References CEGUI::WindowFactoryManager::getAliasIterator(), CEGUI::ConstBaseIterator< T >::getCurrentKey(), CEGUI::ConstBaseIterator< T >::getCurrentValue(), CEGUI::WindowFactoryManager::getSingleton(), CEGUI::FontManager::getSingleton(), CEGUI::ImagesetManager::getSingleton(), CEGUI::ConstBaseIterator< T >::isAtEnd(), CEGUI::WindowFactoryManager::isFactoryPresent(), CEGUI::FontManager::isFontPresent(), and CEGUI::ImagesetManager::isImagesetPresent(). |
|
Unloads all resources for this scheme. This should be used very carefully.
Definition at line 255 of file CEGUIScheme.cpp. References CEGUI::FontManager::destroyFont(), CEGUI::ImagesetManager::destroyImageset(), CEGUI::WindowFactoryManager::getAliasIterator(), CEGUI::ConstBaseIterator< T >::getCurrentKey(), CEGUI::ConstBaseIterator< T >::getCurrentValue(), CEGUI::WindowFactoryManager::getFalagardMappingIterator(), CEGUI::WindowFactoryManager::getSingleton(), CEGUI::FontManager::getSingleton(), CEGUI::ImagesetManager::getSingleton(), CEGUI::Logger::getSingleton(), CEGUI::Informative, CEGUI::ConstBaseIterator< T >::isAtEnd(), CEGUI::Logger::logEvent(), CEGUI::WindowFactoryManager::removeFactory(), CEGUI::WindowFactoryManager::removeFalagardWindowMapping(), and CEGUI::WindowFactoryManager::removeWindowTypeAlias(). Referenced by ~Scheme(). |
|
Definition at line 56 of file CEGUIScheme.h. |
|
|
|
|