-- 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_rules()); inside of a MakeDialog command.
rules_sprites = {};


	rules_bg_red_params =
	{
		image='menu/bg_red';
		name='bg_red';
		x=0;
		y=0;
		w=800;
		h=600;
	};


	rules_win_largeframe_params =
	{
		image='menu/win_largeframe';
		name='win_largeframe';
		x=127;
		y=1;
		w=564;
		h=614;
	};


	rules_ico_layoutru_params =
	{
		image='menu/ico_layoutru';
		name='ico_layoutru';
		x=198;
		y=94;
		w=408;
		h=270;
	};


	rules_ico_rules_params =
	{
		image='menu/ico_rules';
		name='ico_rules';
		x=339;
		y=10;
		w=124;
		h=54;
	};


	rules_btn_menu_rulesreturn_params =
	{
		graphics =
		{
			'menu/btn_menu_01',
			'menu/btn_menu_02',
			'menu/btn_menu_03',
			'menu/btn_menu_04'
		};
		name='btn_menu_rulesreturn';
		x=342;
		y=525;
		w=118;
		h=26;
	};


	rules_txt_rulesreturn_params =
	{
		image='menu/txt_rulesreturn';
		name='txt_rulesreturn';
		x=379;
		y=532;
		w=44;
		h=10;
	};


	rules_txt_ruletext_params =
	{
		image='menu/txt_ruletext';
		name='txt_ruletext';
		x=214;
		y=113;
		w=338;
		h=124;
	};


	rules_btn_intro_01_params =
	{
		graphics =
		{
			'menu/btn_intro_01',
			'menu/btn_intro_02',
			'menu/btn_intro_03',
			'menu/btn_intro_02'
		};
		name='btn_intro_01';
		x=197;
		y=398;
		w=144;
		h=60;
	};


	rules_btn_specbld_01_params =
	{
		graphics =
		{
			'menu/btn_specbld_01',
			'menu/btn_specbld_02',
			'menu/btn_specbld_03',
			'menu/btn_specbld_02'
		};
		name='btn_specbld_01';
		x=197;
		y=450;
		w=144;
		h=58;
	};


	rules_btn_around_01_params =
	{
		graphics =
		{
			'menu/btn_around_01',
			'menu/btn_around_02',
			'menu/btn_around_03',
			'menu/btn_around_02'
		};
		name='btn_around_01';
		x=334;
		y=398;
		w=138;
		h=60;
	};


	rules_btn_deals_01_params =
	{
		graphics =
		{
			'menu/btn_deals_01',
			'menu/btn_deals_02',
			'menu/btn_deals_03',
			'menu/btn_deals_02'
		};
		name='btn_deals_01';
		x=334;
		y=450;
		w=138;
		h=58;
	};


	rules_btn_bld_01_params =
	{
		graphics =
		{
			'menu/btn_bld_01',
			'menu/btn_bld_02',
			'menu/btn_bld_03',
			'menu/btn_bld_02'
		};
		name='btn_bld_01';
		x=465;
		y=398;
		w=142;
		h=60;
	};


	rules_btn_others_01_params =
	{
		graphics =
		{
			'menu/btn_others_01',
			'menu/btn_others_02',
			'menu/btn_others_03',
			'menu/btn_others_02'
		};
		name='btn_others_01';
		x=465;
		y=450;
		w=142;
		h=58;
	};


	rules_txt_others_params =
	{
		image='menu/txt_others';
		name='txt_others';
		x=509;
		y=474;
		w=56;
		h=12;
	};


	rules_txt_bld_params =
	{
		image='menu/txt_bld';
		name='txt_bld';
		x=500;
		y=421;
		w=74;
		h=12;
	};


	rules_txt_deals_params =
	{
		image='menu/txt_deals';
		name='txt_deals';
		x=379;
		y=474;
		w=44;
		h=12;
	};


	rules_txt_around_params =
	{
		image='menu/txt_around';
		name='txt_around';
		x=361;
		y=412;
		w=80;
		h=30;
	};


	rules_txt_specbld_params =
	{
		image='menu/txt_specbld';
		name='txt_specbld';
		x=227;
		y=464;
		w=74;
		h=30;
	};


	rules_txt_intro_params =
	{
		image='menu/txt_intro';
		name='txt_intro';
		x=215;
		y=422;
		w=106;
		h=12;
	};


	rules_btn_arrowdown_01_params =
	{
		graphics =
		{
			'menu/btn_arrowdown_01',
			'menu/btn_arrowdown_02',
			'menu/btn_arrowdown_03',
			'menu/btn_arrowdown_04'
		};
		name='btn_arrowdown_01';
		x=576;
		y=339;
		w=20;
		h=18;
	};


	rules_btn_arrowup_01_params =
	{
		graphics =
		{
			'menu/btn_arrowup_01',
			'menu/btn_arrowup_02',
			'menu/btn_arrowup_03',
			'menu/btn_arrowup_04'
		};
		name='btn_arrowup_01';
		x=576;
		y=97;
		w=20;
		h=20;
	};


	rules_btn_slider_02_params =
	{
		graphics =
		{
			'menu/btn_slider_01',
			'menu/btn_slider_02',
			'menu/btn_slider_03',
			'menu/btn_slider_04'
		};
		name='btn_slider_02';
		x=577;
		y=180;
		w=18;
		h=18;
	};

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