-- options.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=166, w=512, h=436 }, { x=70, y=64 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, { x=0.1367, y=0.1250 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=442, y=407, w=290, h=122 }, { x=10, y=10 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4375, y=0.5234, w=0.5625, h=0.4766 }, { x=0.0391, y=0.0391 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=292, y=407, w=150, h=122 }, { x=10, y=10 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.5234, w=0.4375, h=0.4766 }, { x=0.0391, y=0.0391 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=292, y=271, w=440, h=122 }, { x=10, y=10 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.0313, w=1.0000, h=0.4766 }, { x=0.0391, y=0.0391 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=322, y=555, w=380, h=76 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.8516, w=0.6191, h=0.1484 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=441, y=574, w=143, h=45 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold36", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[Options]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createButtonSysCtrl(wnd, "btBack")
	setCtrlFrame(ctrl, { x=402, y=201, w=220, h=54 }, { x=28, y=20 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Back]")
	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 = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=309, y=477, w=87, h=33 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "[Sound]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=309, y=423, w=83, h=33 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "[Music]", 0)
	enableCtrl(ctrl, false)
	ignoreCtrl(ctrl, false)

	ctrl = createSliderSysCtrl(wnd, "slSound")
	setCtrlFrame(ctrl, { x=464, y=481, w=250, h=25 }, { x=19, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4043, y=0.4512, w=0.3789, h=0.0488 }, { x=0.0371, y=0.0000 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=41, h=39 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0020, w=0.0801, h=0.0762 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setSliderCtrlMinMax(ctrl, 0, 1)
	setSliderCtrlVertical(ctrl, false)

	ctrl = createSliderSysCtrl(wnd, "slMusic")
	setCtrlFrame(ctrl, { x=464, y=427, w=250, h=25 }, { x=19, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4043, y=0.4512, w=0.3789, h=0.0488 }, { x=0.0371, y=0.0000 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=41, h=39 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0020, w=0.0801, h=0.0762 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setSliderCtrlMinMax(ctrl, 0, 1)
	setSliderCtrlVertical(ctrl, false)

	ctrl = createCheckBoxSysCtrl(wnd, "cbWindowed")
	setCtrlRect(ctrl, { x=362, y=336, w=300, h=38 }, 0)
	setCtrlUVRect(ctrl, { x=0.2539, y=0.4258, w=0.0742, h=0.0742 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlFont(ctrl, "tmpCalibriBold25")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Fullscreen]")
	setCtrlAlign(ctrl, align.Left + align.Middle)

	ctrl = createCheckBoxSysCtrl(wnd, "cbHints")
	setCtrlRect(ctrl, { x=362, y=286, w=300, h=38 }, 0)
	setCtrlUVRect(ctrl, { x=0.2539, y=0.4258, w=0.0742, h=0.0742 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlFont(ctrl, "tmpCalibriBold25")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[ShowHints]")
	setCtrlAlign(ctrl, align.Left + align.Middle)


end
