/*
(c) Copyright 1988-1994 Microsoft Corporation.

Microsoft Bars&Pipes Professional Source Code License

This License governs use of the accompanying Software.  
Microsoft hopes you find this Software useful.

You are licensed to do anything you want with the Software. 

In return, we simply require that you agree:

1.      Not to remove any copyright notices from the Software.

2.      That the Software comes "as is", with no warranties.  
        None whatsoever. This means no implied warranty of merchantability or 
        fitness for a particular purpose or any warranty of non-infringement.  
        Also, you must pass this disclaimer on whenever you distribute the Software.

3.      That we will not be liable for any of those types of damages known as indirect, 
        special, consequential, or incidental related to the Software or this License, 
        to the maximum extent the law permits. Also, you must pass this limitation of 
        liability on whenever you distribute the Software.

4.      That if you sue anyone over patents that you think may apply to the Software 
        for that person’s use of the Software, your license to the Software ends automatically.

5.      That the patent rights Microsoft is licensing only apply to the Software, 
        not to any derivatives you make.

6.      That your rights under the License end automatically if you breach this in any way.
*/

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

static struct IntuiText tpIText1 = {
        4,0,JAM1,
        2,0,
        NULL,
        "D:",
        NULL
};

static struct Gadget tpGadget8 = {
        NULL,
        202,15,
        16,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &tpIText1,
        NULL,
        NULL,
        4,
        NULL
};

static UBYTE tptpGadget7SIBuff[5];
static struct StringInfo tptpGadget7SInfo = {
        tptpGadget7SIBuff,
        NULL,
        0,
        5,
        0,
        0,0,0,0,0,
        0,
        0,
        NULL
};

static struct Gadget tpGadget7 = {
        &tpGadget8,
        224,15,
        32,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE+LONGINT,
        STRGADGET,
        NULL,
        NULL,
        NULL,
        NULL,
        (APTR)&tptpGadget7SInfo,
        8,
        NULL
};

static struct IntuiText tpIText2 = {
        4,0,JAM1,
        2,0,
        NULL,
        "B:",
        NULL
};

static struct Gadget tpGadget6 = {
        &tpGadget7,
        74,15,
        16,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &tpIText2,
        NULL,
        NULL,
        2,
        NULL
};

static UBYTE tptpGadget5SIBuff[5];
static struct StringInfo tptpGadget5SInfo = {
        tptpGadget5SIBuff,
        NULL,
        0,
        5,
        0,
        0,0,0,0,0,
        0,
        0,
        NULL
};

static struct Gadget tpGadget5 = {
        &tpGadget6,
        96,15,
        32,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE+LONGINT,
        STRGADGET,
        NULL,
        NULL,
        NULL,
        NULL,
        (APTR)&tptpGadget5SInfo,
        6,
        NULL
};

static struct IntuiText tpIText3 = {
        4,0,JAM1,
        2,0,
        NULL,
        "C:",
        NULL
};

static struct Gadget tpGadget4 = {
        &tpGadget5,
        138,15,
        16,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &tpIText3,
        NULL,
        NULL,
        3,
        NULL
};

static UBYTE tptpGadget3SIBuff[5];
static struct StringInfo tptpGadget3SInfo = {
        tptpGadget3SIBuff,
        NULL,
        0,
        5,
        0,
        0,0,0,0,0,
        0,
        0,
        NULL
};

static struct Gadget tpGadget3 = {
        &tpGadget4,
        160,15,
        32,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE+LONGINT,
        STRGADGET,
        NULL,
        NULL,
        NULL,
        NULL,
        (APTR)&tptpGadget3SInfo,
        7,
        NULL
};

static struct IntuiText tpIText4 = {
        4,0,JAM1,
        2,0,
        NULL,
        "A:",
        NULL
};

static struct Gadget tpGadget2 = {
        &tpGadget3,
        10,15,
        16,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &tpIText4,
        NULL,
        NULL,
        1,
        NULL
};

static UBYTE tptpGadget1SIBuff[5] =
        "1";
static struct StringInfo tptpGadget1SInfo = {
        tptpGadget1SIBuff,
        NULL,
        0,
        5,
        0,
        0,0,0,0,0,
        0,
        0,
        NULL
};

static struct Gadget tpGadget1 = {
        &tpGadget2,
        32,15,
        32,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE+LONGINT,
        STRGADGET,
        NULL,
        NULL,
        NULL,
        NULL,
        (APTR)&tptpGadget1SInfo,
        5,
        NULL
};

#define tpGadgetList1 tpGadget1

static struct NewWindow tpNewWindowStructure1 = {
        150,13,
        266,28,
        4,1,
        GADGETDOWN+GADGETUP+CLOSEWINDOW,
        WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+NOCAREREFRESH,
        &tpGadget1,
        NULL,
        "Tempo Palette",
        NULL,
        NULL,
        5,5,
        -1,-1,
        CUSTOMSCREEN
};
