-- 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 = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=256, y=166, w=512, h=436 }, { x=70, y=64 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.1367, y=0.1250 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=322, y=554, w=380, h=76 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.8516, w=0.6191, h=0.1484 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=456, y=572, w=112, h=45 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold36", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[FinishGame]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "close")
	setCtrlFrame(ctrl, { x=298, y=201, w=240, h=54 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Close]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.3945, w=0.2520, h=0.1055 }, { x=0.0547, y=0.0391 }, 0)

	ctrl = createTextBoxSysCtrl(wnd, "vars")
	setCtrlRect(ctrl, { x=55, y=305, w=500, h=135 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold36")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Text Box\nSecond Line\nThird Line")
	setCtrlAlign(ctrl, align.Right + align.Middle)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createTextBoxSysCtrl(wnd, "vals")
	setCtrlRect(ctrl, { x=570, y=305, w=300, h=135 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold36")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Text Box\nSecond Line\nThird Line")
	setCtrlAlign(ctrl, align.Left + align.Middle)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=298, y=465, w=429, h=67 }, { x=17, y=14 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0313, w=1.0000, h=0.4766 }, { x=0.0664, y=0.0547 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "score")
	setCtrlRect(ctrl, { x=422, y=476, w=180, h=45 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold36", 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)

	ctrl = createCupCtrl(wnd, "cup")
	setCtrlRect(ctrl, { x=583, y=125, w=116, h=150 }, 0)


end
