FabGL
ESP32 Display Controller and Graphics Library
|
void setPaletteItem | ( | int | index, |
RGB888 const & | color | ||
) |
Determines color of specified palette item.
index | Palette item (0..1) |
color | Color to assign to this item |
Example:
// Color item 0 is pure Red displayController.setPaletteItem(0, RGB888(255, 0, 0));
Definition at line 114 of file vga2controller.cpp.