10#ifndef GUIRADIALBAR__H_
11#define GUIRADIALBAR__H_
13#include "GUIAbstractBar.h"
14#include "GUIColorPropertyObserver.h"
121 const eC_Value& vWidth,
122 const eC_Value& vHeight,
146#ifdef GUILIANI_STREAM_GUI
149#ifdef GUILIANI_WRITE_GUI
181 static const eC_UInt INDEX_UNFILLEDCOLOR;
182 static const eC_UInt INDEX_FILLEDCOLOR;
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
GlobalProperty_t
List of property resource ids.
Definition: GUIPropertyResource.h:67
Base class for bars.
Definition: GUIAbstractBar.h:33
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
Base class for radial bars.
Definition: GUIRadialBar.h:33
void SetUnfilledColor(const GlobalProperty_t &eColor)
void SetUnfilledColor(const eC_UInt &uiColor)
CGUIRadialBar(CGUICompositeObject *const pkParent, const CGUIRect &kRect, const ObjectHandle_t &eID=NO_HANDLE)
eC_Value m_vEndAngle
end-angle
Definition: GUIRadialBar.h:167
void SetFilledColor(const eC_UInt &uiColor)
eC_Value GetStartAngle() const
eC_Value GetEndAngle() const
virtual void DrawUnfilled()
virtual void DrawFilled()
void SetCenterFilled(const eC_Bool &bCenterFilled)
CGUIRadialBar(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const ObjectHandle_t &eID=NO_HANDLE)
eC_Bool m_bCenterFilled
if center is filled or cut
Definition: GUIRadialBar.h:164
void SetEndAngle(const eC_Value &vEndAngle)
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
eC_Value m_vStartAngle
start-angle
Definition: GUIRadialBar.h:166
eC_Bool m_bUseArcs
draw arcs instead of rings
Definition: GUIRadialBar.h:163
void SetFilledColor(const GlobalProperty_t &eColor)
eC_Value m_vTotalAngle
total angle
Definition: GUIRadialBar.h:168
eC_Bool IsCenterFilled() const
eC_UInt GetUnfilledColor() const
void SetBarWidth(const eC_Value &vBarWidth)
eC_Value m_vBarWidth
width of the bar
Definition: GUIRadialBar.h:165
CGUIRadialBar(const CGUIRadialBar &kSource)
eC_Value GetBarWidth() const
virtual void ReadFromStream()
CGUIRadialBar & operator=(const CGUIRadialBar &kSource)
void SetStartAngle(const eC_Value &vStartAngle)
eC_UInt GetFilledColor() const
Helper class to supply a platform independent rectangle implementation.
Definition: GUIRect.h:63