require( "scripts/style.lua" );

scene = "brazil";

portX = 219;
portY = 132;

supplierX = 635;
supplierY = 222;

cellarX = 16;
cellarY = 335;

guildX = 427;
guildY = 107;

wineryX = 0;
wineryY = 0;

MakeDialog
{	
	TimedWindow
	{
		timeout=3000,
		fit = true,
		
		--Blocker
		--{
		--	fit = true,
			
			FaderWindow
			{
				wait=100,
				duration=1000,
				w=1024,h=768,
				finalalpha = 0,
				startalpha = 1, skip = false,
			
				Bitmap
				{
					name="cellar",
					image="scenes/"..scene.."/cellar_over",
					alpha=0.99,
				},
				
				Bitmap
				{
					name="supplier",
					image="scenes/"..scene.."/supplier_over",
					alpha=0.99,
				},
				
				Bitmap
				{
					name="winery",
					image="scenes/"..scene.."/winery_over",
					alpha=0.99,
				},
				
				Bitmap
				{
					name="guild",
					image="scenes/"..scene.."/guild_over",
					alpha=0.99,
				},
				
				Bitmap
				{
					name="port",
					image="scenes/"..scene.."/port_over",
					alpha=0.99,
				},
				
				Window
				{
					name = "cellar_tooltip",
					x = cellarX,
					y = cellarY,
					fit = true,
					
					Bitmap
					{
						image = "scenes/labels/cellar",
						Text
						{
							label="cellar_label",
							w = kMax,
							h = kMax,
							flags = kVAlignCenter + kHAlignCenter,
							font = 
							{
								standardFont,
								20,
								WhiteColor
							},						
						}
					}
				},
				
				Window
				{
					name = "supplier_tooltip",
					x = supplierX,
					y = supplierY,
					fit = true,
					
					Bitmap
					{
						image = "scenes/labels/supplier",
						Text
						{
							label="supplier_label",
							w = kMax,
							h = kMax,
							flags = kVAlignCenter + kHAlignCenter,
							font = 
							{
								standardFont,
								20,
								WhiteColor
							},						
						}
					}
				},
				
				Window
				{
					name = "winery_tooltip",
					x = wineryX,
					y = wineryY,
					fit = true,
					
					Bitmap
					{
						image = "scenes/labels/winery",
						Text
						{
							label="winery_label",
							w = kMax,
							h = kMax,
							flags = kVAlignCenter + kHAlignCenter,
							font = 
							{
								standardFont,
								20,
								WhiteColor
							},						
						}
					}
				},
				
				Window
				{
					name = "guild_tooltip",
					x = guildX,
					y = guildY,
					fit = true,
					
					Bitmap
					{
						image = "scenes/labels/guild",
						Text
						{
							label="guild_label",
							w = kMax,
							h = kMax,
							flags = kVAlignCenter + kHAlignCenter,
							font = 
							{
								standardFont,
								20,
								WhiteColor
							},						
						}
					}
				},
				
				Window
				{
					name = "port_tooltip",
					x = portX,
					y = portY,
					fit = true,
					
					Bitmap
					{
						image = "scenes/labels/port",
						Text
						{
							label="port_label",
							w = kMax,
							h = kMax,
							flags = kVAlignCenter + kHAlignCenter,
							font = 
							{
								standardFont,
								20,
								WhiteColor
							},						
						}
					}
				},
			},
		--},--blocker
	}
} -- MakeDialog
