require( "scripts/style.lua" );

TitleFont = {
  standardFont,
  32,
  Color(51,13,0,255),
};

WineNameFont = {
  stdLegibleFont,
  14,
  Color(51,13,0,255),
};

WineClassFont = {
  "fonts/wineclass.mvec",
  10,
  Color(51,13,0,255),
};

QtyFont = {
  stdLegibleFont,
  18,
  Color(0,0,110,250),
};


MakeDialog
{
  	Text
	{
		name="tab_title",
		label="tab_blends",
		font=TabButtonFont,
		flags = kHAlignCenter + kVAlignTop,
		x=184,y=6,w=185,h=26,
	},
	BlendsList
	{
		fit=true,
		Text
		{
			name = "title",
			font = TitleFont,
			flags = kHAlignRight + kVAlignTop,
			x=0,y=50,w=200,h=40,
			label = "#"..GetString("outline_inventorytitle", GetString("blends_book"));
		},
		Bitmap
		{
			name = "disabled_prev",
			image = "buttons/lastdown",
			x=8,y=90,
		},
		Button
		{
			name = "prev_page",
			fit=true,
			x=8,y=90,
			graphics = 
			{
				"buttons/lastidle",
				"buttons/lastdown",
				"buttons/lastover",
			},
			
			Text
			{
				label = "#<outline color=\"".."592518".."\" size='".."2"..">"..GetString("last_label").."</outline>",
				w = kMax-5, h = kMax,
				flags = kHAlignCenter + kVAlignCenter,
				y = 20,
				font = 
				{
					stdLegibleFont,
					20,
					WhiteColor,
				},
			}
		},
		Bitmap
		{
			name = "disabled_next",
			image = "buttons/moredown",
			x=924,y=90,
		},
		Button
		{
			name = "next_page",
			fit=true,
			x=924,y=90,
			graphics = 
			{
				"buttons/moreidle",
				"buttons/moredown",
				"buttons/moreover",
			},
			
			Text
			{
				label = "#<outline color=\"".."592518".."\" size='".."2"..">"..GetString("more_label").."</outline>",
				w = kMax-5, h = kMax,
				flags = kHAlignCenter + kVAlignCenter,
				y = 20,
				font = 
				{
					stdLegibleFont,
					20,
					WhiteColor,
				},
			}
		},
		Window
		{
			name="blends_list",
			x=90,y=88,w=840,h=120,
		},
	}
} -- MakeDialog
