Saturday, March 6, 2010

Inverse video?

This does not compute.  It's just copying a string to the magic lpnt pointer (actual buffer output) and tagging it with some obscure start and end tags.  I'm going to go out on a limb and guess that it means color the background white and the foreground black.  Inverse video?  Standout mode?

/*

 * lstandout(str) Print the argument string in inverse video (standout mode).
 */
void lstandout(string str)
{

  *lpnt++ = ST_START;
 
  while (*str) {

   *lpnt++ = *str++;
  }
  
  *lpnt++ = ST_END;
}

No comments:

Post a Comment