27 #ifndef _CEGUIFalWidgetLookFeel_h_
28 #define _CEGUIFalWidgetLookFeel_h_
30 #include "./StateImagery.h"
31 #include "./WidgetComponent.h"
32 #include "./ImagerySection.h"
33 #include "./PropertyInitialiser.h"
34 #include "./PropertyDefinition.h"
35 #include "./PropertyLinkDefinition.h"
36 #include "./EventLinkDefinition.h"
37 #include "./NamedArea.h"
38 #include "./NamedDefinitionCollator.h"
42 # pragma warning(push)
43 # pragma warning(disable : 4251)
92 const String& getName()
const;
105 void renameImagerySection(
const String& oldName,
const String& newName);
150 void clearImagerySections();
159 void clearWidgetComponents();
168 void clearStateSpecifications();
177 void clearPropertyInitialisers();
190 void initialiseWidget(
Window& widget)
const;
203 void cleanUpWidget(
Window& widget)
const;
216 bool isStateImageryPresent(
const String& state)
const;
228 void addNamedArea(
const NamedArea& area);
237 void clearNamedAreas();
251 void renameNamedArea(
const String& oldName,
const String& newName);
265 bool isNamedAreaDefined(
const String& name)
const;
278 void layoutChildWidgets(
const Window& owner)
const;
311 void clearPropertyDefinitions();
320 void clearPropertyLinkDefinitions();
331 void addAnimationName(
const String& anim_name);
337 void clearEventLinkDefinitions();
385 const PropertyDefinitionList& getPropertyDefinitions()
const
387 return d_propertyDefinitions;
395 const PropertyLinkDefinitionList& getPropertyLinkDefinitions()
const
397 return d_propertyLinkDefinitions;
410 bool handleFontRenderSizeChange(
Window& window,
const Font* font)
const;
421 typedef std::vector<
String
422 CEGUI_VECTOR_ALLOC(
String)> AnimationList;
424 > AnimationInstanceMap;
433 ImageryList d_imagerySections;
435 WidgetList d_childWidgets;
437 StateList d_stateImagery;
439 PropertyList d_properties;
441 NamedAreaList d_namedAreas;
443 mutable PropertyDefinitionList d_propertyDefinitions;
445 mutable PropertyLinkDefinitionList d_propertyLinkDefinitions;
447 AnimationList d_animations;
449 mutable AnimationInstanceMap d_animationInstances;
451 EventLinkDefinitionList d_eventLinkDefinitions;
461 CEGUI_SET_ALLOC(
String)> AnimationNameSet;
465 void appendChildWidgetComponents(WidgetComponentCollator& col,
bool inherits =
true)
const;
466 void appendPropertyDefinitions(PropertyDefinitionCollator& col,
bool inherits =
true)
const;
467 void appendPropertyLinkDefinitions(PropertyLinkDefinitionCollator& col,
bool inherits =
true)
const;
468 void appendPropertyInitialisers(PropertyInitialiserCollator& col,
bool inherits =
true)
const;
469 void appendEventLinkDefinitions(EventLinkDefinitionCollator& col,
bool inherits =
true)
const;
470 void appendAnimationNames(AnimationNameSet&
set,
bool inherits =
true)
const;
479 CEGUI_SET_ALLOC(
String)> StringSet;
491 StringSet getStateNames(
bool inherits =
false)
const;
492 StringSet getImageryNames(
bool inherits =
false)
const;
493 StringSet getNamedAreaNames(
bool inherits =
false)
const;
495 StringSet getWidgetNames(
bool inherits =
false)
const;
496 StringSet getPropertyDefinitionNames(
bool inherits =
false)
const;
497 StringSet getPropertyLinkDefinitionNames(
bool inherits =
false)
const;
498 StringSet getPropertyInitialiserNames(
bool inherits =
false)
const;
499 StringSet getEventLinkDefinitionNames(
bool inherits =
false)
const;
500 StringSet getAnimationNames(
bool inherits =
false)
const;
502 StateIterator getStateIterator(
bool inherits =
false)
const;
503 ImageryIterator getImageryIterator(
bool inherits =
false)
const;
504 NamedAreaIterator getNamedAreaIterator(
bool inherits =
false)
const;
505 WidgetComponentIterator getWidgetComponentIterator(
bool inherits =
false)
const;
506 PropertyDefinitionIterator getPropertyDefinitionIterator(
bool inherits =
false)
const;
507 PropertyLinkDefinitionIterator getPropertyLinkDefinitionIterator(
bool inherits =
false)
const;
508 PropertyInitialiserIterator getPropertyInitialiserIterator(
bool inherits =
false)
const;
509 EventLinkDefinitionIterator getEventLinkDefinitionIterator(
bool inherits =
false)
const;
510 AnimationNameIterator getAnimationNameIterator(
bool inherits =
false)
const;
516 #if defined(_MSC_VER)
517 # pragma warning(pop)
520 #endif // end of guard _CEGUIFalWidgetLookFeel_h_