-- 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 = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(0, 560, cCtrl.e_None)
	ctrl:SetSize(800, 40, cCtrl.e_None)
	ctrl:SetUVPos(0.8300, 0.0170, cCtrl.e_None)
	ctrl:SetUVSize(0.0880, 0.1570, cCtrl.e_None)
	ctrl:SetTexture("gui_controls")
	ctrl:SetSize(16, 16, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0313, 0.0310, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(0, 0, cCtrl.e_None)
	ctrl:SetSize(800, 30, cCtrl.e_None)
	ctrl:SetUVPos(0.7870, 0.9140, cCtrl.e_None)
	ctrl:SetUVSize(0.2090, 0.0860, cCtrl.e_None)
	ctrl:SetTexture("gui_controls")

	ctrl = cLabelSysCtrl(wnd, "lbProfile")
	ctrl:SetPos(70, 560, cCtrl.e_None)
	ctrl:SetSize(560, 40, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game24x24")
		ctrl:SetSizePrt(24, 24, -6)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Right + cAlign.Middle)
	ctrl:SetText("Welcome to Action Ball 2, %s. If this is not you,")

	ctrl = cButtonHighlightCtrl(wnd, "btStart")
	ctrl:SetPos(300, 10, cCtrl.e_None)
	ctrl:SetSize(200, 100, cCtrl.e_None)
		ctrl:SetTexture("gui_font1", cCtrl.e_btnFont)
		ctrl:SetFontPrt("game48x48")
		ctrl:SetSizePrt(48, 48, -10)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("START")
	ctrl:SetSize(32, 32, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_controls", cCtrl.e_btnNormal)
	ctrl:SetUVPos(-0.0000, 0.0000, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.4100, 0.2300, 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.4140, 0.0000, cCtrl.e_btnPush)
	ctrl:SetUVSize(0.4100, 0.2300, cCtrl.e_btnPush)
	ctrl:SetUVSize(0.0630, 0.0630, cCtrl.e_btnPush + cCtrl.e_frmBorder)

	ctrl = cButtonHighlightCtrl(wnd, "btOptions")
	ctrl:SetPos(500, 20, cCtrl.e_None)
	ctrl:SetSize(150, 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("OPTIONS")
	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 = cButtonHighlightCtrl(wnd, "btHighscores")
	ctrl:SetPos(150, 20, cCtrl.e_None)
	ctrl:SetSize(150, 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("SCORES")
	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 = cButtonHighlightCtrl(wnd, "btHelp")
	ctrl:SetPos(25, 23, cCtrl.e_None)
	ctrl:SetSize(125, 75, 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("HELP")
	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 = cButtonHighlightCtrl(wnd, "btExit")
	ctrl:SetPos(650, 23, cCtrl.e_None)
	ctrl:SetSize(125, 75, 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("EXIT")
	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 = cLinkCtrl(wnd, "btProfile")
	ctrl:SetPos(630, 570, cCtrl.e_None)
	ctrl:SetSize(100, 20, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game24x24")
		ctrl:SetSizePrt(24, 24, -6)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("click here")
	ctrl:SetColor(1,1,0.5, cLinkCtrl.e_lnkNormal)
	ctrl:SetColor(1,1,1.0, cLinkCtrl.e_lnkHighlight)


end
