-- 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=18, y=425, w=18, h=196 }, 0)
	setCtrlUVRect(ctrl, { x=0.1250, y=0.0020, w=0.0352, h=0.3828 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=719, y=750, w=400, h=17 }, { x=33, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4629, y=0.8789, w=0.1387, h=0.0332 }, { x=0.0645, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=9, y=703, w=63, h=63 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.8750, w=0.1230, h=0.1230 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=15, y=710, w=50, h=48 }, 0)
	setCtrlUVRect(ctrl, { x=0.9023, y=0.7051, w=0.0977, h=0.0938 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=0, y=687, w=81, h=38 }, 0)
	setCtrlUVRect(ctrl, { x=0.8340, y=0.8008, w=0.1582, h=0.0742 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "food")
	setCtrlRect(ctrl, { x=16, y=693, 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, "noname")
	setCtrlRect(ctrl, { x=90, y=703, w=63, h=63 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.8750, w=0.1230, h=0.1230 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=96, y=716, w=51, h=44 }, 0)
	setCtrlUVRect(ctrl, { x=0.9004, y=0.6191, w=0.0996, h=0.0859 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=81, y=687, w=81, h=38 }, 0)
	setCtrlUVRect(ctrl, { x=0.8340, y=0.8008, w=0.1582, h=0.0742 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "wood")
	setCtrlRect(ctrl, { x=97, y=693, 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, "noname")
	setCtrlRect(ctrl, { x=171, y=703, w=63, h=63 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.8750, w=0.1230, h=0.1230 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=180, y=713, w=47, h=44 }, 0)
	setCtrlUVRect(ctrl, { x=0.9082, y=0.5332, w=0.0918, h=0.0859 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=162, y=687, w=81, h=38 }, 0)
	setCtrlUVRect(ctrl, { x=0.8340, y=0.8008, w=0.1582, h=0.0742 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "money")
	setCtrlRect(ctrl, { x=178, y=693, 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, "noname")
	setCtrlRect(ctrl, { x=252, y=703, w=63, h=63 }, 0)
	setCtrlUVRect(ctrl, { x=0.8359, y=0.8750, w=0.1230, h=0.1230 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=261, y=711, w=44, h=50 }, 0)
	setCtrlUVRect(ctrl, { x=0.8223, y=0.5059, w=0.0859, h=0.0977 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=243, y=687, w=81, h=38 }, 0)
	setCtrlUVRect(ctrl, { x=0.8340, y=0.8008, w=0.1582, h=0.0742 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "mana")
	setCtrlRect(ctrl, { x=259, y=693, 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, "frame_task0")
	setCtrlRect(ctrl, { x=749, y=649, w=91, h=117 }, 0)
	setCtrlUVRect(ctrl, { x=0.4219, y=0.6504, w=0.1777, h=0.2285 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "frame_task1")
	setCtrlRect(ctrl, { x=840, y=649, w=91, h=117 }, 0)
	setCtrlUVRect(ctrl, { x=0.4219, y=0.6504, w=0.1777, h=0.2285 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "frame_task2")
	setCtrlRect(ctrl, { x=931, y=649, w=91, h=117 }, 0)
	setCtrlUVRect(ctrl, { x=0.4219, y=0.6504, w=0.1777, h=0.2285 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_task0")
	setCtrlRect(ctrl, { x=762, y=689, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.2617, y=0.6465, w=0.1563, h=0.2109 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task00")
	setCtrlRect(ctrl, { x=772, y=674, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 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=772, y=661, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 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=853, y=689, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.2617, y=0.6465, w=0.1563, h=0.2109 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task10")
	setCtrlRect(ctrl, { x=863, y=674, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 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=863, y=661, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 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=944, y=689, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.2617, y=0.6465, w=0.1563, h=0.2109 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_task20")
	setCtrlRect(ctrl, { x=954, y=674, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 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=954, y=661, w=44, h=26 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular18", 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=130, h=60 }, { x=45, y=17 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "菜单")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.9004, w=0.1777, h=0.0996 }, { x=0.0879, y=0.0332 }, 0)

	ctrl = createProgressBarSysCtrl(wnd, "time")
	setCtrlRect(ctrl, { x=18, y=424, w=18, h=196 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVRect(ctrl, { x=0.1680, y=0.0020, w=0.0352, h=0.3828 }, 0)
	ignoreCtrl(ctrl, false)
	setProgressBarSysCtrlVertical(ctrl, true)

	ctrl = createImageCtrl(wnd, "spin")
	setCtrlRect(ctrl, { x=15, y=485, w=20, h=8 }, 0)
	setCtrlUVRect(ctrl, { x=0.1289, y=0.6738, w=0.0391, h=0.0156 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=-1, y=417, w=60, h=268 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=0.1172, h=0.5234 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createProgressBarSysCtrl(wnd, "daynight")
	setCtrlRect(ctrl, { x=4, y=632, w=47, h=48 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVRect(ctrl, { x=0.2676, y=0.5508, w=0.0918, h=0.0938 }, 0)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "no_night")
	setCtrlRect(ctrl, { x=4, y=632, w=47, h=48 }, 0)
	setCtrlUVRect(ctrl, { x=0.2676, y=0.4531, w=0.0918, h=0.0938 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "day")
	setCtrlRect(ctrl, { x=9, y=637, w=37, h=37 }, 0)
	setCtrlUVRect(ctrl, { x=0.2227, y=0.2813, w=0.0723, h=0.0723 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "night")
	setCtrlRect(ctrl, { x=9, y=637, w=37, h=37 }, 0)
	setCtrlUVRect(ctrl, { x=0.2227, y=0.2051, w=0.0723, h=0.0723 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)


end
