home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 1: Collection A
/
17Bit_Collection_A.iso
/
files
/
290.dms
/
290.adf
/
quickrif.source
/
pointer.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-01-31
|
1KB
|
46 lines
/* pointer.c - routines to turn the mouse pointer on and off, also the
stuff you need to make it a sleepy cloud */
#include <intuition/intuition.h>
USHORT zz_pillow[] = {
0x0000, 0x0000,
0x0600, 0x0600, /* 00 */
0x0f40, 0x0f40, /* 01 */
0x3fe0, 0x3fe0, /* 02 */
0x7fe0, 0x7fe0, /* 03 */
0x61f0, 0x7ff0, /* 04 */
0x7bf8, 0x7ff8, /* 05 */
0xf7f8, 0xfff8, /* 06 */
0x61fc, 0x7ffc, /* 07 */
0x7f0c, 0x7ffc, /* 08 */
0x3fde, 0x3ffe, /* 09 */
0x7fbc, 0x7ffc, /* 10 */
0x3f0c, 0x3ffc, /* 11 */
0x1ff8, 0x1ff8, /* 12 */
0x07f0, 0x07f0, /* 13 */
0x01c0, 0x01c0, /* 14 */
0x0700, 0x0700, /* 15 */
0x0fc0, 0x0fc0, /* 16 */
0x0680, 0x0680, /* 17 */
0x0000, 0x0000, /* 18 */
0x00c0, 0x00c0, /* 19 */
0x00e0, 0x00e0, /* 20 */
0x0040, 0x0040, /* 21 */
0x0000, 0x0000,
0x0000, 0x0000,
};
extern struct Window *demo_window;
sleepingpointer()
{
if (demo_window != NULL)
SetPointer(demo_window,&zz_pillow[0],21,16,0,0); /* sleepy arrow */
}/*end of sleepingpointer*/