= SetCurColor = Sets the foreground color {{{ int SetCurColor(int nColor); }}} == Parameters == * nColor - index value to color - most often will use define such as || Define || Default Color || || COLOR_INFO || Green || || COLOR_OPTION || Blue || || COLOR_REQUEST || White || || COLOR_ERROR || Red || || COLOR_ATTENTION || Yellow || || COLOR_HELP || Cyan || The colors for these may be changed from the "Loader" "Preferences" screen. == Return Value == * Returns the index of the previous current color. == Remarks == == Examples == {{{ SetCurColor(COLOR_ERROR); PrintLCD("Error - No paper in printer"); }}} {{{ int nOldColor; nOldColor = SetCurColor(COLOR_ERROR); PrintLCD("Error"); SetCurColor(nOldColor); }}} == See Also == * [wiki:SetBkColor SetBkColor] * [wiki:DisplayText DisplayText]