pb2menu 1

background menu_bg_ingame

widget
	ycent -40
	xcent -40
	halign right
	type text
	text "Resolution:"

widget
	yrel 12
	halign right
	type select
	width 10
	size 5
	begin pairs
		0	"320x240"
		1	"400x300"
		2	"512x384"
		3	"640x480"
		12	"720x480"
		13	"720x576"
		4	"800x600"
		14	"848x480"
		15	"960x600"
		5	"960x720"
		16	"1088x612"
		6	"1024x768"
		7	"1152x864"
		17	"1280x720"
		18	"1280x768"
		19	"1280x800"
		8	"1280x960"
		9	"1280x1024"
		21	"1440X900"
		10	"1600x1200"
		20	"1680x1050"
		22	"1920x1200"
		11	"2048x1536"
	end
	cvar "gl_mode"

widget
	yrel 55
	xrel -87
	halign left
	type checkbox
	text "Fullscreen"
	cvar vid_fullscreen

widget
	xcent 5
	ycent -40
	type text
	text "Refresh Rate:"

widget
	yrel 12
	halign left
	width 8
	height 5
	type select
	begin pairs
		0	"Default"
		60	"60Hz"
		70	"70Hz"
		72	"72Hz"
		75	"75Hz"
		85	"85Hz"
		90	"90Hz"
		100	"100Hz"
		120	"120Hz"
		150	"150Hz"
		160	"160Hz"
		200	"200Hz"
	end
	cvar r_displayrefresh

widget
	yrel 55
	type checkbox
	text "Vertical Sync"
	cvar gl_swapinterval