SaturnRingLibrary 0.9
SGL wrapper
 
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches

◆ SetColor()

static bool SRL::ASCII::SetColor ( uint16_t color,
uint8_t colorIndex )
inlinestatic

Set color in the specified palette index of the current font pallet.

Parameters
colorRGB555 color to set in current pallet
colorIndexindex to write the color to in the currently active font pallet (Clamped to 16 color palette)
Returns
false if colorIndex are out-of-range, true otherwise