wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/SetBkColor

SetBkColor

Sets the background color

int SetBkColor(int nColor);

Parameters

  • nColor - index value to color

Return Value

  • Returns the index of the previous background color.

Remarks

Examples

SetBkColor(nColorWhite);
SetCurColor(nColorBlack);
PrintLCD("Black text on white background");
int nPrevBk = SetBkColor(nColorWhite);
int nPrevText = SetCurColor(nColorBlack);
PrintLCD("Black text on white background");
SetBkColor(nPrevBk);
SetCurColor(nPrevText);

See Also

Last modified 6 years ago Last modified on 04/19/18 07:13:41
Note: See TracWiki for help on using the wiki.