-- main_free.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, "logo")
	setCtrlRect(ctrl, { x=427, y=649, 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)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=284, y=-13, w=48, h=75 }, 0)
	setCtrlUVRect(ctrl, { x=0.9131, y=0.7471, w=0.0469, h=0.0732 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=377, y=71, w=610, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.0029, y=0.4502, w=0.5957, h=0.0625 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=367, y=-22, w=633, h=128 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=0.6182, h=1.0000 }, 0)
	setCtrlTexture(ctrl, "gui01", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createButtonSysCtrl(wnd, "btStart")
	setCtrlFrame(ctrl, { x=546, y=67, w=274, h=83 }, { x=45, y=0 }, 0)
	setCtrlFont(ctrl, "CambriaBold30B")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Start]")
	setCtrlTexture(ctrl, "gui00", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.9189, w=0.2676, h=0.0811 }, { x=0.0439, y=0.0000 }, 0)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=469, y=97, w=60, h=26 }, 0)
	setCtrlUVRect(ctrl, { x=0.7998, y=0.6982, w=0.0586, h=0.0254 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=835, y=100, w=58, h=26 }, 0)
	setCtrlUVRect(ctrl, { x=0.8018, y=0.6729, w=0.0566, h=0.0254 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=801, y=93, w=106, h=32 }, 0)
	setCtrlUVRect(ctrl, { x=0.6875, y=0.6885, w=0.1035, h=0.0313 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=457, y=93, w=108, h=32 }, 0)
	setCtrlUVRect(ctrl, { x=0.7236, y=0.7246, w=0.1055, h=0.0313 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.None)

	ctrl = createLabelCtrl(wnd, "lbProfile")
	setCtrlRect(ctrl, { x=493, y=620, w=180, h=30 }, 0)
	setCtrlFont(ctrl, "CambriaBold30W", 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)
	anchorCtrl(ctrl, align.None)

	ctrl = createLinkSysCtrl(wnd, "btProfile")
	setCtrlRect(ctrl, { x=697, y=620, w=180, h=30 }, 0)
	setCtrlFont(ctrl, "CambriaBold30W", 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=313, y=25, w=241, h=55 }, { x=41, y=0 }, 0)
	setCtrlFont(ctrl, "CambriaBold30B")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Options]")
	setCtrlTexture(ctrl, "gui00", 0)
	setCtrlUVFrame(ctrl, { x=0.2686, y=0.9463, w=0.2354, h=0.0537 }, { x=0.0400, y=0.0000 }, 0)
	anchorCtrl(ctrl, align.None)

	ctrl = createButtonSysCtrl(wnd, "btExit")
	setCtrlFrame(ctrl, { x=812, y=25, w=242, h=55 }, { x=32, y=0 }, 0)
	setCtrlFont(ctrl, "CambriaBold30B")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Exit]")
	setCtrlTexture(ctrl, "gui00", 0)
	setCtrlUVFrame(ctrl, { x=0.5059, y=0.9463, w=0.2363, h=0.0537 }, { x=0.0313, y=0.0000 }, 0)
	anchorCtrl(ctrl, align.None)

	ctrl = createButtonSysCtrl(wnd, "btAchieves")
	setCtrlFrame(ctrl, { x=536, y=1, w=295, h=55 }, { x=32, y=0 }, 0)
	setCtrlFont(ctrl, "CambriaBold30B")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Achieves]")
	setCtrlTexture(ctrl, "gui00", 0)
	setCtrlUVFrame(ctrl, { x=0.5059, y=0.9463, w=0.2363, h=0.0537 }, { x=0.0313, y=0.0000 }, 0)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=938, y=87, w=42, h=68 }, 0)
	setCtrlUVRect(ctrl, { x=0.8838, y=0.6787, w=0.0410, h=0.0664 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=296, y=-8, w=32, h=73 }, 0)
	setCtrlUVRect(ctrl, { x=0.9258, y=0.8213, w=0.0313, h=0.0713 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.None)

	ctrl = createImageCtrl(wnd, "imgBuy")
	setCtrlRect(ctrl, { x=0, y=566, w=1366, h=48 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.7461, w=1.0000, h=0.2500 }, 0)
	setCtrlTexture(ctrl, "gui02", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.None)

	ctrl = createLinkSysCtrl(wnd, "btBuy")
	setCtrlRect(ctrl, { x=593, y=576, w=180, h=30 }, 0)
	setCtrlFont(ctrl, "CambriaBold30W", 0)
	setCtrlColor(ctrl, 1.000, 0.000, 0.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[BuyFull]", 0)
	setCtrlColor(ctrl, 1,1,1,1)
	ctrl = createButtonSysCtrl(wnd, "more_games")
	setCtrlFrame(ctrl, { x=1149, y=679, w=207, h=79 }, { x=0, y=0 }, 0)
	setCtrlFont(ctrl, "system9")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "")
	setCtrlTexture(ctrl, "gui_alawar", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.3828, w=0.8086, h=0.6172 }, { x=0.0000, y=0.0000 }, 0)
	anchorCtrl(ctrl, align.Right + align.Top)
	setButtonSingleFrame(ctrl, true)


end
