require "scripts/style"

kTutorNum = 0;

MakeDialog
{
	-- Name the modal dialog
	name="tutorGamePlay_"..kTutorNum,
	Bitmap
	{
		image="backgrounds/dialog",
		x = kCenter,
		y = kCenter,

        Text
        {
            font = StandardButtonFontFour,
            name = "tutorGamePlay"..kTutorNum.."Title",
            x=kCenter,y=40,
            w=335,h=30,
            flags = kHAlignCenter + kVAlignCenter,
            label = "tutorGameplay0"..kTutorNum.."Title"
        };

        Text
        {
            font = StandardButtonFont,
            name = "tutorGamePlay"..kTutorNum.."Description",
            x=kCenter,y=80,w=335,h=130,
            flags = kHAlignCenter + kVAlignCenter,
            label = "tutorGameplay0"..kTutorNum.."Description"
        };

        SetStyle(SmallEmptyRoundButtonStyle),
        Button
        {
            x = kCenter+70,
            y = kMax-80,
            name="tutorGamePlay"..kTutorNum.."Next",
            label="next",
            --close=true,
            default=true,
            type = kPush,
            command=
                function()
                    PopModal("tutorGamePlay_"..kTutorNum);
                    DoModal("scripts/tutor_GamePlay_"..(kTutorNum+1)..".lua");
                end            
        },
        Button
        {
            x = kCenter-70,
            y = kMax-80,
            name="tutorGamePlay"..kTutorNum.."Quit",
            label="close",
            close=true,
            cancel=true,
            --default=true,
            type = kPush,
        },        
	},
}

