UI_Lib  a1366e08a59cc549a65fa26081e6409aa12f26d5
This is a user interface library for graphical LCDs. It offers many different controls and indicators that can be nested depending on the element types.
Loading...
Searching...
No Matches
ProgressBar.h File Reference

Containing a class for a progress bar indicator that is showing a horizontal progress bar. More...

Go to the source code of this file.

Classes

class  ProgressBar< T >
 Class for a progress bar indicator that is showing a horizontal progress bar. More...
 

Macros

#define PROGRESSBAR_LONG_TICK_LENGTH   6
 Length of the tick lines used at all values dividable by 10.
 
#define PROGRESSBAR_MIDDLE_TICK_LENGTH   4
 Length of the tick lines used at all values dividable by 5.
 
#define PROGRESSBAR_SHORT_TICK_LENGTH   2
 Length of the tick lines used at all values dividable by 1.
 

Typedefs

typedef enum ProgressBarOrigin ProgressBarOrigin_t
 Available progress bar origin positions.
 

Enumerations

enum  ProgressBarOrigin { PROGRESSBAR_ORIGIN_LEFT , PROGRESSBAR_ORIGIN_ZERO , PROGRESSBAR_ORIGIN_RIGHT }
 Available progress bar origin positions. More...
 

Detailed Description

Containing a class for a progress bar indicator that is showing a horizontal progress bar.

Enumeration Type Documentation

◆ ProgressBarOrigin

Available progress bar origin positions.

Enumerator
PROGRESSBAR_ORIGIN_LEFT 

Origin is on the left.

All space from the minValue to the actualValue is filled.

PROGRESSBAR_ORIGIN_ZERO 

Origin is at the zero point.

The space from zero to the actualValue is filled (only negative or positive area).

PROGRESSBAR_ORIGIN_RIGHT 

Origin is on the right.

All space from the maxValue to the actualValue is filled.