home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 48
/
Amiga_Dream_48.iso
/
Atari
/
c
/
libs
/
gemfast
/
gemfut15.lzh
/
AESWINX2.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-08-06
|
815b
|
34 lines
/**************************************************************************
*
* AESFAST PD utilties.
*
* Extended bindings...
* winx_calc
* winx_get
*************************************************************************/
#include <gemfast.h>
int
winx_get(whandle, wfield, prect)
int whandle;
int wfield;
GRECT *prect;
{
return wind_get(whandle, wfield,
&prect->g_x, &prect->g_y,
&prect->g_w, &prect->g_h);
}
int
winx_calc(type, kind, pinrect, poutrect)
int type;
int kind;
GRECT *pinrect;
GRECT *poutrect;
{
return wind_calc(type, kind, *pinrect,
&poutrect->g_x, &poutrect->g_y,
&poutrect->g_w, &poutrect->g_h);
}