/*  gadgets for LDP remote controller   *\
**       Ron M. Battle  02-22-92        **
**         HyperBorea Studio B          **
** Thanx to PowerWindows 2.5c for help! **
** Thanx to Brian Berg for IFF examples **
\*                                      */

#include <intuition/intuition.h>
#include "gadgets.h"


UBYTE TextBuff[TEXTLEN]= {"Search"} ;

struct StringInfo TextDisplayGadSInfo = {
        TextBuff,   /* buffer where text will be edited */
        NULL,     /* optional undo buffer */
        0,       /* character position in buffer */
        TEXTLEN,     /* maximum number of characters to allow */
        0,      /* first displayed character buffer position */
        0,0,0,0,0,      /* Intuition initialized and maintained variables */
        0,      /* Rastport of gadget */
        0,      /* initial value for integer gadgets */
        NULL    /* alternate keymap (fill in if you set the flag) */
};



struct Gadget TextDisplayGad = {
        NULL,   /* next gadget */
        70,16,  /* origin XY of hit box relative to window TopLeft */
        104,10, /* hit box width and height */
        GADGHNONE,    /* gadget flags */
        0, /* activation flags */
        STRGADGET,      /* gadget type flags */
        NULL, /* gadget border or image to be rendered */
        NULL,   /* alternate imagery for selection */
        NULL,   /* first IntuiText structure */
        NULL,   /* gadget mutual-exclude long word */
        (APTR)&TextDisplayGadSInfo, /* SpecialInfo structure */
        TextDisplay,        /* user-definable data */
        NULL    /* pointer to user-definable data */
};


UBYTE NumBuff[NUMLEN]= {"00001"} ;

struct StringInfo NumDisplayGadSInfo = {
        NumBuff,   /* buffer where text will be edited */
        NULL,     /* optional undo buffer */
        0,      /* character position in buffer */
        NUMLEN,     /* maximum number of characters to allow */
        0,      /* first displayed character buffer position */
        0,0,0,0,0,      /* Intuition initialized and maintained variables */
        0,      /* Rastport of gadget */
        1L,      /* initial value for integer gadgets */
        NULL    /* alternate keymap (fill in if you set the flag) */
};

SHORT BorderVectors1[] = {
        0,0,
        164,0,
        164,12,
        0,12,
        0,0
};
struct Border Border1 = {
        -3,-3,  /* XY origin relative to container TopLeft */
        3,0,JAM1,       /* front pen, back pen and drawmode */
        5,      /* number of XY vectors */
        BorderVectors1, /* pointer to XY vectors */
        NULL    /* next border in list */
};

