-- 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(false)

	local ctrl

	ctrl = cFrameCtrl(wnd, "MainFrame")
	ctrl:SetPos(540, 5, cCtrl.e_None)
	ctrl:SetSize(255, 455, cCtrl.e_None)
	ctrl:SetUVPos(0.7500, 0.5200, cCtrl.e_None)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_None)
	ctrl:SetTexture("gui_system")
	ctrl:SetSize(3, 3, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0470, 0.0470, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cListSysCtrl(wnd, "lstConst")
	ctrl:SetPos(545, 55, cCtrl.e_None)
	ctrl:SetSize(235, 370, cCtrl.e_None)
		ctrl:SetTexture("{cFont.image}", cCtrl.e_lstItems)
		ctrl:SetFontPrt("{cFont.name}")
		ctrl:SetSizePrt({cFont.cx}, {cFont.cy}, {cFont.space})
	ctrl:SetSize(0, {cListSysCtrl.item.cy}, cCtrl.e_lstItems)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetTexture("gui_system", cCtrl.e_lstSelection)
	ctrl:SetUVPos(0.5000, 0.5200, cCtrl.e_lstSelection)
	ctrl:SetUVSize(0.2300, 0.1100, cCtrl.e_lstSelection)
	ctrl:SetSize(3, 3, cCtrl.e_lstSelection + cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0470, 0.0470, cCtrl.e_lstSelection + cCtrl.e_frmBorder)
	ctrl:SetColor(0.000, 0.000, 0.000, cCtrl.e_lstNormal)
	ctrl:SetColor(0.000, 0.502, 0.502, cCtrl.e_lstHighlight)
	ctrl:SetMultiselect(false)

	ctrl = cCheckBoxHighlightCtrl(wnd, "chEasy")
	ctrl:SetPos(545, 430, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetTexture("font_system", cCtrl.e_cbFont)
		ctrl:SetFontPrt("mono16x16a")
		ctrl:SetSizePrt(16, 16, -6)
	ctrl:SetColor(0.000, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("easy")
	ctrl:SetTexture("gui_system", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.0000, 0.5200, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_system", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2500, 0.5200, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_cbPush)

	ctrl = cLabelSysCtrl(wnd, "lbMin")
	ctrl:SetPos(650, 9, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetTexture("{cFont.image}")
		ctrl:SetFontPrt("{cFont.name}")
		ctrl:SetSizePrt({cFont.cx}, {cFont.cy}, {cFont.space})
	ctrl:SetColor(0.000, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("100.00")

	ctrl = cSliderHighlightCtrl(wnd, "slValue")
	ctrl:SetPos(650, 35, cCtrl.e_None)
	ctrl:SetSize(140, 10, cCtrl.e_None)
	ctrl:SetTexture("gui_system", cCtrl.e_sldImage)
	ctrl:SetSize(10, 20, cCtrl.e_sldImage)
	ctrl:SetUVPos(0.0000, 0.7700, cCtrl.e_sldImage)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_sldImage)
	ctrl:SetTexture("gui_system", cCtrl.e_None)
	ctrl:SetUVPos(0.7500, 0.7700, cCtrl.e_None)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_None)
	ctrl:SetSize(3, 3, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0470, 0.0470, cCtrl.e_frmBorder)
	ctrl:SetMinMax(0.0000, 1.0000)
	ctrl:SetVertical(false)

	ctrl = cButtonHighlightCtrl(wnd, "btClose")
	ctrl:SetPos(545, 10, cCtrl.e_None)
	ctrl:SetSize(100, 20, cCtrl.e_None)
		ctrl:SetTexture("font_system", cCtrl.e_btnFont)
		ctrl:SetFontPrt("mono16x16a")
		ctrl:SetSizePrt(16, 16, -6)
	ctrl:SetColor(0.000, 0.000, 0.000)
	ctrl:SetText("close")
	ctrl:SetSize(3, 3, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_system", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0000, 0.7700, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0470, 0.0470, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_system", cCtrl.e_btnPush)
	ctrl:SetUVPos(0.2500, 0.7700, cCtrl.e_btnPush)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_btnPush)
	ctrl:SetUVSize(0.0470, 0.0470, cCtrl.e_btnPush + cCtrl.e_frmBorder)

	ctrl = cCheckBoxHighlightCtrl(wnd, "chNormal")
	ctrl:SetPos(620, 430, cCtrl.e_None)
	ctrl:SetSize(90, 20, cCtrl.e_None)
		ctrl:SetTexture("font_system", cCtrl.e_cbFont)
		ctrl:SetFontPrt("mono16x16a")
		ctrl:SetSizePrt(16, 16, -6)
	ctrl:SetColor(0.000, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("normal")
	ctrl:SetTexture("gui_system", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.0000, 0.5200, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_system", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2500, 0.5200, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_cbPush)

	ctrl = cCheckBoxHighlightCtrl(wnd, "chHard")
	ctrl:SetPos(715, 430, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetTexture("font_system", cCtrl.e_cbFont)
		ctrl:SetFontPrt("mono16x16a")
		ctrl:SetSizePrt(16, 16, -6)
	ctrl:SetColor(0.000, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("hard")
	ctrl:SetTexture("gui_system", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.0000, 0.5200, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_system", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2500, 0.5200, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_cbPush)

	ctrl = cSliderHighlightCtrl(wnd, "slConst")
	ctrl:SetPos(780, 55, cCtrl.e_None)
	ctrl:SetSize(10, 370, cCtrl.e_None)
	ctrl:SetTexture("gui_system", cCtrl.e_sldImage)
	ctrl:SetSize(10, 20, cCtrl.e_sldImage)
	ctrl:SetUVPos(0.0000, 0.7700, cCtrl.e_sldImage)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_sldImage)
	ctrl:SetTexture("gui_system", cCtrl.e_None)
	ctrl:SetUVPos(0.7500, 0.7700, cCtrl.e_None)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_None)
	ctrl:SetSize(3, 3, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0470, 0.0470, cCtrl.e_frmBorder)
	ctrl:SetMinMax(0.0000, 1.0000)
	ctrl:SetVertical(false)

	ctrl = cLabelSysCtrl(wnd, "lbMax")
	ctrl:SetPos(720, 9, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetTexture("{cFont.image}")
		ctrl:SetFontPrt("{cFont.name}")
		ctrl:SetSizePrt({cFont.cx}, {cFont.cy}, {cFont.space})
	ctrl:SetColor(0.000, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Right + cAlign.Middle)
	ctrl:SetText("100.00")

	ctrl = cEditSysCtrl(wnd, "edValue")
	ctrl:SetPos(545, 30, cCtrl.e_None)
	ctrl:SetSize(100, 20, cCtrl.e_None)
		ctrl:SetTexture("font_system", cCtrl.e_edtFont)
		ctrl:SetFontPrt("mono16x16a")
		ctrl:SetSizePrt(16, 16, -6)
	ctrl:SetColor(0.000, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("100.00")
	ctrl:SetTexture("gui_system", cCtrl.e_None)
	ctrl:SetUVPos(0.5000, 0.7700, cCtrl.e_None)
	ctrl:SetUVSize(0.2300, 0.2300, cCtrl.e_None)
	ctrl:SetSize(3, 3, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0470, 0.0470, cCtrl.e_frmBorder)
	ctrl:SetMaxLength(255)


end
