11 #ifndef SCROLL_CHOICE_ENUM_MENU_ITEM_H
12 #define SCROLL_CHOICE_ENUM_MENU_ITEM_H
14 #include <PlatformDetermination.h>
16 #include <EepromAbstraction.h>
36 enum EnumMemMode : uint8_t {
37 MEMORY_ONLY, EEPROM_BASED, CUSTOM
40 EepromPosition eepromStart;
41 const char *rangeValues;
43 uint8_t lastCacheSize;
58 int itemSize,
int numberOfItems,
MenuItem *next =
nullptr);
76 int itemSize,
int numberOfItems,
MenuItem *next =
nullptr);
102 int itemSize,
int numberOfItems,
MenuItem *next =
nullptr,
bool isPgm = INFO_LOCATION_PGM);
120 int itemSize,
int numberOfItems,
MenuItem *next =
nullptr,
bool isPgm = INFO_LOCATION_PGM);
155 int getEepromStart()
const {
return eepromStart; }
157 int getItemWidth()
const {
return itemSize; }
159 EnumMemMode getMemMode()
const {
return memMode; }
166 void copyTransportText(
char *
string,
size_t i);
168 void setFromRemote(
const char* buffer);
191 red = green = blue = alpha = 0;
194 RgbColor32(
int r,
int g,
int b,
int a = 255) {
212 void asHtmlString(
char *buffer,
size_t bufferSize,
bool withAlpha)
const;
302 static void setRgbPrintMode(
RgbPrintMode mode) { printMode = mode; }
303 static RgbPrintMode getRgbPrintMode() {
return printMode; }
Definition: ScrollChoiceMenuItem.h:183