30 #ifndef _CEGUIScheme_h_
31 #define _CEGUIScheme_h_
33 #include "CEGUIBase.h"
34 #include "CEGUIString.h"
35 #include "CEGUISchemeManager.h"
42 # pragma warning(push)
43 # pragma warning(disable : 4251)
70 void loadResources(
void);
80 void unloadResources(
void);
90 bool resourcesLoaded(
void)
const;
110 static const String& getDefaultResourceGroup()
111 {
return d_defaultResourceGroup; }
123 static void setDefaultResourceGroup(
const String& resourceGroup)
124 { d_defaultResourceGroup = resourceGroup; }
143 void loadXMLImagesets();
149 void loadImageFileImagesets();
161 void loadLookNFeels();
167 void loadWindowFactories();
173 void loadWindowRendererFactories();
179 void loadFactoryAliases();
185 void loadFalagardMappings();
191 void unloadXMLImagesets();
197 void unloadImageFileImagesets();
209 void unloadLookNFeels();
215 void unloadWindowFactories();
221 void unloadWindowRendererFactories();
227 void unloadFactoryAliases();
233 void unloadFalagardMappings();
239 bool areXMLImagesetsLoaded()
const;
245 bool areImageFileImagesetsLoaded()
const;
251 bool areFontsLoaded()
const;
257 bool areLookNFeelsLoaded()
const;
263 bool areWindowFactoriesLoaded()
const;
269 bool areWindowRendererFactoriesLoaded()
const;
275 bool areFactoryAliasesLoaded()
const;
281 bool areFalagardMappingsLoaded()
const;
298 struct LoadableUIElement
305 struct UIElementFactory
313 FactoryModule* module;
314 std::vector<UIElementFactory> factories;
320 DynamicModule* dynamicModule;
321 WindowRendererModule* wrModule;
322 std::vector<String> wrTypes;
331 struct FalagardMapping
345 std::vector<LoadableUIElement> d_imagesets;
346 std::vector<LoadableUIElement> d_imagesetsFromImages;
347 std::vector<LoadableUIElement> d_fonts;
348 std::vector<UIModule> d_widgetModules;
349 std::vector<WRModule> d_windowRendererModules;
350 std::vector<AliasMapping> d_aliasMappings;
351 std::vector<LoadableUIElement> d_looknfeels;
352 std::vector<FalagardMapping> d_falagardMappings;
354 static String d_defaultResourceGroup;
359 #if defined(_MSC_VER)
360 # pragma warning(pop)
363 #endif // end of guard _CEGUIScheme_h_