Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>change/return the colour setting</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Change/return the colour setting
------------------------------------------------------------------------------

 Syntax

        GT_ColorSet( nColorNum , cNewColor )

 Arguments:

      nColorNum - Colour number to be addressed
      cNewColor - Optional new colour string

 Returns:

      The current colour setting

 Description:

      Returns the current setting of the given colour area.
      If cNewColor is passed, the given colour setting is changed to
      cNewColor.
      GT_LIB.CH contains #define values for the available colour areas.

 Examples:

      Change the first colour setting to "W+/R" :

          nColour := GT_ColorSet( 1 , "W+/R" )

 Header File: GT_LIB.CH

 Source: COLORSET.PRG

 Author:  Martin Colloby

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