-- {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=610, y=10, w=394, h=138 }, { x=34, y=20 }, 0)
	setCtrlUVFrame(ctrl, { x=0.2285, y=0.0000, w=0.7715, h=0.1934 }, { x=0.0684, y=0.0391 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createTextBoxSysCtrl(wnd, "text")
	setCtrlRect(ctrl, { x=627, y=22, w=365, h=114 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18")
	setCtrlColor(ctrl, 0.000, 0.000, 0.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
