
dofile ( "hud/industrytax.lua" );

industrytaxview_group = 
{
	IndustryTaxView
	{
		name = "industrytaxview",
		x = 0,
		y = 0,
		w = kMax,
		h = kMax,
		
		MonopolyButton
		{
			name = "Btn_industrytax_dodge",	
			graphics =
			{
				industrytax_pop_taxdodge_params["image"],
				industrytax_pop_taxdodge_params["image"],
				industrytax_pop_taxdodge_params["image"],
				industrytax_pop_taxdodge_params["image"]
			};
			x=industrytax_pop_taxdodge_params["x"],
			y=industrytax_pop_taxdodge_params["y"],
			label="",
			command=
				function()
					OnIndustryTaxButtonDodge();
				end;			
		},	
		
		Bitmap
		{
			image=industrytax_win_smallframe_it_params["image"],
			x=industrytax_win_smallframe_it_params["x"],
			y=industrytax_win_smallframe_it_params["y"],
			name = "industrytax_panel",	
		},		
		
		Bitmap
		{
			image=industrytax_txt_industrytax_params["image"],
			x=industrytax_txt_industrytax_params["x"],
			y=industrytax_txt_industrytax_params["y"],
			name = "industrytax_text",	
		},
		
		Text
		{
			font = Green15Font,
			x=industrytax_txt_industdesc_params["x"]-30,
			y=industrytax_txt_industdesc_params["y"]-30,
			w=industrytax_txt_industdesc_params["w"]+60,
			h=industrytax_txt_industdesc_params["h"]+60,
			name = "industrytax_desc_text",
			label = "industrytax",
			flags = kHAlignCenter + kVAlignCenter,
		},
		--[[
		Bitmap
		{
			image=industrytax_txt_industdesc_params["image"],
			x=industrytax_txt_industdesc_params["x"],
			y=industrytax_txt_industdesc_params["y"],
			name = "industrytax_desc_text",
		},	
		--]]

		Bitmap
		{
			image=industrytax_ico_diamond_params["image"],
			x=industrytax_ico_diamond_params["x"],
			y=industrytax_ico_diamond_params["y"],
			name = "industrytax_icon",	
		},	
		
		SetStyle(ActionBarButtonStyle),
		
		-- BUTTON PAY
		Bitmap
		{
			image="hud/btn_menu_04",
			x = industrytax_btn_menu_pay_params["x"],
			y = industrytax_btn_menu_pay_params["y"],
			name = "mask",
		},
		Button
		{
			font = White15Font,
			graphics = industrytax_btn_menu_pay_params["graphics"],
			x = industrytax_btn_menu_pay_params["x"],
			y = industrytax_btn_menu_pay_params["y"],
			name="Btn_industrytax_pay",
			label="",
			command=
				function()
					OnIndustryTaxButton();
				end;
		},
	},
}