-- {GameFolder}\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 = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=256, y=166, w=512, h=436 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.0000, w=1.0000, h=0.8516 }, 0)
	setCtrlTexture(ctrl, "gui_frame00", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=300, y=280, w=429, h=124 }, 0)
	setCtrlUVRect(ctrl, { x=0.0059, y=0.0156, w=0.8379, h=0.4844 }, 0)
	setCtrlTexture(ctrl, "gui_frame01", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=300, y=410, w=429, h=124 }, 0)
	setCtrlUVRect(ctrl, { x=0.0059, y=0.5078, w=0.8379, h=0.4844 }, 0)
	setCtrlTexture(ctrl, "gui_frame01", 0)
	enableCtrl(ctrl, false)

	ctrl = createCheckBoxSysCtrl(wnd, "cbWindowed")
	setCtrlRect(ctrl, { x=352, y=344, w=270, h=38 }, 0)
	setCtrlUVRect(ctrl, { x=0.2539, y=0.8516, w=0.0742, h=0.1484 }, 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 = createSliderSysCtrl(wnd, "slSound")
	setCtrlFrame(ctrl, { x=515, y=478, w=193, h=24 }, { x=16, y=3 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4043, y=0.9023, w=0.3789, h=0.0977 }, { x=0.0332, y=0.0137 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=40, h=39 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.2148, w=0.0801, h=0.1523 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setSliderCtrlMinMax(ctrl, 0.0000, 1.0000)
	setSliderCtrlVertical(ctrl, false)

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

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=360, y=474, w=80, h=30 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold25", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "Sounds", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=360, y=435, w=110, h=30 }, 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)

	ctrl = createSliderSysCtrl(wnd, "slMusic")
	setCtrlFrame(ctrl, { x=515, y=438, w=193, h=24 }, { x=16, y=3 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4043, y=0.9023, w=0.3789, h=0.0977 }, { x=0.0332, y=0.0137 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=40, h=39 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.2148, w=0.0801, h=0.1523 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setSliderCtrlMinMax(ctrl, 0.0000, 1.0000)
	setSliderCtrlVertical(ctrl, false)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=356, y=554, w=313, h=76 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.8516, w=0.6133, h=0.1484 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlTexture(ctrl, "gui_frame00")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=432, y=574, w=160, h=40 }, 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)

	ctrl = createCheckBoxSysCtrl(wnd, "cbHints")
	setCtrlRect(ctrl, { x=352, y=304, w=320, h=38 }, 0)
	setCtrlUVRect(ctrl, { x=0.2539, y=0.8516, w=0.0742, h=0.1484 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlFont(ctrl, "tmpCalibriBold25")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, " Show hints")
	setCtrlAlign(ctrl, align.Left + align.Middle)


end
