27 #ifndef _CEGUIFalagard_xmlHandler_h_
28 #define _CEGUIFalagard_xmlHandler_h_
30 #include "../ChainedXMLHandler.h"
31 #include "./Dimensions.h"
32 #include "../Window.h"
39 class WidgetLookManager;
41 class WidgetComponent;
44 class LayerSpecification;
45 class SectionSpecification;
46 class ImageryComponent;
52 class PropertyDefinitionBase;
53 class EventLinkDefinition;
205 typedef std::map<String, ElementStartHandler, StringFastLessCompare> ElementStartHandlerMap;
207 typedef std::map<String, ElementEndHandler, StringFastLessCompare> ElementEndHandlerMap;
217 void assignAreaDimension(
Dimension& dim);
218 void assignColours(
const ColourRect& colours);
224 void doBaseDimStart(
const BaseDim* dim);
236 void elementWidgetLookStart(
const XMLAttributes& attributes);
248 void elementImagerySectionStart(
const XMLAttributes& attributes);
254 void elementStateImageryStart(
const XMLAttributes& attributes);
272 void elementImageryComponentStart(
const XMLAttributes& attributes);
278 void elementTextComponentStart(
const XMLAttributes& attributes);
284 void elementFrameComponentStart(
const XMLAttributes& attributes);
308 void elementVertFormatStart(
const XMLAttributes& attributes);
314 void elementHorzFormatStart(
const XMLAttributes& attributes);
320 void elementVertAlignmentStart(
const XMLAttributes& attributes);
326 void elementHorzAlignmentStart(
const XMLAttributes& attributes);
344 void elementUnifiedDimStart(
const XMLAttributes& attributes);
350 void elementAbsoluteDimStart(
const XMLAttributes& attributes);
362 void elementImagePropertyDimStart(
const XMLAttributes& attributes);
380 void elementPropertyDimStart(
const XMLAttributes& attributes);
392 void elementColourRectPropertyStart(
const XMLAttributes& attributes);
404 void elementPropertyDefinitionStart(
const XMLAttributes& attributes);
410 void elementPropertyLinkDefinitionStart(
const XMLAttributes& attributes);
416 void elementOperatorDimStart(
const XMLAttributes& attributes);
422 void elementVertFormatPropertyStart(
const XMLAttributes& attributes);
428 void elementHorzFormatPropertyStart(
const XMLAttributes& attributes);
434 void elementAreaPropertyStart(
const XMLAttributes& attributes);
440 void elementImagePropertyStart(
const XMLAttributes& attributes);
446 void elementTextPropertyStart(
const XMLAttributes& attributes);
452 void elementFontPropertyStart(
const XMLAttributes& attributes);
461 void elementPropertyLinkTargetStart(
const XMLAttributes& attributes);
464 void elementAnimationDefinitionStart(
const XMLAttributes& attributes);
467 void elementEventLinkDefinitionStart(
const XMLAttributes& attributes);
470 void elementEventLinkTargetStart(
const XMLAttributes& attributes);
473 void elementNamedAreaSourceStart(
const XMLAttributes& attributes);
475 void elementEventActionStart(
const XMLAttributes& attributes);
481 void elementFalagardEnd();
487 void elementWidgetLookEnd();
493 void elementChildEnd();
499 void elementImagerySectionEnd();
505 void elementStateImageryEnd();
511 void elementLayerEnd();
517 void elementSectionEnd();
523 void elementImageryComponentEnd();
529 void elementTextComponentEnd();
535 void elementFrameComponentEnd();
541 void elementAreaEnd();
547 void elementNamedAreaEnd();
553 void elementAnyDimEnd();
556 void elementPropertyLinkDefinitionEnd();
559 void elementEventLinkDefinitionEnd();
565 void registerElementStartHandler(
const String& element, ElementStartHandler handler);
571 void registerElementEndHandler(
const String& element, ElementEndHandler handler);
574 void processEventLinkTarget(
const String& widget,
const String& event);
585 ElementStartHandlerMap d_startHandlersMap;
586 ElementEndHandlerMap d_endHandlersMap;
603 CEGUI_VECTOR_ALLOC(
BaseDim*)> d_dimStack;
612 #endif // end of guard _CEGUIFalagard_xmlHandler_h_