-- {GameFolder}\edit.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, "noname")
	ctrl:SetPos(512, 0, cCtrl.e_None)
	ctrl:SetSize(512, 103, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0020, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 0.2012, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cToolbarCtrl(wnd, "toolbar")
	ctrl:SetPos(544, 27, cCtrl.e_None)
	ctrl:SetSize(470, 56, cCtrl.e_None)
	ctrl:SetSize(56, 56, cCtrl.e_lstItems)
	ctrl:SetTexture("icon_builds")

	ctrl = cTabButtonCtrl(wnd, "special")
	ctrl:SetPos(902, 80, cCtrl.e_None)
	ctrl:SetSize(136, 64, cCtrl.e_None)
		ctrl:SetFontPrt("text16x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("")
	ctrl:SetSize(54, 0, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.3926, 0.8750, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2676, 0.1250, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.1055, 0.0000, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cTabButtonCtrl(wnd, "factory")
	ctrl:SetPos(786, 80, cCtrl.e_None)
	ctrl:SetSize(136, 64, cCtrl.e_None)
		ctrl:SetFontPrt("text16x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("")
	ctrl:SetSize(54, 0, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.3926, 0.8750, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2676, 0.1250, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.1055, 0.0000, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cTabButtonCtrl(wnd, "house")
	ctrl:SetPos(670, 80, cCtrl.e_None)
	ctrl:SetSize(136, 64, cCtrl.e_None)
		ctrl:SetFontPrt("text16x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("")
	ctrl:SetSize(54, 0, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.3926, 0.8750, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2676, 0.1250, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.1055, 0.0000, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cTabButtonCtrl(wnd, "market")
	ctrl:SetPos(554, 80, cCtrl.e_None)
	ctrl:SetSize(136, 64, cCtrl.e_None)
		ctrl:SetFontPrt("text16x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("")
	ctrl:SetSize(54, 0, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.3926, 0.8750, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2676, 0.1250, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.1055, 0.0000, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(578, 107, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetFontPrt("text16x24")
	ctrl:SetColor(0.600, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Торговля")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(692, 107, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetFontPrt("text16x24")
	ctrl:SetColor(0.600, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Жилье")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(810, 107, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetFontPrt("text16x24")
	ctrl:SetColor(0.600, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Фабрики")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(927, 107, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetFontPrt("text16x24")
	ctrl:SetColor(0.600, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Разное")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(544, 2, cCtrl.e_None)
	ctrl:SetSize(470, 21, 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(6, 6, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0117, 0.0117, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cLabelSysCtrl(wnd, "info")
	ctrl:SetPos(544, 3, cCtrl.e_None)
	ctrl:SetSize(470, 21, cCtrl.e_None)
		ctrl:SetFontPrt("text16x16")
	ctrl:SetColor(0.600, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("инфо")
	ctrl:EnableState(cCtrl.e_Ignorable)


end
