home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
206.lha
/
Grab_Pointer
/
test2.c
< prev
next >
Wrap
C/C++ Source or Header
|
1988-12-28
|
531b
|
34 lines
#include <exec/types.h>
#include <exec/exec.h>
#include <intuition/intuitionbase.h>
#include <functions.h>
#include "pointer.c"
#define INTUITION_REV 1L
#define NULL 0L
struct IntuitionBase *IntuitionBase;
main()
{
int i ;
char *window ;
IntuitionBase = (struct IntuitionBase *)OpenLibrary("intuition.library",1L);
if( IntuitionBase == NULL )
{
printf("Can't open intuition.library !!!\n");
exit() ;
}
window = (char *)IntuitionBase->ActiveWindow ;
mypointer(window) ;
Delay(1000L) ;
ClearPointer(window) ;
}