
dofile ( "hud/BuildRailroad.lua" );

buildrailroadview_group = 
{
	BuildRailroadView
	{
		name = "buildrailroadview",
		x = 0,
		y = 0,
		w = kMax,
		h = kMax,
		
		Bitmap
		{
			image=buildrailroad_win_railrd_params["image"],
			x=buildrailroad_win_railrd_params["x"],
			y=buildrailroad_win_railrd_params["y"],
			name = "buildrailroad_panel",	
		},		
		
		Bitmap
		{
			image="hud/btn_bld_01",
			x=buildrailroad_btn_bld_railrd_params["x"],
			y=buildrailroad_btn_bld_railrd_params["y"],
			name = "buildrailroad_btn",	
		},	
		
		Bitmap
		{
			image=buildrailroad_ico_railrd_params["image"],
			x=buildrailroad_ico_railrd_params["x"],
			y=buildrailroad_ico_railrd_params["y"],
			name = "buildrailroad_icon",	
		},	
		
		Bitmap
		{
			image=buildrailroad_txt_buildrailroad_params["image"],
			x=buildrailroad_txt_buildrailroad_params["x"],
			y=buildrailroad_txt_buildrailroad_params["y"],
			name = "buildrailroad_title",	
		},	
		
		Bitmap
		{
			image=buildrailroad_txt_railroad_params["image"],
			x=buildrailroad_txt_railroad_params["x"],
			y=buildrailroad_txt_railroad_params["y"],
			name = "buildrailroad_title",	
		},	

		Text
		{
			font = PanelValueData,
			name = "buildrailroad_nbrailroads",
			x=buildrailroad_txt_railrdamt_params["x"],
			y=buildrailroad_txt_railrdamt_params["y"],
			w=kMax,
			h=50,
			flags = kHAlignLeft + kVAlignTop,
			label=""
		},

	},
}