home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
projmot_453.lzh
/
ProjMot
/
src
/
ggads.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-02-18
|
19KB
|
417 lines
/*
* ggads.c (ProjMot)
* ~~~~~~~~~~~~~~~~~
* This is the image and gadget structures for Gwin
* © Copyright 1991 Christian E. Hopps
*/
#include "lc:/compiler_headers/proto/all.h"
USHORT chip ImageData1[] = {
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5FDD,0x5555,0x5555,
0x5555,0x5400,0x2AAA,0xAAAA,0xBBEE,0xAAAA,0xAAAA,0xAAAA,
0xAC00,0x5555,0x5555,0x75DD,0x5555,0x5555,0x5555,0x5400,
0x2AAA,0xAAAA,0xEAEE,0xFBEF,0xEAAA,0xAAAA,0xAC00,0x5555,
0x5555,0x755D,0xDFF7,0xD555,0x5555,0x5400,0x2AAA,0xAAAA,
0xEAAF,0xFAFB,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x755D,
0xD5F7,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xFAEF,0xABBB,
0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x7DDD,0xDFF7,0x5555,
0x5555,0x5400,0x2AAA,0xAAAA,0xBFBE,0xFBFF,0xAAAA,0xAAAA,
0xAC00,0x5555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,
0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
0x4001,0x5555,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0x8222,
0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,0x4511,0x5555,
0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0x8A22,0x0A08,0x0AAA,
0xAAAA,0xA800,0xD555,0x5555,0x1550,0x4444,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0x8AA2,0x0288,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x1550,0x5404,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0x8A22,0x2888,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
0x4450,0x1044,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA0A0,
0x0200,0x2AAA,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
};
struct Image Image1 = {
0,0, /* XY origin relative to container TopLeft */
102,21, /* Image width and height in pixels */
2, /* number of bitplanes in Image */
ImageData1, /* pointer to ImageData */
0x0003,0x0000, /* PlanePick and PlaneOnOff */
NULL /* next Image structure */
};
struct Gadget Gadget6 = { /*Clear*/
NULL, /* next gadget */
115,18, /* origin XY of hit box relative to window TopLeft */
102,21, /* hit box width and height */
GADGHCOMP|GADGIMAGE, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Image1, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
NULL, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
5, /* user-definable data */
NULL /* pointer to user-definable data */
};
USHORT chip ImageData2[] = {
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xAAAA,0xAC00,0x5555,0x557D,0xF55F,0x5555,0xD555,
0x5555,0x5400,0x2AAA,0xAABA,0xEAAE,0xAAAA,0xEAAA,0xAAAA,
0xAC00,0x5555,0x555D,0xF557,0x5555,0x5D55,0x5555,0x5400,
0x2AAA,0xAAAE,0xEBEE,0xBEFB,0xFFFE,0xAAAA,0xAC00,0x5555,
0x555D,0xD777,0x7FFD,0xDDDD,0x5555,0x5400,0x2AAA,0xAAAF,
0xEFEE,0xEEEA,0xEEEE,0xAAAA,0xAC00,0x5555,0x5557,0xD757,
0x77D5,0xDD7D,0x5555,0x5400,0x2AAA,0xAAAF,0xAEAE,0xEEEA,
0xEEFA,0xAAAA,0xAC00,0x5555,0x5557,0x5777,0x7FF7,0xDD75,
0x5555,0x5400,0x2AAA,0xAAAB,0xABEF,0xBEFF,0xEFFA,0xAAAA,
0xAC00,0x5555,0x5555,0x5555,0x5555,0x5575,0x5555,0x5400,
0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xABEA,0xAAAA,0xAC00,0x5555,
0x5555,0x5555,0x5555,0x55D5,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5541,
0x0551,0x5555,0x1555,0x5555,0x5000,0xAAAA,0xAAA2,0x8AA8,
0xAAAA,0x2AAA,0xAAAA,0xA800,0xD555,0x5541,0x1551,0x5555,
0x5155,0x5555,0x5000,0xAAAA,0xAAA2,0x2828,0x8282,0x2000,
0xAAAA,0xA800,0xD555,0x5551,0x1111,0x0111,0x1111,0x5555,
0x5000,0xAAAA,0xAAA0,0x2808,0x882A,0x2222,0xAAAA,0xA800,
0xD555,0x5550,0x5151,0x1115,0x1105,0x5555,0x5000,0xAAAA,
0xAAA8,0x28A8,0x882A,0x2282,0xAAAA,0xA800,0xD555,0x5554,
0x5041,0x0111,0x1145,0x5555,0x5000,0xAAAA,0xAAA8,0xA800,
0x8282,0x088A,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,
0x5515,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAA0A,
0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5415,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
};
struct Image Image2 = {
0,0, /* XY origin relative to container TopLeft */
102,21, /* Image width and height in pixels */
2, /* number of bitplanes in Image */
ImageData2, /* pointer to ImageData */
0x0003,0x0000, /* PlanePick and PlaneOnOff */
NULL /* next Image structure */
};
struct Gadget Gadget5 = { /*Velocity*/
&Gadget6, /* next gadget */
9,41, /* origin XY of hit box relative to window TopLeft */
102,21, /* hit box width and height */
GADGHCOMP|GADGIMAGE, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Image2, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
NULL, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
4, /* user-definable data */
NULL /* pointer to user-definable data */
};
USHORT chip ImageData3[] = {
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xAAAA,0xAC00,0x5555,0x5755,0x5555,0x57FD,0xD555,
0x5555,0x5400,0x2AAA,0xABAA,0xAAAA,0xAEFB,0xAAAA,0xAAAA,
0xAC00,0x5555,0x57D5,0x5555,0x57DD,0x5555,0x5555,0x5400,
0x2AAA,0xAFAB,0xEFAA,0xAAEB,0xBFFB,0xEAAA,0xAC00,0x5555,
0x5DD7,0x7FD5,0x55D5,0xDFFF,0x7555,0x5400,0x2AAA,0xAEEE,
0xAEAA,0xAAEB,0xBBBF,0xEAAA,0xAC00,0x5555,0x5FD7,0x5D55,
0x55D5,0xDDDF,0x5555,0x5400,0x2AAA,0xBAEE,0xAEAA,0xAAEB,
0xBBBE,0xAAAA,0xAC00,0x5555,0x5D77,0x7F7D,0x55D5,0xDDDF,
0x7555,0x5400,0x2AAA,0xBEFB,0xEFEE,0xABEB,0xFFFF,0xEAAA,
0xAC00,0x5555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,
0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5455,
0x5555,0x5004,0x5555,0x5555,0x5000,0xAAAA,0xA8AA,0xAAAA,
0xA822,0x2AAA,0xAAAA,0xA800,0xD555,0x5055,0x5555,0x5105,
0x5555,0x5555,0x5000,0xAAAA,0xA828,0x282A,0xAA28,0x0008,
0x2AAA,0xA800,0xD555,0x5110,0x1115,0x5514,0x4001,0x1555,
0x5000,0xAAAA,0xA228,0xA2AA,0xAA2A,0x2220,0x0AAA,0xA800,
0xD555,0x5011,0x5155,0x5514,0x4441,0x5555,0x5000,0xAAAA,
0xA288,0xA2AA,0xAA2A,0x2220,0xAAAA,0xA800,0xD555,0x4510,
0x4111,0x5514,0x4440,0x4555,0x5000,0xAAAA,0x8208,0x0822,
0xAA08,0x0000,0x0AAA,0xA800,0xD555,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
};
struct Image Image3 = {
0,0, /* XY origin relative to container TopLeft */
102,21, /* Image width and height in pixels */
2, /* number of bitplanes in Image */
ImageData3, /* pointer to ImageData */
0x0003,0x0000, /* PlanePick and PlaneOnOff */
NULL /* next Image structure */
};
struct Gadget Gadget4 = { /*Acctime*/
&Gadget5, /* next gadget */
115,41, /* origin XY of hit box relative to window TopLeft */
102,21, /* hit box width and height */
GADGHCOMP|GADGIMAGE, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Image3, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
NULL, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
3, /* user-definable data */
NULL /* pointer to user-definable data */
};
USHORT chip ImageData4[] = {
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x57FF,0x5555,0xD555,
0x5555,0x5400,0x2AAA,0xAAAA,0xABBB,0xAAAB,0xAAAA,0xAAAA,
0xAC00,0x5555,0x5555,0x5755,0x5555,0xD555,0x5555,0x5400,
0x2AAA,0xAAAA,0xABBF,0xFFEB,0xAAAA,0xAAAA,0xAC00,0x5555,
0x5555,0x57F7,0x7F75,0xD555,0x5555,0x5400,0x2AAA,0xAAAA,
0xABBB,0xBBFB,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5757,
0x7755,0xD555,0x5555,0x5400,0x2AAA,0xAAAA,0xABAB,0xBBAA,
0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5757,0x77DD,0xD555,
0x5555,0x5400,0x2AAA,0xAAAA,0xAFAF,0xFBFB,0xAAAA,0xAAAA,
0xAC00,0x5555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,
0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
0x5004,0x5554,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA8A0,
0xAAAA,0x2AAA,0xAAAA,0xA800,0xD555,0x5555,0x5455,0x5554,
0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA888,0x800A,0x2AAA,
0xAAAA,0xA800,0xD555,0x5555,0x5404,0x4444,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xA888,0x880A,0x2AAA,0xAAAA,0xA800,
0xD555,0x5555,0x5454,0x4454,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0xA8A8,0x88AA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
0x5454,0x4444,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA828,
0x020A,0x2AAA,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
};
struct Image Image4 = {
0,0, /* XY origin relative to container TopLeft */
102,21, /* Image width and height in pixels */
2, /* number of bitplanes in Image */
ImageData4, /* pointer to ImageData */
0x0003,0x0000, /* PlanePick and PlaneOnOff */
NULL /* next Image structure */
};
struct Gadget Gadget3 = { /*Fire*/
&Gadget4, /* next gadget */
115,64, /* origin XY of hit box relative to window TopLeft */
102,21, /* hit box width and height */
GADGHCOMP|GADGIMAGE, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Image4, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
NULL, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
2, /* user-definable data */
NULL /* pointer to user-definable data */
};
USHORT chip ImageData5[] = {
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5FD5,0x5575,0x5555,
0x5555,0x5400,0x2AAA,0xAAAA,0xBFEA,0xAABA,0xAAAA,0xAAAA,
0xAC00,0x5555,0x5555,0x5DD5,0x5575,0x5555,0x5555,0x5400,
0x2AAA,0xAAAA,0xBEAF,0xBEBB,0xEAAA,0xAAAA,0xAC00,0x5555,
0x5555,0x5F5D,0xFF77,0x7555,0x5555,0x5400,0x2AAA,0xAAAA,
0xABBA,0xAFBF,0xEAAA,0xAAAA,0xAC00,0x5555,0x5555,0x55DD,
0x5F77,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xBAFA,0xBBBE,
0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5DDD,0xFF77,0x7555,
0x5555,0x5400,0x2AAA,0xAAAA,0xBFAF,0xBFFB,0xEAAA,0xAAAA,
0xAC00,0x5555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,
0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
0x5015,0x5505,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA22A,
0xAA8A,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,0x4515,0x5545,
0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA2A0,0xA088,0x2AAA,
0xAAAA,0xA800,0xD555,0x5555,0x5040,0x4441,0x1555,0x5555,
0x5000,0xAAAA,0xAAAA,0xA822,0xA888,0x0AAA,0xAAAA,0xA800,
0xD555,0x5555,0x5505,0x4041,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0xA222,0x8888,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
0x4001,0x0440,0x4555,0x5555,0x5000,0xAAAA,0xAAAA,0xA020,
0x2000,0x0AAA,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
};
struct Image Image5 = {
0,0, /* XY origin relative to container TopLeft */
102,21, /* Image width and height in pixels */
2, /* number of bitplanes in Image */
ImageData5, /* pointer to ImageData */
0x0003,0x0000, /* PlanePick and PlaneOnOff */
NULL /* next Image structure */
};
struct Gadget Gadget2 = { /*Scale*/
&Gadget3, /* next gadget */
9,18, /* origin XY of hit box relative to window TopLeft */
102,21, /* hit box width and height */
GADGHCOMP|GADGIMAGE, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Image5, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
NULL, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
1, /* user-definable data */
NULL /* pointer to user-definable data */
};
USHORT chip ImageData6[] = {
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5D55,0x55F5,0x5555,
0x5555,0x5400,0x2AAA,0xAAAA,0xBAAA,0xAAEA,0xAAAA,0xAAAA,
0xAC00,0x5555,0x5555,0x7D55,0x5575,0x5555,0x5555,0x5400,
0x2AAA,0xAAAA,0xBEBF,0xBEEF,0xAAAA,0xAAAA,0xAC00,0x5555,
0x5555,0x775F,0xFD7D,0xD555,0x5555,0x5400,0x2AAA,0xAAAA,
0xEEBB,0xEEEF,0xEAAA,0xAAAA,0xAC00,0x5555,0x5555,0x7F5D,
0xF77D,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xEBBB,0xBEEE,
0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0xD75D,0xF57F,0x7555,
0x5555,0x5400,0x2AAA,0xAAAB,0xEFBF,0xFEFF,0xEAAA,0xAAAA,
0xAC00,0x5555,0x5555,0x5555,0x7755,0x5555,0x5555,0x5400,
0x2AAA,0xAAAA,0xAAAA,0xFFAA,0xAAAA,0xAAAA,0xAC00,0x5555,
0x5555,0x5555,0x7F55,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
0x4555,0x5515,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA2AA,
0xAA8A,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,0x4155,0x5515,
0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0x8280,0x8088,0x2AAA,
0xAAAA,0xA800,0xD555,0x5555,0x1140,0x0111,0x1555,0x5555,
0x5000,0xAAAA,0xAAAA,0x88A2,0x0880,0x2AAA,0xAAAA,0xA800,
0xD555,0x5555,0x0144,0x0111,0x5555,0x5555,0x5000,0xAAAA,
0xAAAA,0x28A2,0x0282,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
0x1444,0x4511,0x1555,0x5555,0x5000,0xAAAA,0xAAAA,0x0800,
0x0008,0x2AAA,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x1455,
0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0x88AA,0xAAAA,
0xAAAA,0xA800,0xD555,0x5555,0x5555,0x4155,0x5555,0x5555,
0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
};
struct Image Image6 = {
0,0, /* XY origin relative to container TopLeft */
102,21, /* Image width and height in pixels */
2, /* number of bitplanes in Image */
ImageData6, /* pointer to ImageData */
0x0003,0x0000, /* PlanePick and PlaneOnOff */
NULL /* next Image structure */
};
struct Gadget Gadget1 = { /*Angle*/
&Gadget2, /* next gadget */
9,64, /* origin XY of hit box relative to window TopLeft */
102,21, /* hit box width and height */
GADGHCOMP|GADGIMAGE, /* gadget flags */
RELVERIFY, /* activation flags */
BOOLGADGET, /* gadget type flags */
(APTR)&Image6, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
NULL, /* first IntuiText structure */
NULL, /* gadget mutual-exclude long word */
NULL, /* SpecialInfo structure */
0, /* user-definable data */
NULL /* pointer to user-definable data */
};
#define GadgetList1 Gadget1
struct NewWindow NewWindowStructure2 = {
250,15, /* window XY origin relative to TopLeft of screen */
227,90, /* window width and height */
0,1, /* detail and block pens */
GADGETUP, /* IDCMP flags */
WINDOWDRAG+ACTIVATE+NOCAREREFRESH, /* other window flags */
NULL, /* first gadget in gadget list */
NULL, /* custom CHECKMARK imagery */
"Select Window", /* window title */
NULL, /* custom screen pointer */
NULL, /* custom bitmap */
5,5, /* minimum width and height */
-1,-1, /* maximum width and height */
WBENCHSCREEN /* destination screen type */
};