-- {GameFolder}\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=256, y=166, w=512, h=436 }, { x=60, y=55 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.1172, y=0.1074 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=293, y=270, w=439, h=264 }, { x=9, y=11 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0059, y=0.0156, w=0.8379, h=0.4844 }, { x=0.0195, y=0.0430 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=366, y=554, w=313, h=76 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.8516, w=0.6133, h=0.1484 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=442, y=574, w=160, h=40 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold36", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Select a player", 0)
	enableCtrl(ctrl, false)

	ctrl = createListSysCtrl(wnd, "lstProfile")
	setCtrlRect(ctrl, { x=305, y=285, w=375, h=235 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25", 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlFrame(ctrl, { x=0, y=0, w=0, h=32 }, { x=9, y=9 }, 0)
	setCtrlUVFrame(ctrl, { x=0.2559, y=0.8555, w=0.0703, h=0.1406 }, { x=0.0176, y=0.0352 }, 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 2)
	setCtrlColor(ctrl, 1.000, 1.000, 0.800, 0)
	setListSysCtrlMultiselect(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "btOk")
	setCtrlFrame(ctrl, { x=594, y=200, w=138, h=54 }, { x=24, y=4 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Select")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.7891, w=0.2520, h=0.2109 }, { x=0.0469, y=0.0195 }, 0)

	ctrl = createSliderSysCtrl(wnd, "slProfile")
	setCtrlFrame(ctrl, { x=690, y=280, w=24, h=244 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.9063, y=0.2383, w=0.0469, h=0.7578 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=40, h=39 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.2148, w=0.0801, h=0.1523 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setSliderCtrlMinMax(ctrl, 0.0000, 1.0000)
	setSliderCtrlVertical(ctrl, true)

	ctrl = createButtonSysCtrl(wnd, "btAdd")
	setCtrlFrame(ctrl, { x=293, y=200, w=138, h=54 }, { x=24, y=4 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Create")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.7891, w=0.2520, h=0.2109 }, { x=0.0469, y=0.0195 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btDelete")
	setCtrlFrame(ctrl, { x=430, y=200, w=138, h=54 }, { x=24, y=4 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Delete")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.7891, w=0.2520, h=0.2109 }, { x=0.0469, y=0.0195 }, 0)


end
