pb2menu 1

widget 
	type pic	
	xcent 0
	halign center	
	yabs 16
	pic "m_play1s"

widget
	yrel 32
	text "RECORDED DEMO"
	halign center

widget
	xcent 0
	halign center
	y 60
	type select
	rows 12
	width 36
	filedir "pball/demos/*.dm2"
	strip "pball/demos/"
	strip ".dm2"
	cvar menu_demofile
	doubleclick "demomap $menu_demofile$.dm2; menu off"

widget
	yrel 126
	cvar menu_demofile
	type field
	width 36
	halign center

widget
	yrel 18
	command "menu pop"
	xcent -80
	halign center
	text "[Cancel]"

widget
	xcent 80
	halign center
	text "[Play]"
	command "demomap $menu_demofile$.dm2; menu off"
