contains the menu item definition for scrolling choice types, and also for RGB items More...
Go to the source code of this file.
Classes | |
class | ScrollChoiceMenuItem |
struct | RgbColor32 |
class | Rgb32MenuItem |
Enumerations | |
enum | RgbPrintMode { DECIMAL , HEX_HTML } |
Functions | |
int | enumItemRenderFn (RuntimeMenuItem *item, uint8_t row, RenderFnMode mode, char *buffer, int bufferSize) |
uint8_t | hexValueOf (char val) |
int | rgbAlphaItemRenderFn (RuntimeMenuItem *item, uint8_t row, RenderFnMode mode, char *buffer, int bufferSize) |
contains the menu item definition for scrolling choice types, and also for RGB items
enum RgbPrintMode |
Defines which printing to use for RGB items globally, either DECIMAL which is more user friendly but takes more space, or HEX_HTML which is more much compact and uses HTML format.
int enumItemRenderFn | ( | RuntimeMenuItem * | item, |
uint8_t | row, | ||
RenderFnMode | mode, | ||
char * | buffer, | ||
int | bufferSize | ||
) |
the render function for enum items
uint8_t hexValueOf | ( | char | val | ) |
Helper function to get the hex character for a digit.
val | the input between 0..15 |
int rgbAlphaItemRenderFn | ( | RuntimeMenuItem * | item, |
uint8_t | row, | ||
RenderFnMode | mode, | ||
char * | buffer, | ||
int | bufferSize | ||
) |
The rendering callback function for RGB values