29 #ifndef _CEGUIScheme_h_
30 #define _CEGUIScheme_h_
32 #include "CEGUI/Base.h"
33 #include "CEGUI/String.h"
34 #include "CEGUI/SchemeManager.h"
41 # pragma warning(push)
42 # pragma warning(disable : 4251)
93 void loadResources(
void);
103 void unloadResources(
void);
113 bool resourcesLoaded(
void)
const;
134 {
return d_defaultResourceGroup; }
147 { d_defaultResourceGroup = resourceGroup; }
153 void loadXMLImagesets();
159 void loadImageFileImagesets();
171 void loadLookNFeels();
177 void loadWindowFactories();
183 void loadWindowRendererFactories();
189 void loadFactoryAliases();
195 void loadFalagardMappings();
201 void unloadXMLImagesets();
207 void unloadImageFileImagesets();
219 void unloadLookNFeels();
225 void unloadWindowFactories();
231 void unloadWindowRendererFactories();
237 void unloadFactoryAliases();
243 void unloadFalagardMappings();
249 bool areXMLImagesetsLoaded()
const;
255 bool areImageFileImagesetsLoaded()
const;
261 bool areFontsLoaded()
const;
267 bool areLookNFeelsLoaded()
const;
273 bool areWindowFactoriesLoaded()
const;
279 bool areWindowRendererFactoriesLoaded()
const;
285 bool areFactoryAliasesLoaded()
const;
291 bool areFalagardMappingsLoaded()
const;
319 LoadableUIElementIterator getXMLImagesets()
const;
325 LoadableUIElementIterator getImageFileImagesets()
const;
331 LoadableUIElementIterator getFonts()
const;
337 LoadableUIElementIterator getLookNFeels()
const;
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;
403 #if defined(_MSC_VER)
404 # pragma warning(pop)
407 #endif // end of guard _CEGUIScheme_h_
const String & getName(void) const
Return the name of this Scheme.
Definition: Scheme.h:123
Definition: MemoryAllocatedObject.h:109
Class that wraps and gives access to a dynamically linked module (.dll, .so, etc...)
Definition: DynamicModule.h:41
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
iterator for vectors
Definition: IteratorBase.h:287
static void setDefaultResourceGroup(const String &resourceGroup)
Sets the default resource group to be used when loading scheme xml data.
Definition: Scheme.h:146
static const String & getDefaultResourceGroup()
Returns the default resource group currently set for Schemes.
Definition: Scheme.h:133
Definition: FactoryModule.h:44
Handler class used to parse the Scheme XML files using SAX2.
Definition: Scheme_xmlHandler.h:37
A single file reference to a font, imageset or so to be loaded as part of this Scheme.
Definition: Scheme.h:300
A class that groups a set of GUI elements and initialises the system to access those elements...
Definition: Scheme.h:58
String class used within the GUI system.
Definition: String.h:62