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.
|
This section lists all available indicators. Base classes are not listed here.
The BoolIndicator indicator can be used to display the value of an boolean variable. This indicator offers different style (classic "ON"/"OFF", LED).
![]()
Led Style (off) | ![]()
Led Style (on) |
![]()
Classic Style (off) | ![]()
Classic Style (on) |
The EnumIndicator indicator can be used to display the value from an enumeration variable.
The Icon indicator can be used to show an icon on the user interface. The icons must be in the .xbm format and located in the program memory (using the PROGMEM attribute).
The Label indicator can be used to show a string on the user interface. The Label supports multiline strings (containing line breaks) and different fonts.
maxStringLength * sizeof(char)
(Text)![]()
Label | ![]()
Another label with another font |
The NumericIndicator can be used to display the value of a numeric variable. The value is displayed in prefixed format if possible (e.g. 1000 is displayed as 1k)
maxStringBufferLength * sizeof(char)
(_stringDrawBuffer)The ProgressBar indicator can be used to display a progress bar. It supports different fill modes (origin left, origin right, origin zero) and ticks.