
dofile ( "hud/negativebalance.lua" );

negativebalance_group = 
{
	NegativeBalanceDialog
	{
		name = "negativebalancedialog",
		x = 0,
		y = 0,
		w = kMax,
		h = kMax,
		
		ModalBG
		{
			x = 0,
			y = 0,
			w = kMax,
			h = kMax,
		},

		Bitmap
		{
			image=negativebalance_win_negbal_params["image"],
			x=negativebalance_win_negbal_params["x"],
			y=negativebalance_win_negbal_params["y"],
			name = "negativebalance_panel",	
		},	
		
		Bitmap
		{
			name = negativebalance_txt_negbal_params["name"],
			image=negativebalance_txt_negbal_params["image"],
			x=negativebalance_txt_negbal_params["x"],
			y=negativebalance_txt_negbal_params["y"],
		},	
		
		Bitmap
		{
			name = negativebalance_txt_negbaldesc_params["name"],
			image=negativebalance_txt_negbaldesc_params["image"],
			x=negativebalance_txt_negbaldesc_params["x"],
			y=negativebalance_txt_negbaldesc_params["y"],
		},	
				
		MonopolyButton
		{
			name = "Btn_negativebalance_deal",	
			graphics = negativebalance_btn_ltrade_params["graphics"],
			x=negativebalance_btn_ltrade_params["x"],
			y=negativebalance_btn_ltrade_params["y"],
			label="",
			command=
				function()
					OnNegativeBalanceButtonDeal();
				end;			
		},
		
		Bitmap
		{
			name = negativebalance_txt_deal_params["name"],
			image = negativebalance_txt_deal_params["image"],
			x = negativebalance_txt_deal_params["x"],
			y = negativebalance_txt_deal_params["y"],
		},
		
		Bitmap
		{
			name = "Btn_negativebalance_mortgage_disabled",
			image = 'hud/btn_lmortgage_04',
			x = negativebalance_btn_lmortgage_params["x"],
			y = negativebalance_btn_lmortgage_params["y"],
		},
		
		MonopolyButton
		{
			name = "Btn_negativebalance_mortgage",	
			graphics = negativebalance_btn_lmortgage_params["graphics"],
			x=negativebalance_btn_lmortgage_params["x"],
			y=negativebalance_btn_lmortgage_params["y"],
			label="",
			command=
				function()
					OnNegativeBalanceButtonMortgage();
				end;			
		},	
		
		Bitmap
		{
			name = negativebalance_txt_mort_params["name"],
			image = negativebalance_txt_mort_params["image"],
			x = negativebalance_txt_mort_params["x"],
			y = negativebalance_txt_mort_params["y"],
		},
		
		MonopolyButton
		{
			name = "Btn_negativebalance_bankruptcy",	
			graphics = negativebalance_btn_lbankruptcy_params["graphics"],
			x=negativebalance_btn_lbankruptcy_params["x"],
			y=negativebalance_btn_lbankruptcy_params["y"],
			label="",
			command=
				function()
					OnNegativeBalanceButtonBankruptcy();
				end;			
		},	
		
		Bitmap
		{
			name = negativebalance_txt_declare02_params["name"],
			image=negativebalance_txt_declare02_params["image"],
			x=negativebalance_txt_declare02_params["x"],
			y=negativebalance_txt_declare02_params["y"],
		},		

	},
}