10#ifndef GUIGEOMETRYOBJECT_H_
11#define GUIGEOMETRYOBJECT_H_
14#include "GUIColorPropertyObserver.h"
69 const eC_Value& vWidth,
70 const eC_Value& vHeight,
71 const eC_UInt& uiColor,
73 const eC_Value& vThickness = eC_FromInt(1),
74 const eC_Bool& bFilled =
false,
94 const eC_Value& vWidth,
95 const eC_Value& vHeight,
96 const eC_UInt& uiColor,
97 const eC_UInt& uiBorderColor,
99 const eC_Value& vThickness = eC_FromInt(1),
100 const eC_Bool& bFilled =
false,
119#if defined(GUILIANI_STREAM_GUI)
123#if defined(GUILIANI_WRITE_GUI)
229 static const eC_UInt INDEX_BORDERCOLOR;
230 static const eC_UInt INDEX_COLOR;
233 eC_Value m_vThickness;
235 eC_Value m_vStartAngle;
236 eC_Value m_vEndAngle;
237 eC_Value m_vRotationAngle;
238 eC_Value m_vRingWidth;
240 eC_Value m_vDimensionAdjustment;
Helper Macros in Guiliani
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
Helper Macros in Guiliani
GlobalProperty_t
List of property resource ids.
Definition: GUIPropertyResource.h:67
This observer provides the base-interface for controls when using color-properties.
Definition: GUIColorPropertyObserver.h:23
This is the Guiliani base class for all composite objects.
Definition: GUICompositeObject.h:70
Simple control for displaying geometrical primitives.
Definition: GUIGeometryObject.h:38
PrimitiveShape_t GetShape() const
void SetBorderColor(const GlobalProperty_t &eBorderColor)
PrimitiveShape_t
Enumeration for object shapes.
Definition: GUIGeometryObject.h:42
@ PS_LINE1
Diagonal line, from top/left to bottom/right corner of the object.
Definition: GUIGeometryObject.h:43
@ PS_HORIZONTAL_LINE
Horizontal line, centered within the object.
Definition: GUIGeometryObject.h:46
@ PS_ELLIPSE
Ellipse, centered within the object.
Definition: GUIGeometryObject.h:47
@ PS_ARC
Arc, centered within the object.
Definition: GUIGeometryObject.h:49
@ PS_RECTANGLE
Rectangle, Covering the entire object.
Definition: GUIGeometryObject.h:48
@ PS_VERTICAL_LINE
Vertical line, centered within the object.
Definition: GUIGeometryObject.h:45
@ PS_LINE2
Diagonal line, from top/right to bottom/left corner of the object.
Definition: GUIGeometryObject.h:44
@ PS_RING
Ring, centered within the object with specific width.
Definition: GUIGeometryObject.h:50
void SetBorderColor(const eC_UInt &uiBorderColor)
eC_Value GetStartAngle() const
eC_Value GetRotationAngle() const
CGUIGeometryObject(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const eC_UInt &uiColor, const PrimitiveShape_t eShape, const eC_Value &vThickness=eC_FromInt(1), const eC_Bool &bFilled=false, const ObjectHandle_t &eID=NO_HANDLE)
void SetStartAngle(const eC_Value &vStartAngle)
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
CGUIGeometryObject & operator=(const CGUIGeometryObject &kSource)
eC_Value GetThickness() const
virtual void ReadFromStream()
void CopyAttributes(const CGUIGeometryObject &kSource)
void SetFilled(const eC_Bool &bFilled)
eC_Value GetRingWidth() const
eC_UInt GetBorderColor() const
void SetColor(const GlobalProperty_t &eColor)
void SetColor(const eC_UInt &uiColor)
virtual eC_Bool IsHighlightable() const
Definition: GUIGeometryObject.h:135
void SetRingWidth(const eC_Value &vRingWidth)
void SetEndAngle(const eC_Value &vEndAngle)
void SetThickness(const eC_Value &vThickness)
virtual ~CGUIGeometryObject()
eC_Value GetEndAngle() const
void SetShape(const PrimitiveShape_t eShape)
void SetRotationAngle(const eC_Value &vRotationAngle)
CGUIGeometryObject(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const eC_UInt &uiColor, const eC_UInt &uiBorderColor, const PrimitiveShape_t eShape, const eC_Value &vThickness=eC_FromInt(1), const eC_Bool &bFilled=false, const ObjectHandle_t &eID=NO_HANDLE)
eC_Bool GetFilled() const
CGUIGeometryObject(const CGUIGeometryObject &kSource)
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:81