Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>void pascal winsetmonomapcolor(int idxcolor, int bforeground, int inewcolor)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
void pascal WinSetMonoMapColor(int idxColor, int bForeground, int inewColor)

  This is used to set a mapping in the monochrome mapping table.
idxColor is the color to map, and can range from 0 to 15. bForeground
is TRUE if idxColor is a foreground color, FALSE if it's a background
color. inewColor is the color which idxColor should be mapped to;
inewColor must be either 0 (for black), 7 (for white), 8 or 15.

PARAMETERS

  idxColor is the color attribute to map. It must be betwen 0 and 15.
  bForeground  is  TRUE  if  idxColor  is  a foreground attribute,
   FALSE if idxColor is a background attribute.
  inewColor is the  monochrome  attribute  to  associated  with  the
   color attribute idxColor.

RETURNS
  Nothing.

EXAMPLE
/* Map the green foreground attribute into white on a mono system */
  WinSetMonoMapColor(GREEN, TRUE, WHITE);

.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson