-- {GameFolder}\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=730, y=0, w=295, h=124 }, { x=18, y=17 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0098, y=0.6484, w=0.5723, h=0.1406 }, { x=0.0352, y=0.0332 }, 0)
	setCtrlTexture(ctrl, "gui_main")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createTextBoxSysCtrl(wnd, "text")
	setCtrlRect(ctrl, { x=737, y=10, w=275, h=104 }, 0)
	setCtrlFont(ctrl, "tmpCalibriRegular18")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "some text")
	setCtrlAlign(ctrl, align.Center + align.Middle)
	enableCtrl(ctrl, false)

	ctrl = createAnimationCtrl(wnd, "arrow")
	setCtrlRect(ctrl, { x=10, 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)
	setAnimationCtrlTileset(ctrl, 4, 2, 10)


end
