require( "scripts/style.lua" );

SupplyNameFont = {
  stdLegibleFont,
  18,
  Color(51,13,0,255),
};

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

MakeDialog
{
	Bitmap
	{
		name = "lot_image",
		x=kCenter,y=kCenter,
	},
	Text
	{
		name = "lot_name",
		font = SupplyNameFont,
		flags = kHAlignCenter + kVAlignCenter,
		x=0,y=70,w=kMax,h=kMax +1,
	},
	Text
	{
		name = "lot_qty",
		font = QtyFont,
		flags = kHAlignRight + kVAlignBottom,
		x=0,y=30,w=kMax -10,h=26,
	},
	Button
	{
		name = "return_supply",
		sound = "audio/sfx/buttons/default_close.ogg",
		x = kMax-20, y = 10,
		graphics = 
		{
			"gui/supplier/remove",
		},
	},
} -- MakeDialog
