/*     
(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.
*/

static struct PropInfo smerffsmerffGadget12SInfo = {
	AUTOKNOB+FREEHORIZ,
	25869,0,
	10922,-1,
};

static struct Image smerffImage1 = {
	22,0,
	12,5,
	0,
	NULL,
	0x0000,0x0000,
	NULL
};

static struct IntuiText smerffIText1 = {
	3,0,JAM1,
	-32,1,
	NULL,
	"TPF:",
	NULL
};

static struct Gadget smerffGadget12 = {
	NULL,
	48,104,
	76,9,
	NULL,
	RELVERIFY+GADGIMMEDIATE,
	PROPGADGET,
	(APTR)&smerffImage1,
	NULL,
	&smerffIText1,
	NULL,
	(APTR)&smerffsmerffGadget12SInfo,
	12,
	NULL
};

static SHORT smerffBorderVectors1[] = {
	0,0,
	27,0,
	27,10,
	0,10,
	0,0
};
static struct Border smerffBorder1 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors1,
	NULL
};

static struct IntuiText smerffIText2 = {
	4,0,JAM1,
	5,1,
	NULL,
	"30",
	NULL
};

static struct Gadget smerffGadget11 = {
	&smerffGadget12,
	122,93,
	26,9,
	NULL,
	RELVERIFY+TOGGLESELECT,
	BOOLGADGET,
	(APTR)&smerffBorder1,
	NULL,
	&smerffIText2,
	NULL,
	NULL,
	11,
	NULL
};

static SHORT smerffBorderVectors2[] = {
	0,0,
	43,0,
	43,10,
	0,10,
	0,0
};
static struct Border smerffBorder2 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors2,
	NULL
};

static struct IntuiText smerffIText3 = {
	4,0,JAM1,
	5,1,
	NULL,
	"30df",
	NULL
};

static struct Gadget smerffGadget10 = {
	&smerffGadget11,
	76,93,
	42,9,
	NULL,
	RELVERIFY+TOGGLESELECT,
	BOOLGADGET,
	(APTR)&smerffBorder2,
	NULL,
	&smerffIText3,
	NULL,
	NULL,
	10,
	NULL
};

static SHORT smerffBorderVectors3[] = {
	0,0,
	27,0,
	27,10,
	0,10,
	0,0
};
static struct Border smerffBorder3 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors3,
	NULL
};

static struct IntuiText smerffIText4 = {
	4,0,JAM1,
	5,1,
	NULL,
	"25",
	NULL
};

static struct Gadget smerffGadget9 = {
	&smerffGadget10,
	46,93,
	26,9,
	NULL,
	RELVERIFY+TOGGLESELECT,
	BOOLGADGET,
	(APTR)&smerffBorder3,
	NULL,
	&smerffIText4,
	NULL,
	NULL,
	9,
	NULL
};

static SHORT smerffBorderVectors4[] = {
	0,0,
	27,0,
	27,10,
	0,10,
	0,0
};
static struct Border smerffBorder4 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors4,
	NULL
};

static struct IntuiText smerffIText5 = {
	4,0,JAM1,
	5,1,
	NULL,
	"24",
	NULL
};

static struct Gadget smerffGadget8 = {
	&smerffGadget9,
	16,93,
	26,9,
	NULL,
	RELVERIFY+TOGGLESELECT,
	BOOLGADGET,
	(APTR)&smerffBorder4,
	NULL,
	&smerffIText5,
	NULL,
	NULL,
	8,
	NULL
};

static SHORT smerffBorderVectors5[] = {
	0,0,
	133,0,
	133,10,
	0,10,
	0,0
};
static struct Border smerffBorder5 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors5,
	NULL
};

static struct IntuiText smerffIText6 = {
	4,0,JAM1,
	18,1,
	NULL,
	"SMPTE Timing",
	NULL
};

static struct Gadget smerffGadget7 = {
	&smerffGadget8,
	16,82,
	132,9,
	NULL,
	RELVERIFY+TOGGLESELECT,
	BOOLGADGET,
	(APTR)&smerffBorder5,
	NULL,
	&smerffIText6,
	NULL,
	NULL,
	7,
	NULL
};

static SHORT smerffBorderVectors6[] = {
	0,0,
	65,0,
	65,10,
	0,10,
	0,0
};
static struct Border smerffBorder6 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors6,
	NULL
};

