-- {GameFolder}\messagebox.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, 264, cCtrl.e_None)
	ctrl:SetSize(510, 240, 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(255, 120, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.4980, 0.2344, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cImageCtrl(wnd, "image")
	ctrl:SetPos(290, 414, cCtrl.e_None)
	ctrl:SetSize(64, 64, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("none")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cButtonCtrl(wnd, "ok")
	ctrl:SetPos(480, 280, 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 = cButtonCtrl(wnd, "cancel")
	ctrl:SetPos(610, 280, cCtrl.e_None)
	ctrl:SetSize(128, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Cancel")
	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 = cTextBoxSysCtrl(wnd, "text")
	ctrl:SetPos(370, 350, cCtrl.e_None)
	ctrl:SetSize(380, 110, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.502, 0.000, 0.000)
	ctrl:SetAlign(cAlign.Left + cAlign.Top)
	ctrl:SetText("No Windowed Mode - Windowed mode is only available if your desktop resolution is greater than 1152 by 864 pixels.")


end
