-- 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=29, y=101, w=330, h=70 }, { x=10, y=10 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0313, w=1.0000, h=0.4766 }, { x=0.0391, y=0.0391 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=29, y=176, w=330, h=332 }, { x=150, y=166 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.2930, y=0.3242 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "btStart")
	setCtrlFrame(ctrl, { x=69, y=416, w=250, h=70 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Start]")
	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 = createLabelCtrl(wnd, "lbProfile")
	setCtrlRect(ctrl, { x=64, y=138, 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, "[HelloPlayer]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLinkSysCtrl(wnd, "btProfile")
	setCtrlRect(ctrl, { x=64, y=107, w=260, h=30 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25", 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=69, y=261, w=250, h=54 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Options]")
	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, "btExit")
	setCtrlFrame(ctrl, { x=69, y=198, w=250, h=54 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Exit]")
	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, "btAchieves")
	setCtrlFrame(ctrl, { x=69, y=324, w=250, h=54 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Achieves]")
	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 = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=256, y=636, 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
