•  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-FileGraphics Library
graf_movebox()                                                          AES

Syntax

WORD graf_movebox( bw, bh, sx, sy, ex, ey )
WORD bw, bh, sx, sy, ex, ey;

Function       graf_movebox() animates a moving box between two points on
               the screen. It is used to give the user a visual 'clue' to
               an action undertaken by the application.

Opcode         72 (0x48)

Availability   All AES versions.

Parameters     bw and bh specify the width and height, respectively, of
               the box to animate. sx and sy specify the starting
               coordinates of the box. ex and ey specify the ending
               coordinates of the box.

Binding        intin[0] = bw;
               intin[1] = bh;
               intin[2] = sx;
               intin[3] = sy;
               intin[4] = ex;
               intin[5] = ey;

               return crys_if(0x48);

Return Value   The return value is 0 if an error occured or non-zero
               otherwise.

Caveats        There is currently no defined method for handling an error
               generated by this call.

Comments       Some older 'C' bindings referred to this call as
               graf_mbox(). If your compiler still uses this call you
               should update it.

Group          Graphics Library