-- train.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=614, y=10, w=400, h=157 }, { x=46, y=19 }, 0)
	setCtrlUVFrame(ctrl, { x=0.2305, y=0.0000, w=0.7695, h=0.1973 }, { x=0.0898, y=0.0371 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createTextBoxSysCtrl(wnd, "text")
	setCtrlRect(ctrl, { x=628, y=8, w=375, h=167 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22")
	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=14, y=10, 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
