-- finish.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, true)

	local ctrl

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=367, y=154, w=632, h=461 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=0.6172, h=0.4502 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=378, y=542, w=610, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.0029, y=0.4502, w=0.5957, h=0.0625 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=627, y=554, w=112, h=45 }, 0)
	setCtrlFont(ctrl, "CambriaBold30W", 0)
	setCtrlColor(ctrl, 0.431, 0.325, 0.227, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[FinishGame]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createTextBoxSysCtrl(wnd, "vars")
	setCtrlRect(ctrl, { x=246, y=244, w=500, h=128 }, 0)
	setCtrlFont(ctrl, "CalibriRegular27")
	setCtrlColor(ctrl, 0.627, 1.000, 1.000)
	setCtrlText(ctrl, "Text Box\nSecond Line\nThird Line")
	setCtrlAlign(ctrl, align.Right + align.Middle)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createTextBoxSysCtrl(wnd, "vals")
	setCtrlRect(ctrl, { x=761, y=244, w=300, h=128 }, 0)
	setCtrlFont(ctrl, "CalibriRegular27")
	setCtrlColor(ctrl, 0.627, 1.000, 1.000)
	setCtrlText(ctrl, "Text Box\nSecond Line\nThird Line")
	setCtrlAlign(ctrl, align.Left + align.Middle)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=427, y=379, w=512, h=128 }, { x=11, y=11 }, 0)
	setCtrlUVFrame(ctrl, { x=0.6748, y=0.2314, w=0.3223, h=0.1250 }, { x=0.0107, y=0.0107 }, 0)
	setCtrlTexture(ctrl, "gui00")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createLabelCtrl(wnd, "score")
	setCtrlRect(ctrl, { x=593, y=401, w=180, h=45 }, 0)
	setCtrlFont(ctrl, "CalibriRegular27", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Score: 1000", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=647, y=459, w=73, h=72 }, 0)
	setCtrlUVRect(ctrl, { x=0.8271, y=0.7607, w=0.0713, h=0.0703 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=524, y=143, w=48, h=75 }, 0)
	setCtrlUVRect(ctrl, { x=0.9131, y=0.7471, w=0.0469, h=0.0732 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.None)

	ctrl = createButtonSysCtrl(wnd, "close")
	setCtrlFrame(ctrl, { x=553, y=181, w=260, h=55 }, { x=41, y=0 }, 0)
	setCtrlFont(ctrl, "CambriaBold30B")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Close]")
	setCtrlTexture(ctrl, "gui00", 0)
	setCtrlUVFrame(ctrl, { x=0.2686, y=0.9463, w=0.2354, h=0.0537 }, { x=0.0400, y=0.0000 }, 0)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=536, y=147, w=32, h=73 }, 0)
	setCtrlUVRect(ctrl, { x=0.9258, y=0.8213, w=0.0313, h=0.0713 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=527, y=459, w=73, h=72 }, 0)
	setCtrlUVRect(ctrl, { x=0.8271, y=0.7607, w=0.0713, h=0.0703 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=767, y=459, w=73, h=72 }, 0)
	setCtrlUVRect(ctrl, { x=0.8271, y=0.7607, w=0.0713, h=0.0703 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "star0")
	setCtrlRect(ctrl, { x=532, y=462, w=64, h=66 }, 0)
	setCtrlUVRect(ctrl, { x=0.9336, y=0.8994, w=0.0625, h=0.0645 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "star1")
	setCtrlRect(ctrl, { x=652, y=462, w=64, h=66 }, 0)
	setCtrlUVRect(ctrl, { x=0.9336, y=0.8994, w=0.0625, h=0.0645 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "star2")
	setCtrlRect(ctrl, { x=772, y=462, w=64, h=66 }, 0)
	setCtrlUVRect(ctrl, { x=0.9336, y=0.8994, w=0.0625, h=0.0645 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=953, y=559, w=28, h=70 }, 0)
	setCtrlUVRect(ctrl, { x=0.9277, y=0.6768, w=0.0273, h=0.0684 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)


end
