•  Back 
  •  Graphics Library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Fileform_dial()
graf_growbox()
Graphics Library
graf_shrinkbox()                                                        AES

Syntax

WORD graf_shrinkbox( x1, y1, w1, h1, x2, y2, w2, h2 )
WORD x1, y1, w1, h1, x2, y2, w2, h2;

Function       graf_shrinkbox() displays an animated box shrinking from
               one rectangle to another. It should be used to provide the
               user with a visual 'clue' to an action. It is the
               complement function to graf_growbox().

Opcode         74 (0x4A)

Availability   All AES versions.

Parameters     x1, y1, w1, and h1 are the coordinates of the rectangle to
               shrink to.
               x2, y2, w2, and h2 are the coordinates of the rectangle to
               shrink from.

Binding        intin[0] = x1;
               intin[1] = y1;
               intin[2] = w1;
               intin[3] = h1;
               intin[4] = x2;
               intin[5] = y2;
               intin[6] = w2;
               intin[7] = h2;

               return crys_if(0x4A);

Return Value   The function returns 0 if an error occurred or non-zero
               otherwise

Caveats        There is currently no defined method of handling an error
               from this call.

Comments       This function is essentially the same as
               form_dial(FMD_SHRINK,...

See Also       form_dial(), graf_growbox()

Group          Graphics Library