-- messagebox.lua
-- this is automatic generated file! do not modify it!
-- script for nls16 window loader. version 1.60.
-- copyright (c) 2005-2010 rionix. all rights reserved.

function FillWindow(wnd)

	setWndActive(wnd, true)
	setWndModal(wnd, true)

	local ctrl

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=256, y=234, w=512, h=300 }, { x=70, y=150 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.1367, y=0.2930 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "ok")
	setCtrlFrame(ctrl, { x=418, y=259, w=160, h=54 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "OK")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.3945, w=0.2520, h=0.1055 }, { x=0.0547, y=0.0391 }, 0)

	ctrl = createButtonSysCtrl(wnd, "cancel")
	setCtrlFrame(ctrl, { x=583, y=259, w=160, h=54 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Cancel")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.3945, w=0.2520, h=0.1055 }, { x=0.0547, y=0.0391 }, 0)

	ctrl = createTextBoxSysCtrl(wnd, "text")
	setCtrlRect(ctrl, { x=365, y=328, w=372, h=174 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "No Windowed Mode - Windowed mode is only available if your desktop resolution is greater than 1152 by 864 pixels.")
	setCtrlAlign(ctrl, align.Left + align.Middle)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image")
	setCtrlRect(ctrl, { x=294, y=419, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=1.0000 }, 0)
	setCtrlTexture(ctrl, "icon_info", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)


end