static struct IntuiText smerffIText7 = {
	4,0,JAM1,
	4,1,
	NULL,
	"Format1",
	NULL
};

static struct Gadget smerffGadget6 = {
	&smerffGadget7,
	84,60,
	64,9,
	NULL,
	RELVERIFY+TOGGLESELECT,
	BOOLGADGET,
	(APTR)&smerffBorder6,
	NULL,
	&smerffIText7,
	NULL,
	NULL,
	5,
	NULL
};

static SHORT smerffBorderVectors7[] = {
	0,0,
	133,0,
	133,10,
	0,10,
	0,0
};
static struct Border smerffBorder7 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors7,
	NULL
};

static struct IntuiText smerffIText8 = {
	4,0,JAM1,
	10,1,
	NULL,
	"Tempo Map Only",
	NULL
};

static struct Gadget smerffGadget5 = {
	&smerffGadget6,
	16,71,
	132,9,
	NULL,
	RELVERIFY+TOGGLESELECT,
	BOOLGADGET,
	(APTR)&smerffBorder7,
	NULL,
	&smerffIText8,
	NULL,
	NULL,
	6,
	NULL
};

static SHORT smerffBorderVectors8[] = {
	0,0,
	65,0,
	65,10,
	0,10,
	0,0
};
static struct Border smerffBorder8 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors8,
	NULL
};

static struct IntuiText smerffIText9 = {
	4,0,JAM1,
	4,1,
	NULL,
	"Format0",
	NULL
};

static struct Gadget smerffGadget4 = {
	&smerffGadget5,
	16,60,
	64,9,
	NULL,
	RELVERIFY+TOGGLESELECT,
	BOOLGADGET,
	(APTR)&smerffBorder8,
	NULL,
	&smerffIText9,
	NULL,
	NULL,
	4,
	NULL
};

static SHORT smerffBorderVectors9[] = {
	0,0,
	133,0,
	133,10,
	0,10,
	0,0
};
static struct Border smerffBorder9 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors9,
	NULL
};

static struct IntuiText smerffIText11 = {
	3,0,JAM1,
	18,12,
	NULL,
	"Save Options",
	NULL
};

static struct IntuiText smerffIText10 = {
	4,0,JAM1,
	10,1,
	NULL,
	"Save MIDI File",
	&smerffIText11
};

static struct Gadget smerffGadget3 = {
	&smerffGadget4,
	16,38,
	132,9,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&smerffBorder9,
	NULL,
	&smerffIText10,
	NULL,
	NULL,
	3,
	NULL
};

static SHORT smerffBorderVectors10[] = {
	0,0,
	133,0,
	133,10,
	0,10,
	0,0
};
static struct Border smerffBorder10 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors10,
	NULL
};

static struct IntuiText smerffIText12 = {
	4,0,JAM1,
	14,1,
	NULL,
	"Add MIDI File",
	NULL
};

static struct Gadget smerffGadget2 = {
	&smerffGadget3,
	16,27,
	132,9,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&smerffBorder10,
	NULL,
	&smerffIText12,
	NULL,
	NULL,
	2,
	NULL
};

static SHORT smerffBorderVectors11[] = {
	0,0,
	133,0,
	133,10,
	0,10,
	0,0
};
static struct Border smerffBorder11 = {
	-1,-1,
	3,0,JAM1,
	5,
	smerffBorderVectors11,
	NULL
};

static struct IntuiText smerffIText13 = {
	4,0,JAM1,
	10,1,
	NULL,
	"Load MIDI File",
	NULL
};

static struct Gadget smerffGadget1 = {
	&smerffGadget2,
	16,16,
	132,9,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&smerffBorder11,
	NULL,
	&smerffIText13,
	NULL,
	NULL,
	1,
	NULL
};

#define smerffGadgetList1 smerffGadget1

static struct NewWindow smerffNewWindowStructure1 = {
	293,45,
	164,119,
	5,1,
	GADGETDOWN+GADGETUP+CLOSEWINDOW,
	WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE+NOCAREREFRESH,
	&smerffGadget1,
	NULL,
	NULL,
	NULL,
	NULL,
	5,5,
	-1,-1,
	CUSTOMSCREEN
};
