-- 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 = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=12, y=708, w=58, h=57 }, 0)
	setCtrlUVRect(ctrl, { x=0.3047, y=0.0010, w=0.1133, h=0.0557 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=16, y=422, w=17, h=200 }, 0)
	setCtrlUVRect(ctrl, { x=0.1621, y=0.0020, w=0.0332, h=0.1904 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=16, y=714, w=50, h=47 }, 0)
	setCtrlUVRect(ctrl, { x=0.2012, y=0.0020, w=0.0977, h=0.0459 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "frame_task0")
	setCtrlRect(ctrl, { x=685, y=655, w=130, h=112 }, 0)
	setCtrlUVRect(ctrl, { x=0.7422, y=0.0010, w=0.2539, h=0.1094 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "frame_task1")
	setCtrlRect(ctrl, { x=797, y=655, w=124, h=112 }, 0)
	setCtrlUVRect(ctrl, { x=0.7539, y=0.1143, w=0.2422, h=0.1094 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "menu")
	setCtrlFrame(ctrl, { x=0, y=0, w=194, h=74 }, { x=41, y=32 }, 0)
	setCtrlFont(ctrl, "MirandolinaRegular38")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Menu]")
	setCtrlTexture(ctrl, "gui_1", 0)
	setCtrlUVFrame(ctrl, { x=0.7695, y=0.8555, w=0.1895, h=0.1445 }, { x=0.0400, y=0.0625 }, 0)

	ctrl = createProgressBarSysCtrl(wnd, "time")
	setCtrlRect(ctrl, { x=15, y=424, w=18, h=196 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	setCtrlUVRect(ctrl, { x=0.1152, y=0.0010, w=0.0352, h=0.1914 }, 0)
	ignoreCtrl(ctrl, false)
	setProgressBarSysCtrlVertical(ctrl, true)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=1, y=418, w=55, h=262 }, 0)
	setCtrlUVRect(ctrl, { x=0.0039, y=0.0010, w=0.1074, h=0.2559 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createProgressBarSysCtrl(wnd, "daynight")
	setCtrlRect(ctrl, { x=4, y=632, w=45, h=46 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	setCtrlUVRect(ctrl, { x=0.1152, y=0.2451, w=0.0879, h=0.0449 }, 0)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "no_night")
	setCtrlRect(ctrl, { x=4, y=632, w=45, h=46 }, 0)
	setCtrlUVRect(ctrl, { x=0.1152, y=0.1963, w=0.0879, h=0.0449 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "day")
	setCtrlRect(ctrl, { x=8, y=636, w=37, h=37 }, 0)
	setCtrlUVRect(ctrl, { x=0.2090, y=0.2256, w=0.0723, h=0.0361 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "night")
	setCtrlRect(ctrl, { x=8, y=636, w=37, h=37 }, 0)
	setCtrlUVRect(ctrl, { x=0.2090, y=0.1875, w=0.0723, h=0.0361 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=92, y=708, w=58, h=57 }, 0)
	setCtrlUVRect(ctrl, { x=0.3047, y=0.0010, w=0.1133, h=0.0557 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=172, y=708, w=58, h=57 }, 0)
	setCtrlUVRect(ctrl, { x=0.3047, y=0.0010, w=0.1133, h=0.0557 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=252, y=708, w=58, h=57 }, 0)
	setCtrlUVRect(ctrl, { x=0.3047, y=0.0010, w=0.1133, h=0.0557 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=97, y=718, w=50, h=43 }, 0)
	setCtrlUVRect(ctrl, { x=0.2012, y=0.0498, w=0.0977, h=0.0420 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=179, y=716, w=45, h=42 }, 0)
	setCtrlUVRect(ctrl, { x=0.2031, y=0.0947, w=0.0879, h=0.0410 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=261, y=713, w=43, h=49 }, 0)
	setCtrlUVRect(ctrl, { x=0.2051, y=0.1377, w=0.0840, h=0.0479 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=2, y=686, w=79, h=36 }, 0)
	setCtrlUVRect(ctrl, { x=0.4258, y=0.0020, w=0.1543, h=0.0352 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=82, y=686, w=79, h=36 }, 0)
	setCtrlUVRect(ctrl, { x=0.4258, y=0.0020, w=0.1543, h=0.0352 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=162, y=686, w=79, h=36 }, 0)
	setCtrlUVRect(ctrl, { x=0.4258, y=0.0020, w=0.1543, h=0.0352 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=242, y=686, w=79, h=36 }, 0)
	setCtrlUVRect(ctrl, { x=0.4258, y=0.0020, w=0.1543, h=0.0352 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "food")
	setCtrlRect(ctrl, { x=16, y=691, w=49, h=28 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular26", 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=97, y=691, w=49, h=28 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular26", 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=178, y=691, w=49, h=28 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular26", 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=257, y=691, w=49, h=28 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular26", 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, "spin")
	setCtrlRect(ctrl, { x=14, y=485, w=22, h=8 }, 0)
	setCtrlUVRect(ctrl, { x=0.0020, y=0.2617, w=0.0430, h=0.0078 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "frame_task2")
	setCtrlRect(ctrl, { x=903, y=655, w=128, h=112 }, 0)
	setCtrlUVRect(ctrl, { x=0.7441, y=0.2275, w=0.2500, h=0.1094 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_task0")
	setCtrlRect(ctrl, { x=724, y=696, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.2012, y=0.0020, w=0.0977, h=0.0459 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task00")
	setCtrlRect(ctrl, { x=735, y=680, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 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=734, y=662, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 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=829, y=696, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.2012, y=0.0020, w=0.0977, h=0.0459 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task10")
	setCtrlRect(ctrl, { x=840, y=680, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 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=839, y=662, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 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=935, y=696, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.2012, y=0.0020, w=0.0977, h=0.0459 }, 0)
	setCtrlTexture(ctrl, "gui_2", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task20")
	setCtrlRect(ctrl, { x=945, y=680, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 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=945, y=662, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 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)


end
