CircularProgress is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

CircularProgress class

Based on CircularProgress from github repository TOR. https://github.com/draupnergraphics/touchgfx-open-repository/tree/master/widgets/CircularProgress

Syntax

class CircularProgress : public Container { public:     CircularProgress();     virtual ~CircularProgress();     int getValue()     {         return currentPercentage;     }     void setBarAngle(int angleInDegrees);     virtual void handleClickEvent(const ClickEvent& evt);     virtual void handleDragEvent(const DragEvent& evt); protected:     static const int END_DEGREE = 116;     static const int START_DEGREE = -END_DEGREE;     Image background;     Image centerImage;     Circle bar; #if !defined(USE_BPP) || USE_BPP==16     PainterRGB565Bitmap bitmapPainter;     PainterRGB565 colorPainter; #elif USE_BPP==24     PainterRGB888Bitmap bitmapPainter;     PainterRGB888 colorPainter; #elif USE_BPP==4     PainterGRAY4Bitmap bitmapPainter;     PainterGRAY4 colorPainter; #elif USE_BPP==2     PainterGRAY2Bitmap bitmapPainter;     PainterGRAY2 colorPainter; #else #error Unknown USE_BPP #endif     TextAreaWithOneWildcard percentageText;     Unicode::UnicodeChar percentageTextBuffer[5];     TextArea headlineText;     int currentPercentage;     void updateBar(int newX, int newY); };

Fields

END_DEGREE

No summary provided. Read more...

START_DEGREE

No summary provided. Read more...

background

No summary provided. Read more...

centerImage

No summary provided. Read more...

bar

No summary provided. Read more...

bitmapPainter

No summary provided. Read more...

colorPainter

No summary provided. Read more...

percentageText

No summary provided. Read more...

percentageTextBuffer

No summary provided. Read more...

headlineText

No summary provided. Read more...

currentPercentage

No summary provided. Read more...

Methods

getValue()

No summary provided. Read more...

setBarAngle()

No summary provided. Read more...

handleClickEvent()

No summary provided. Read more...

handleDragEvent()

No summary provided. Read more...

updateBar()

No summary provided. Read more...