-- {GameFolder}\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=246, w=512, h=248 }, { x=60, y=124 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.1172, y=0.2422 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createImageCtrl(wnd, "image")
	setCtrlRect(ctrl, { x=290, y=374, w=64, h=64 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=1.0000 }, 0)
	setCtrlTexture(ctrl, "none", 0)
	enableCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "ok")
	setCtrlFrame(ctrl, { x=470, y=280, w=128, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "OK")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createButtonSysCtrl(wnd, "cancel")
	setCtrlFrame(ctrl, { x=600, y=280, w=128, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Cancel")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	ctrl = createTextBoxSysCtrl(wnd, "text")
	setCtrlRect(ctrl, { x=360, y=350, w=380, h=110 }, 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)


end
