-- {GameFolder}\profile_add.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 = cImageCtrl(wnd, "noname")
	ctrl:SetPos(256, 198, cCtrl.e_None)
	ctrl:SetSize(512, 372, 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:EnableState(cCtrl.e_Ignorable)

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(364, 514, cCtrl.e_None)
	ctrl:SetSize(296, 71, cCtrl.e_None)
	ctrl:SetUVPos(0.6758, 0.4141, cCtrl.e_None)
	ctrl:SetUVSize(0.3242, 0.1387, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(50, 0, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0996, 0.0000, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(419, 530, cCtrl.e_None)
	ctrl:SetSize(180, 40, cCtrl.e_None)
		ctrl:SetFontPrt("header32x32")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Create a player")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cEditSysCtrl(wnd, "name")
	ctrl:SetPos(285, 360, cCtrl.e_None)
	ctrl:SetSize(453, 41, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.502, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("test name")
	ctrl:SetTexture("gui_main", cCtrl.e_None)
	ctrl:SetUVPos(0.7969, 0.7773, cCtrl.e_None)
	ctrl:SetUVSize(0.2012, 0.0410, cCtrl.e_None)
	ctrl:SetSize(8, 5, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0156, 0.0098, cCtrl.e_frmBorder)
	ctrl:SetMaxLength(12)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(285, 430, cCtrl.e_None)
	ctrl:SetSize(300, 30, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Enter your name.")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(285, 410, cCtrl.e_None)
	ctrl:SetSize(300, 20, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Use 12 symbols or less.")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cButtonCtrl(wnd, "ok")
	ctrl:SetPos(450, 230, cCtrl.e_None)
	ctrl:SetSize(148, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Create")
	ctrl:SetSize(0, 0, 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.0000, 0.0000, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cButtonCtrl(wnd, "cancel")
	ctrl:SetPos(600, 230, cCtrl.e_None)
	ctrl:SetSize(148, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Cancel")
	ctrl:SetSize(0, 0, 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.0000, 0.0000, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(246, 187, cCtrl.e_None)
	ctrl:SetSize(144, 156, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.3906, cCtrl.e_None)
	ctrl:SetUVSize(0.5625, 0.6094, cCtrl.e_None)
	ctrl:SetTexture("gui_decor")
	ctrl:EnableState(cCtrl.e_Ignorable)


end
