/*
(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 UBYTE wlwlGadget4SIBuff[5] =
        "1";
static struct StringInfo wlwlGadget4SInfo = {
        wlwlGadget4SIBuff,
        NULL,
        0,
        5,
        0,
        0,0,0,0,0,
        0,
        0,
        NULL
};

static struct IntuiText writelyricsIText1 = {
        3,0,JAM1,
        -224,0,
        NULL,
        "Phrase Length (in Measures):",
        NULL
};

static struct Gadget writelyricsGadget4 = {
        NULL,
        244,37,
        32,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE+LONGINT,
        STRGADGET,
        NULL,
        NULL,
        &writelyricsIText1,
        NULL,
        (APTR)&wlwlGadget4SInfo,
        2,
        NULL
};

static UBYTE wlwlGadget3SIBuff[100];
static struct StringInfo wlwlGadget3SInfo = {
        wlwlGadget3SIBuff,
        NULL,
        0,
        100,
        0,
        0,0,0,0,0,
        0,
        0,
        NULL
};

static struct IntuiText writelyricsIText2 = {
        3,0,JAM1,
        -56,0,
        NULL,
        "Lyrics:",
        NULL
};

static struct Gadget writelyricsGadget3 = {
        &writelyricsGadget4,
        76,19,
        528,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        STRGADGET,
        NULL,
        NULL,
        &writelyricsIText2,
        NULL,
        (APTR)&wlwlGadget3SInfo,
        1,
        NULL
};

static struct IntuiText writelyricsIText3 = {
        4,0,JAM1,
        12,1,
        NULL,
        "Okay",
        NULL
};

static struct Gadget writelyricsGadget2 = {
        &writelyricsGadget3,
        491,36,
        54,10,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &writelyricsIText3,
        NULL,
        NULL,
        3,
        NULL
};

static struct IntuiText writelyricsIText4 = {
        4,0,JAM1,
        4,1,
        NULL,
        "Cancel",
        NULL
};

static struct Gadget writelyricsGadget1 = {
        &writelyricsGadget2,
        549,36,
        54,10,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &writelyricsIText4,
        NULL,
        NULL,
        4,
        NULL
};

#define writelyricsGadgetList1 writelyricsGadget1

struct NewWindow writelyricsNewWindowStructure1 = {
        4,21,
        627,58,
        1,4,
        GADGETDOWN+GADGETUP,
        ACTIVATE+NOCAREREFRESH,
        &writelyricsGadget1,
        NULL,
        "Write Lyrics",
        NULL,
        NULL,
        5,5,
        -1,-1,
        CUSTOMSCREEN
};

static UBYTE editlyricseditlyricsGadget22SIBuff[100];
static struct StringInfo editlyricseditlyricsGadget22SInfo = {
        editlyricseditlyricsGadget22SIBuff,
        NULL,
        0,
        100,
        0,
        0,0,0,0,0,
        0,
        0,
        NULL
};

static struct IntuiText editlyricsIText5 = {
        3,0,JAM1,
        -56,0,
        NULL,
        "Lyrics:",
        NULL
};

static struct Gadget editlyricsGadget22 = {
        NULL,
        76,19,
        328,8,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        STRGADGET,
        NULL,
        NULL,
        &editlyricsIText5,
        NULL,
        (APTR)&editlyricseditlyricsGadget22SInfo,
        1,
        NULL
};

static struct IntuiText editlyricsIText6 = {
        4,0,JAM1,
        12,1,
        NULL,
        "Okay",
        NULL
};

static struct Gadget editlyricsGadget21 = {
        &editlyricsGadget22,
        292,36,
        54,10,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &editlyricsIText6,
        NULL,
        NULL,
        3,
        NULL
};

static struct IntuiText editlyricsIText7 = {
        4,0,JAM1,
        4,1,
        NULL,
        "Cancel",
        NULL
};

static struct Gadget editlyricsGadget20 = {
        &editlyricsGadget21,
        350,36,
        54,10,
        NULL,
        RELVERIFY+GADGIMMEDIATE,
        BOOLGADGET,
        NULL,
        NULL,
        &editlyricsIText7,
        NULL,
        NULL,
        4,
        NULL
};

#define editlyricsGadgetList2 editlyricsGadget20

struct NewWindow editlyricsNewWindowStructure2 = {
        107,94,
        425,58,
        1,4,
        GADGETDOWN+GADGETUP,
        ACTIVATE,
        &editlyricsGadget20,
        NULL,
        "Edit Lyrics",
        NULL,
        NULL,
        5,5,
        -1,-1,
        CUSTOMSCREEN
};

