-- {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=270, w=322, h=356 }, { x=160, y=177 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.3145, y=0.3477 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=70, y=430, w=263, h=98 }, { x=24, y=27 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=0.8477, h=0.5039 }, { x=0.0488, y=0.1055 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createButtonSysCtrl(wnd, "btStart")
	setCtrlFrame(ctrl, { x=112, y=453, w=178, h=54 }, { x=24, y=4 }, 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.7891, w=0.2520, h=0.2109 }, { x=0.0469, y=0.0195 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btOptions")
	setCtrlFrame(ctrl, { x=110, y=370, w=178, h=54 }, { x=24, y=4 }, 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.7891, w=0.2520, h=0.2109 }, { x=0.0469, y=0.0195 }, 0)

	ctrl = createButtonSysCtrl(wnd, "btExit")
	setCtrlFrame(ctrl, { x=110, y=310, w=178, h=54 }, { x=24, y=4 }, 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.7891, w=0.2520, h=0.2109 }, { x=0.0469, y=0.0195 }, 0)

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

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=70, y=110, w=263, h=98 }, { x=24, y=27 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=0.8477, h=0.5039 }, { x=0.0488, y=0.1055 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createLabelCtrl(wnd, "lbProfile")
	setCtrlRect(ctrl, { x=116, y=160, w=170, h=26 }, 0)
	setCtrlFont(ctrl, "welcome20", 0)
	setCtrlColor(ctrl, 0.502, 0.000, 0.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Hello %s", 0)
	enableCtrl(ctrl, false)

	ctrl = createLinkSysCtrl(wnd, "btProfile")
	setCtrlRect(ctrl, { x=121, y=135, w=160, h=26 }, 0)
	setCtrlFont(ctrl, "welcome20", 0)
	setCtrlColor(ctrl, 0.000, 0.000, 0.600, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Change player", 0)
	setCtrlColor(ctrl, 0.4,0,0.4, 1)


end
