-- {GameFolder}\up.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(true)

	local ctrl

	ctrl = cFrameCtrl(wnd, "main")
	ctrl:SetPos(280, 153, cCtrl.e_None)
	ctrl:SetSize(464, 462, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("gui_frame")
	ctrl:SetSize(232, 121, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.4531, 0.2363, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(339, 558, cCtrl.e_None)
	ctrl:SetSize(346, 70, cCtrl.e_None)
	ctrl:SetUVPos(0.6758, 0.4141, cCtrl.e_None)
	ctrl:SetUVSize(0.3242, 0.1367, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(52, 0, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.1016, 0.0000, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cCheckBoxUpCtrl(wnd, "ch0")
	ctrl:SetPos(317, 340, cCtrl.e_None)
	ctrl:SetSize(128, 128, cCtrl.e_None)
		ctrl:SetFontPrt("text16x16")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("")
	ctrl:SetTexture("gui_main", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.3223, 0.9336, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_main", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2559, 0.9336, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbPush)

	ctrl = cCheckBoxUpCtrl(wnd, "ch2")
	ctrl:SetPos(591, 340, cCtrl.e_None)
	ctrl:SetSize(128, 128, cCtrl.e_None)
		ctrl:SetFontPrt("text16x16")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("")
	ctrl:SetTexture("gui_main", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.3223, 0.9336, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_main", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2559, 0.9336, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbPush)

	ctrl = cCheckBoxUpCtrl(wnd, "ch1")
	ctrl:SetPos(453, 340, cCtrl.e_None)
	ctrl:SetSize(128, 128, cCtrl.e_None)
		ctrl:SetFontPrt("text16x16")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("")
	ctrl:SetTexture("gui_main", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.3223, 0.9336, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_main", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2559, 0.9336, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbPush)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(322, 586, cCtrl.e_None)
	ctrl:SetSize(380, 20, cCtrl.e_None)
		ctrl:SetFontPrt("header32x32")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Choose a skill")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cTextBoxSysCtrl(wnd, "desc")
	ctrl:SetPos(306, 240, cCtrl.e_None)
	ctrl:SetSize(414, 30, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Center + cAlign.Top)
	ctrl:SetText("Watering can volume")

	ctrl = cButtonCtrl(wnd, "done")
	ctrl:SetPos(433, 170, cCtrl.e_None)
	ctrl:SetSize(168, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Upgrade")
	ctrl:SetSize(16, 16, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0020, 0.8711, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2500, 0.1289, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0313, 0.0313, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cLabelSysCtrl(wnd, "price0")
	ctrl:SetPos(346, 289, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("$100")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "price1")
	ctrl:SetPos(482, 289, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("$100")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "price2")
	ctrl:SetPos(620, 289, cCtrl.e_None)
	ctrl:SetSize(70, 20, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("$100")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "bank")
	ctrl:SetPos(491, 490, cCtrl.e_None)
	ctrl:SetSize(92, 30, cCtrl.e_None)
		ctrl:SetFontPrt("header32x32")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("1000")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(472, 525, cCtrl.e_None)
	ctrl:SetSize(90, 30, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Bank")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "imgBank")
	ctrl:SetPos(461, 489, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.2500, 0.7500, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.1250, cCtrl.e_None)
	ctrl:SetTexture("icons00")
	ctrl:EnableState(cCtrl.e_Ignorable)


end
