-- {GameFolder}\mission_start.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, "frame")
	ctrl:SetPos(256, 120, cCtrl.e_None)
	ctrl:SetSize(512, 542, 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(256, 154, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.5000, 0.3027, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cButtonCtrl(wnd, "ok")
	ctrl:SetPos(433, 150, cCtrl.e_None)
	ctrl:SetSize(158, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Start")
	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, "text0")
	ctrl:SetPos(350, 450, cCtrl.e_None)
	ctrl:SetSize(250, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Orange soda")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "icon0")
	ctrl:SetPos(310, 450, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(452, 485, cCtrl.e_None)
	ctrl:SetSize(120, 30, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Sell")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "text1")
	ctrl:SetPos(350, 410, cCtrl.e_None)
	ctrl:SetSize(250, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Text")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "icon1")
	ctrl:SetPos(310, 410, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "text2")
	ctrl:SetPos(350, 370, cCtrl.e_None)
	ctrl:SetSize(250, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Text")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "icon2")
	ctrl:SetPos(310, 370, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "text3")
	ctrl:SetPos(350, 330, cCtrl.e_None)
	ctrl:SetSize(250, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Text")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "icon3")
	ctrl:SetPos(310, 330, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "build")
	ctrl:SetPos(442, 285, cCtrl.e_None)
	ctrl:SetSize(120, 30, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Построить")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "icon")
	ctrl:SetPos(310, 250, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "number0")
	ctrl:SetPos(670, 450, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Right + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "number1")
	ctrl:SetPos(670, 410, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Right + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "number2")
	ctrl:SetPos(670, 370, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Right + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "number3")
	ctrl:SetPos(670, 330, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Right + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "number")
	ctrl:SetPos(660, 250, cCtrl.e_None)
	ctrl:SetSize(60, 32, cCtrl.e_None)
		ctrl:SetFontPrt("header24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Right + cAlign.Middle)
	ctrl:SetText("$100")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(467, 555, 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("Time")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "time")
	ctrl:SetPos(482, 525, cCtrl.e_None)
	ctrl:SetSize(60, 30, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("5:57")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "decor0")
	ctrl:SetPos(782, 673, 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 = cFrameCtrl(wnd, "caption")
	ctrl:SetPos(389, 598, cCtrl.e_None)
	ctrl:SetSize(246, 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, "tasks")
	ctrl:SetPos(447, 623, cCtrl.e_None)
	ctrl:SetSize(130, 20, cCtrl.e_None)
		ctrl:SetFontPrt("header32x32")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Day %i")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cTextBoxSysCtrl(wnd, "text")
	ctrl:SetPos(350, 210, cCtrl.e_None)
	ctrl:SetSize(290, 70, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Top)
	ctrl:SetText("Possible some multiline text")


end
