-- {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=30, y=16 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0078, y=0.2930, w=0.5762, h=0.2891 }, { x=0.0586, y=0.0625 }, 0)
	setCtrlTexture(ctrl, "gui_game")
	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
