-- {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=386, h=264 }, { x=15, y=16 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0273, w=1.0000, h=0.4844 }, { x=0.0586, y=0.0625 }, 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, "[SelectPlayer]", 0)
	enableCtrl(ctrl, false)

	ctrl = createListSysCtrl(wnd, "lstProfile")
	setCtrlRect(ctrl, { x=294, y=285, w=385, 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.3301, y=0.4277, w=0.0703, h=0.0703 }, { x=0.0176, y=0.0176 }, 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=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Select]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createSliderSysCtrl(wnd, "slProfile")
	setCtrlFrame(ctrl, { x=690, y=270, w=24, h=264 }, { x=0, y=35 }, 0)
	setCtrlUVFrame(ctrl, { x=0.9063, y=0.1152, w=0.0469, h=0.3848 }, { x=0.0000, y=0.0684 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=40, h=39 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.1074, w=0.0801, h=0.0762 }, 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=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Create]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btDelete")
	setCtrlFrame(ctrl, { x=435, y=200, w=138, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Delete]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)


end
