Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - dispcolor() display a color string at coordinates http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 dispcolor()         Display a color string at coordinates
------------------------------------------------------------------------------
 Declaration
   screen.hdr

 Syntax
   proc dispcolor extern
   param value uint uRow, ;
         value uint uCol, ;
         const char cText, ;
         value byte bColor

 Arguments
   uRow is the row where the string is displayed.

   uCol is the starting column where the string is displayed.

   cText is the string string to be displayed.

   bColor is the color for the string.

 Return
   None.

 Description
   The dispcolor() function displays a color string at the given screen
   location. After the call the previous standard color and cursor
   coordinates are restored.

 Example
   #define EXAMPLE_SCREEN
   #include example.hdr

   proc Test_dispcolor
   dispcolor( 5, 5, "Hello world", WHITE_RED )
   endproc

   proc main
   Test_dispcolor()
   endproc

See Also: ?? dispattr() dispdirect()

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