
dofile ( "hud/buildsewage.lua" );

buildhazard_group = 
{
	BuildHazardDialog
	{
		name = "buildsewagedialog",
		x = 0,
		y = 0,
		w = kMax,
		h = kMax,
		

		Bitmap	-- Panel
		{
			image=buildsewage_win_buildsewage_params["image"],
			x=buildsewage_win_buildsewage_params["x"],
			y=buildsewage_win_buildsewage_params["y"],
			name = "buildhazard_panel",	
		},		
		Text
		{
			font = MonopolyFont_14B_Grey1,
			name = "buildhazardamount_text",
			x = buildsewage_txt_sewageamt_params["x"],
			y = buildsewage_txt_sewageamt_params["y"]-10,
			w = buildsewage_txt_sewageamt_params["w"]+20,
			h = buildsewage_txt_sewageamt_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},	
		Text
		{
			name = "buildhazard_title",
			font = MonopolyFont_14B_Grey1,
			x = buildsewage_txt_buildsewage_params["x"],
			y = buildsewage_txt_buildsewage_params["y"]-10,
			w = buildsewage_txt_buildsewage_params["w"]+20,
			h = buildsewage_txt_buildsewage_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},
				
		-- Sewage & prison
		
		Bitmap
		{
			name = "Btn_Prison_Disabled",
			image="hud/btn_prison_04",
			x = buildsewage_ico_sewage_03_params["x"],
			y = buildsewage_ico_sewage_03_params["y"],
		},
		Bitmap
		{
			name = "Btn_Sewage_Disabled",
			image="hud/btn_sewage_04",
			x = buildsewage_ico_sewage_03_params["x"],
			y = buildsewage_ico_sewage_03_params["y"],
		},

		MonopolyButton
		{
			graphics =
			{
				'hud/btn_sewage_01',
				'hud/btn_sewage_02',
				'hud/btn_sewage_03',
				'hud/btn_sewage_04'
			};
			x = buildsewage_ico_sewage_03_params["x"],
			y = buildsewage_ico_sewage_03_params["y"],
			name="Btn_Sewage",
			label="",
			command=
				function()
					OnBuildHazardButtonSewage();
				end;
		},
		MonopolyButton
		{
			graphics =
			{
				'hud/btn_prison_01',
				'hud/btn_prison_02',
				'hud/btn_prison_03',
				'hud/btn_prison_04'
			};
			x = buildsewage_ico_sewage_03_params["x"],
			y = buildsewage_ico_sewage_03_params["y"],
			name="Btn_Prison",
			label="",
			command=
				function()
					OnBuildHazardButtonPrison();
				end;
		},
		
		Text
		{
			name = "buildhazard_buildingtext",
			font = MonopolyFont_14B_Grey1,
			x = buildsewage_txt_sewage_params["x"],
			y = buildsewage_txt_sewage_params["y"]-10,
			w = buildsewage_txt_sewage_params["w"]+20,
			h = buildsewage_txt_sewage_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = ""
		},
			

		-- BUY BUTTON
		Bitmap
		{
			image="hud/btn_menu_04",
			x = buildsewage_btn_menu_sewaccept_params["x"],
			y = buildsewage_btn_menu_sewaccept_params["y"],
			name = "mask",
		},
		MonopolyButton
		{
			graphics = buildsewage_btn_menu_sewaccept_params["graphics"],
			x = buildsewage_btn_menu_sewaccept_params["x"],
			y = buildsewage_btn_menu_sewaccept_params["y"],
			name="Btn_Buy",
			label="",
			command=
				function()
					OnBuildButtonBuy();
				end;
		},
		Text
		{
			name = "buildhazard_accepttext",
			font = MonopolyFont_12B_White,
			x = buildsewage_txt_sewaccept_params["x"],
			y = buildsewage_txt_sewaccept_params["y"]-10,
			w = buildsewage_txt_sewaccept_params["w"]+20,
			h = buildsewage_txt_sewaccept_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = "common.accept.label"
		},
		
		-- CANCEL BUTTON
		Bitmap
		{
			image="hud/btn_menu_04",
			x = buildsewage_btn_menu_sewcancel_params["x"],
			y = buildsewage_btn_menu_sewcancel_params["y"],
			name = "mask",
		},
		MonopolyButton
		{
			graphics = buildsewage_btn_menu_sewcancel_params["graphics"],
			x = buildsewage_btn_menu_sewcancel_params["x"],
			y = buildsewage_btn_menu_sewcancel_params["y"],
			name="Btn_Cancel",
			label="",
			command=
				function()
					OnBuildButtonCancel();
				end;
		},
		Text
		{
			name = "buildhazard_canceltext",
			font = MonopolyFont_12B_White,
			x = buildsewage_txt_sewcancel_params["x"],
			y = buildsewage_txt_sewcancel_params["y"]-10,
			w = buildsewage_txt_sewcancel_params["w"]+20,
			h = buildsewage_txt_sewcancel_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
			label = "common.cancel.label"
		},
		
		-- 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;
		},
		
		-- ROTATE LEFT BUTTON
		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;
		},
		
		-- ROTATE RIGHT BUTTON
		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;
		},	
	},
}