28 #ifndef _CEGUIFalWidgetLookFeel_h_
29 #define _CEGUIFalWidgetLookFeel_h_
31 #include "./StateImagery.h"
32 #include "./WidgetComponent.h"
33 #include "./ImagerySection.h"
34 #include "./PropertyInitialiser.h"
35 #include "./PropertyDefinition.h"
36 #include "./PropertyLinkDefinition.h"
37 #include "./EventLinkDefinition.h"
38 #include "./NamedArea.h"
39 #include "./NamedDefinitionCollator.h"
43 # pragma warning(push)
44 # pragma warning(disable : 4251)
93 const String& getName()
const;
106 void renameImagerySection(
const String& oldName,
const String& newName);
151 void clearImagerySections();
160 void clearWidgetComponents();
169 void clearStateSpecifications();
178 void clearPropertyInitialisers();
191 void initialiseWidget(
Window& widget)
const;
204 void cleanUpWidget(
Window& widget)
const;
217 bool isStateImageryPresent(
const String& state)
const;
229 void addNamedArea(
const NamedArea& area);
238 void clearNamedAreas();
252 void renameNamedArea(
const String& oldName,
const String& newName);
266 bool isNamedAreaDefined(
const String& name)
const;
279 void layoutChildWidgets(
const Window& owner)
const;
312 void clearPropertyDefinitions();
321 void clearPropertyLinkDefinitions();
332 void addAnimationName(
const String& anim_name);
338 void clearEventLinkDefinitions();
386 const PropertyDefinitionList& getPropertyDefinitions()
const
388 return d_propertyDefinitions;
396 const PropertyLinkDefinitionList& getPropertyLinkDefinitions()
const
398 return d_propertyLinkDefinitions;
411 bool handleFontRenderSizeChange(
Window& window,
const Font* font)
const;
422 typedef std::vector<
String
423 CEGUI_VECTOR_ALLOC(
String)> AnimationList;
425 > AnimationInstanceMap;
434 ImageryList d_imagerySections;
436 WidgetList d_childWidgets;
438 StateList d_stateImagery;
440 PropertyList d_properties;
442 NamedAreaList d_namedAreas;
444 mutable PropertyDefinitionList d_propertyDefinitions;
446 mutable PropertyLinkDefinitionList d_propertyLinkDefinitions;
448 AnimationList d_animations;
450 mutable AnimationInstanceMap d_animationInstances;
452 EventLinkDefinitionList d_eventLinkDefinitions;
462 CEGUI_SET_ALLOC(
String)> AnimationNameSet;
466 void appendChildWidgetComponents(WidgetComponentCollator& col,
bool inherits =
true)
const;
467 void appendPropertyDefinitions(PropertyDefinitionCollator& col,
bool inherits =
true)
const;
468 void appendPropertyLinkDefinitions(PropertyLinkDefinitionCollator& col,
bool inherits =
true)
const;
469 void appendPropertyInitialisers(PropertyInitialiserCollator& col,
bool inherits =
true)
const;
470 void appendEventLinkDefinitions(EventLinkDefinitionCollator& col,
bool inherits =
true)
const;
471 void appendAnimationNames(AnimationNameSet&
set,
bool inherits =
true)
const;
480 CEGUI_SET_ALLOC(
String)> StringSet;
492 StringSet getStateNames(
bool inherits =
false)
const;
493 StringSet getImageryNames(
bool inherits =
false)
const;
494 StringSet getNamedAreaNames(
bool inherits =
false)
const;
496 StringSet getWidgetNames(
bool inherits =
false)
const;
497 StringSet getPropertyDefinitionNames(
bool inherits =
false)
const;
498 StringSet getPropertyLinkDefinitionNames(
bool inherits =
false)
const;
499 StringSet getPropertyInitialiserNames(
bool inherits =
false)
const;
500 StringSet getEventLinkDefinitionNames(
bool inherits =
false)
const;
501 StringSet getAnimationNames(
bool inherits =
false)
const;
503 StateIterator getStateIterator(
bool inherits =
false)
const;
504 ImageryIterator getImageryIterator(
bool inherits =
false)
const;
505 NamedAreaIterator getNamedAreaIterator(
bool inherits =
false)
const;
506 WidgetComponentIterator getWidgetComponentIterator(
bool inherits =
false)
const;
507 PropertyDefinitionIterator getPropertyDefinitionIterator(
bool inherits =
false)
const;
508 PropertyLinkDefinitionIterator getPropertyLinkDefinitionIterator(
bool inherits =
false)
const;
509 PropertyInitialiserIterator getPropertyInitialiserIterator(
bool inherits =
false)
const;
510 EventLinkDefinitionIterator getEventLinkDefinitionIterator(
bool inherits =
false)
const;
511 AnimationNameIterator getAnimationNameIterator(
bool inherits =
false)
const;
517 #if defined(_MSC_VER)
518 # pragma warning(pop)
521 #endif // end of guard _CEGUIFalWidgetLookFeel_h_