Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - display_attributes _ http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   Display_Attributes                                                _
   The  display  package allows display attributes to be  modified.  This
   allows  inverse  video,  bright  and  blinking  to  be  used  on  both
   monochrome  and  color displays. In addition separate  foreground  and
   background colors can be specified on color displays and underline can
   be  used  on  monochrome displays. Three functions  are  provided  for
   display  attribute control. A general function disp_setattr,  and  two
   apecific functions disp_startstand and disp_endstand. The latter  turn
   reverse video on and off for subsequent disp output operations,  while
   the former allows more general attribute control.

   There  are  a  number of macros defined in disp.h  for  use  with  the
   disp_setattr function. They are as follows:

   DISP_NORMAL
   monochrome:    normal video
   color:         white text on a black background

   DISP_NONDISPLAY
   monochrome:    invisible text
   color:         invisible text on a black background

   DISP_REVERSEVIDEO
   monochrome:    inverse video
   color:         black text on a white background

   DISP_UNDERLINE
   monochrome:    underlined text
   color:         blue text on a black background

   For more information see the relevant function descriptions.


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