/*
(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 defpatchIText1 = {
        4,0,JAM1,
        5,2,
        NULL,
        "Remove",
        NULL
};

static struct Gadget defpatchGadget5 = {
        NULL,
        10,53,
        58,11,
        GADGHBOX+GADGHIMAGE,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &defpatchIText1,
        NULL,
        NULL,
        3,
        NULL
};

static UBYTE defpatchdefpatchGadget4SIBuff[20];
static struct StringInfo defpatchdefpatchGadget4SInfo = {
        defpatchdefpatchGadget4SIBuff,
        NULL,
        0,
        20,
        0,
        0,0,0,0,0,
        0,
        0,
        NULL
};

static struct IntuiText defpatchIText2 = {
        2,0,JAM1,
        -48,0,
        NULL,
        "Synth:",
        NULL
};

static struct Gadget defpatchGadget4 = {
        &defpatchGadget5,
        56,15,
        180,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        STRGADGET,
        NULL,
        NULL,
        &defpatchIText2,
        NULL,
        (APTR)&defpatchdefpatchGadget4SInfo,
        4,
        NULL
};

static struct IntuiText defpatchIText3 = {
        4,0,JAM1,
        14,2,
        NULL,
        "Add",
        NULL
};

static struct Gadget defpatchGadget3 = {
        &defpatchGadget4,
        10,27,
        58,11,
        GADGHBOX+GADGHIMAGE,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &defpatchIText3,
        NULL,
        NULL,
        1,
        NULL
};

static struct IntuiText defpatchIText4 = {
        4,0,JAM1,
        5,2,
        NULL,
        "Select",
        NULL
};

static struct Gadget defpatchGadget2 = {
        &defpatchGadget3,
        10,40,
        58,11,
        GADGHBOX+GADGHIMAGE,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &defpatchIText4,
        NULL,
        NULL,
        2,
        NULL
};

static UBYTE defpatchdefpatchGadget1SIBuff[14];
static struct StringInfo defpatchdefpatchGadget1SInfo = {
        defpatchdefpatchGadget1SIBuff,
        NULL,
        0,
        14,
        0,
        0,0,0,0,0,
        0,
        0,
        NULL
};

static struct IntuiText defpatchIText5 = {
        2,0,JAM2,
        -32,0,
        NULL,
        "104:",
        NULL
};

static struct Gadget defpatchGadget1 = {
        &defpatchGadget2,
        108,26,
        128,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        STRGADGET,
        NULL,
        NULL,
        &defpatchIText5,
        NULL,
        (APTR)&defpatchdefpatchGadget1SInfo,
        5,
        NULL
};

#define defpatchGadgetList1 defpatchGadget1

static struct IntuiText defpatchIText6 = {
        3,1,COMPLEMENT,
        0,0,
        NULL,
        "Save Patch List...",
        NULL
};

static struct MenuItem defpatchMenuItem2 = {
        NULL,
        0,8,
        144,8,
        ITEMTEXT+ITEMENABLED+HIGHCOMP,
        0,
        (APTR)&defpatchIText6,
        NULL,
        NULL,
        NULL,
        MENUNULL
};

static struct IntuiText defpatchIText7 = {
        3,1,COMPLEMENT,
        0,0,
        NULL,
        "Load Patch List...",
        NULL
};

static struct MenuItem defpatchMenuItem1 = {
        &defpatchMenuItem2,
        0,0,
        144,8,
        ITEMTEXT+ITEMENABLED+HIGHCOMP,
        0,
        (APTR)&defpatchIText7,
        NULL,
        NULL,
        NULL,
        MENUNULL
};

static struct Menu defpatchMenu1 = {
        NULL,
        0,0,
        151,0,
        MENUENABLED,
        "Define Patch Lists",
        &defpatchMenuItem1
};

#define defpatchMenuList1 defpatchMenu1

static struct NewWindow defpatchNewWindowStructure1 = {
        327,16,
        245,69,
        4,1,
        GADGETDOWN+GADGETUP+MENUPICK+CLOSEWINDOW,
        WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE+NOCAREREFRESH,
        &defpatchGadget1,
        NULL,
        "Define Patch Lists",
        NULL,
        NULL,
        5,5,
        -1,-1,
        CUSTOMSCREEN
};
