-- {GameFolder}\main.lua
-- 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, "frmMoney")
	ctrl:SetPos(132, 682, cCtrl.e_None)
	ctrl:SetSize(253, 79, cCtrl.e_None)
	ctrl:SetUVPos(0.7383, 0.8242, cCtrl.e_None)
	ctrl:SetUVSize(0.2598, 0.1758, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(60, 19, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.1172, 0.0391, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(149, 100, cCtrl.e_None)
	ctrl:SetSize(220, 360, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("gui_frame")
	ctrl:SetSize(110, 180, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.2148, 0.3516, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(135, 270, cCtrl.e_None)
	ctrl:SetSize(248, 90, cCtrl.e_None)
	ctrl:SetUVPos(0.6699, 0.4160, cCtrl.e_None)
	ctrl:SetUVSize(0.3301, 0.1367, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(40, 13, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0781, 0.0254, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cButtonCtrl(wnd, "btStart")
	ctrl:SetPos(179, 283, cCtrl.e_None)
	ctrl:SetSize(158, 65, cCtrl.e_None)
		ctrl:SetFontPrt("header32x32")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Start")
	ctrl:SetSize(16, 16, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0020, 0.8711, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2500, 0.1289, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0313, 0.0313, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cButtonCtrl(wnd, "btOptions")
	ctrl:SetPos(170, 190, cCtrl.e_None)
	ctrl:SetSize(178, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Options")
	ctrl:SetSize(16, 16, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0020, 0.8711, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2500, 0.1289, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0313, 0.0313, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cButtonCtrl(wnd, "btExit")
	ctrl:SetPos(170, 120, cCtrl.e_None)
	ctrl:SetSize(178, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Exit")
	ctrl:SetSize(16, 16, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0020, 0.8711, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2500, 0.1289, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0313, 0.0313, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(69, 360, cCtrl.e_None)
	ctrl:SetSize(380, 300, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.1191, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 0.7617, cCtrl.e_None)
	ctrl:SetTexture("gui_logo")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "lbProfile")
	ctrl:SetPos(178, 720, cCtrl.e_None)
	ctrl:SetSize(160, 26, cCtrl.e_None)
		ctrl:SetFontPrt("welcome20")
	ctrl:SetColor(0.502, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Hello, %s.")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(349, 334, cCtrl.e_None)
	ctrl:SetSize(14, 14, cCtrl.e_None)
	ctrl:SetUVPos(0.8750, 0.6211, cCtrl.e_None)
	ctrl:SetUVSize(0.0547, 0.0547, cCtrl.e_None)
	ctrl:SetTexture("gui_decor")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(349, 283, cCtrl.e_None)
	ctrl:SetSize(14, 14, cCtrl.e_None)
	ctrl:SetUVPos(0.8750, 0.6211, cCtrl.e_None)
	ctrl:SetUVSize(0.0547, 0.0547, cCtrl.e_None)
	ctrl:SetTexture("gui_decor")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(159, 283, cCtrl.e_None)
	ctrl:SetSize(14, 14, cCtrl.e_None)
	ctrl:SetUVPos(0.8750, 0.6211, cCtrl.e_None)
	ctrl:SetUVSize(0.0547, 0.0547, cCtrl.e_None)
	ctrl:SetTexture("gui_decor")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(159, 334, cCtrl.e_None)
	ctrl:SetSize(14, 14, cCtrl.e_None)
	ctrl:SetUVPos(0.8750, 0.6211, cCtrl.e_None)
	ctrl:SetUVSize(0.0547, 0.0547, cCtrl.e_None)
	ctrl:SetTexture("gui_decor")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLinkCtrl(wnd, "btProfile")
	ctrl:SetPos(178, 695, cCtrl.e_None)
	ctrl:SetSize(160, 26, cCtrl.e_None)
		ctrl:SetFontPrt("welcome20")
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Change the player")
	ctrl:SetColor(0.000, 0.000, 0.600, cLinkCtrl.e_lnkNormal)
	ctrl:SetColor(0.4,0,0.4, cLinkCtrl.e_lnkHighlight)

end
