-- 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 = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=25, y=86, w=400, h=100 }, { x=46, y=19 }, 0)
	setCtrlUVFrame(ctrl, { x=0.2305, y=0.0000, w=0.7695, h=0.1973 }, { x=0.0898, y=0.0371 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=65, y=196, w=320, h=360 }, { x=84, y=65 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.3848, w=0.9199, h=0.6152 }, { x=0.1641, y=0.1270 }, 0)
	setCtrlTexture(ctrl, "gui_main1")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "btStart")
	setCtrlFrame(ctrl, { x=105, y=444, w=240, h=85 }, { x=26, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Start]")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.6016, y=0.8691, w=0.2324, h=0.1309 }, { x=0.0508, y=0.0410 }, 0)

	ctrl = createLabelCtrl(wnd, "lbProfile")
	setCtrlRect(ctrl, { x=95, y=138, w=260, h=30 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36g", 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=95, y=103, w=260, h=30 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36g", 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 = createButtonSysCtrl(wnd, "btOptions")
	setCtrlFrame(ctrl, { x=105, y=289, w=240, h=66 }, { x=26, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Options]")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.6016, y=0.8691, w=0.2324, h=0.1309 }, { x=0.0508, y=0.0410 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btExit")
	setCtrlFrame(ctrl, { x=105, y=226, w=240, h=66 }, { x=26, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Exit]")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.6016, y=0.8691, w=0.2324, h=0.1309 }, { x=0.0508, y=0.0410 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btAchieves")
	setCtrlFrame(ctrl, { x=105, y=352, w=240, h=66 }, { x=26, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Achieves]")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.6016, y=0.8691, w=0.2324, h=0.1309 }, { x=0.0508, y=0.0410 }, 0)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=256, y=640, 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)


end
