
dofile ( "hud/buildspecial.lua" );

buildspecialview_group = 
{
	BuildSpecialView
	{
		name = "buildspecialview",
		x = 0,
		y = 0,
		w = kMax,
		h = kMax,
		

		Bitmap
		{
			image=buildspecial_win_buildspecial_params["image"],
			x=buildspecial_win_buildspecial_params["x"],
			y=buildspecial_win_buildspecial_params["y"],
			name = "buildspecial_panel",	
		},		
		
		Bitmap
		{
			image=buildspecial_txt_buildspecial_params["image"],
			x=buildspecial_txt_buildspecial_params["x"],
			y=buildspecial_txt_buildspecial_params["y"],
			name = "buildspecial_title",	
		},		

--[[
		Bitmap
		{
			image=buildspecial_pop_largecard_params["image"],
			x=buildspecial_pop_largecard_params["x"],
			y=buildspecial_pop_largecard_params["y"],
			name = "build_card_panel",	
		},		
--]]		
		SetStyle(ActionBarButtonStyle),
		
		-- STADIUM BUTTON
		Bitmap
		{
			image="hud/btn_stad_04",
			x = buildspecial_btn_stad_01_params["x"],
			y = buildspecial_btn_stad_01_params["y"],
			name = "mask",
		},
		MonopolyButton
		{
			graphics = buildspecial_btn_stad_01_params["graphics"],
			x = buildspecial_btn_stad_01_params["x"],
			y = buildspecial_btn_stad_01_params["y"],
			name="Btn_Stadium",
			label="",
			command=
				function()
					OnBuildSpecialButtonStadium();
				end;
		},
		Text
		{
			font = Green14Font,
			name = "build_stadiumcost_text",
			x = buildspecial_txt_stadcost_params["x"]-10,
			y = buildspecial_txt_stadcost_params["y"]-10,
			w = buildspecial_txt_stadcost_params["w"]+20,
			h = buildspecial_txt_stadcost_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},	

		Text
		{
			font = Green14Font,
			name = "build_stadiumamount_text",
			x = buildspecial_txt_stadamt_params["x"],
			y = buildspecial_txt_stadamt_params["y"]-10,
			w = buildspecial_txt_stadamt_params["w"]+20,
			h = buildspecial_txt_stadamt_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},

		-- SKYSCRAPER BUTTON
		Bitmap
		{
			image="hud/btn_skysc_04",
			x = buildspecial_btn_skysc_01_params["x"],
			y = buildspecial_btn_skysc_01_params["y"],
			name = "mask",
		},
		MonopolyButton
		{
			graphics = buildspecial_btn_skysc_01_params["graphics"],
			x = buildspecial_btn_skysc_01_params["x"],
			y = buildspecial_btn_skysc_01_params["y"],
			name="Btn_Skyscraper",
			label="",
			command=
				function()
					OnBuildSpecialButtonSkyscraper();
				end;
		},
		Text
		{
			font = Green14Font,
			name = "build_skysccost_text",
			x = buildspecial_txt_stadcost_params["x"]-10,
			y = buildspecial_btn_skysc_01_params["y"],
			w = buildspecial_txt_stadcost_params["w"]+20,
			h = buildspecial_txt_stadcost_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},

		Text
		{
			font = Green14Font,
			name = "build_skyscamount_text",
			x = buildspecial_txt_stadamt_params["x"],
			y = buildspecial_btn_skysc_01_params["y"],
			w = buildspecial_txt_stadamt_params["w"]+20,
			h = buildspecial_txt_stadamt_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},
		
		-- MONOPOLY TOWER BUTTON
		Bitmap
		{
			image="hud/btn_monotwr_04",
			x = buildspecial_btn_monotwr_01_params["x"],
			y = buildspecial_btn_monotwr_01_params["y"],
			name = "mask",
		},
		MonopolyButton
		{
			graphics = buildspecial_btn_monotwr_01_params["graphics"],
			x = buildspecial_btn_monotwr_01_params["x"],
			y = buildspecial_btn_monotwr_01_params["y"],
			name="Btn_MonopolyTower",
			label="",
			command=
				function()
					OnBuildSpecialButtonMonopolyTower();
				end;
		},
		Text
		{
			font = Green14Font,
			name = "build_monotwrcost_text",
			x = buildspecial_txt_stadcost_params["x"]-10,
			y = buildspecial_btn_monotwr_01_params["y"],
			w = buildspecial_txt_stadcost_params["w"]+20,
			h = buildspecial_txt_stadcost_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},
		Text
		{
			font = Green14Font,
			name = "build_monotwramount_text",
			x = buildspecial_txt_stadamt_params["x"],
			y = buildspecial_btn_monotwr_01_params["y"],
			w = buildspecial_txt_stadamt_params["w"]+20,
			h = buildspecial_txt_stadamt_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},
		
		-- TOTAL COST
		Text
		{
			font = Green12Font,
			name = "build_totalcost_text",
			x = buildspecial_txt_sptotalcost_params["x"]-10,
			y = buildspecial_txt_sptotalcost_params["y"]-10,
			w = buildspecial_txt_sptotalcost_params["w"]+20,
			h = buildspecial_txt_sptotalcost_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},
			
		-- CURRENT MONEY
		Text
		{
			font = Green14Font,
			name = "build_currentmoney_text",
			x = buildspecial_txt_spcurrentmoney_params["x"]-10,
			y = buildspecial_txt_spcurrentmoney_params["y"]-10,
			w = buildspecial_txt_spcurrentmoney_params["w"]+20,
			h = buildspecial_txt_spcurrentmoney_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "currentmoney"
		},
		Text
		{
			font = MonopolyFont_15B_Grey1,
			name = "build_currentmoneyvalue_text",
			x = buildspecial_txt_spmoney_params["x"]-10,
			y = buildspecial_txt_spmoney_params["y"]-10,
			w = buildspecial_txt_spmoney_params["w"]+20,
			h = buildspecial_txt_spmoney_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = ""
		},
					
		-- BUY BUTTON
		Bitmap
		{
			image="hud/btn_menu_04",
			x = buildspecial_btn_menu_spbuy_params["x"],
			y = buildspecial_btn_menu_spbuy_params["y"],
			name = "mask",
		},
		MonopolyButton
		{
			graphics = buildspecial_btn_menu_spbuy_params["graphics"],
			x = buildspecial_btn_menu_spbuy_params["x"],
			y = buildspecial_btn_menu_spbuy_params["y"],
			name="Btn_Buy",
			label="",
			command=
				function()
					OnBuildButtonBuy();
				end;
		},
		Bitmap
		{
			image=buildspecial_txt_spbuy_params["image"],
			x=buildspecial_txt_spbuy_params["x"],
			y=buildspecial_txt_spbuy_params["y"],
			name = "bldspec_buytext",	
		},

		-- CANCEL BUTTON
		Bitmap
		{
			image="hud/btn_menu_04",
			x = buildspecial_btn_menu_spcancel_params["x"],
			y = buildspecial_btn_menu_spcancel_params["y"],
			name = "mask",
		},
		MonopolyButton
		{
			graphics = buildspecial_btn_menu_spcancel_params["graphics"],
			x = buildspecial_btn_menu_spcancel_params["x"],
			y = buildspecial_btn_menu_spcancel_params["y"],
			name="Btn_Cancel",
			label="",
			command=
				function()
					OnBuildButtonCancel();
				end;
		},
		Bitmap
		{
			image=buildspecial_txt_spcancel_params["image"],
			x=buildspecial_txt_spcancel_params["x"],
			y=buildspecial_txt_spcancel_params["y"],
			name = "bldspec_canceltext",	
		},		
		
		-- REMOVE BUTTON
		MonopolyButton
		{
			graphics =
			{
				'game_static/ui/button/btn_remove_01',
				'game_static/ui/button/btn_remove_02',
				'game_static/ui/button/btn_remove_03',
				'game_static/ui/button/btn_remove_04'
			},
			x = 680,
			y = 500,
			name="Btn_Destroy",
			label="",
			command=
				function()
					OnBuildButtonDestroy();
				end;
		},
		
		MonopolyButton
		{
			graphics =
			{
				'game_static/ui/button/btn_rotatel_01',
				'game_static/ui/button/btn_rotatel_02',
				'game_static/ui/button/btn_rotatel_03',
				'game_static/ui/button/btn_rotatel_04'
			},
			x = 650,
			y = 500,
			name="Btn_RotateLeft",
			label="",
			command=
				function()
					OnBuildButtonRotateLeft();
				end;
		},
		
		MonopolyButton
		{
			graphics =
			{
				'game_static/ui/button/btn_rotater_01',
				'game_static/ui/button/btn_rotater_02',
				'game_static/ui/button/btn_rotater_03',
				'game_static/ui/button/btn_rotater_04'
			},
			x = 710,
			y = 500,
			name="Btn_RotateRight",
			label="",
			command=
				function()
					OnBuildButtonRotateRight();
				end;
		},	
	},
}