-- 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(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 = 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 = 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 = cButtonHighlightCtrl(wnd, "btBack")
	ctrl:SetPos(420, 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("BACK")
	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(270, 540, cCtrl.e_None)
	ctrl:SetSize(260, 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("HIGHSCORE")

	ctrl = cCheckBoxHighlightCtrl(wnd, "chOnline")
	ctrl:SetPos(200, 20, cCtrl.e_None)
	ctrl:SetSize(210, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1", cCtrl.e_cbFont)
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Online")
	ctrl:SetTexture("gui_controls", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.3750, 0.9200, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.0740, 0.0800, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_controls", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2970, 0.9200, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.0740, 0.0800, cCtrl.e_cbPush)

	ctrl = cCheckBoxHighlightCtrl(wnd, "chPersonal")
	ctrl:SetPos(200, 50, cCtrl.e_None)
	ctrl:SetSize(210, 30, cCtrl.e_None)
		ctrl:SetTexture("gui_font1", cCtrl.e_cbFont)
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Personal")
	ctrl:SetTexture("gui_controls", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.3750, 0.9200, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.0740, 0.0800, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_controls", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2970, 0.9200, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.0740, 0.0800, cCtrl.e_cbPush)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(200, 490, 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, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Name")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(405, 490, cCtrl.e_None)
	ctrl:SetSize(90, 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("Score")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(500, 490, 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, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Diff.")

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(200, 100, cCtrl.e_None)
	ctrl:SetSize(400, 390, 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(16, 16, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0670, 0.0670, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cListSysCtrl(wnd, "lstName")
	ctrl:SetPos(210, 118, cCtrl.e_None)
	ctrl:SetSize(380, 360, cCtrl.e_None)
		ctrl:SetTexture("gui_font1", cCtrl.e_lstItems)
		ctrl:SetFontPrt("game16x16")
		ctrl:SetSizePrt(16, 16, -2)
	ctrl:SetSize(0, 16.0000, cCtrl.e_lstItems)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetTexture("gui_controls", cCtrl.e_lstSelection)
	ctrl:SetUVPos(0.2970, 0.8540, cCtrl.e_lstSelection)
	ctrl:SetUVSize(0.1580, 0.0370, cCtrl.e_lstSelection)
	ctrl:SetSize(0, 0, cCtrl.e_lstSelection + cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0000, 0.0000, cCtrl.e_lstSelection + cCtrl.e_frmBorder)
	ctrl:SetColor(1.000, 1.000, 1.000, cCtrl.e_lstNormal)
	ctrl:SetColor(1.000, 1.000, 0.502, cCtrl.e_lstHighlight)
	ctrl:SetMultiselect(false)

	ctrl = cLabelSysCtrl(wnd, "lbMessage")
	ctrl:SetPos(275, 283, 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.Center + cAlign.Middle)
	ctrl:SetText("Connection failed")


end
