30 void begin(
void)
final;
33 static void updateHandler(uint16_t theme_base, uint8_t theme);
43 uint16_t theme_base, uint8_t max_themes);
48 static uint16_t palette_base_;
55 #define FOCUS_HOOK_LEDPALETTETHEME \ 56 FOCUS_HOOK(LEDPaletteTheme.paletteFocusHook, \ static const cRGB lookupPaletteColor(uint8_t palette_index)
Definition: LED-Palette-Theme.cpp:79
static void updateColorIndexAtPosition(uint16_t theme_base, uint16_t position, uint8_t color_index)
Definition: LED-Palette-Theme.cpp:86
static bool themeFocusHandler(const char *command, const char *expected_command, uint16_t theme_base, uint8_t max_themes)
Definition: LED-Palette-Theme.cpp:131
Definition: LED-Palette-Theme.h:26
static void updateHandler(uint16_t theme_base, uint8_t theme)
Definition: LED-Palette-Theme.cpp:43
Definition: Kaleidoscope-Hardware-Shortcut.h:29
void begin(void) final
Definition: LED-Palette-Theme.cpp:32
static uint16_t reserveThemes(uint8_t max_themes)
Definition: LED-Palette-Theme.cpp:39
static const uint8_t lookupColorIndexAtPosition(uint16_t theme_base, uint16_t position)
Definition: LED-Palette-Theme.cpp:56
Definition: Kaleidoscope.h:40
static bool paletteFocusHook(const char *command)
Definition: LED-Palette-Theme.cpp:100
static uint8_t transparent_index
Definition: LED-Palette-Theme.h:45
LEDPaletteTheme(void)
Definition: LED-Palette-Theme.cpp:29
static const bool lookupColorAtPosition(uint16_t theme_base, uint16_t position, cRGB *color)
Definition: LED-Palette-Theme.cpp:68