-- {GameFolder}\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=9, y=414, w=18, h=204 }, 0)
	setCtrlUVRect(ctrl, { x=0.5527, y=0.2988, w=0.0352, h=0.3984 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "menu")
	setCtrlFrame(ctrl, { x=10, y=10, w=130, h=60 }, { x=45, y=17 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Menu]")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.9004, w=0.1777, h=0.0996 }, { x=0.0889, y=0.0352 }, 0)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=10, y=700, w=61, h=61 }, 0)
	setCtrlUVRect(ctrl, { x=0.8379, y=0.8770, w=0.1191, h=0.1191 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_food")
	setCtrlRect(ctrl, { x=16, y=712, w=52, h=42 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.7129, w=0.1016, h=0.0840 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=1, y=680, w=79, h=36 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.8027, w=0.1543, h=0.0703 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "food")
	setCtrlRect(ctrl, { x=18, y=690, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular26", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "1000", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=90, y=700, w=61, h=61 }, 0)
	setCtrlUVRect(ctrl, { x=0.8379, y=0.8770, w=0.1191, h=0.1191 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_wood")
	setCtrlRect(ctrl, { x=98, y=714, w=45, h=40 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.6309, w=0.0879, h=0.0801 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=81, y=680, w=79, h=36 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.8027, w=0.1543, h=0.0703 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "wood")
	setCtrlRect(ctrl, { x=98, y=690, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular26", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "1000", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=170, y=700, w=61, h=61 }, 0)
	setCtrlUVRect(ctrl, { x=0.8379, y=0.8770, w=0.1191, h=0.1191 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_money")
	setCtrlRect(ctrl, { x=181, y=716, w=40, h=37 }, 0)
	setCtrlUVRect(ctrl, { x=0.3066, y=0.8457, w=0.0781, h=0.0723 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=161, y=680, w=79, h=36 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.8027, w=0.1543, h=0.0703 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "money")
	setCtrlRect(ctrl, { x=179, y=690, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular26", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "1000", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=250, y=700, w=61, h=61 }, 0)
	setCtrlUVRect(ctrl, { x=0.8379, y=0.8770, w=0.1191, h=0.1191 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_mana")
	setCtrlRect(ctrl, { x=260, y=711, w=37, h=47 }, 0)
	setCtrlUVRect(ctrl, { x=0.9258, y=0.6270, w=0.0723, h=0.0918 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=241, y=680, w=79, h=36 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.8027, w=0.1543, h=0.0703 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "mana")
	setCtrlRect(ctrl, { x=258, y=690, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular26", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "1000", 0)
	enableCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=720, y=750, w=329, h=15 }, { x=31, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4668, y=0.8809, w=0.1348, h=0.0293 }, { x=0.0605, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createImageCtrl(wnd, "frame_task0")
	setCtrlRect(ctrl, { x=750, y=650, w=88, h=113 }, 0)
	setCtrlUVRect(ctrl, { x=0.4258, y=0.6523, w=0.1719, h=0.2227 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "frame_task1")
	setCtrlRect(ctrl, { x=840, y=650, w=88, h=113 }, 0)
	setCtrlUVRect(ctrl, { x=0.4258, y=0.6523, w=0.1719, h=0.2227 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "frame_task2")
	setCtrlRect(ctrl, { x=930, y=650, w=88, h=113 }, 0)
	setCtrlUVRect(ctrl, { x=0.4258, y=0.6523, w=0.1719, h=0.2227 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_task0")
	setCtrlRect(ctrl, { x=762, y=690, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.5000, y=0.7500, w=0.1250, h=0.1250 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_task1")
	setCtrlRect(ctrl, { x=852, y=690, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.8750, y=0.8750, w=0.1250, h=0.1250 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_task2")
	setCtrlRect(ctrl, { x=942, y=690, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.5000, y=0.8750, w=0.1250, h=0.1250 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "label_task01")
	setCtrlRect(ctrl, { x=774, y=665, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "еще 8", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "label_task00")
	setCtrlRect(ctrl, { x=774, y=681, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "x10", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "label_task11")
	setCtrlRect(ctrl, { x=864, y=665, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "еще 8", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "label_task10")
	setCtrlRect(ctrl, { x=864, y=681, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "x10", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "label_task21")
	setCtrlRect(ctrl, { x=954, y=665, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "еще 8", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "label_task20")
	setCtrlRect(ctrl, { x=954, y=681, w=40, h=20 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "x10", 0)
	enableCtrl(ctrl, false)

	ctrl = createProgressVertCtrl(wnd, "time")
	setCtrlRect(ctrl, { x=10, y=415, w=15, h=195 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	setCtrlUVRect(ctrl, { x=0.8438, y=0.0957, w=0.0293, h=0.3809 }, 0)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=2, y=408, w=48, h=261 }, 0)
	setCtrlUVRect(ctrl, { x=0.8984, y=0.0859, w=0.0938, h=0.5098 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "time_line")
	setCtrlRect(ctrl, { x=9, y=476, w=19, h=5 }, 0)
	setCtrlUVRect(ctrl, { x=0.8438, y=0.4922, w=0.0371, h=0.0098 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)


end
