-- training.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, false)

	local ctrl

	ctrl = createFrameCtrl(wnd, "frame")
	setCtrlFrame(ctrl, { x=673, y=2, w=350, h=110 }, { x=20, y=18 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0098, y=0.6484, w=0.5723, h=0.1406 }, { x=0.0391, y=0.0352 }, 0)
	setCtrlTexture(ctrl, "gui_main")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createTextBoxSysCtrl(wnd, "text")
	setCtrlRect(ctrl, { x=682, y=11, w=330, h=90 }, 0)
	setCtrlFont(ctrl, "tmpCalibriRegular18")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "No Windowed Mode - Windowed mode is only available if your desktop resolution is greater than 1152 by 864 pixels.")
	setCtrlAlign(ctrl, align.Center + align.Middle)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createAnimationCtrl(wnd, "arrow")
	setCtrlRect(ctrl, { x=599, y=6, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=1.0000 }, 0)
	setCtrlTexture(ctrl, "gui_arrow", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)


end
