
dofile ( "hud/ico_advisor.lua" );

advisor_group = 
{
	Advisor
	{
		name = "advisor",
		x = 550,
		y = 193,
		w = kMax,
		h = kMax,
		
		Bitmap
		{
			name = "advisor_panel",	
			image=ico_advisor_shape_5_params["image"],
			x=ico_advisor_shape_5_params["x"],
			y=ico_advisor_shape_5_params["y"],
		},		

		Text
		{
			font = PanelValueData,
			name = "advisor_text",
			x=ico_advisor_txt_box_params["x"],
			y=ico_advisor_txt_box_params["y"],
			w=ico_advisor_txt_box_params["w"],
			h=ico_advisor_txt_box_params["h"],
			flags = kHAlignLeft + kVAlignTop,
			label=""
		},

		Bitmap
		{
			name = "advisor_leftarrow_disabled",	
			image = 'menu/btn_arrowdown_04',
			x = ico_advisor_txt_box_params["x"] + 10,
			y = ico_advisor_txt_box_params["y"] + 143,
			rotate = true,
		},
		MonopolyButton
		{
			name = "advisor_leftarrow",	
			x=ico_advisor_txt_box_params["x"] + 10,
			y=ico_advisor_txt_box_params["y"] + 143,
			w=30,h=30,
			rotate = true,
			graphics =
			{
				'menu/btn_arrowdown_01',
				'menu/btn_arrowdown_02',
				'menu/btn_arrowdown_03',
				'menu/btn_arrowdown_04'
			};
			label="",
			command=
				function()
					OnAdvisorButtonLeft();
				end;			
		},
		
		Text
		{
			font = PanelValueData,
			name = "advisor_counter",
			x=ico_advisor_txt_box_params["x"],
			y=ico_advisor_txt_box_params["y"],
			w=ico_advisor_txt_box_params["w"],
			h=ico_advisor_txt_box_params["h"],
			flags = kHAlignCenter + kVAlignBottom,
			label="1/2"
		},
		
		Bitmap
		{
			name = "advisor_rightarrow_disabled",	
			image = 'menu/btn_arrowup_04',
			x=ico_advisor_txt_box_params["x"] + 80,
			y=ico_advisor_txt_box_params["y"] + 143,
			rotate = true,
		},		

		MonopolyButton
		{
			name = "advisor_rightarrow",
			x=ico_advisor_txt_box_params["x"] + 80,
			y=ico_advisor_txt_box_params["y"] + 143,
			w=30,h=30,
			rotate = true,
			graphics =
			{
				'menu/btn_arrowup_01',
				'menu/btn_arrowup_02',
				'menu/btn_arrowup_03',
				'menu/btn_arrowup_04'
			};
			label="",
			command=
				function()
					OnAdvisorButtonRight();
				end;			
		},

	},
}