
dofile ( "hud/ico_largecard.lua" );
		
districtcard_group = 
{
	DistrictCardWindow
	{
		name = "districtcardwindow",
		x = 0,
		y = 0,
		w = kMax,
		h = kMax,

		Bitmap
		{
			name = "hazard_tab",	
			image=ico_largecard_ico_haztab_params["image"],
			x=ico_largecard_ico_haztab_params["x"],
			y=ico_largecard_ico_haztab_params["y"],
		},
		
		Bitmap
		{
			name = "hazard_icon",	
			image=ico_largecard_ico_sewage_01_params["image"],
			x=ico_largecard_ico_sewage_01_params["x"],
			y=ico_largecard_ico_sewage_01_params["y"],
		},

		Bitmap
		{
			name = "railroad_tab",	
			image=ico_largecard_ico_railtab_params["image"],
			x=ico_largecard_ico_railtab_params["x"],
			y=ico_largecard_ico_railtab_params["y"],
		},
		
		Bitmap
		{
			name = "railroad_icon",	
			image=ico_largecard_ico_railrd_01_params["image"],
			x=ico_largecard_ico_railrd_01_params["x"],
			y=ico_largecard_ico_railrd_01_params["y"],
		},

		Bitmap
		{
			name = "special_tab",	
			image=ico_largecard_ico_specialtab_params["image"],
			x=ico_largecard_ico_specialtab_params["x"],
			y=ico_largecard_ico_specialtab_params["y"],
		},
		
		Bitmap
		{
			name = "special_icon_stadium",	
			image=ico_largecard_ico_stad_01_params["image"],
			x=ico_largecard_ico_stad_01_params["x"],
			y=ico_largecard_ico_stad_01_params["y"],
		},
		Bitmap
		{
			name = "special_icon_skyscraper",	
			image=ico_largecard_ico_skysc_01_params["image"],
			x=ico_largecard_ico_skysc_01_params["x"],
			y=ico_largecard_ico_skysc_01_params["y"],
		},
		Bitmap
		{
			name = "special_icon_monotower",	
			image=ico_largecard_ico_monotwr_01_params["image"],
			x=ico_largecard_ico_monotwr_01_params["x"],
			y=ico_largecard_ico_monotwr_01_params["y"],
		},

		-- build tab
		Bitmap
		{
			name = "build_tab",	
			image=ico_largecard_ico_buildtab_params["image"],
			x=ico_largecard_ico_buildtab_params["x"],
			y=ico_largecard_ico_buildtab_params["y"],
		},
		
		Bitmap
		{
			name = "build_icon_residential",	
			image=ico_largecard_ico_res_01_params["image"],
			x=ico_largecard_ico_res_01_params["x"],
			y=ico_largecard_ico_res_01_params["y"],
		},
		Text
		{
			name = "build_residential_amount",
			font = Green12Font,
			x = ico_largecard_txt_amt_params["x"]-10,
			y = ico_largecard_txt_amt_params["y"]-10,
			w = ico_largecard_txt_amt_params["w"]+20,
			h = ico_largecard_txt_amt_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = ""
		},
		Bitmap
		{
			name = "build_icon_industrial",	
			image=ico_largecard_ico_ind_01_params["image"],
			x=ico_largecard_ico_ind_01_params["x"],
			y=ico_largecard_ico_ind_01_params["y"],
		},
		Text
		{
			name = "build_industrial_amount",
			font = Green12Font,
			x = ico_largecard_txt_amt_params["x"]-10,
			y = ico_largecard_txt_amt_params["y"]-10 + ico_largecard_ico_ind_01_params["y"] - ico_largecard_ico_res_01_params["y"],
			w = ico_largecard_txt_amt_params["w"]+20,
			h = ico_largecard_txt_amt_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = ""
		},
		
		-- Owner Tab
		Bitmap
		{
			name = "owner_tab",	
			image=ico_largecard_ico_ownertab_01_params["image"],
			x=ico_largecard_ico_ownertab_01_params["x"],
			y=ico_largecard_ico_ownertab_01_params["y"],
		},
		
		Bitmap
		{
			name = "owner_tab_mover",	
			image=ico_largecard_ico_splayericon_params["image"],
			x=ico_largecard_ico_splayericon_params["x"],
			y=ico_largecard_ico_splayericon_params["y"],
		},

		-- price tab
		Bitmap
		{
			name = "price_tab",	
			image=ico_largecard_ico_pricetab_params["image"],
			x=ico_largecard_ico_pricetab_params["x"],
			y=ico_largecard_ico_pricetab_params["y"]+1,
		},
		Text
		{
			name = "price_text",
			font = Green12Font,
			x = ico_largecard_txt_price2_params["x"]-10,
			y = ico_largecard_txt_price2_params["y"]-7,
			w = ico_largecard_txt_price2_params["w"]+20,
			h = ico_largecard_txt_price2_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "district.price"
		},
		Text
		{
			name = "price_value",
			font = Green20Font,
			x = ico_largecard_txt_priceamt2_params["x"]-10,
			y = ico_largecard_txt_priceamt2_params["y"]-7,
			w = ico_largecard_txt_priceamt2_params["w"]+20,
			h = ico_largecard_txt_priceamt2_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = ""
		},
		Text
		{
			name = "rent_text",
			font = Green12Font,
			x = ico_largecard_txt_rent2_params["x"]-10,
			y = ico_largecard_txt_rent2_params["y"]-7,
			w = ico_largecard_txt_rent2_params["w"]+20,
			h = ico_largecard_txt_rent2_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "district.rent"
		},
		Text
		{
			name = "rent_value",
			font = Green20Font,
			x = ico_largecard_txt_rentamt_params["x"]-10,
			y = ico_largecard_txt_rentamt_params["y"]-7,
			w = ico_largecard_txt_rentamt_params["w"]+20,
			h = ico_largecard_txt_rentamt_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = ""
		},

		-- card panel
		Bitmap
		{
			name = "districtcard_panel",	
			image=ico_largecard_ico_largecard_params["image"],
			x=ico_largecard_ico_largecard_params["x"],
			y=ico_largecard_ico_largecard_params["y"],
		},

		-- this is a sprite ==> different syntax

		color_sprite=
		{
			{
				name = "districtcard_color",	
				image=ico_largecard_ico_labelcolor_params["image"],
				x=ico_largecard_ico_labelcolor_params["x"],
				y=ico_largecard_ico_labelcolor_params["y"],
			}
		},		
		
		Text
		{
			name = "districtcard_name",
			font = MonopolyFont_15_Black,
			x = ico_largecard_txt_distname_params["x"]-10,
			y = ico_largecard_txt_distname_params["y"]-10,
			w = ico_largecard_txt_distname_params["w"]+20,
			h = ico_largecard_txt_distname_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = ""
		},
		
		Text
		{
			font = MonopolyFont_11_Black,
			name = "districtcard_landrent",
			x = ico_largecard_txt_landrent_params["x"]-10,
			y = ico_largecard_txt_landrent_params["y"]-10,
			w = ico_largecard_txt_landrent_params["w"]+20,
			h = ico_largecard_txt_landrent_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "district.landrent"
		},

		Text
		{
			font = MonopolyFont_11_Black,
			name = "districtcard_noofblocks",
			x = ico_largecard_txt_noofblocks_params["x"],
			y = ico_largecard_txt_noofblocks_params["y"]-10,
			w = ico_largecard_txt_noofblocks_params["w"]+20,
			h = ico_largecard_txt_noofblocks_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = "district.noblocks"
		},
		
		Text
		{
			font = MonopolyFont_11_Black,
			name = "districtcard_rentvalue",
			x = ico_largecard_txt_rentvalue_params["x"],
			y = ico_largecard_txt_rentvalue_params["y"]-10,
			w = ico_largecard_txt_rentvalue_params["w"]+20,
			h = ico_largecard_txt_rentvalue_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = "district.rentvalue"
		},
--[[
		Bitmap
		{
			name = "districtcard_blockcounts",	
			image=ico_largecard_txt_numbers_params["image"],
			x=ico_largecard_txt_numbers_params["x"],
			y=ico_largecard_txt_numbers_params["y"],
		},
--]]
		Text
		{
			font = MonopolyFont_10_Black,
			name = "districtcard_blockcounts",
			x = ico_largecard_txt_numbers_params["x"]-10,
			y = ico_largecard_txt_numbers_params["y"]-10,
			w = ico_largecard_txt_numbers_params["w"]+20,
			h = ico_largecard_txt_numbers_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "district.blockcounts"
		},
		
		Text
		{
			font = MonopolyFont_10_Black,
			name = "districtcard_costs",
			x = ico_largecard_txt_rent_params["x"]-10,
			y = ico_largecard_txt_rent_params["y"]-10,
			w = ico_largecard_txt_rent_params["w"]+20,
			h = ico_largecard_txt_rent_params["h"]+20,
			flags = kHAlignRight + kVAlignCenter,
			label = ""
		},
		
		Text
		{
			font = MonopolyFont_11_Black,
			name = "districtcard_price",
			x = ico_largecard_txt_price_params["x"]-10,
			y = ico_largecard_txt_price_params["y"]-10,
			w = ico_largecard_txt_price_params["w"]+20,
			h = ico_largecard_txt_price_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "district.buildingprice"
		},
		
		Text
		{
			font = MonopolyFont_10_Black,
			name = "districtcard_buildingtype",
			x = ico_largecard_txt_type_params["x"],
			y = ico_largecard_txt_type_params["y"]-10,
			w = ico_largecard_txt_type_params["w"]+20,
			h = ico_largecard_txt_type_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = "district.residential"
		},
		
		Text
		{
			font = MonopolyFont_10_Black,
			name = "districtcard_buildingtype",
			x = ico_largecard_txt_equal_params["x"]-10,
			y = ico_largecard_txt_equal_params["y"]-10,
			w = ico_largecard_txt_equal_params["w"]+20,
			h = ico_largecard_txt_equal_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "district.equal"
		},
--[[
		Bitmap
		{
			name = "districtcard_equal",	
			image=ico_largecard_txt_equal_params["image"],
			x=ico_largecard_txt_equal_params["x"],
			y=ico_largecard_txt_equal_params["y"],
		},
--]]
		
		Text
		{
			font = MonopolyFont_10_Black,
			name = "districtcard_buildingcosts",
			x = ico_largecard_txt_perblock_params["x"]-20,
			y = ico_largecard_txt_perblock_params["y"]-10,
			w = ico_largecard_txt_perblock_params["w"]+20,
			h = ico_largecard_txt_perblock_params["h"]+20,
			flags = kHAlignRight + kVAlignCenter,
			label = "district.residentialcost"
		},
		
		Bitmap
		{
			name = "districtcard_mortgage",	
			image=ico_largecard_ico_mortgage_params["image"],
			x=ico_largecard_ico_mortgage_params["x"],
			y=ico_largecard_ico_mortgage_params["y"],
		},

	},
}