-- main.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, false)

	local ctrl

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=168, y=-9, w=59, h=704 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.3125, w=0.1152, h=0.6875 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "lbProfile")
	setCtrlRect(ctrl, { x=578, y=81, 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, "[HelloPlayer]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLinkSysCtrl(wnd, "btProfile")
	setCtrlRect(ctrl, { x=578, y=46, w=260, h=30 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular34", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 0.627, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[ChangePlayer]", 0)
	setCtrlColor(ctrl, 1,1,1,1)
	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=452, y=608, w=512, h=128 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=1.0000 }, 0)
	setCtrlTexture(ctrl, "gui_logo", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createMenuButtonCtrl(wnd, "btExit")
	setCtrlFrame(ctrl, { x=47, y=140, w=339, h=147 }, { x=0, y=0 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "")
	setCtrlTexture(ctrl, "gui_2", 0)
	setCtrlUVFrame(ctrl, { x=0.1348, y=0.3525, w=0.6621, h=0.1436 }, { x=0.0000, y=0.0000 }, 0)

	ctrl = createMenuButtonCtrl(wnd, "btOptions")
	setCtrlFrame(ctrl, { x=25, y=237, w=387, h=156 }, { x=0, y=0 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "")
	setCtrlTexture(ctrl, "gui_2", 0)
	setCtrlUVFrame(ctrl, { x=0.1309, y=0.6816, w=0.7559, h=0.1523 }, { x=0.0000, y=0.0000 }, 0)

	ctrl = createMenuButtonCtrl(wnd, "btAchieves")
	setCtrlFrame(ctrl, { x=5, y=328, w=432, h=164 }, { x=0, y=0 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "")
	setCtrlTexture(ctrl, "gui_2", 0)
	setCtrlUVFrame(ctrl, { x=0.1309, y=0.8398, w=0.8438, h=0.1602 }, { x=0.0000, y=0.0000 }, 0)

	ctrl = createMenuButtonCtrl(wnd, "btStart")
	setCtrlFrame(ctrl, { x=46, y=440, w=351, h=179 }, { x=0, y=0 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "")
	setCtrlTexture(ctrl, "gui_2", 0)
	setCtrlUVFrame(ctrl, { x=0.1289, y=0.5029, w=0.6855, h=0.1748 }, { x=0.0000, y=0.0000 }, 0)

	ctrl = createLabelCtrl(wnd, "lbStart")
	setCtrlRect(ctrl, { x=47, y=521, w=338, h=84 }, 0)
	setCtrlFont(ctrl, "MirandolinaBold44", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[Start]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "lbAchieves")
	setCtrlRect(ctrl, { x=16, y=404, w=411, h=71 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[Achieves]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "lbOptions")
	setCtrlRect(ctrl, { x=40, y=309, w=348, h=75 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[Options]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "lbExit")
	setCtrlRect(ctrl, { x=50, y=204, w=315, h=79 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[Exit]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)


end
