-- 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=256, y=208, w=512, h=352 }, { x=70, y=176 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.1367, y=0.3438 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=322, y=513, w=380, h=76 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.8516, w=0.6191, h=0.1484 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=403, y=531, w=218, h=45 }, 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)
	ignoreCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "ok")
	setCtrlFrame(ctrl, { x=312, y=244, w=180, h=54 }, { x=28, y=20 }, 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.3945, w=0.2520, h=0.1055 }, { x=0.0547, y=0.0391 }, 0)

	ctrl = createButtonSysCtrl(wnd, "cancel")
	setCtrlFrame(ctrl, { x=532, y=244, w=180, h=54 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Cancel]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.3945, w=0.2520, h=0.1055 }, { x=0.0547, y=0.0391 }, 0)

	ctrl = createEditSysCtrl(wnd, "name")
	setCtrlFrame(ctrl, { x=312, y=330, w=400, h=55 }, { x=37, y=16 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4688, y=0.3105, w=0.3145, h=0.0898 }, { x=0.0723, y=0.0313 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold36")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Player")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlAlign(ctrl, align.Center + align.Middle)
	setEditCtrlMaxLength(ctrl, 10)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=382, y=473, w=260, 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, "[EnterYourName1]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=382, y=403, w=260, 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, "[EnterYourName3]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=382, y=438, w=260, 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, "[EnterYourName2]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)


end
