28 #ifndef _CEGUIFalDimensions_h_
29 #define _CEGUIFalDimensions_h_
31 #include "CEGUIFalEnums.h"
32 #include "../CEGUIString.h"
33 #include "../CEGUIUDim.h"
34 #include "../CEGUIXMLSerializer.h"
61 float getValue(
const Window& wnd)
const;
80 float getValue(
const Window& wnd,
const Rect& container)
const;
126 const BaseDim* getOperand()
const;
139 void setOperand(
const BaseDim& operand);
159 virtual float getValue_impl(
const Window& wnd)
const = 0;
166 virtual float getValue_impl(
const Window& wnd,
const Rect& container)
const = 0;
174 virtual BaseDim* clone_impl()
const = 0;
180 virtual void writeXMLElementName_impl(
XMLSerializer& xml_stream)
const = 0;
186 virtual void writeXMLElementAttributes_impl(
XMLSerializer& xml_stream)
const = 0;
214 void setValue(
float val);
218 float getValue_impl(
const Window& wnd)
const;
219 float getValue_impl(
const Window& wnd,
const Rect& container)
const;
220 void writeXMLElementName_impl(
XMLSerializer& xml_stream)
const;
221 void writeXMLElementAttributes_impl(
XMLSerializer& xml_stream)
const;
266 void setSourceImage(
const String& imageset,
const String& image);
283 float getValue_impl(
const Window& wnd)
const;
284 float getValue_impl(
const Window& wnd,
const Rect& container)
const;
285 void writeXMLElementName_impl(
XMLSerializer& xml_stream)
const;
286 void writeXMLElementAttributes_impl(
XMLSerializer& xml_stream)
const;
331 void setWidgetName(
const String& name);
348 float getValue_impl(
const Window& wnd)
const;
349 float getValue_impl(
const Window& wnd,
const Rect& container)
const;
350 void writeXMLElementName_impl(
XMLSerializer& xml_stream)
const;
351 void writeXMLElementAttributes_impl(
XMLSerializer& xml_stream)
const;
383 float getValue_impl(
const Window& wnd)
const;
384 float getValue_impl(
const Window& wnd,
const Rect& container)
const;
385 void writeXMLElementName_impl(
XMLSerializer& xml_stream)
const;
386 void writeXMLElementAttributes_impl(
XMLSerializer& xml_stream)
const;
427 float getValue_impl(
const Window& wnd)
const;
428 float getValue_impl(
const Window& wnd,
const Rect& container)
const;
429 void writeXMLElementName_impl(
XMLSerializer& xml_stream)
const;
430 void writeXMLElementAttributes_impl(
XMLSerializer& xml_stream)
const;
478 float getValue_impl(
const Window& wnd)
const;
479 float getValue_impl(
const Window& wnd,
const Rect& container)
const;
480 void writeXMLElementName_impl(
XMLSerializer& xml_stream)
const;
481 void writeXMLElementAttributes_impl(
XMLSerializer& xml_stream)
const;
544 const BaseDim& getBaseDimension()
const;
556 void setBaseDimension(
const BaseDim& dim);
636 Rect getPixelRect(
const Window& wnd,
const Rect& container)
const;
659 bool isAreaFetchedFromProperty()
const;
668 const String& getAreaPropertySource()
const;
680 void setAreaPropertySource(
const String& property);
695 #endif // end of guard _CEGUIFalDimensions_h_