27 #ifndef _CEGUIFalWidgetLookManager_h_
28 #define _CEGUIFalWidgetLookManager_h_
30 #include "../Singleton.h"
31 #include "../String.h"
32 #include "../Exceptions.h"
33 #include "./WidgetLookFeel.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
39 # pragma warning(disable : 4275)
90 typedef std::map<String, WidgetLookFeel*, StringFastLessCompare CEGUI_MAP_ALLOC(String, WidgetLookFeel*)>
WidgetLookPointerMap;
113 void parseLookNFeelSpecificationFromContainer(
const RawDataContainer& source);
118 void parseLookNFeelSpecificationFromFile(
const String& filename,
const String& resourceGroup =
"");
123 void parseLookNFeelSpecificationFromString(
const String& source);
136 bool isWidgetLookAvailable(
const String& widget)
const;
165 void eraseWidgetLook(
const String& widget);
168 void eraseAllWidgetLooks();
200 void writeWidgetLookToStream(
const String& widgetLookName,
OutStream& out_stream)
const;
213 String getWidgetLookAsString(
const String& widgetLookName)
const;
226 String getWidgetLookSetAsString(
const WidgetLookNameSet& widgetLookNameSet)
const;
244 void writeWidgetLookSeriesToStream(
const String& prefix,
OutStream& out_stream)
const;
260 void writeWidgetLookSetToStream(
const WidgetLookNameSet& widgetLookNameSet,
OutStream& out_stream)
const;
271 {
return d_defaultResourceGroup; }
284 { d_defaultResourceGroup = resourceGroup; }
294 WidgetLookPointerMap getWidgetLookPointerMap();
298 static const String FalagardSchemaName;
300 static String d_defaultResourceGroup;
306 typedef std::map<String, WidgetLookFeel, StringFastLessCompare> WidgetLookList;
309 WidgetLookList d_widgetLooks;
315 WidgetLookIterator getWidgetLookIterator()
const;
321 #if defined(_MSC_VER)
322 # pragma warning(pop)
325 #endif // end of guard _CEGUIFalWidgetLookManager_h_
Definition: MemoryAllocatedObject.h:109
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
std::ostream OutStream
Output stream class.
Definition: Base.h:185
Definition: Singleton.h:55
Class used as the databuffer for loading files throughout the library.
Definition: DataContainer.h:42
iterator class for maps
Definition: IteratorBase.h:196
String class used within the GUI system.
Definition: String.h:62