-- this is automatic generated file! do not modify it!
-- script for nls15 window loader. version 1.50.
-- copyright (c) 2005-2007 rionix. all rights reserved.

function FillWindow(wnd)

	wnd:SetActive(true)
	wnd:SetModal(true)

	local ctrl

	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(600, 0, cCtrl.e_None)
	ctrl:SetSize(200, 600, cCtrl.e_None)
	ctrl:SetUVPos(0.6190, 0.3500, cCtrl.e_None)
	ctrl:SetUVSize(0.1400, 0.6500, cCtrl.e_None)
	ctrl:SetTexture("gui_controls")

	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(0, 0, cCtrl.e_None)
	ctrl:SetSize(200, 600, cCtrl.e_None)
	ctrl:SetUVPos(0.4700, 0.3500, cCtrl.e_None)
	ctrl:SetUVSize(0.1400, 0.6500, cCtrl.e_None)
	ctrl:SetTexture("gui_controls")

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(180, -7, cCtrl.e_None)
	ctrl:SetSize(440, 610, cCtrl.e_None)
	ctrl:SetUVPos(0.3000, 0.3450, cCtrl.e_None)
	ctrl:SetUVSize(0.1620, 0.5000, cCtrl.e_None)
	ctrl:SetTexture("gui_controls")
	ctrl:SetSize(32, 32, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0630, 0.0630, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(215, 212, cCtrl.e_None)
	ctrl:SetSize(250, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Robots destroyed:")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(320, 429, cCtrl.e_None)
	ctrl:SetSize(250, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Total score:")

	ctrl = cLabelSysCtrl(wnd, "lbRobotsDestroyed")
	ctrl:SetPos(485, 212, cCtrl.e_None)
	ctrl:SetSize(100, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 0.502)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("10000")

	ctrl = cLabelSysCtrl(wnd, "lbTotalScore")
	ctrl:SetPos(325, 397, cCtrl.e_None)
	ctrl:SetSize(150, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 0.502)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("1000000")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(215, 172, cCtrl.e_None)
	ctrl:SetSize(250, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Bonuses caught:")

	ctrl = cLabelSysCtrl(wnd, "lbBonusCatched")
	ctrl:SetPos(485, 172, cCtrl.e_None)
	ctrl:SetSize(100, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 0.502)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("10000")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(215, 252, cCtrl.e_None)
	ctrl:SetSize(250, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Playing time:")

	ctrl = cLabelSysCtrl(wnd, "lbPlayingTime")
	ctrl:SetPos(485, 252, cCtrl.e_None)
	ctrl:SetSize(100, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 0.502)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("00:00")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(215, 132, cCtrl.e_None)
	ctrl:SetSize(250, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Bricks destroyed:")

	ctrl = cLabelSysCtrl(wnd, "lbBricksDestroyed")
	ctrl:SetPos(485, 132, cCtrl.e_None)
	ctrl:SetSize(100, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 0.502)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("10000")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(280, 540, cCtrl.e_None)
	ctrl:SetSize(250, 40, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game48x48")
		ctrl:SetSizePrt(48, 48, -10)
	ctrl:SetColor(1.000, 0.753, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("STATISTICS")

	ctrl = cButtonHighlightCtrl(wnd, "btOk")
	ctrl:SetPos(310, 10, cCtrl.e_None)
	ctrl:SetSize(180, 80, cCtrl.e_None)
		ctrl:SetTexture("gui_font1", cCtrl.e_btnFont)
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("OK")
	ctrl:SetSize(32, 32, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_controls", cCtrl.e_btnNormal)
	ctrl:SetUVPos(-0.0010, 0.6720, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.3000, 0.1700, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0630, 0.0630, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_controls", cCtrl.e_btnPush)
	ctrl:SetUVPos(-0.0010, 0.5000, cCtrl.e_btnPush)
	ctrl:SetUVSize(0.3000, 0.1700, cCtrl.e_btnPush)
	ctrl:SetUVSize(0.0630, 0.0630, cCtrl.e_btnPush + cCtrl.e_frmBorder)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(286, 362, cCtrl.e_None)
	ctrl:SetSize(250, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Upgrade points:")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(324, 508, cCtrl.e_None)
	ctrl:SetSize(150, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Level")

	ctrl = cLabelSysCtrl(wnd, "lbLevel")
	ctrl:SetPos(324, 476, cCtrl.e_None)
	ctrl:SetSize(150, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 0.502)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("100")

	ctrl = cProgressBarSysCtrl(wnd, "pbScore")
	ctrl:SetPos(211, 320, cCtrl.e_None)
	ctrl:SetSize(377, 28, cCtrl.e_None)
	ctrl:SetTexture("gui_ingame")
	ctrl:SetUVPos(0.9140, 0.7480, cCtrl.e_None)
	ctrl:SetUVSize(0.0630, 0.2450, cCtrl.e_None)

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(210, 314, cCtrl.e_None)
	ctrl:SetSize(380, 40, cCtrl.e_None)
	ctrl:SetUVPos(0.7420, 0.6710, cCtrl.e_None)
	ctrl:SetUVSize(0.1400, 0.3210, cCtrl.e_None)
	ctrl:SetTexture("gui_ingame")
	ctrl:SetSize(6, 12, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0230, 0.0940, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cLabelSysCtrl(wnd, "lbUpgradePoints")
	ctrl:SetPos(350, 319, cCtrl.e_None)
	ctrl:SetSize(100, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 0.502)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("10")


end
