-- {GameFolder}\garden.lua
-- this is automatic generated file! do not modify it!
-- script for nls15 window loader. version 1.50.
-- copyright (c) 2005-2007 rionix. all rights reserved.

function FillWindow(wnd)

	wnd:SetActive(true)
	wnd:SetModal(false)

	local ctrl

	ctrl = cImageCtrl(wnd, "right_plants")
	ctrl:SetPos(642, 0, cCtrl.e_None)
	ctrl:SetSize(29, 100, cCtrl.e_None)
	ctrl:SetUVPos(0.0566, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(-0.0566, 0.1953, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cButtonCtrl(wnd, "but_0")
	ctrl:SetPos(-11, 251, cCtrl.e_None)
	ctrl:SetSize(170, 70, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("")
	ctrl:SetSize(0, 0, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main2", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0000, 0.8633, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.6641, 0.1367, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0000, 0.0000, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cImageCtrl(wnd, "center_plants")
	ctrl:SetPos(371, 0, cCtrl.e_None)
	ctrl:SetSize(64, 100, cCtrl.e_None)
	ctrl:SetUVPos(0.0566, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1953, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cToolbarCtrl(wnd, "plants")
	ctrl:SetPos(375, 27, cCtrl.e_None)
	ctrl:SetSize(265, 64, cCtrl.e_None)
	ctrl:SetSize(64, 64, cCtrl.e_lstItems)


	ctrl = cImageCtrl(wnd, "img0_0")
	ctrl:SetPos(14, 264, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.3711, 0.4961, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1250, cCtrl.e_None)
	ctrl:SetTexture("icons00")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "img1_0")
	ctrl:SetPos(104, 264, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.1250, 0.3750, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1250, cCtrl.e_None)
	ctrl:SetTexture("icons00")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrlEx(wnd, "arrow_0")
	ctrl:SetPos(70, 264, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.8750, 0.5000, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.2500, cCtrl.e_None)
	ctrl:SetTexture("icons01")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "left_plants")
	ctrl:SetPos(342, 0, cCtrl.e_None)
	ctrl:SetSize(29, 100, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(0.0566, 0.1953, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "right_animals")
	ctrl:SetPos(982, 0, cCtrl.e_None)
	ctrl:SetSize(29, 100, cCtrl.e_None)
	ctrl:SetUVPos(0.0566, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(-0.0566, 0.1953, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "center_animals")
	ctrl:SetPos(731, 0, cCtrl.e_None)
	ctrl:SetSize(64, 100, cCtrl.e_None)
	ctrl:SetUVPos(0.0566, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1953, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "left_animals")
	ctrl:SetPos(702, 0, cCtrl.e_None)
	ctrl:SetSize(29, 100, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(0.0566, 0.1953, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cToolbarCtrl(wnd, "animals")
	ctrl:SetPos(735, 27, cCtrl.e_None)
	ctrl:SetSize(265, 64, cCtrl.e_None)
	ctrl:SetSize(64, 64, cCtrl.e_lstItems)


	ctrl = cImageCtrl(wnd, "right_grass")
	ctrl:SetPos(282, 0, cCtrl.e_None)
	ctrl:SetSize(29, 100, cCtrl.e_None)
	ctrl:SetUVPos(0.0566, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(-0.0566, 0.1953, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "center_grass")
	ctrl:SetPos(161, 0, cCtrl.e_None)
	ctrl:SetSize(64, 100, cCtrl.e_None)
	ctrl:SetUVPos(0.0566, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1953, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "left_grass")
	ctrl:SetPos(132, 0, cCtrl.e_None)
	ctrl:SetSize(29, 100, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(0.0566, 0.1953, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cToolbarCtrl(wnd, "grass")
	ctrl:SetPos(161, 27, cCtrl.e_None)
	ctrl:SetSize(131, 64, cCtrl.e_None)
	ctrl:SetSize(64, 64, cCtrl.e_lstItems)
	ctrl = cLabelSysCtrl(wnd, "lb0_0")
	ctrl:SetPos(46, 270, cCtrl.e_None)
	ctrl:SetSize(20, 20, cCtrl.e_None)
		ctrl:SetFontPrt("numbers16")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("x1")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cButtonCtrl(wnd, "but_1")
	ctrl:SetPos(-11, 181, cCtrl.e_None)
	ctrl:SetSize(170, 70, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("")
	ctrl:SetSize(0, 0, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main2", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0000, 0.8633, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.6641, 0.1367, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0000, 0.0000, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cImageCtrl(wnd, "img0_1")
	ctrl:SetPos(14, 194, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.3711, 0.4961, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1250, cCtrl.e_None)
	ctrl:SetTexture("icons00")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "img1_1")
	ctrl:SetPos(104, 194, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.1250, 0.3750, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1250, cCtrl.e_None)
	ctrl:SetTexture("icons00")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrlEx(wnd, "arrow_1")
	ctrl:SetPos(70, 194, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.8750, 0.5000, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.2500, cCtrl.e_None)
	ctrl:SetTexture("icons01")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "lb0_1")
	ctrl:SetPos(46, 200, cCtrl.e_None)
	ctrl:SetSize(20, 20, cCtrl.e_None)
		ctrl:SetFontPrt("numbers16")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("x1")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cButtonCtrl(wnd, "but_2")
	ctrl:SetPos(-11, 111, cCtrl.e_None)
	ctrl:SetSize(170, 70, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("")
	ctrl:SetSize(0, 0, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main2", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0000, 0.8633, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.6641, 0.1367, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0000, 0.0000, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cImageCtrl(wnd, "img0_2")
	ctrl:SetPos(14, 124, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.3711, 0.4961, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1250, cCtrl.e_None)
	ctrl:SetTexture("icons00")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "img1_2")
	ctrl:SetPos(104, 124, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.1250, 0.3750, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1250, cCtrl.e_None)
	ctrl:SetTexture("icons00")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrlEx(wnd, "arrow_2")
	ctrl:SetPos(70, 124, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.8750, 0.5000, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.2500, cCtrl.e_None)
	ctrl:SetTexture("icons01")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "lb0_2")
	ctrl:SetPos(46, 130, cCtrl.e_None)
	ctrl:SetSize(20, 20, cCtrl.e_None)
		ctrl:SetFontPrt("numbers16")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("x1")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cFrameCtrl(wnd, "back_progress_0")
	ctrl:SetPos(70, 275, cCtrl.e_None)
	ctrl:SetSize(32, 11, cCtrl.e_None)
	ctrl:SetUVPos(0.7969, 0.7773, cCtrl.e_None)
	ctrl:SetUVSize(0.2012, 0.0410, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(0, 0, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0000, 0.0000, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cProgressBarSysCtrl(wnd, "progress_0")
	ctrl:SetPos(70, 276, cCtrl.e_None)
	ctrl:SetSize(32, 8, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetUVPos(0.7988, 0.7363, cCtrl.e_None)
	ctrl:SetUVSize(0.1953, 0.0371, cCtrl.e_None)

	ctrl = cFrameCtrl(wnd, "back_progress_1")
	ctrl:SetPos(70, 205, cCtrl.e_None)
	ctrl:SetSize(32, 11, cCtrl.e_None)
	ctrl:SetUVPos(0.7969, 0.7773, cCtrl.e_None)
	ctrl:SetUVSize(0.2012, 0.0410, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(0, 0, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0000, 0.0000, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cProgressBarSysCtrl(wnd, "progress_1")
	ctrl:SetPos(70, 206, cCtrl.e_None)
	ctrl:SetSize(32, 8, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetUVPos(0.7988, 0.7363, cCtrl.e_None)
	ctrl:SetUVSize(0.1953, 0.0371, cCtrl.e_None)

	ctrl = cFrameCtrl(wnd, "back_progress_2")
	ctrl:SetPos(70, 135, cCtrl.e_None)
	ctrl:SetSize(32, 11, cCtrl.e_None)
	ctrl:SetUVPos(0.7969, 0.7773, cCtrl.e_None)
	ctrl:SetUVSize(0.2012, 0.0410, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(0, 0, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0000, 0.0000, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cProgressBarSysCtrl(wnd, "progress_2")
	ctrl:SetPos(70, 136, cCtrl.e_None)
	ctrl:SetSize(32, 8, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetUVPos(0.7988, 0.7363, cCtrl.e_None)
	ctrl:SetUVSize(0.1953, 0.0371, cCtrl.e_None)


end
