Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>font_color()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FONT_COLOR()
   Sets the foreground and background colors for the font.

   Syntax
         nOk = FONT_COLOR(nHandle,nFg,nBg)

   Arguments
         nHandle     Defines the font handle. Any integer in range of
                     0-31.
         nFg         Sets the foreground color.
         nBg         Sets the background color. (default is -1, transparent)

   Returns
         nOk = FONT_COLOR(nHandle,@nFg,@nBg)
         nOk         Returns a -1 if an error occurred.

   Description
         FONT_COLOR() sets the foreground and background colors for the font.
         A -1 for the background color indicates that no background color will
         be printed to the screen (transparent mode). The default is
         transparent. That means that the font background will be whatever the
         screen background happens to be at that time. The colors are the same
         as those that the command SET_COLOR() uses. If the nFg and nBg are
         passed in by reference, then the current color for the specified font
         handle is stored in those variables.

See Also: FONT_ALIGN() FONT_MAGNI() FONT_ROTAT() FONT_SPACE() FONT_UNDER()

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