10#ifndef GUIABSTRACTBAR__H_
11#define GUIABSTRACTBAR__H_
43 CheckForValueChange();
64 CheckForValueChange();
73 CheckForValueChange();
82 CheckForValueChange();
91 CheckForValueChange();
98 void SetRange(eC_Int iMinValue, eC_Int iMaxValue)
100 m_kRange.
SetRange(iMinValue, iMaxValue);
101 CheckForValueChange();
110 CheckForValueChange();
119 CheckForValueChange();
128 CheckForValueChange();
138 CheckForValueChange();
150 CheckForValueChange();
161 CheckForValueChange();
170 CheckForValueChange();
194 inline void SetAnimationSpeed(
const eC_UInt &ruiAnimationSpeed) { m_uiAnimationSpeed = ruiAnimationSpeed; }
204 inline void SetAnimationInterval(
const eC_UInt &ruiAnimationInterval) { m_uiAnimationInterval = ruiAnimationInterval; }
218 virtual void DoAnimate(
const eC_Value& vTimes = eC_FromInt(1));
238 const eC_Value& vWidth,
239 const eC_Value& vHeight,
263#ifdef GUILIANI_STREAM_GUI
266#ifdef GUILIANI_WRITE_GUI
281 void CheckForValueChange();
290 eC_UInt m_uiAnimationSpeed;
293 eC_UInt m_uiAnimationInterval;
296 eC_Int m_iTargetValue;
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
Base class for bars.
Definition: GUIAbstractBar.h:33
void SetMaximumLevelIsAlwaysValid(eC_Bool bNotOnlyMultiplesOfStepSize)
Definition: GUIAbstractBar.h:167
CGUIAbstractBar(const CGUIAbstractBar &kSource)
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
void SetMinValue(eC_Int iMinValue)
Definition: GUIAbstractBar.h:79
void SetMaxValue(eC_Int iMaxValue)
Definition: GUIAbstractBar.h:88
virtual eC_Bool SetValue(const CGUIValue &rkValue)
Definition: GUIAbstractBar.h:40
eC_Bool Decrease()
Definition: GUIAbstractBar.h:146
const CGUIRange & GetRange() const
Definition: GUIAbstractBar.h:53
CGUIAbstractBar(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)
void SetStepSize(eC_UInt uiIntValues)
Definition: GUIAbstractBar.h:125
eC_UInt GetAnimationInterval() const
Definition: GUIAbstractBar.h:209
void SetAnimationInterval(const eC_UInt &ruiAnimationInterval)
Definition: GUIAbstractBar.h:204
void SetLevel(eC_Value vPercent)
Definition: GUIAbstractBar.h:61
CGUIAbstractBar & operator=(const CGUIAbstractBar &kSource)
void AnimateToValue(const eC_Int iTargetValue)
void SetAnimationSpeed(const eC_UInt &ruiAnimationSpeed)
Definition: GUIAbstractBar.h:194
eC_UInt GetAnimationSpeed() const
Definition: GUIAbstractBar.h:199
virtual void DoAnimate(const eC_Value &vTimes=eC_FromInt(1))
void SetLevelPercentage(eC_UInt uiPercentage)
Definition: GUIAbstractBar.h:70
void SetBase(CGUIRange::Base_t eBase)
Definition: GUIAbstractBar.h:158
CGUIAbstractBar(CGUICompositeObject *const pkParent, const CGUIRect &kRect, const ObjectHandle_t &eID=NO_HANDLE)
eC_Bool Increase()
Definition: GUIAbstractBar.h:134
void SetRange(eC_Int iMinValue, eC_Int iMaxValue)
Definition: GUIAbstractBar.h:98
void SetStepSizeLevelPercentage(eC_UInt uiPercentage)
Definition: GUIAbstractBar.h:107
void SetStepSizeLevel(eC_Value vPercent)
Definition: GUIAbstractBar.h:116
virtual void ReadFromStream()
virtual eC_Bool OnValueChange()
Definition: GUIAbstractBar.h:185
This is the Guiliani base class for all composite objects.
Definition: GUICompositeObject.h:70
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79
Helper class to supply a platform independent range implementation.
Definition: GUIRange.h:67
void SetValue(eC_Int iNewValue)
void SetStepSizeLevel(eC_Value vPercent)
void SetMaximumLevelIsAlwaysValid(eC_Bool bNotOnlyMultiplesOfStepSize)
Definition: GUIRange.h:377
void SetStepSizeLevelPercentage(eC_UInt uiPercentage)
void SetLevelPercentage(eC_UInt uiPercentage)
void SetBase(Base_t eBase)
void SetMinValue(eC_Int iMinValue)
Definition: GUIRange.h:269
void SetRange(eC_Int iMinValue, eC_Int iMaxValue)
void SetLevel(eC_Value vPercent)
void SetStepSize(eC_UInt uiIntValues)
Base_t
Whether base is at minimum or maximum of the range.
Definition: GUIRange.h:72
void SetMaxValue(eC_Int iMaxValue)
Definition: GUIRange.h:288
Helper class to supply a platform independent rectangle implementation.
Definition: GUIRect.h:63
CGUIValue stores a single value in one specific type.
Definition: GUIValue.h:25