require( "scripts/style.lua" );



MakeDialog
{
	FaderWindow
	{
		wait=0,
		duration=100,
		startalpha = 0,
		finalalpha = 1,
		skip = false,
		x=kCenter,y=kCenter, w=800,h=600,
		Bitmap
		{
			name="tutorialmodalbackground",
			image="gui/tutorial/bg_v",
			x = kCenter, y = kCenter,
			SetStyle(ButtonStdOkStyle),
			--ShadowedButton
			Button
			{
				command = gDialogTable.action,
				--clickSound = "audio/sfx/buttons/default_click.ogg",
				--font = StandardButtonFont,
				close = true,
				flags = 5,
				--mylabel = "ok",
				label = "ok",
				name = "ok",
				x = kCenter,
				y = kMax-75,
			},
			SetStyle(DialogBodyText),
			Text
			{
				y = 30,
				h = kMax,
				x = kCenter+30,
				y = 30,
				flags = kHAlignCenter + kVAlignTop,
				name = "okbody",
				label= gDialogTable.body,
			};
		},
		Bitmap
		{
			name="giuseppe",
			image="gui/tutorial/giuseppe",
			x=477,
			y=48,
		},
	},
} -- MakeDialog
