-- {GameFolder}\options_win.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=242, y=197, w=540, h=374 }, { 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 = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=367, y=534, w=291, h=56 }, { x=23, y=8 }, 0)
	setCtrlUVFrame(ctrl, { x=0.5254, y=0.3477, w=0.4727, h=0.1094 }, { x=0.0449, y=0.0156 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=286, y=300, w=453, h=101 }, { x=45, y=19 }, 0)
	setCtrlUVFrame(ctrl, { x=0.2305, y=0.0000, w=0.7695, h=0.1973 }, { x=0.0898, y=0.0371 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=286, y=410, w=453, h=101 }, { x=45, y=19 }, 0)
	setCtrlUVFrame(ctrl, { x=0.2305, y=0.0000, w=0.7695, h=0.1973 }, { x=0.0898, y=0.0371 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createCheckBoxSysCtrl(wnd, "cbWindowed")
	setCtrlRect(ctrl, { x=322, y=354, w=270, h=29 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.6445, w=0.0547, h=0.0566 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36g")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Fullscreen]")
	setCtrlAlign(ctrl, align.Left + align.Middle)

	ctrl = createSliderSysCtrl(wnd, "slSound")
	setCtrlFrame(ctrl, { x=475, y=468, w=236, h=21 }, { x=54, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.1797, y=0.9590, w=0.4219, h=0.0410 }, { x=0.1055, y=0.0000 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=31, h=30 }, 0)
	setCtrlUVRect(ctrl, { x=0.1797, y=0.8574, w=0.0605, h=0.0586 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	setSliderCtrlMinMax(ctrl, 0.0000, 1.0000)
	setSliderCtrlVertical(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=320, y=464, w=80, h=30 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36g", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "[Sound]", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=320, y=425, w=110, h=30 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36g", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "[Music]", 0)
	enableCtrl(ctrl, false)

	ctrl = createSliderSysCtrl(wnd, "slMusic")
	setCtrlFrame(ctrl, { x=475, y=428, w=236, h=21 }, { x=54, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.1797, y=0.9590, w=0.4219, h=0.0410 }, { x=0.1055, y=0.0000 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=31, h=30 }, 0)
	setCtrlUVRect(ctrl, { x=0.1797, y=0.8574, w=0.0605, h=0.0586 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	setSliderCtrlMinMax(ctrl, 0.0000, 1.0000)
	setSliderCtrlVertical(ctrl, false)

	ctrl = createCheckBoxSysCtrl(wnd, "cbHints")
	setCtrlRect(ctrl, { x=322, y=314, w=320, h=29 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.6445, w=0.0547, h=0.0566 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36g")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[ShowHints]")
	setCtrlAlign(ctrl, align.Left + align.Middle)

	ctrl = createButtonSysCtrl(wnd, "btBack")
	setCtrlFrame(ctrl, { x=352, y=230, w=320, h=66 }, { x=25, y=21 }, 0)
	setCtrlFont(ctrl, "MonotypeCorsivaRegular36b")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Back]")
	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 = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=306, y=554, w=413, h=77 }, { x=100, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.3281, y=0.1973, w=0.6699, h=0.1504 }, { x=0.1953, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=463, y=570, w=98, h=108 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=0.1934, h=0.2109 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=432, y=537, w=160, h=50 }, 0)
	setCtrlFont(ctrl, "GabriolaRegular44", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "[Options]", 0)
	enableCtrl(ctrl, false)


end
