-- profile_select.lua
-- this is automatic generated file! do not modify it!
-- script for nls16 window loader. version 1.60.
-- copyright (c) 2005-2010 rionix. all rights reserved.

function FillWindow(wnd)

	setWndActive(wnd, true)
	setWndModal(wnd, true)

	local ctrl

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=242, y=167, w=540, h=435 }, { x=84, y=65 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.3848, w=0.9199, h=0.6152 }, { x=0.1641, y=0.1270 }, 0)
	setCtrlTexture(ctrl, "gui_main1")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=327, y=566, w=370, h=56 }, { x=23, y=8 }, 0)
	setCtrlUVFrame(ctrl, { x=0.5254, y=0.3477, w=0.4727, h=0.1094 }, { x=0.0449, y=0.0156 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=277, y=587, w=470, h=77 }, { x=100, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.3281, y=0.1973, w=0.6699, h=0.1504 }, { x=0.1953, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=458, y=567, w=109, h=56 }, 0)
	setCtrlFont(ctrl, "GabriolaRegular44", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[SelectPlayer]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=472, y=604, w=80, h=108 }, 0)
	setCtrlUVRect(ctrl, { x=0.2617, y=0.6465, w=0.1563, h=0.2109 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "btAdd")
	setCtrlFrame(ctrl, { x=327, y=261, w=180, h=66 }, { x=26, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Create]")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.6016, y=0.8691, w=0.2324, h=0.1309 }, { x=0.0508, y=0.0410 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btDelete")
	setCtrlFrame(ctrl, { x=518, y=261, w=180, h=66 }, { x=26, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Delete]")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.6016, y=0.8691, w=0.2324, h=0.1309 }, { x=0.0508, y=0.0410 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btOk")
	setCtrlFrame(ctrl, { x=326, y=196, w=373, h=66 }, { x=26, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Select]")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.6016, y=0.8691, w=0.2324, h=0.1309 }, { x=0.0508, y=0.0410 }, 0)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=290, y=328, w=445, h=230 }, { x=47, y=37 }, 0)
	setCtrlUVFrame(ctrl, { x=0.2305, y=0.0000, w=0.7695, h=0.1973 }, { x=0.0918, y=0.0723 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createSliderSysCtrl(wnd, "slProfile")
	setCtrlFrame(ctrl, { x=695, y=341, w=20, h=205 }, { x=0, y=13 }, 0)
	setCtrlUVFrame(ctrl, { x=0.1816, y=0.4336, w=0.0391, h=0.4160 }, { x=0.0000, y=0.0254 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=31, h=30 }, 0)
	setCtrlUVRect(ctrl, { x=0.1797, y=0.8574, w=0.0605, h=0.0586 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	setSliderCtrlMinMax(ctrl, 0, 100)
	setSliderCtrlVertical(ctrl, true)

	ctrl = createListSysCtrl(wnd, "lstProfile")
	setCtrlRect(ctrl, { x=320, y=343, w=364, h=200 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36g", 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlFrame(ctrl, { x=0, y=0, w=0, h=50 }, { x=21, y=8 }, 0)
	setCtrlUVFrame(ctrl, { x=0.5273, y=0.3496, w=0.4688, h=0.1074 }, { x=0.0410, y=0.0156 }, 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 2)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setListSysCtrlMultiselect(ctrl, false)


end
