Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_curtain() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_CURTAIN()

 DESCRIPTION

 The C_CURTAIN() function paints a box or a colored rectangle on the
 screen using a "curtain opening" effect.  The curtain can open up,
 down, left, or right and the speed at which it opens can be specified.

 SYNTAX

 C_CURTAIN(st_row, st_col, end_row, end_col [,color] [,dir] [,box] [,speed])

 PARAMETERS

 st_row (N), st_col (N), end_row (N), and end_col (N) define the
 upper left and lower right screen coordinates of the area to draw
 the curtain.

 color (C) is the color to display for the curtain and box.  If
 color is not specified, the current Clipper color is used.

 dir (C) is the direction to open the curtain.  The directions are
 as follows:  U = up, D = down, R = right, and L = left.  If dir is
 not specified, the default direction of "D" (Down) is used.

 box (N) is the type of box (0-5) to display.  The box types are as
 follows:  0=no box, 1=single box, 2=double box, 3=double top/single
 sides, 4=single top/double sides, and 5=Solid graphics.  If box is
 not specified, box type 2 (double) is used.

 speed (N) is the speed (0 = fastest to 99 = slowest) at which the
 curtain opens.  If speed is not specified, the default of 0
 (fastest) is used.

 RETURNS

 There is no return value.

 EXAMPLES

 && Open curtain in white on blue, upwards, with double box, atspeed 5

 c_curtain(10,10,20,70,"W/B","U",2,5)
 ...
 @ 12,12 say fld_data1      && Write text on curtain area
 @ 14,12 say fld_data2
 ...


See Also: C_EXPLODE() C_SLIDE() C_SHADOW() C_SHADOWIT() C_XSHADOW()

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