pb2menu 1

background none

widget
	type pic
	pic select1bm
	picwidth 240
	picheight 158
	xcent -120
	ycent -78

widget type text
	text "Map Rotation:"
	halign center
	xcent 0
	ycent -74

widget
	type text
	text "Map:"
	xcent -110
	ycent -60
widget
	yrel 12
	type field
	width 12
	cvar menu_admin_map
	cvar_default "midnight2"

widget
	type text
	ycent -16
	xcent -55
	halign center
	text "[ Add ]"
	command "cmd rotation add $menu_admin_map"
widget
	type text
	yrel 16
	halign center
	text "[Remove]"
	command "cmd rotation del $menu_admin_map"

widget
	ycent -60
	xcent 14
	type select
	width 12
	size 12
	cvar menu_admin_map
	cvar_default "midnight2"
	filedir "pball/maps/*.bsp"
	strip ".bsp"
	strip "pball/maps/"
	doubleclick "cmd rotation add $menu_admin_map"

widget
	type text
	ycent 68
	xcent -70
	halign center
	text "[Load]"
	command "menu admin_rotation_load"

widget
	type text
	xcent 0
	halign center
	text "[Clear]"
	command "cmd rotation clear"
widget
	type text
	xcent 70
	halign center
	text "[Save]"
	command "cmd rotation save"
