-- This file automatically output by psd2window.exe. It is not meant to be hand edited.
-- To use the results of this file, you can call Group(psd2window_dealwindow_export()); inside of a MakeDialog command.
dealwindow_export_sprites = {};


	dealwindow_export_win_trade_params =
	{
		image='hud/win_trade';
		name='win_trade';
		x=0;
		y=0;
		w=286;
		h=294;
	};


	dealwindow_export_btn_tradeitem_05_params =
	{
		graphics =
		{
			'hud/btn_tradeitem_01',
			'hud/btn_tradeitem_02',
			'hud/btn_tradeitem_03',
			'hud/btn_tradeitem_04'
		};
		name='btn_tradeitem_05';
		x=10;
		y=221;
		w=268;
		h=30;
	};


	dealwindow_export_btn_tradeitem_04_params =
	{
		graphics =
		{
			'hud/btn_tradeitem_01',
			'hud/btn_tradeitem_02',
			'hud/btn_tradeitem_03',
			'hud/btn_tradeitem_04'
		};
		name='btn_tradeitem_04';
		x=10;
		y=193;
		w=268;
		h=30;
	};


	dealwindow_export_btn_tradeitem_03_params =
	{
		graphics =
		{
			'hud/btn_tradeitem_01',
			'hud/btn_tradeitem_02',
			'hud/btn_tradeitem_03',
			'hud/btn_tradeitem_04'
		};
		name='btn_tradeitem_03';
		x=10;
		y=165;
		w=268;
		h=30;
	};


	dealwindow_export_btn_additem_01_params =
	{
		graphics =
		{
			'hud/btn_additem_01',
			'hud/btn_additem_02',
			'hud/btn_additem_03',
			'hud/btn_additem_04'
		};
		name='btn_additem_01';
		x=10;
		y=165;
		w=108;
		h=30;
	};


	dealwindow_export_txt_additem_params =
	{
		image='hud/txt_additem';
		name='txt_additem';
		x=43;
		y=174;
		w=54;
		h=10;
	};


	dealwindow_export_btn_tradeitem_02_params =
	{
		graphics =
		{
			'hud/btn_tradeitem_01',
			'hud/btn_tradeitem_02',
			'hud/btn_tradeitem_03',
			'hud/btn_tradeitem_04'
		};
		name='btn_tradeitem_02';
		x=10;
		y=137;
		w=268;
		h=30;
	};


	dealwindow_export_ico_free_params =
	{
		image='hud/ico_free';
		name='ico_free';
		x=19;
		y=142;
		w=12;
		h=18;
	};


	dealwindow_export_btn_tradeitem_01_params =
	{
		graphics =
		{
			'hud/btn_tradeitem_01',
			'hud/btn_tradeitem_02',
			'hud/btn_tradeitem_03',
			'hud/btn_tradeitem_04'
		};
		name='btn_tradeitem_01';
		x=10;
		y=109;
		w=268;
		h=30;
	};


	dealwindow_export_ico_blue_01_params =
	{
		image='hud/ico_blue';
		name='ico_blue_01';
		x=20;
		y=117;
		w=12;
		h=14;
	};


	dealwindow_export_txt_value_params =
	{
		image='hud/txt_value';
		name='txt_value';
		x=200;
		y=117;
		w=48;
		h=14;
	};


	dealwindow_export_txt_distname_params =
	{
		image='hud/txt_distname';
		name='txt_distname';
		x=46;
		y=117;
		w=116;
		h=12;
	};


	dealwindow_export_btn_sremove_01_params =
	{
		graphics =
		{
			'hud/btn_sremove_01',
			'hud/btn_sremove_02',
			'hud/btn_sremove_03',
			'hud/btn_sremove_04'
		};
		name='btn_sremove_01';
		x=249;
		y=112;
		w=24;
		h=22;
	};


	dealwindow_export_btn_smarrowdown_02_params =
	{
		graphics =
		{
			'hud/btn_smarrowdown_01',
			'hud/btn_smarrowdown_02',
			'hud/btn_smarrowdown_03',
			'hud/btn_smarrowdown_04'
		};
		name='btn_smarrowdown_02';
		x=218;
		y=93;
		w=20;
		h=16;
	};


	dealwindow_export_btn_smarrowup_02_params =
	{
		graphics =
		{
			'hud/btn_smarrowup_01',
			'hud/btn_smarrowup_02',
			'hud/btn_smarrowup_03',
			'hud/btn_smarrowup_04'
		};
		name='btn_smarrowup_02';
		x=218;
		y=68;
		w=20;
		h=14;
	};


	dealwindow_export_btn_smarrowdown_01_params =
	{
		graphics =
		{
			'hud/btn_smarrowdown_01',
			'hud/btn_smarrowdown_02',
			'hud/btn_smarrowdown_03',
			'hud/btn_smarrowdown_04'
		};
		name='btn_smarrowdown_01';
		x=193;
		y=93;
		w=20;
		h=16;
	};


	dealwindow_export_btn_smarrowup_01_params =
	{
		graphics =
		{
			'hud/btn_smarrowup_01',
			'hud/btn_smarrowup_02',
			'hud/btn_smarrowup_03',
			'hud/btn_smarrowup_04'
		};
		name='btn_smarrowup_01';
		x=193;
		y=68;
		w=20;
		h=14;
	};


	dealwindow_export_txt_millions_params =
	{
		image='hud/txt_millions';
		name='txt_millions';
		x=190;
		y=81;
		w=26;
		h=12;
	};


	dealwindow_export_txt_thousands_params =
	{
		image='hud/txt_thousands';
		name='txt_thousands';
		x=219;
		y=81;
		w=18;
		h=12;
	};


	dealwindow_export_txt_money_params =
	{
		image='hud/txt_money';
		name='txt_money';
		x=46;
		y=83;
		w=52;
		h=12;
	};


	dealwindow_export_txt_amount_params =
	{
		image='hud/txt_amount';
		name='txt_amount';
		x=153;
		y=254;
		w=94;
		h=18;
	};


	dealwindow_export_txt_totaldealvalue_params =
	{
		image='hud/txt_totaldealvalue';
		name='txt_totaldealvalue';
		x=42;
		y=259;
		w=106;
		h=10;
	};


	dealwindow_export_txt_currentamt_params =
	{
		image='hud/txt_currentamt';
		name='txt_currentamt';
		x=184;
		y=41;
		w=64;
		h=14;
	};


	dealwindow_export_ico_lplayername_01_params =
	{
		image='hud/ico_lplayername';
		name='ico_lplayername_01';
		x=61;
		y=7;
		w=216;
		h=30;
	};


	dealwindow_export_txt_playername01_params =
	{
		image='hud/txt_playername01';
		name='txt_playername01';
		x=82;
		y=16;
		w=176;
		h=14;
	};


	dealwindow_export_ico_iconframe_01_params =
	{
		image='hud/ico_iconframe';
		name='ico_iconframe_01';
		x=9;
		y=7;
		w=54;
		h=54;
	};


	dealwindow_export_ico_mplayericon_h_params =
	{
		image='hud/ico_mplayericon';
		name='ico_mplayericon_h';
		x=7;
		y=6;
		w=58;
		h=58;
	};

function psd2window_dealwindow_export()
	local sprites = {};
	for i=1,table.getn(dealwindow_export_sprites) do
		table.insert(sprites,
			{
				image=dealwindow_export_sprites[i].image;
				name=dealwindow_export_sprites[i].name;
				x=dealwindow_export_sprites[i].x;
				y=dealwindow_export_sprites[i].y;
			}
		);
	end
	return sprites;
end
