-- {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=24, y=4 }, 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.7891, w=0.2520, h=0.2109 }, { x=0.0469, y=0.0195 }, 0)

	ctrl = createButtonSysCtrl(wnd, "cancel")
	setCtrlFrame(ctrl, { x=600, y=280, w=128, h=54 }, { x=24, y=4 }, 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.7891, w=0.2520, h=0.2109 }, { x=0.0469, y=0.0195 }, 0)

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