-- {GameFolder}\profile_add.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=222, y=231, w=580, h=296 }, { x=60, y=148 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.1172, y=0.2891 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=356, y=480, 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=432, y=500, 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, "[CreatePlayer]", 0)
	enableCtrl(ctrl, false)

	ctrl = createEditSysCtrl(wnd, "name")
	setCtrlFrame(ctrl, { x=257, y=360, w=510, h=46 }, { x=18, y=13 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4688, y=0.3105, w=0.3145, h=0.0898 }, { x=0.0371, y=0.0254 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "---")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlAlign(ctrl, align.Center + align.Middle)
	setEditCtrlMaxLength(ctrl, 10)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=272, y=420, w=480, h=30 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[EnterYourName]", 0)
	enableCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "ok")
	setCtrlFrame(ctrl, { x=500, y=260, w=128, 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, "cancel")
	setCtrlFrame(ctrl, { x=637, y=260, w=128, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Cancel]")
	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
