-- 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=231, y=190, w=563, h=388 }, { x=64, y=51 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.2422, w=0.5498, h=0.7578 }, { x=0.0625, y=0.0996 }, 0)
	setCtrlTexture(ctrl, "gui_1")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=216, y=136, w=170, h=103 }, 0)
	setCtrlUVRect(ctrl, { x=0.5508, y=0.7988, w=0.1660, h=0.2012 }, 0)
	setCtrlTexture(ctrl, "gui_1", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=402, y=139, w=221, h=65 }, 0)
	setCtrlUVRect(ctrl, { x=0.5508, y=0.4688, w=0.2158, h=0.1270 }, 0)
	setCtrlTexture(ctrl, "gui_1", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=644, y=135, w=166, h=103 }, 0)
	setCtrlUVRect(ctrl, { x=0.5625, y=0.5957, w=0.1621, h=0.2012 }, 0)
	setCtrlTexture(ctrl, "gui_1", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=214, y=531, w=196, h=66 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.1133, w=0.1914, h=0.1289 }, 0)
	setCtrlTexture(ctrl, "gui_1", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=617, y=533, w=189, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.1924, y=0.1172, w=0.1846, h=0.1250 }, 0)
	setCtrlTexture(ctrl, "gui_1", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=458, y=517, w=109, h=56 }, 0)
	setCtrlFont(ctrl, "MirandolinaBold44", 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 = createEditSysCtrl(wnd, "name")
	setCtrlFrame(ctrl, { x=287, y=313, w=450, h=64 }, { x=16, y=15 }, 0)
	setCtrlUVFrame(ctrl, { x=0.3838, y=0.0723, w=0.1924, h=0.0820 }, { x=0.0156, y=0.0293 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Player")
	setCtrlTexture(ctrl, "gui_1", 0)
	setCtrlAlign(ctrl, align.Center + align.Middle)
	setEditCtrlMaxLength(ctrl, 10)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=382, y=468, w=260, h=30 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular34", 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=398, w=260, h=30 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular34", 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=433, w=260, h=30 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular34", 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)

	ctrl = createButtonSysCtrl(wnd, "ok")
	setCtrlFrame(ctrl, { x=270, y=214, w=240, h=74 }, { x=41, y=32 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Create]")
	setCtrlTexture(ctrl, "gui_1", 0)
	setCtrlUVFrame(ctrl, { x=0.7695, y=0.8555, w=0.1895, h=0.1445 }, { x=0.0400, y=0.0625 }, 0)

	ctrl = createButtonSysCtrl(wnd, "cancel")
	setCtrlFrame(ctrl, { x=524, y=214, w=240, h=74 }, { x=41, y=32 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Cancel]")
	setCtrlTexture(ctrl, "gui_1", 0)
	setCtrlUVFrame(ctrl, { x=0.7695, y=0.8555, w=0.1895, h=0.1445 }, { x=0.0400, y=0.0625 }, 0)


end
