-- {GameFolder}\profile_select.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(280, 230, cCtrl.e_None)
	ctrl:SetSize(305, 255, cCtrl.e_None)
	ctrl:SetUVPos(0.7910, 0.6211, cCtrl.e_None)
	ctrl:SetUVSize(0.2070, 0.1074, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(9, 9, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0195, 0.0195, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cListSysCtrl(wnd, "lstProfile")
	ctrl:SetPos(290, 245, cCtrl.e_None)
	ctrl:SetSize(285, 225, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetSize(0, 25, cCtrl.e_lstItems)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetTexture("gui_main", cCtrl.e_lstSelection)
	ctrl:SetUVPos(0.8047, 0.5645, cCtrl.e_lstSelection)
	ctrl:SetUVSize(0.1816, 0.0527, cCtrl.e_lstSelection)
	ctrl:SetSize(4, 4, cCtrl.e_lstSelection + cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0078, 0.0078, cCtrl.e_lstSelection + cCtrl.e_frmBorder)
	ctrl:SetColor(0.600, 0.000, 0.000, cCtrl.e_lstNormal)
	ctrl:SetColor(1.000, 0.000, 0.000, cCtrl.e_lstHighlight)
	ctrl:SetMultiselect(false)
	ctrl = cButtonCtrl(wnd, "btOk")
	ctrl:SetPos(610, 230, cCtrl.e_None)
	ctrl:SetSize(138, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Choose")
	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 = cSliderCtrlEx(wnd, "slProfile")
	ctrl:SetPos(590, 230, cCtrl.e_None)
	ctrl:SetSize(6, 254, cCtrl.e_None)
	ctrl:SetTexture("gui_main", cCtrl.e_sldImage)
	ctrl:SetSize(22, 24, cCtrl.e_sldImage)
	ctrl:SetUVPos(0.2559, 0.8184, cCtrl.e_sldImage)
	ctrl:SetUVSize(0.0430, 0.0488, cCtrl.e_sldImage)
	ctrl:SetTexture("gui_main", cCtrl.e_None)
	ctrl:SetUVPos(0.2559, 0.6426, cCtrl.e_None)
	ctrl:SetUVSize(0.0117, 0.1250, cCtrl.e_None)
	ctrl:SetSize(0, 8, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0000, 0.0156, cCtrl.e_frmBorder)
	ctrl:SetMinMax(0.0000, 1.0000)
	ctrl:SetVertical(true)

	ctrl = cButtonCtrl(wnd, "btAdd")
	ctrl:SetPos(610, 420, cCtrl.e_None)
	ctrl:SetSize(138, 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, "btDelete")
	ctrl:SetPos(610, 350, cCtrl.e_None)
	ctrl:SetSize(138, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Delete")
	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 = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(359, 514, cCtrl.e_None)
	ctrl:SetSize(306, 71, cCtrl.e_None)
	ctrl:SetUVPos(0.6758, 0.4121, 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(418, 539, cCtrl.e_None)
	ctrl:SetSize(180, 20, cCtrl.e_None)
		ctrl:SetFontPrt("header32x32")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Choose a player")
	ctrl:EnableState(cCtrl.e_Ignorable)


end
