require( "scripts/style.lua" );

MakeDialog
{	
	name = "timebonus",
	TimedWindow
	{
		timeout=1500,
		fit = true,
		x=getBonusX(),
		y=getBonusY(),
				
		FaderWindow
		{
			wait=0,
			duration=100,
			fit = true,
			startalpha = 0,
			finalalpha = 1,
			skip = false,
			
			FaderWindow
			{
				wait=1100,
				duration=200,
				fit = true,
				startalpha = 1,
				finalalpha = 0,
				skip = false,
				
				Bitmap
				{
					name="yesnobackground",
					image="minigame2/bonus.png",
					x=0,
					y=0,
								        
					Text
					{
						name = "body",
						flags = kHAlignCenter + kVAlignCenter,
						x=0,y=0,w=kMax,h=kMax,
					};

				},
			}
		}
	}
} -- MakeDialog
