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

ThreeWayProgressBar class

Syntax

class ThreeWayProgressBar : public Container { public:     ThreeWayProgressBar();     virtual ~ThreeWayProgressBar();     void reset();     void stopAnimation();     void setBarPercentage(int barIndex, int percentage);     void setActive(bool active);     void setButtonClickedCallback(touchgfx::GenericCallback<const ThreeWayProgressBar&>& callback)     {         buttonClickedAction = &callback;     } private:     static const int NUMBER_OF_BARS = 3;     GenericCallback<const ThreeWayProgressBar&>* buttonClickedAction;     int radius;     Image background;     ButtonWithLabel centerButton;     MoveAnimator<ThreeWayProgressBarCircle> circles[NUMBER_OF_BARS];     Circle bars[NUMBER_OF_BARS]; #if !defined(USE_BPP) || USE_BPP==16     PainterRGB565Bitmap bitmapPainter; #elif USE_BPP==24     PainterRGB888Bitmap bitmapPainter; #elif USE_BPP==4     PainterGRAY4Bitmap bitmapPainter; #elif USE_BPP==2     PainterGRAY2Bitmap bitmapPainter; #else #error Unknown USE_BPP #endif     Callback<ThreeWayProgressBar, const AbstractButton& > buttonPressedCallback;     void buttonPressedHandler(const AbstractButton& button); };

Fields

NUMBER_OF_BARS

No summary provided. Read more...

buttonClickedAction

No summary provided. Read more...

radius

No summary provided. Read more...

background

No summary provided. Read more...

centerButton

No summary provided. Read more...

circles

No summary provided. Read more...

bars

No summary provided. Read more...

bitmapPainter

No summary provided. Read more...

buttonPressedCallback

No summary provided. Read more...

Methods

reset()

No summary provided. Read more...

stopAnimation()

No summary provided. Read more...

setBarPercentage()

No summary provided. Read more...

setActive()

No summary provided. Read more...

setButtonClickedCallback()

No summary provided. Read more...

buttonPressedHandler()

No summary provided. Read more...

Class Tree

Child classes
ThreeWayProgressBar
all items filtered out
Variables of ThreeWayProgressBar type
CustomControlsView::threeWayProgressBar
all items filtered out
ThreeWayProgressBar