require( "scripts/style.lua" );



MakeDialog
{
	FaderWindow
	{
		wait=0,
		duration=100,
		fit = true,
		startalpha = 0,
		finalalpha = 0.99,
		skip = false,
		Bitmap
		{
			name="shade",
			image="backgrounds/shade",
			Bitmap
			{
				name="background",
				image="backgrounds/dialog",
				--x=tx,
				--y=ty,
				x=306,
				y=226,
				SetStyle(ButtonStdOkStyle),
				--ShadowedButton
				Button
				{
					--face = "buttons/stdok",
					--shadow = "buttons/stddone_shadow",
					clickSound = "audio/sfx/buttons/default_click.ogg",
					--displacement = 2,
					command = gDialogTable.action,
					--font = StandardButtonFont,
					close = true,
					flags = 5,
					--mylabel = GetString("ok"),
					label = "ok",
					name = "ok",
					tw=kMax-8,
					th=kMax-2,
					x = kCenter,
					y = kMax-100,
				},
				SetStyle(DialogTitleText),
				Text
				{
					w = kMax,
					x = 0,
					flags = kHAlignCenter + kVAlignCenter,
					name = "oktitle",
					label= "acquiredvinoultimaetitle",
				},
				SetStyle(DialogBodyText),
				Text
				{
					name = "okbody",
					label= "acquiredvinoultimaebody",
				},
			},
		},
	},
} -- MakeDialog
