/*
(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 SHORT prefsBorderVectors1[] = {
  0,0,
  68,0,
  68,11,
  0,11,
  0,0
};
static struct Border prefsBorder1 = {
  -1,-1,
  3,0,JAM1,
  5,
  prefsBorderVectors1,
  NULL
};

static struct IntuiText prefsIText1 = {
  4,2,JAM2,
  17,1,
  NULL,
  "Okay",
  NULL
};

static struct Gadget prefsGadget15 = {
  NULL,
  212,120,
  67,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY,
  BOOLGADGET,
  (APTR)&prefsBorder1,
  NULL,
  &prefsIText1,
  NULL,
  NULL,
  14,
  NULL
};

static SHORT prefsBorderVectors2[] = {
  0,0,
  328,0,
  328,39,
  0,39,
  0,0
};
static struct Border prefsBorder2 = {
  -1,-1,
  3,0,JAM1,
  5,
  prefsBorderVectors2,
  NULL
};

static struct IntuiText prefsIText2 = {
  3,0,JAM1,
  8,2,
  NULL,
  "Note Stem",
  NULL
};

static struct Gadget prefsGadget14 = {
  &prefsGadget15,
  22,76,
  327,38,
  GADGHBOX+GADGHIMAGE,
  NULL,
  BOOLGADGET,
  (APTR)&prefsBorder2,
  NULL,
  &prefsIText2,
  NULL,
  NULL,
  3,
  NULL
};

static SHORT prefsBorderVectors3[] = {
  0,0,
  159,0,
  159,51,
  0,51,
  0,0
};
static struct Border prefsBorder3 = {
  -1,-1,
  3,0,JAM1,
  5,
  prefsBorderVectors3,
  NULL
};

static struct IntuiText prefsIText3 = {
  3,0,JAM1,
  8,2,
  NULL,
  "Chord",
  NULL
};

static struct Gadget prefsGadget13 = {
  &prefsGadget14,
  191,21,
  158,50,
  GADGHBOX+GADGHIMAGE,
  NULL,
  BOOLGADGET,
  (APTR)&prefsBorder3,
  NULL,
  &prefsIText3,
  NULL,
  NULL,
  2,
  NULL
};

static SHORT prefsBorderVectors4[] = {
  0,0,
  159,0,
  159,51,
  0,51,
  0,0
};
static struct Border prefsBorder4 = {
  -1,-1,
  3,0,JAM1,
  5,
  prefsBorderVectors4,
  NULL
};

static struct IntuiText prefsIText4 = {
  3,0,JAM1,
  8,2,
  NULL,
  "Note Length",
  NULL
};

static struct Gadget prefsGadget12 = {
  &prefsGadget13,
  22,21,
  158,50,
  GADGHBOX+GADGHIMAGE,
  NULL,
  BOOLGADGET,
  (APTR)&prefsBorder4,
  NULL,
  &prefsIText4,
  NULL,
  NULL,
  1,
  NULL
};

static struct IntuiText prefsIText5 = {
  4,0,JAM1,
  24,1,
  NULL,
  "Oppose Rhythm",
  NULL
};

static struct Gadget prefsGadget11 = {
  &prefsGadget12,
  187,89,
  153,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText5,
  NULL,
  NULL,
  12,
  NULL
};

static struct IntuiText prefsIText6 = {
  4,0,JAM1,
  40,1,
  NULL,
  "Stem Down",
  NULL
};

static struct Gadget prefsGadget10 = {
  &prefsGadget11,
  187,101,
  153,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText6,
  NULL,
  NULL,
  13,
  NULL
};

static struct IntuiText prefsIText7 = {
  4,0,JAM1,
  41,1,
  NULL,
  "Auto Stem",
  NULL
};

static struct Gadget prefsGadget9 = {
  &prefsGadget10,
  30,89,
  153,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText7,
  NULL,
  NULL,
  10,
  NULL
};

static struct IntuiText prefsIText8 = {
  4,0,JAM1,
  4,1,
  NULL,
  "Keep Note Lengths",
  NULL
};

static struct Gadget prefsGadget8 = {
  &prefsGadget9,
  199,58,
  142,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText8,
  NULL,
  NULL,
  9,
  NULL
};

static struct IntuiText prefsIText9 = {
  4,0,JAM1,
  16,1,
  NULL,
  "Lengthen Notes",
  NULL
};

static struct Gadget prefsGadget7 = {
  &prefsGadget8,
  199,46,
  142,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText9,
  NULL,
  NULL,
  8,
  NULL
};

static struct IntuiText prefsIText10 = {
  4,0,JAM1,
  19,1,
  NULL,
  "Shorten Notes",
  NULL
};

static struct Gadget prefsGadget6 = {
  &prefsGadget7,
  199,34,
  142,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText10,
  NULL,
  NULL,
  7,
  NULL
};

static struct IntuiText prefsIText11 = {
  4,0,JAM1,
  21,1,
  NULL,
  "Insert Rests",
  NULL
};

static struct Gadget prefsGadget5 = {
  &prefsGadget6,
  30,58,
  142,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText11,
  NULL,
  NULL,
  6,
  NULL
};

static struct IntuiText prefsIText12 = {
  4,0,JAM1,
  22,1,
  NULL,
  "Extend Notes",
  NULL
};

static struct Gadget prefsGadget4 = {
  &prefsGadget5,
  30,46,
  142,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText12,
  NULL,
  NULL,
  5,
  NULL
};

static struct IntuiText prefsIText13 = {
  4,0,JAM1,
  49,1,
  NULL,
  "Stem Up",
  NULL
};

static struct Gadget prefsGadget3 = {
  &prefsGadget4,
  30,101,
  153,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText13,
  NULL,
  NULL,
  11,
  NULL
};

static struct IntuiText prefsIText14 = {
  4,0,JAM1,
  17,1,
  NULL,
  "Overlap Notes",
  NULL
};

static struct Gadget prefsGadget2 = {
  &prefsGadget3,
  30,34,
  142,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY+TOGGLESELECT,
  BOOLGADGET,
  NULL,
  NULL,
  &prefsIText14,
  NULL,
  NULL,
  4,
  NULL
};

static SHORT prefsBorderVectors5[] = {
  0,0,
  68,0,
  68,11,
  0,11,
  0,0
};
static struct Border prefsBorder5 = {
  -1,-1,
  3,0,JAM1,
  5,
  prefsBorderVectors5,
  NULL
};

static struct IntuiText prefsIText15 = {
  4,2,JAM2,
  9,1,
  NULL,
  "Cancel",
  NULL
};

static struct Gadget prefsGadget1 = {
  &prefsGadget2,
  283,120,
  67,10,
  GADGHBOX+GADGHIMAGE,
  RELVERIFY,
  BOOLGADGET,
  (APTR)&prefsBorder5,
  NULL,
  &prefsIText15,
  NULL,
  NULL,
  15,
  NULL
};

#define prefsGadgetList1 prefsGadget1

static struct NewWindow prefsNewWindowStructure1 = {
  152,0,
  370,140,
  0,1,
  GADGETUP,
  ACTIVATE+NOCAREREFRESH,
  &prefsGadget1,
  NULL,
  NULL,
  NULL,
  NULL,
  5,5,
  -1,-1,
  CUSTOMSCREEN
};
