Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIRadialProgressBar.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#ifndef CGUIRADIALPROGRESSBAR__H_
11#define CGUIRADIALPROGRESSBAR__H_
12
13#include "GUIRadialBar.h"
14
15#include "GUIImageResource.h"
16#include "GUICommonEnums.h"
17#include "GUINinePatch.h"
18
20
21// @guiliani_doxygen toplevel_control Radial Progress Bar
34// @endguiliani_doxygen
39{
40public:
50 CGUICompositeObject* const pkParent,
51 const eC_Value& vX, const eC_Value& vY,
52 const eC_Value& vWidth, const eC_Value& vHeight,
53 const ObjectHandle_t &eID = NO_HANDLE);
54
61 CGUICompositeObject* const pkParent,
62 const CGUIRect& kRect,
63 const ObjectHandle_t &eID = NO_HANDLE);
64
69
75
80 eC_Bool Increase();
81
86 eC_Bool Decrease();
87
90
94 virtual void SetWidth(const eC_Value& vWidth);
95
99 virtual void SetHeight(const eC_Value& vHeight);
100
101#ifdef GUILIANI_STREAM_GUI
103
104 virtual void ReadFromStream();
105#endif
106
107#ifdef GUILIANI_WRITE_GUI
108 virtual void WriteToStream(const eC_Bool bWriteClassID = false);
109#endif
110
111 virtual eC_Bool IsHighlightable() const { return false; }
112
113protected:
118 eC_Bool IncrementValue(eC_Bool bInc);
119
122 void Init();
123
128
130 void DeInit();
131};
132#endif
Helper Macros in Guiliani
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
This is the Guiliani base class for all composite objects.
Definition: GUICompositeObject.h:70
Base class for radial bars.
Definition: GUIRadialBar.h:33
A primitive-based radial progress bar.
Definition: GUIRadialProgressBar.h:39
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
CGUIRadialProgressBar & operator=(const CGUIRadialProgressBar &kSource)
void CopyAttributes(const CGUIRadialProgressBar &kSource)
virtual ~CGUIRadialProgressBar()
Destructor.
void DeInit()
Deinitialize the control and free the resources.
eC_Bool IncrementValue(eC_Bool bInc)
virtual void SetWidth(const eC_Value &vWidth)
CGUIRadialProgressBar(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)
CGUIRadialProgressBar(const CGUIRadialProgressBar &kSource)
CGUIRadialProgressBar(CGUICompositeObject *const pkParent, const CGUIRect &kRect, const ObjectHandle_t &eID=NO_HANDLE)
virtual void ReadFromStream()
virtual void SetHeight(const eC_Value &vHeight)
virtual eC_Bool IsHighlightable() const
Definition: GUIRadialProgressBar.h:111
Helper class to supply a platform independent rectangle implementation.
Definition: GUIRect.h:63