-- {GameFolder}\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=60, y=55 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.1172, y=0.1074 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=356, y=554, w=313, h=76 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.8516, w=0.6133, h=0.1484 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=432, y=574, w=160, h=40 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold36", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Done!", 0)
	enableCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "close")
	setCtrlFrame(ctrl, { x=428, y=200, w=168, h=54 }, { x=24, y=4 }, 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.7891, w=0.2520, h=0.2109 }, { x=0.0469, y=0.0195 }, 0)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=290, y=280, w=440, h=60 }, { x=15, y=15 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0059, y=0.0156, w=0.8379, h=0.4844 }, { x=0.0293, y=0.0586 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createLabelCtrl(wnd, "score")
	setCtrlRect(ctrl, { x=300, y=290, w=420, h=40 }, 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)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=290, y=350, w=280, h=190 }, { x=12, y=12 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0059, y=0.5078, w=0.3672, h=0.4844 }, { x=0.0234, y=0.0469 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=570, y=350, w=160, h=190 }, { x=12, y=12 }, 0)
	setCtrlUVFrame(ctrl, { x=0.3730, y=0.5078, w=0.4707, h=0.4844 }, { x=0.0234, y=0.0469 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createTextBoxSysCtrl(wnd, "vars")
	setCtrlRect(ctrl, { x=300, y=360, w=260, h=170 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Time:\nResources:\nBuilds:")
	setCtrlAlign(ctrl, align.Right + align.Middle)
	enableCtrl(ctrl, false)

	ctrl = createTextBoxSysCtrl(wnd, "vals")
	setCtrlRect(ctrl, { x=580, y=360, w=140, h=170 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "1:00\n250\n10")
	setCtrlAlign(ctrl, align.Left + align.Middle)
	enableCtrl(ctrl, false)

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


end
