-- {GameFolder}\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, true)

	local ctrl

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=41, y=210, w=362, h=318 }, { x=160, y=159 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.3145, y=0.3105 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=70, y=380, w=303, h=98 }, { x=15, y=15 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0313, w=1.0000, h=0.4766 }, { x=0.0586, y=0.0586 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createButtonSysCtrl(wnd, "btStart")
	setCtrlFrame(ctrl, { x=92, y=403, w=257, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Start]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btOptions")
	setCtrlFrame(ctrl, { x=92, y=310, w=257, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Options]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=94, y=440, w=256, h=256 }, 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, true)
	ctrl = createButtonSysCtrl(wnd, "btExit")
	setCtrlFrame(ctrl, { x=92, y=250, w=257, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Exit]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=50, y=70, w=342, h=108 }, { x=15, y=15 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0313, w=1.0000, h=0.4766 }, { x=0.0586, y=0.0586 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createLabelCtrl(wnd, "lbProfile")
	setCtrlRect(ctrl, { x=136, y=125, w=170, h=26 }, 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)

	ctrl = createLinkSysCtrl(wnd, "btProfile")
	setCtrlRect(ctrl, { x=141, y=90, w=160, h=26 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25", 0)
	setCtrlColor(ctrl, 0.400, 0.800, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[ChangePlayer]", 0)
	setCtrlColor(ctrl, 1.0,0.6,1.0, 1)


end
