-- {GameFolder}\escape.lua
-- this is automatic generated file! do not modify it!
-- script for nls16 window loader. version 1.60.
-- copyright (c) 2005-2010 rionix. all rights reserved.

function FillWindow(wnd)

	setWndActive(wnd, true)
	setWndModal(wnd, true)

	local ctrl

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=301, y=170, w=422, h=436 }, { x=60, y=55 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.1172, y=0.1074 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createButtonSysCtrl(wnd, "btRestart")
	setCtrlFrame(ctrl, { x=393, y=390, w=248, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[PlayAgain]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btOptions")
	setCtrlFrame(ctrl, { x=393, y=310, w=248, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Options]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btEnd")
	setCtrlFrame(ctrl, { x=393, y=230, w=248, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[MainMenu]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btResume")
	setCtrlFrame(ctrl, { x=393, y=470, w=248, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Continue]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=356, y=554, w=313, h=76 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.8516, w=0.6133, h=0.1484 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=432, y=574, w=160, h=40 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold36", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[Pause]", 0)
	enableCtrl(ctrl, false)


end
