home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD2.img
/
d4xx
/
d498
/
zoomdaemon
/
source
/
zoom-image.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-06-06
|
1KB
|
77 lines
/*
* ZOOM-DAEMON A program that implements Zoom gadgets for all Intuition
* windows that are opened while it is running.
*
* Copyright 1989 by Davide P. Cervone.
* You may use this code, provided this copyright notice is kept intact.
*/
#define INTUITION_PREFERENCES_H /* don't need 'em */
#include <intuition/intuition.h>
#include "Zoom-Daemon.h"
/*
* The Image data for the HIRES ZoomGadget
*/
USHORT ZoomData[ZOOMDEPTH][ZOOMHEIGHT*ZOOMWORDS] =
{
{
0xF3FF, 0xFFE0,
0xF300, 0x0060,
0xF31F, 0xC060,
0xF31F, 0xC060,
0xF31F, 0xC060,
0xF31F, 0xC060,
0xF300, 0x0060,
0xF300, 0x0060,
0xF300, 0x0060,
0xF3FF, 0xFFE0,
},
{
0x0000, 0x0000,
0x00FF, 0xFF80,
0x00E0, 0x3F80,
0x00E0, 0x3F80,
0x00E0, 0x3F80,
0x00E0, 0x3F80,
0x00FF, 0xFF80,
0x00FF, 0xFF80,
0x00FF, 0xFF80,
0x0000, 0x0000,
},
};
/*
* The Image data for the LOWRES ZoomGadget
*/
USHORT LR_ZoomData[LRZOOMDEPTH][LRZOOMHEIGHT*LRZOOMWORDS] =
{
{
0xCFFF, 0xE000,
0xC800, 0x2000,
0xC9F8, 0x2000,
0xC9F8, 0x2000,
0xC9F8, 0x2000,
0xC9F8, 0x2000,
0xC800, 0x2000,
0xC800, 0x2000,
0xC800, 0x2000,
0xCFFF, 0xE000,
},
{
0x0000, 0x0000,
0x07FF, 0xC000,
0x0607, 0xC000,
0x0607, 0xC000,
0x0607, 0xC000,
0x0607, 0xC000,
0x07FF, 0xC000,
0x07FF, 0xC000,
0x07FF, 0xC000,
0x0000, 0x0000,
},
};