-- 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(180, 110, cCtrl.e_None)
	ctrl:SetSize(440, 380, 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(480, 220, cCtrl.e_None)
	ctrl:SetSize(60, 20, 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.Center + cAlign.Middle)
	ctrl:SetText("Hard")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(370, 220, cCtrl.e_None)
	ctrl:SetSize(60, 20, 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.Center + cAlign.Middle)
	ctrl:SetText("Medium")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(260, 220, cCtrl.e_None)
	ctrl:SetSize(60, 20, 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.Center + cAlign.Middle)
	ctrl:SetText("Easy")

	ctrl = cButtonHighlightCtrl(wnd, "ok")
	ctrl:SetPos(420, 130, 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 = cButtonHighlightCtrl(wnd, "cancel")
	ctrl:SetPos(200, 130, 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("CANCEL")
	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 = cEditSysCtrl(wnd, "name")
	ctrl:SetPos(200, 340, cCtrl.e_None)
	ctrl:SetSize(400, 50, cCtrl.e_None)
		ctrl:SetTexture("gui_font1", cCtrl.e_edtFont)
		ctrl:SetFontPrt("game32x32a")
		ctrl:SetSizePrt(32, 32, -8)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Player")
	ctrl:SetTexture("gui_controls", cCtrl.e_None)
	ctrl:SetUVPos(0.4240, 0.2340, cCtrl.e_None)
	ctrl:SetUVSize(0.2010, 0.0900, cCtrl.e_None)
	ctrl:SetSize(16, 16, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0313, 0.0310, cCtrl.e_frmBorder)
	ctrl:SetMaxLength(6)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(285, 310, cCtrl.e_None)
	ctrl:SetSize(230, 20, 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.Left + cAlign.Middle)
	ctrl:SetText("Select game difficulty:")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(205, 390, cCtrl.e_None)
	ctrl:SetSize(170, 20, 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.Left + cAlign.Middle)
	ctrl:SetText("Enter your name")

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(385, 390, cCtrl.e_None)
	ctrl:SetSize(210, 20, cCtrl.e_None)
		ctrl:SetTexture("gui_font1")
		ctrl:SetFontPrt("game24x24")
		ctrl:SetSizePrt(24, 24, -6)
	ctrl:SetColor(1.000, 1.000, 0.502)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("(1-6 characters)")

	ctrl = cCheckBoxHighlightCtrl(wnd, "easy")
	ctrl:SetPos(260, 240, cCtrl.e_None)
	ctrl:SetSize(60, 60, cCtrl.e_None)
		ctrl:SetTexture("gui_font1", cCtrl.e_cbFont)
		ctrl:SetFontPrt("game16x16")
		ctrl:SetSizePrt(16, 16, -2)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("")
	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, "medium")
	ctrl:SetPos(370, 240, cCtrl.e_None)
	ctrl:SetSize(60, 60, cCtrl.e_None)
		ctrl:SetTexture("gui_font1", cCtrl.e_cbFont)
		ctrl:SetFontPrt("game16x16")
		ctrl:SetSizePrt(16, 16, -2)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("")
	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, "hard")
	ctrl:SetPos(480, 240, cCtrl.e_None)
	ctrl:SetSize(60, 60, cCtrl.e_None)
		ctrl:SetTexture("gui_font1", cCtrl.e_cbFont)
		ctrl:SetFontPrt("game16x16")
		ctrl:SetSizePrt(16, 16, -2)
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("")
	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(255, 430, cCtrl.e_None)
	ctrl:SetSize(290, 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("ADD PLAYER")


end
