-- 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=-47, y=668, w=488, h=115 }, 0)
	setCtrlUVRect(ctrl, { x=0.0020, y=0.5332, w=0.4766, h=0.1123 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createButtonSysCtrl(wnd, "menu")
	setCtrlFrame(ctrl, { x=1, y=681, w=82, h=82 }, { x=0, y=0 }, 0)
	setCtrlFont(ctrl, "CambriaBold30B")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "")
	setCtrlTexture(ctrl, "gui00", 0)
	setCtrlUVFrame(ctrl, { x=0.7441, y=0.9189, w=0.0801, h=0.0801 }, { x=0.0000, y=0.0000 }, 0)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=1010, y=671, w=454, h=153 }, 0)
	setCtrlUVRect(ctrl, { x=0.4805, y=0.5176, w=0.4434, h=0.1494 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createImageCtrl(wnd, "task0_more")
	setCtrlRect(ctrl, { x=1035, y=741, w=20, h=21 }, 0)
	setCtrlUVRect(ctrl, { x=0.8330, y=0.7373, w=0.0195, h=0.0205 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createImageCtrl(wnd, "task0_done")
	setCtrlRect(ctrl, { x=1036, y=741, w=21, h=22 }, 0)
	setCtrlUVRect(ctrl, { x=0.8535, y=0.7373, w=0.0205, h=0.0215 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createImageCtrl(wnd, "task1_more")
	setCtrlRect(ctrl, { x=1035, y=720, w=20, h=21 }, 0)
	setCtrlUVRect(ctrl, { x=0.8330, y=0.7373, w=0.0195, h=0.0205 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createImageCtrl(wnd, "task2_more")
	setCtrlRect(ctrl, { x=1035, y=699, w=20, h=21 }, 0)
	setCtrlUVRect(ctrl, { x=0.8330, y=0.7373, w=0.0195, h=0.0205 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createImageCtrl(wnd, "task1_done")
	setCtrlRect(ctrl, { x=1036, y=720, w=21, h=22 }, 0)
	setCtrlUVRect(ctrl, { x=0.8535, y=0.7373, w=0.0205, h=0.0215 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createImageCtrl(wnd, "task2_done")
	setCtrlRect(ctrl, { x=1036, y=699, w=21, h=22 }, 0)
	setCtrlUVRect(ctrl, { x=0.8535, y=0.7373, w=0.0205, h=0.0215 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createLabelCtrl(wnd, "task0_label")
	setCtrlRect(ctrl, { x=1059, y=738, w=320, h=25 }, 0)
	setCtrlFont(ctrl, "CalibriBold20W", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "Rebuild 2 gasoline stations", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createLabelCtrl(wnd, "task1_label")
	setCtrlRect(ctrl, { x=1059, y=717, w=320, h=25 }, 0)
	setCtrlFont(ctrl, "CalibriBold20G", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "Rebuild 2 gasoline stations", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createLabelCtrl(wnd, "task2_label")
	setCtrlRect(ctrl, { x=1059, y=696, w=320, h=25 }, 0)
	setCtrlFont(ctrl, "CalibriBold20W", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "Rebuild 2 gasoline stations", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)
	anchorCtrl(ctrl, align.Right + align.Top)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=24, y=704, w=36, h=37 }, 0)
	setCtrlUVRect(ctrl, { x=0.6201, y=0.7031, w=0.0352, h=0.2891 }, 0)
	setCtrlTexture(ctrl, "gui01", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createImageCtrl(wnd, "time_back")
	setCtrlRect(ctrl, { x=87, y=707, w=359, h=28 }, 0)
	setCtrlUVRect(ctrl, { x=0.0020, y=0.6504, w=0.3506, h=0.0273 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createProgressBarSysCtrl(wnd, "time")
	setCtrlRect(ctrl, { x=89, y=715, w=352, h=12 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	setCtrlUVRect(ctrl, { x=0.3662, y=0.6719, w=0.3438, h=0.0117 }, 0)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createImageCtrl(wnd, "time_spin")
	setCtrlRect(ctrl, { x=200, y=708, w=10, h=26 }, 0)
	setCtrlUVRect(ctrl, { x=0.3545, y=0.6514, w=0.0098, h=0.0254 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createLabelCtrl(wnd, "food")
	setCtrlRect(ctrl, { x=123, y=739, w=49, h=20 }, 0)
	setCtrlFont(ctrl, "CalibriRegular22N", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "0000", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createLabelCtrl(wnd, "wood")
	setCtrlRect(ctrl, { x=211, y=739, w=49, h=20 }, 0)
	setCtrlFont(ctrl, "CalibriRegular22N", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "0000", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createLabelCtrl(wnd, "money")
	setCtrlRect(ctrl, { x=303, y=739, w=49, h=20 }, 0)
	setCtrlFont(ctrl, "CalibriRegular22N", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "0000", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createLabelCtrl(wnd, "gas")
	setCtrlRect(ctrl, { x=383, y=739, w=49, h=20 }, 0)
	setCtrlFont(ctrl, "CalibriRegular22N", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "0000", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createImageCtrl(wnd, "icon_food")
	setCtrlRect(ctrl, { x=87, y=732, w=37, h=36 }, 0)
	setCtrlUVRect(ctrl, { x=0.9590, y=0.6221, w=0.0361, h=0.0352 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createImageCtrl(wnd, "icon_wood")
	setCtrlRect(ctrl, { x=173, y=733, w=41, h=35 }, 0)
	setCtrlUVRect(ctrl, { x=0.9590, y=0.5869, w=0.0400, h=0.0342 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createImageCtrl(wnd, "icon_money")
	setCtrlRect(ctrl, { x=262, y=733, w=44, h=35 }, 0)
	setCtrlUVRect(ctrl, { x=0.9551, y=0.5508, w=0.0430, h=0.0342 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)

	ctrl = createImageCtrl(wnd, "icon_gas")
	setCtrlRect(ctrl, { x=358, y=733, w=23, h=35 }, 0)
	setCtrlUVRect(ctrl, { x=0.9336, y=0.6221, w=0.0225, h=0.0342 }, 0)
	setCtrlTexture(ctrl, "gui00", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)
	anchorCtrl(ctrl, align.Left + align.Top)


end
