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>draws a '3d(ish)' box, and opptionally labels it</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Draws a '3d(ish)' box, and opptionally labels it
------------------------------------------------------------------------------

 Syntax

        GT_Block( nTop, nLeft, nBottom, nRight, ;
                  <cLabel>, <lShadow>, <cDull>, <cBright>, <cBoxChars>)

 Arguments:

      nTop,nLeft,nBottom & nRight are the coordinates
      cLabel    -   text string to be displayed *ABOVE* the box
      lShadow   -   .T./.F. for shadowing the box
      cDull     -   Darker colour pair
      cBright   -   Brighter colour pair
      cBoxChars -   Box Characters

 Returns:

      NIL

 Description:

      This routine was written to smarten up the screen display a bit.
      The idea is to try and emulate "Windows" type boxes, i.e. to draw
      them in two colours, one brighter than the other.

 Examples:



 Source: GT_BLOCK.PRG

 Author:  Simon Coates

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