[window]
{
    name=esc_menu;
	title=Game menu;
	uformat=UTF8;
	x=220;
	y=140;
	width=200;
	height=200;
	fullscreen=true;
	screen width=640;
	screen height=480;
	draw borders=true;
	show title=false;
	lock=true;
	number of objects=6;
	hidden=true;
	color=0xFFFFFFFF;
	background=gfx/mdrn_background.jpg;
	repeat background=true;
	[object0]
	{
		name=menu_label;
		type=TEXT;
		caption=What do you want to do?;
		value=0xFFFFFFFF;
		x1=110;
		y1=10;
		centered=true;
		size=1;
	}
	[object1]
	{
		name=b_return;
		type=BUTTON;
		caption=Return to game;
		x1=10;
		y1=40;
		x2=190;
		y2=70;
		on click=esc_menu.hide;
		size=1;
	}
	[object2]
	{
		name=b_pause;
		type=BUTTON;
		caption=Pause the game;
		x1=10;
		y1=80;
		x2=190;
		y2=110;
		on click=esc_menu.b_pause.hide, esc_menu.b_resume.show, pause game;
		size=1;
	}
	[object3]
	{
		name=b_resume;
		type=BUTTON;
		caption=Resume the game;
		x1=10;
		y1=80;
		x2=190;
		y2=110;
		on click=esc_menu.b_pause.show, esc_menu.b_resume.hide, resume game;
		hidden=true;
		size=1;
	}
	[object4]
	{
		name=b_save;
		type=BUTTON;
		caption=Save game;
		x1=10;
		y1=120;
		x2=190;
		y2=150;
		on click=esc_menu.hide, save_menu.show;
		size=1;
	}
	[object5]
	{
		name=b_exit;
		type=BUTTON;
		caption=Leave game;
		x1=10;
		y1=160;
		x2=190;
		y2=190;
		size=1;
	}
}
