-- level.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, "frame_task2")
	setCtrlFrame(ctrl, { x=932, y=651, w=95, h=121 }, { x=22, y=18 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0078, y=0.6465, w=0.5742, h=0.1445 }, { x=0.0430, y=0.0352 }, 0)
	setCtrlTexture(ctrl, "gui_main")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "frame_task1")
	setCtrlFrame(ctrl, { x=842, y=651, w=95, h=121 }, { x=22, y=18 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0078, y=0.6465, w=0.5742, h=0.1445 }, { x=0.0430, y=0.0352 }, 0)
	setCtrlTexture(ctrl, "gui_main")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=61, y=715, w=364, h=13 }, 0)
	setCtrlUVRect(ctrl, { x=0.0059, y=0.9414, w=0.7109, h=0.0254 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createProgressBarSysCtrl(wnd, "time")
	setCtrlRect(ctrl, { x=62, y=718, w=361, h=12 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVRect(ctrl, { x=0.0020, y=0.9746, w=0.7051, h=0.0234 }, 0)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "frame_task0")
	setCtrlFrame(ctrl, { x=752, y=651, w=95, h=121 }, { x=22, y=18 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0078, y=0.6465, w=0.5742, h=0.1445 }, { x=0.0430, y=0.0352 }, 0)
	setCtrlTexture(ctrl, "gui_main")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=0, y=696, w=432, h=74 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.5000, w=0.8438, h=0.1445 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "food")
	setCtrlRect(ctrl, { x=99, y=735, w=49, h=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold20", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "0000", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "wood")
	setCtrlRect(ctrl, { x=183, y=735, w=49, h=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold20", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "0000", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "money")
	setCtrlRect(ctrl, { x=281, y=735, w=49, h=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold20", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "0000", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "mana")
	setCtrlRect(ctrl, { x=367, y=735, w=49, h=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold20", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "0000", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_task0")
	setCtrlRect(ctrl, { x=768, y=695, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=1.0000 }, 0)
	setCtrlTexture(ctrl, "icon_info", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task00")
	setCtrlRect(ctrl, { x=782, y=677, w=35, h=21 }, 0)
	setCtrlFont(ctrl, "tmpCalibriRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Label", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task01")
	setCtrlRect(ctrl, { x=782, y=661, w=35, h=21 }, 0)
	setCtrlFont(ctrl, "tmpCalibriRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Label", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createImageCtrl(wnd, "image_task1")
	setCtrlRect(ctrl, { x=858, y=695, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=1.0000 }, 0)
	setCtrlTexture(ctrl, "icon_info", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task10")
	setCtrlRect(ctrl, { x=873, y=677, w=35, h=21 }, 0)
	setCtrlFont(ctrl, "tmpCalibriRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Label", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task11")
	setCtrlRect(ctrl, { x=873, y=661, w=35, h=21 }, 0)
	setCtrlFont(ctrl, "tmpCalibriRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Label", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createImageCtrl(wnd, "image_task2")
	setCtrlRect(ctrl, { x=948, y=695, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=1.0000 }, 0)
	setCtrlTexture(ctrl, "icon_info", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task20")
	setCtrlRect(ctrl, { x=963, y=677, w=35, h=21 }, 0)
	setCtrlFont(ctrl, "tmpCalibriRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Label", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task21")
	setCtrlRect(ctrl, { x=963, y=661, w=35, h=21 }, 0)
	setCtrlFont(ctrl, "tmpCalibriRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Label", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createButtonSysCtrl(wnd, "menu")
	setCtrlFrame(ctrl, { x=1, y=1, w=150, h=54 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Menu]")
	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=69, y=730, w=32, h=29 }, 0)
	setCtrlUVRect(ctrl, { x=0.1348, y=0.7930, w=0.0625, h=0.0566 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=151, y=731, w=30, h=28 }, 0)
	setCtrlUVRect(ctrl, { x=0.0762, y=0.7949, w=0.0586, h=0.0547 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=243, y=729, w=37, h=29 }, 0)
	setCtrlUVRect(ctrl, { x=0.0020, y=0.7930, w=0.0723, h=0.0566 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=342, y=730, w=22, h=27 }, 0)
	setCtrlUVRect(ctrl, { x=0.1992, y=0.7949, w=0.0430, h=0.0527 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "spin")
	setCtrlRect(ctrl, { x=177, y=717, w=8, h=12 }, 0)
	setCtrlUVRect(ctrl, { x=0.2559, y=0.3223, w=0.0156, h=0.0234 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createProgressBarSysCtrl(wnd, "minute")
	setCtrlRect(ctrl, { x=8, y=711, w=46, h=46 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVRect(ctrl, { x=0.2480, y=0.8105, w=0.0273, h=0.0215 }, 0)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=2, y=705, w=58, h=57 }, 0)
	setCtrlUVRect(ctrl, { x=0.7891, y=0.3105, w=0.1133, h=0.1113 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createBonusCtrl(wnd, "bonus0")
	setCtrlRect(ctrl, { x=1, y=632, w=60, h=60 }, 0)

	ctrl = createBonusCtrl(wnd, "bonus1")
	setCtrlRect(ctrl, { x=1, y=571, w=60, h=60 }, 0)

	ctrl = createBonusCtrl(wnd, "bonus2")
	setCtrlRect(ctrl, { x=1, y=510, w=60, h=60 }, 0)


end
