Classes | |
struct | AliasMapping |
struct | FalagardMapping |
struct | LoadableUIElement |
struct | UIElementFactory |
struct | UIModule |
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. | |
Static Public Member Functions | |
static const String & | getDefaultResourceGroup () |
Returns the default resource group currently set for Schemes. | |
static void | setDefaultResourceGroup (const String &resourceGroup) |
Sets the default resource group to be used when loading scheme xml data. | |
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.
CEGUI::Scheme::~Scheme | ( | void | ) |
static const String& CEGUI::Scheme::getDefaultResourceGroup | ( | void | ) | [inline, static] |
const String& CEGUI::Scheme::getName | ( | void | ) | const [inline] |
void CEGUI::Scheme::loadResources | ( | void | ) |
bool CEGUI::Scheme::resourcesLoaded | ( | void | ) | const |
static void CEGUI::Scheme::setDefaultResourceGroup | ( | const String & | resourceGroup | ) | [inline, static] |
Sets the default resource group to be used when loading scheme xml data.
resourceGroup | String describing the default resource group identifier to be used. |
void CEGUI::Scheme::unloadResources | ( | void | ) |
Unloads all resources for this scheme. This should be used very carefully.
References CEGUI::Informative.
Referenced by ~Scheme().