-- {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, false)

	local ctrl

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=111, y=150, w=321, h=354 }, { x=84, y=64 }, 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)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=111, y=40, w=321, h=101 }, { x=45, 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)

	ctrl = createButtonSysCtrl(wnd, "btStart")
	setCtrlFrame(ctrl, { x=152, y=371, w=239, h=86 }, { x=25, 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 = createButtonSysCtrl(wnd, "btOptions")
	setCtrlFrame(ctrl, { x=152, y=270, w=239, h=66 }, { x=25, 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=152, y=200, w=239, h=66 }, { x=25, 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 = createLabelCtrl(wnd, "lbProfile")
	setCtrlRect(ctrl, { x=141, y=90, 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)

	ctrl = createLinkSysCtrl(wnd, "btProfile")
	setCtrlRect(ctrl, { x=141, y=57, 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 = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=256, y=550, w=512, 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)


end
