-- {GameFolder}\mission_finish.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, "noname")
	ctrl:SetPos(257, 184, cCtrl.e_None)
	ctrl:SetSize(510, 450, 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(200, 180, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.3900, 0.3516, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cImageCtrl(wnd, "decor0")
	ctrl:SetPos(782, 644, cCtrl.e_None)
	ctrl:SetSize(-144, -156, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.3906, cCtrl.e_None)
	ctrl:SetUVSize(0.5664, 0.6094, cCtrl.e_None)
	ctrl:SetTexture("gui_decor")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cButtonCtrl(wnd, "ok")
	ctrl:SetPos(448, 205, cCtrl.e_None)
	ctrl:SetSize(128, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("OK")
	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, "lbAward2")
	ctrl:SetPos(361, 285, cCtrl.e_None)
	ctrl:SetSize(242, 30, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Bonus 3")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "lbAward1")
	ctrl:SetPos(361, 315, cCtrl.e_None)
	ctrl:SetSize(242, 30, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Bonus 2")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "lbAward0")
	ctrl:SetPos(361, 345, cCtrl.e_None)
	ctrl:SetSize(242, 30, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Bonus 1")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(329, 573, cCtrl.e_None)
	ctrl:SetSize(366, 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 = cLabelSysCtrl(wnd, "caption")
	ctrl:SetPos(342, 594, cCtrl.e_None)
	ctrl:SetSize(340, 30, cCtrl.e_None)
		ctrl:SetFontPrt("header32x32")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Day %i is over")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "lbBonuses")
	ctrl:SetPos(462, 385, cCtrl.e_None)
	ctrl:SetSize(100, 30, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Bonuses")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "lbBank")
	ctrl:SetPos(479, 504, cCtrl.e_None)
	ctrl:SetSize(82, 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 = cImageCtrl(wnd, "imgAward0")
	ctrl:SetPos(321, 344, 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)

	ctrl = cImageCtrl(wnd, "imgAward1")
	ctrl:SetPos(321, 314, 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)

	ctrl = cImageCtrl(wnd, "imgAward2")
	ctrl:SetPos(321, 284, 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)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(477, 535, cCtrl.e_None)
	ctrl:SetSize(70, 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(441, 503, 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)

	ctrl = cImageCtrl(wnd, "imgMedal")
	ctrl:SetPos(480, 424, cCtrl.e_None)
	ctrl:SetSize(64, 64, cCtrl.e_None)
	ctrl:SetUVPos(0.6250, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.2500, cCtrl.e_None)
	ctrl:SetTexture("icons01")
	ctrl:EnableState(cCtrl.e_Ignorable)


end
