Equates used by Console_SetTextAttribute to build console colors:
Symbol |
Synbol alias |
Meaning |
%Console_FOREGROUND_BLUE |
%Con_FG_BLUE |
|
%Console_FOREGROUND_GREEN |
%Con_FG_GREEN |
|
%Console_FOREGROUND_RED |
%Con_FG_RED |
|
%Console_FOREGROUND_INTENSITY |
%Con_FG_INTENSITY %Con_FG_INT |
|
%Console_BACKGROUND_BLUE |
%Con_BG_BLUE |
|
%Console_BACKGROUND_GREEN |
%Con_BG_GREEN |
|
%Console_BACKGROUND_RED |
%Con_BG_RED |
|
%Console_BACKGROUND_INTENSITY |
%Con_BG_INTENSITY %Con_BG_INT |
To compose a color just OR (use Or keywork or | symbol) one or more equates.
For example, to have a Bright Cyan Foreground color over Blue Background color, do something like the following:
Long cBrightCyanBGBlue = %Con_FG_BLUE | %Con_FG_GREEN | %Con_FG_INT | %Con_BG_BLUE
To have a Bright Red Foreground color over Black Background color, do something like the following:
Long cBrightRed = %Con_FG_RED | %Con_FG_INT
Other color equates that can be used by Console_SetTextAttribute to build console colors:
Symbol |
Synbol alias |
Meaning |
%CColor_fBlack |
Console Color Foreground Black |
|
%CColor_fBlue |
||
%CColor_fGreen |
||
%CColor_fCyan |
||
%CColor_fCyan |
||
%CColor_fCyan |
||
%CColor_fCyan |
||
%CColor_fRed |
||
%CColor_fMagenta |
||
%CColor_fBrown |
||
%CColor_fWhite |
||
%CColor_fGray |
||
%CColor_fLightBlue |
||
%CColor_fLightGreen |
||
%CColor_fLightCyan |
||
%CColor_fLightRed |
||
%CColor_fLightMagenta |
||
%CColor_fYellow |
||
%CColor_fIntenseWhite |
||
%CColor_bBlack |
Console Color Background Black |
|
%CColor_bBlue |
||
%CColor_bGreen |
||
%CColor_bCyan |
||
%CColor_bRed |
||
%CColor_bMagenta |
||
%CColor_bBrown |
||
%CColor_bWhite |
||
%CColor_bGray |
||
%CColor_bLightBlue |
||
%CColor_bLightGreen |
||
%CColor_bLightCyan |
||
%CColor_bLightRed |
||
%CColor_bLightMagenta |
||
%CColor_bYellow |
||
%CColor_bIntenseWhite |
||