-- {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 = createButtonSysCtrl(wnd, "btBack")
	setCtrlFrame(ctrl, { x=553, y=210, w=178, h=54 }, { x=22, y=8 }, 0)
	setCtrlFont(ctrl, "tmpCalibriBold30")
	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
	setCtrlText(ctrl, "[Back]")
	setCtrlTexture(ctrl, "gui_main", 0)
	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

	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 = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=290, y=280, w=446, h=112 }, { 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)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=290, y=400, w=192, h=132 }, { x=9, y=10 }, 0)
	setCtrlUVFrame(ctrl, { x=0.0000, y=0.5234, w=0.4375, h=0.4766 }, { x=0.0371, y=0.0391 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createFrameCtrl(wnd, "noname")
	setCtrlFrame(ctrl, { x=482, y=400, w=254, h=132 }, { x=6, y=12 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4375, y=0.5234, w=0.5625, h=0.4766 }, { x=0.0234, y=0.0469 }, 0)
	setCtrlTexture(ctrl, "gui_frame01")
	drawFrameCtrlInnerRect(ctrl, true)

	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, "[Sound]", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=360, y=425, 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, "slSound")
	setCtrlFrame(ctrl, { x=515, y=478, w=193, h=24 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4043, y=0.4512, w=0.3789, h=0.0488 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=40, h=39 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.1074, w=0.0801, h=0.0762 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setSliderCtrlMinMax(ctrl, 0.0000, 1.0000)
	setSliderCtrlVertical(ctrl, false)

	ctrl = createSliderSysCtrl(wnd, "slMusic")
	setCtrlFrame(ctrl, { x=515, y=428, w=193, h=24 }, { x=0, y=0 }, 0)
	setCtrlUVFrame(ctrl, { x=0.4043, y=0.4512, w=0.3789, h=0.0488 }, { x=0.0000, y=0.0000 }, 0)
	setCtrlRect(ctrl, { x=0, y=0, w=40, h=39 }, 0)
	setCtrlUVRect(ctrl, { x=0.0000, y=0.1074, w=0.0801, h=0.0762 }, 0)
	setCtrlTexture(ctrl, "gui_main", 0)
	setSliderCtrlMinMax(ctrl, 0.0000, 1.0000)
	setSliderCtrlVertical(ctrl, false)

	ctrl = createCheckBoxSysCtrl(wnd, "cbHints")
	setCtrlRect(ctrl, { x=352, y=296, w=320, 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)

--	ctrl = createButtonSysCtrl(wnd, "btLanguage")
--	setCtrlFrame(ctrl, { x=293, y=210, w=78, h=54 }, { x=22, y=8 }, 0)
--	setCtrlFont(ctrl, "tmpCalibriBold30")
--	setCtrlColor(ctrl, 1.000, 1.000, 1.000)
--	setCtrlText(ctrl, "")
--	setCtrlTexture(ctrl, "gui_main", 0)
--	setCtrlUVFrame(ctrl, { x=0.0020, y=0.3945, w=0.2480, h=0.1055 }, { x=0.0430, y=0.0156 }, 0)

--	ctrl = createImageCtrl(wnd, "noname")
--	setCtrlRect(ctrl, { x=311, y=216, w=42, h=42 }, 0)
--	setCtrlUVRect(ctrl, { x=0.8320, y=0.0039, w=0.1641, h=0.1641 }, 0)
--	setCtrlTexture(ctrl, "gui_lang", 0)
--	enableCtrl(ctrl, false)
--	ignoreCtrl(ctrl, true)

	ctrl = createCheckBoxSysCtrl(wnd, "cbWindowed")
	setCtrlRect(ctrl, { x=352, y=336, w=320, 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)


end
