home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
177.lha
/
Button
/
butimg.c
< prev
next >
Wrap
C/C++ Source or Header
|
1988-04-28
|
3KB
|
84 lines
/* IFF source = dh0:t/but-in */
/********************************/
/* Written By IFFToImg v1.0 */
/* IFFToImg was written by */
/* Robert W. Albrecht at */
/* ZAP (tm) Software. */
/* (C) 1987 All Rights Reserved.*/
/********************************/
#include <intuition/intuition.h>
/* BMHD =
* w = 22, h = 16
* x = 0, y = 0
* nPlanes = 4
* masking = 2
* compression = 0
* transparentColor = 0
* xAspect = 20
* yAspect = 11
* pageWidth = 640
* pageHeight = 400 */
static UWORD pressed[128] =
{
0x0780, 0x0000, 0x1c10, 0x0000, 0x3c04, 0x0000, 0x1800, 0x0000,
0x0001, 0x0000, 0x6000, 0x0000, 0xf000, 0x0000, 0x8000, 0x0000,
0x1000, 0x0000, 0x1000, 0x0000, 0x0000, 0x0000, 0x3802, 0x0000,
0x0400, 0x0000, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0400, 0x0000, 0x1fe0, 0x0000, 0x3ff8, 0x0000, 0x1ffe, 0x0000,
0x8fff, 0x0000, 0x0fff, 0x0000, 0x1fff, 0x0000, 0x7fff, 0x0000,
0xffff, 0x0000, 0x6fff, 0x0000, 0x3ffe, 0x0000, 0x1ffe, 0x0000,
0x03f8, 0x0000, 0x0070, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0700, 0x0000, 0x0020, 0x0000, 0x0004, 0x0000, 0x6002, 0x0000,
0xf001, 0x0000, 0xf000, 0x0000, 0xe000, 0x0000, 0xe000, 0x0000,
0xe000, 0x0000, 0x7000, 0x0000, 0x3000, 0x0000, 0x1800, 0x0000,
0x0004, 0x0000, 0x0090, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0080, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2000, 0x0000,
0x0400, 0x0000, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
};
struct Image button_pressed =
{
0, 0,
22, 16, 4,
(USHORT *) &pressed[0],
0xf, 0x0,
0L,
};
static UWORD out[128] =
{
0x1880, 0x0000, 0x1010, 0x0000, 0x7ee4, 0x0000, 0xdfe0, 0xc000,
0x05e0, 0x1000, 0x8040, 0x0000, 0xf900, 0x0000, 0xff00, 0x0000,
0x8b80, 0x0400, 0x8480, 0x0000, 0x5000, 0x0000, 0x3940, 0x0000,
0x0f00, 0x0000, 0x01e0, 0x0000, 0x0030, 0x0000, 0x0000, 0x4000,
0x1f00, 0x0000, 0x1ff0, 0x0000, 0x7ffc, 0x0000, 0xdfff, 0xc000,
0x05ff, 0xe000, 0x007f, 0xf000, 0x003f, 0xf800, 0x007f, 0xf800,
0xf47f, 0xfc00, 0x7b7f, 0xfc00, 0x3fff, 0xf800, 0x1fff, 0xf800,
0x07ff, 0xf800, 0x005f, 0xf000, 0x001f, 0xe000, 0x0003, 0x8000,
0x1080, 0x0000, 0x2010, 0x0000, 0x0000, 0x0000, 0xa000, 0x4000,
0xfa00, 0x0000, 0xff80, 0x0000, 0xffc0, 0x0000, 0xff80, 0x0000,
0xff80, 0x0000, 0x7f80, 0x0000, 0x3f80, 0x0400, 0x1f80, 0x0000,
0x07c0, 0x0000, 0x0060, 0x0000, 0x0000, 0x0000, 0x0004, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x1000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x8000, 0x0000, 0x4000, 0x0000, 0x2000, 0x0000,
0x0800, 0x0000, 0x0180, 0x0000, 0x0020, 0x0000, 0x0000, 0x4000,
};
struct Image button_out =
{
0, 0,
22, 16, 4,
(USHORT *) &out[0],
0xf, 0x0,
0L,
};