struct Gadget NumDisplayGad = {
        &TextDisplayGad,   /* next gadget */
        14,16,  /* origin XY of hit box relative to window TopLeft */
        48,10, /* hit box width and height */
        GADGHNONE,    /* gadget flags */
        RELVERIFY+LONGINT,        /* activation flags */
        STRGADGET,      /* gadget type flags */
        (APTR)&Border1, /* gadget border or image to be rendered */
        NULL,   /* alternate imagery for selection */
        NULL,   /* first IntuiText structure */
        NULL,   /* gadget mutual-exclude long word */
        (APTR)&NumDisplayGadSInfo, /* SpecialInfo structure */
        NumDisplay,        /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData1[] = {
        0x0000,0x0004,0x0004,0x0784,0x0CC4,0x0CC4,0x07C4,0x00C4,
        0x0184,0x0704,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
        0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
        0x8000,0x8000
};

struct Image Image1 = {
        0,0,    /* XY origin relative to container TopLeft */
        14,13,  /* 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 NineGad = {
        &NumDisplayGad,    /* next gadget */
        51,95,  /* origin XY of hit box relative to window TopLeft */
        14,13,  /* hit box width and height */
        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 */
        Nine,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData2[] = {
        0x0000,0x0004,0x0004,0x0784,0x0CC4,0x0CC4,0x0784,0x0CC4,
        0x0CC4,0x0784,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
        0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
        0x8000,0x8000
};

struct Image Image2 = {
        0,0,    /* XY origin relative to container TopLeft */
        14,13,  /* 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 EightGad = {
        &NineGad,       /* next gadget */
        31,95,  /* origin XY of hit box relative to window TopLeft */
        14,13,  /* hit box width and height */
        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 */
        Eight,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData3[] = {
        0x0000,0x0000,0x0000,0x2000,0x0000,0x2000,0x0FFE,0x2000,
        0x0FFE,0x2000,0x0FFE,0x2000,0x0FFE,0x2000,0x0FFE,0x2000,
        0x0000,0x2000,0x0000,0x2000,0x7FFF,0xE000,0xFFFF,0xE000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000
};

struct Image Image3 = {
        0,0,    /* XY origin relative to container TopLeft */
        19,11,  /* 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 StillGad = {
        &EightGad,      /* next gadget */
        122,104,        /* origin XY of hit box relative to window TopLeft */
        19,11,  /* hit box width and height */
        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 */
        Still,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData4[] = {
        0x0000,0x0004,0x0004,0x0FC4,0x00C4,0x00C4,0x0184,0x0304,
        0x0304,0x0304,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
        0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
        0x8000,0x8000
};

struct Image Image4 = {
        0,0,    /* XY origin relative to container TopLeft */
        14,13,  /* 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 SevenGad = {
        &StillGad,      /* next gadget */
        12,95,  /* origin XY of hit box relative to window TopLeft */
        14,13,  /* hit box width and height */
        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 */
        Seven,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData5[] = {
        0x0000,0x0004,0x0004,0x0384,0x0604,0x0C04,0x0F84,0x0CC4,
        0x0CC4,0x0784,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
        0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
        0x8000,0x8000
};

struct Image Image5 = {
        0,0,    /* XY origin relative to container TopLeft */
        14,13,  /* 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 SixGad = {
        &SevenGad,      /* next gadget */
        51,78,  /* origin XY of hit box relative to window TopLeft */
        14,13,  /* hit box width and height */
        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 */
        Six,    /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData6[] = {
        0x0000,0x0004,0x0004,0x0FC4,0x0C04,0x0F84,0x00C4,0x00C4,
        0x0CC4,0x0784,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
        0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
        0x8000,0x8000
};

struct Image Image6 = {
        0,0,    /* XY origin relative to container TopLeft */
        14,13,  /* 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 FiveGad = {
        &SixGad,        /* next gadget */
        31,78,  /* origin XY of hit box relative to window TopLeft */
        14,13,  /* hit box width and height */
        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 */
        Five,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData7[] = {
        0x0000,0x0004,0x0004,0x0384,0x0784,0x0D84,0x1984,0x1FC4,
        0x0184,0x0184,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
        0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
        0x8000,0x8000
};

struct Image Image7 = {
        0,0,    /* XY origin relative to container TopLeft */
        14,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData7,     /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget FourGad = {
        &FiveGad,       /* next gadget */
        12,78,  /* origin XY of hit box relative to window TopLeft */
        14,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image7,  /* 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 */
        Four,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData8[] = {
        0x0000,0x0004,0x0004,0x0784,0x0CC4,0x00C4,0x0384,0x00C4,
        0x0CC4,0x0784,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
        0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
        0x8000,0x8000
};

struct Image Image8 = {
        0,0,    /* XY origin relative to container TopLeft */
        14,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData8,     /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget ThreeGad = {
        &FourGad,       /* next gadget */
        51,61,  /* origin XY of hit box relative to window TopLeft */
        14,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image8,  /* 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 */
        Three,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData9[] = {
        0x0000,0x0004,0x0004,0x0784,0x0CC4,0x00C4,0x0184,0x0304,
        0x0604,0x0FC4,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
        0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
        0x8000,0x8000
};

struct Image Image9 = {
        0,0,    /* XY origin relative to container TopLeft */
        14,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData9,     /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget TwoGad = {
        &ThreeGad,      /* next gadget */
        31,61,  /* origin XY of hit box relative to window TopLeft */
        14,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image9,  /* 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 */
        Two,    /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData10[] = {
        0x0000,0x0000,0x0000,0x0002,0x0000,0x0002,0x00C6,0x0002,
        0x00EE,0x1802,0x00FE,0x1802,0x00D6,0x7E02,0x00C6,0x1802,
        0x00C6,0x1802,0x00C6,0x0002,0x0000,0x0002,0x0000,0x0002,
        0x7FFF,0xFFFE,0xFFFF,0xFFFE,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000
};

struct Image Image10 = {
        0,0,    /* XY origin relative to container TopLeft */
        31,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData10,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget MemorizeGad = {
        &TwoGad,        /* next gadget */
        99,135, /* origin XY of hit box relative to window TopLeft */
        31,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image10, /* 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 */
        Memorize,       /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData11[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x0040,0x07D1,0x79F4,
        0x4040,0x0119,0x4502,0x8040,0x0115,0x45E1,0x0040,0x0113,
        0x4502,0x8040,0x07D1,0x79F4,0x4040,0x0000,0x0000,0x0040,
        0x0000,0x0000,0x0040,0x7FFF,0xFFFF,0xFFC0,0xFFFF,0xFFFF,
        0xFFC0,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000
};

struct Image Image11 = {
        0,0,    /* XY origin relative to container TopLeft */
        42,10,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData11,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget IndexGad = {
        &MemorizeGad,   /* next gadget */
        42,41,  /* origin XY of hit box relative to window TopLeft */
        42,10,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image11, /* 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 */
        Index,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData12[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x0040,0x0000,0x0000,
        0x0040,0x0F7C,0xE78E,0x4440,0x1041,0x1451,0x4440,0x0E79,
        0xF790,0x7C40,0x0141,0x1491,0x4440,0x1E7D,0x144E,0x4440,
        0x0000,0x0000,0x0040,0x7FFF,0xFFFF,0xFFC0,0xFFFF,0xFFFF,
        0xFFC0,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000
};

struct Image Image12 = {
        0,0,    /* XY origin relative to container TopLeft */
        42,10,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData12,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget SearchGad = {
        &IndexGad,      /* next gadget */
        40,114, /* origin XY of hit box relative to window TopLeft */
        42,10,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image12, /* 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 */
        Search, /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData13[] = {
        0x0000,0x0000,0x0000,0x2000,0x0000,0x2000,0x0E40,0x2000,
        0x1140,0x2000,0x1040,0x2000,0x1140,0x2000,0x0E7C,0x2000,
        0x0000,0x2000,0x0000,0x2000,0x7FFF,0xE000,0xFFFF,0xE000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000
};

struct Image Image13 = {
        0,0,    /* XY origin relative to container TopLeft */
        19,11,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData13,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget ClearGad = {
        &SearchGad,     /* next gadget */
        12,130, /* origin XY of hit box relative to window TopLeft */
        19,11,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image13, /* 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 */
        Clear,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData14[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x0040,0x0FA2,0xFBEF,
        0x0040,0x0832,0x2208,0x8040,0x0F2A,0x23CF,0x0040,0x0826,
        0x2209,0x0040,0x0FA2,0x23E8,0x8040,0x0000,0x0000,0x0040,
        0x0000,0x0000,0x0040,0x7FFF,0xFFFF,0xFFC0,0xFFFF,0xFFFF,
        0xFFC0,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000
};

struct Image Image14 = {
        0,0,    /* XY origin relative to container TopLeft */
        42,10,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData14,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget EnterGad = {
        &ClearGad,      /* next gadget */
        40,130, /* origin XY of hit box relative to window TopLeft */
        42,10,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image14, /* 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 */
        Enter,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};


USHORT ImageDataLog[] = {
        0x0000,0x0000,0x0000,0x0010,0x0000,0x0010,0x040E,0x3810,
        0x0411,0x4010,0x0411,0x5C10,0x0411,0x4410,0x07CE,0x3810,
        0x0000,0x0010,0x7FFF,0xFFF0,0xFFFF,0xFFF0,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000
};

struct Image ImageLog = {
        0,0,    /* XY origin relative to container TopLeft */
        28,10,   /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageDataLog,     /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget LogGad = {
        &EnterGad,      /* next gadget */
        40,146, /* origin XY of hit box relative to window TopLeft */
        28,10,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&ImageLog, /* 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 */
        Log,     /* user-definable data */
        NULL    /* pointer to user-definable data */
};



USHORT ImageData15[] = {
        0x0000,0x0004,0x0004,0x0304,0x0704,0x0F04,0x0304,0x0304,
        0x0304,0x0304,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
        0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
        0x8000,0x8000
};

struct Image Image15 = {
        0,0,    /* XY origin relative to container TopLeft */
        14,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData15,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget OneGad = {
        &LogGad,      /* next gadget */
        12,61,  /* origin XY of hit box relative to window TopLeft */
        14,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image15, /* 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 */
        One,    /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData16[] = {
        0x0000,0x0000,0x0000,0x1000,0x0000,0x1000,0x00F0,0x1000,
        0x0198,0x1000,0x01B8,0x1000,0x01F8,0x1000,0x01D8,0x1000,
        0x0198,0x1000,0x00F0,0x1000,0x0000,0x1000,0x0000,0x1000,
        0x7FFF,0xF000,0xFFFF,0xF000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000
};

struct Image Image16 = {
        0,0,    /* XY origin relative to container TopLeft */
        20,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData16,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget ZeroGad = {
        &OneGad,        /* next gadget */
        12,113, /* origin XY of hit box relative to window TopLeft */
        20,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image16, /* 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 */
        Zero,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData17[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0018,0x0000,
        0x2000,0x001E,0x0000,0x2000,0x001F,0x8000,0x2000,0x001F,
        0xE000,0x2000,0x001F,0xF800,0x2000,0x001F,0xE000,0x2000,
        0x001F,0x8000,0x2000,0x001E,0x0000,0x2000,0x0018,0x0000,
        0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image17 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData17,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget FplayGad = {
        &ZeroGad,       /* next gadget */
        134,118,        /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image17, /* 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 */
        Fplay,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData18[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0018,0x00C0,
        0x2000,0x001E,0x00C0,0x2000,0x001F,0x80C0,0x2000,0x001F,
        0xE0C0,0x2000,0x001F,0xF8C0,0x2000,0x001F,0xE0C0,0x2000,
        0x001F,0x80C0,0x2000,0x001E,0x00C0,0x2000,0x0018,0x00C0,
        0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image18 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData18,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget FstepGad = {
        &FplayGad,      /* next gadget */
        134,88, /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image18, /* 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 */
        Fstep,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData19[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x001B,0x0000,
        0x2000,0x001B,0xC000,0x2000,0x001B,0xF000,0x2000,0x001B,
        0xFC00,0x2000,0x001B,0xFF00,0x2000,0x001B,0xFC00,0x2000,
        0x001B,0xF000,0x2000,0x001B,0xC000,0x2000,0x001B,0x0000,
        0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image19 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData19,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget FslowGad = {
        &FstepGad,      /* next gadget */
        134,70, /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image19, /* 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 */
        Fslow,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData20[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0003,0x00C0,
        0x2000,0x000F,0x03C0,0x2000,0x003F,0x0FC0,0x2000,0x00FF,
        0x3FC0,0x2000,0x03FF,0xFFC0,0x2000,0x00FF,0x3FC0,0x2000,
        0x003F,0x0FC0,0x2000,0x000F,0x03C0,0x2000,0x0003,0x00C0,
        0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image20 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData20,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget RfastGad = {
        &FslowGad,      /* next gadget */
        95,53,  /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image20, /* 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 */
        Rfast,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData21[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x1806,0x0180,
        0x2000,0x1E07,0x81E0,0x2000,0x1F87,0xE1F8,0x2000,0x1FE7,
        0xF9FE,0x2000,0x1FFF,0xFFFF,0xA000,0x1FE7,0xF9FE,0x2000,
        0x1F87,0xE1F8,0x2000,0x1E07,0x81E0,0x2000,0x1806,0x0180,
        0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image21 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData21,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget FscanGad = {
        &RfastGad,      /* next gadget */
        134,36, /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY+GADGIMMEDIATE,        /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image21, /* 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 */
        Fscan,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData22[] = {
        0x0000,0x0000,0x0000,0x0002,0x0000,0x0002,0x00C6,0x7C02,
        0x00EE,0x6602,0x00FE,0x6602,0x00D6,0x7C02,0x00C6,0x6C02,
        0x00C6,0x6602,0x00C6,0x6602,0x0000,0x0002,0x0000,0x0002,
        0x7FFF,0xFFFE,0xFFFF,0xFFFE,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000
};

struct Image Image22 = {
        0,0,    /* XY origin relative to container TopLeft */
        31,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData22,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget MsearchGad = {
        &FscanGad,      /* next gadget */
        134,135,        /* origin XY of hit box relative to window TopLeft */
        31,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image22, /* 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 */
        Msearch,        /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData23[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0000,0x0300,
        0x2000,0x0000,0x0F00,0x2000,0x0000,0x3F00,0x2000,0x0000,
        0xFF00,0x2000,0x0003,0xFF00,0x2000,0x0000,0xFF00,0x2000,
        0x0000,0x3F00,0x2000,0x0000,0x0F00,0x2000,0x0000,0x0300,
        0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image23 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData23,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget RplayGad = {
        &MsearchGad,    /* next gadget */
        95,118, /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image23, /* 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 */
        Rplay,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData24[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0060,0x0300,
        0x2000,0x0060,0x0F00,0x2000,0x0060,0x3F00,0x2000,0x0060,
        0xFF00,0x2000,0x0063,0xFF00,0x2000,0x0060,0xFF00,0x2000,
        0x0060,0x3F00,0x2000,0x0060,0x0F00,0x2000,0x0060,0x0300,
        0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image24 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData24,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget RstepGad = {
        &RplayGad,      /* next gadget */
        95,88,  /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image24, /* 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 */
        Rstep,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData25[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0000,0x1B00,
        0x2000,0x0000,0x7B00,0x2000,0x0001,0xFB00,0x2000,0x0007,
        0xFB00,0x2000,0x001F,0xFB00,0x2000,0x0007,0xFB00,0x2000,
        0x0001,0xFB00,0x2000,0x0000,0x7B00,0x2000,0x0000,0x1B00,
        0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image25 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData25,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget RslowGad = {
        &RstepGad,      /* next gadget */
        95,70,  /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image25, /* 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 */
        Rslow,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData26[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0060,0x1800,
        0x2000,0x0078,0x1E00,0x2000,0x007E,0x1F80,0x2000,0x007F,
        0x9FE0,0x2000,0x007F,0xFFF8,0x2000,0x007F,0x9FE0,0x2000,
        0x007E,0x1F80,0x2000,0x0078,0x1E00,0x2000,0x0060,0x1800,
        0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image26 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData26,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget FfastGad = {
        &RslowGad,      /* next gadget */
        134,53, /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image26, /* 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 */
        Ffast,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData27[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0018,0x0601,
        0xA000,0x0078,0x1E07,0xA000,0x01F8,0x7E1F,0xA000,0x07F9,
        0xFE7F,0xA000,0x1FFF,0xFFFF,0xA000,0x07F9,0xFE7F,0xA000,
        0x01F8,0x7E1F,0xA000,0x0078,0x1E07,0xA000,0x0018,0x0601,
        0xA000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
        0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
        0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
        0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
        0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
};

struct Image Image27 = {
        0,0,    /* XY origin relative to container TopLeft */
        35,13,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData27,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget RscanGad = {
        &FfastGad,      /* next gadget */
        95,36,  /* origin XY of hit box relative to window TopLeft */
        35,13,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY+GADGIMMEDIATE,        /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image27, /* 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 */
        Rscan,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

USHORT ImageData28[] = {
        0x0000,0x0000,0x0000,0x2000,0x0040,0x2000,0x00E0,0x2000,
        0x01F0,0x2000,0x03F8,0x2000,0x07FC,0x2000,0x0000,0x2000,
        0x0FFE,0x2000,0x0000,0x2000,0x7FFF,0xE000,0xFFFF,0xE000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
        0x8000,0x0000,0x8000,0x0000
};

struct Image Image28 = {
        0,0,    /* XY origin relative to container TopLeft */
        19,11,  /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData28,    /* pointer to ImageData */
        0x0003,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget EjectGad = {
        &RscanGad,      /* next gadget */
        11,41,  /* origin XY of hit box relative to window TopLeft */
        19,11,  /* hit box width and height */
        GADGIMAGE,      /* gadget flags */
        RELVERIFY,      /* activation flags */
        BOOLGADGET,     /* gadget type flags */
        (APTR)&Image28, /* 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 */
        Eject,  /* user-definable data */
        NULL    /* pointer to user-definable data */
};

#define GadgetList1 EjectGad

