require "scripts/style"

kTutorNum = 3;

MakeDialog
{
	-- Name the modal dialog
	name="tutorGamePlay_"..kTutorNum,
	Bitmap
	{
		image="pics/onetime_dialog_gfx/tutor_gameplay_0"..kTutorNum.."_bcg",
		x = kCenter,
		y = kCenter,
        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,
            },    
        },
	},
}


