-- {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=277, y=227, w=471, h=314 }, { x=84, y=64 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.3848, w=0.9199, h=0.6152 }, { x=0.1641, y=0.1270 }, 0)
	setCtrlTexture(ctrl, "gui_main1")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createImageCtrl(wnd, "image")
	setCtrlRect(ctrl, { x=310, y=414, 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=410, y=260, w=140, h=66 }, { x=25, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "OK")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.6016, y=0.8691, w=0.2324, h=0.1309 }, { x=0.0508, y=0.0410 }, 0)

	ctrl = createButtonSysCtrl(wnd, "cancel")
	setCtrlFrame(ctrl, { x=560, y=260, w=140, h=66 }, { x=25, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "Cancel")
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlUVFrame(ctrl, { x=0.6016, y=0.8691, w=0.2324, h=0.1309 }, { x=0.0508, y=0.0410 }, 0)

	ctrl = createTextBoxSysCtrl(wnd, "text")
	setCtrlRect(ctrl, { x=380, y=340, w=330, h=170 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22")
	setCtrlColor(ctrl, 0.502, 0.000, 0.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
