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_
Dimension d_bottom_or_height
Either the bototm edge or the height of the area.
Definition: CEGUIFalDimensions.h:686
Abstract interface for a generic 'dimension' class.
Definition: CEGUIFalDimensions.h:43
Class representing some kind of dimension.
Definition: CEGUIFalDimensions.h:498
DimensionOperator
Enumeration of values representing mathematical operations on dimensions.
Definition: CEGUIFalEnums.h:121
Class that represents a target area for a widget or imagery component.
Definition: CEGUIFalDimensions.h:606
Dimension type that represents some dimension of a named Image. Implements BaseDim interface...
Definition: CEGUIFalDimensions.h:234
Dimension d_right_or_width
Either the right edge or the width of the area.
Definition: CEGUIFalDimensions.h:685
DimensionType
Enumeration of possible values to indicate what a given dimension represents.
Definition: CEGUIFalEnums.h:38
Dimension type that represents some metric of a Font. Implements BaseDim interface.
Definition: CEGUIFalDimensions.h:398
Dimension type that represents an absolute pixel value. Implements BaseDim interface.
Definition: CEGUIFalDimensions.h:198
Dimension d_left
Left edge of the area.
Definition: CEGUIFalDimensions.h:683
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: CEGUIWindow.h:138
Dimension d_top
Top edge of the area.
Definition: CEGUIFalDimensions.h:684
Class representing a unified dimension; that is a dimension that has both a relative 'scale' portion ...
Definition: CEGUIUDim.h:47
Class used to create XML Document.
Definition: CEGUIXMLSerializer.h:86
Dimension type that represents the value of a Window property. Implements BaseDim interface...
Definition: CEGUIFalDimensions.h:446
FontMetricType
Enumeration of possible values to indicate a particular font metric.
Definition: CEGUIFalEnums.h:110
Class encapsulating operations on a Rectangle.
Definition: CEGUIRect.h:44
String class used within the GUI system.
Definition: CEGUIString.h:57
Dimension type that represents an Unified dimension. Implements BaseDim interface.
Definition: CEGUIFalDimensions.h:364