29#ifndef _CEGUIScheme_h_
30#define _CEGUIScheme_h_
32#include "CEGUI/Base.h"
33#include "CEGUI/String.h"
34#include "CEGUI/SchemeManager.h"
42# pragma warning(disable : 4251)
134 {
return d_defaultResourceGroup; }
147 { d_defaultResourceGroup = resourceGroup; }
350 typedef std::vector<
String
351 CEGUI_VECTOR_ALLOC(
String)> TypeList;
362 struct FalagardMapping
376 LoadableUIElementList d_imagesets;
377 LoadableUIElementList d_imagesetsFromImages;
378 LoadableUIElementList d_fonts;
380 typedef std::vector<UIModule
381 CEGUI_VECTOR_ALLOC(UIModule)> UIModuleList;
382 UIModuleList d_widgetModules;
384 typedef std::vector<UIModule
385 CEGUI_VECTOR_ALLOC(UIModule)> WRModuleList;
386 WRModuleList d_windowRendererModules;
388 typedef std::vector<AliasMapping
389 CEGUI_VECTOR_ALLOC(AliasMapping)> AliasMappingList;
390 AliasMappingList d_aliasMappings;
392 LoadableUIElementList d_looknfeels;
394 typedef std::vector<FalagardMapping
395 CEGUI_VECTOR_ALLOC(FalagardMapping)> FalagardMappingList;
396 FalagardMappingList d_falagardMappings;
398 static String d_defaultResourceGroup;
Definition MemoryAllocatedObject.h:110
iterator for vectors
Definition IteratorBase.h:288
Class that wraps and gives access to a dynamically linked module (.dll, .so, etc.....
Definition DynamicModule.h:43
Definition FactoryModule.h:46
Handler class used to parse the Scheme XML files using SAX2.
Definition Scheme_xmlHandler.h:38
A class that groups a set of GUI elements and initialises the system to access those elements.
Definition Scheme.h:60
LoadableUIElementIterator getImageFileImagesets() const
Retrieves iterator for all references to image file imagesets that are to be loaded with this Scheme.
void unloadWindowFactories()
Unregister all window factories registered by the scheme.
void unloadResources(void)
Unloads all resources for this scheme. This should be used very carefully.
void loadResources(void)
Loads all resources for this scheme.
bool areFactoryAliasesLoaded() const
Check state of all factory aliases created by the scheme.
const String & getName(void) const
Return the name of this Scheme.
Definition Scheme.h:123
bool areLookNFeelsLoaded() const
Check state of all looknfeel files loaded by the scheme.
void loadImageFileImagesets()
Load all image file based imagesets required by the scheme.
void unloadWindowRendererFactories()
Unregister all window renderer factories registered by the scheme.
void unloadImageFileImagesets()
Unload all image file based imagesets created by the scheme.
void loadFalagardMappings()
Create all falagard mappings required by the scheme.
void loadFactoryAliases()
Register all factory aliases required by the scheme.
LoadableUIElementIterator getLookNFeels() const
Retrieves iterator for all references to LookNFeels files that are to be loaded with this Scheme.
static const String & getDefaultResourceGroup()
Returns the default resource group currently set for Schemes.
Definition Scheme.h:133
void loadXMLImagesets()
Load all XML based imagesets required by the scheme.
void loadWindowFactories()
Register all window factories required by the scheme.
bool resourcesLoaded(void) const
Return whether the resources for this Scheme are all loaded.
LoadableUIElementIterator getFonts() const
Retrieves iterator for all references to font files that are to be loaded with this Scheme.
static void setDefaultResourceGroup(const String &resourceGroup)
Sets the default resource group to be used when loading scheme xml data.
Definition Scheme.h:146
bool areWindowRendererFactoriesLoaded() const
Check state of all window renderer factories registered by the scheme.
bool areFontsLoaded() const
Check state of all xml based fonts created by the scheme.
void loadWindowRendererFactories()
Register all window renderer factories required by the scheme.
bool areXMLImagesetsLoaded() const
Check state of all XML based imagesets created by the scheme.
void unloadLookNFeels()
Unload all xml looknfeel files loaded by the scheme.
void unloadXMLImagesets()
Unload all XML based imagesets created by the scheme.
void unloadFactoryAliases()
Unregister all factory aliases created by the scheme.
void unloadFalagardMappings()
Unregister all falagard mappings created by the scheme.
void loadLookNFeels()
Load all xml looknfeel files required by the scheme.
void loadFonts()
Load all xml based fonts required by the scheme.
LoadableUIElementIterator getXMLImagesets() const
Retrieves iterator for all references to XML imagesets that are to be loaded with this Scheme.
void unloadFonts()
Unload all xml based fonts created by the scheme.
bool areImageFileImagesetsLoaded() const
Check state of all image file based imagesets created by the scheme.
bool areFalagardMappingsLoaded() const
Check state of all falagard mappings created by the scheme.
bool areWindowFactoriesLoaded() const
Check state of all window factories registered by the scheme.
~Scheme(void)
Destroys a Scheme object.
String class used within the GUI system.
Definition String.h:64
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1
A single file reference to a font, imageset or so to be loaded as part of this Scheme.
Definition Scheme.h:301