Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>revchrattr() video function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  REVCHRATTR()                                                Video Function
 Purpose..: Reverse the attribute for one character on screen
-------------------------------------------------------------------------------
 Syntax...: RevChrAttr( <nRow>, <nCol> ) --> NIL

 Arguments: <nRow>   = Row.
            <nCol>   = Column.

 Returns..: NIL

 Remark...: It is a high speed function to reverse the color of a
            specified square of screen without disturbing any text on
            the screen. If the specified screen rectangle has a white
            Fore and blue Back, the function will change to blue in the
            Fore and white in the background.

 Source...: REVATTR.C
-------------------------------------------------------------------------------
 Example..: The example will change the screens colors to their
            reverse attribute without changing or overwriting any text
            that maybe on the screen. Like all of these functions, it
            uses direct video writes for speed.

              RevChrAttr( 12, 37 )

See Also: SetAttr() ClrTable() RevAttr() wSetColor()

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