-- {GameFolder}\options.lua
-- this is automatic generated file! do not modify it!
-- script for nls15 window loader. version 1.50.
-- copyright (c) 2005-2007 rionix. all rights reserved.

function FillWindow(wnd)

	wnd:SetActive(true)
	wnd:SetModal(true)

	local ctrl

	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(307, 228, cCtrl.e_None)
	ctrl:SetSize(410, 342, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("gui_frame")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "noname")
	ctrl:SetPos(728, 217, cCtrl.e_None)
	ctrl:SetSize(-144, 156, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.3906, cCtrl.e_None)
	ctrl:SetUVSize(0.5625, 0.6094, cCtrl.e_None)
	ctrl:SetTexture("gui_decor")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cCheckBoxCtrl(wnd, "cbWindowed")
	ctrl:SetPos(370, 380, cCtrl.e_None)
	ctrl:SetSize(270, 33, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText(" Window mode")
	ctrl:SetTexture("gui_main", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.3223, 0.9336, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_main", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2559, 0.9336, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbPush)

	ctrl = cSliderCtrlEx(wnd, "slSound")
	ctrl:SetPos(465, 468, cCtrl.e_None)
	ctrl:SetSize(194, 6, cCtrl.e_None)
	ctrl:SetTexture("gui_main", cCtrl.e_sldImage)
	ctrl:SetSize(24, 24, cCtrl.e_sldImage)
	ctrl:SetUVPos(0.2539, 0.8184, cCtrl.e_sldImage)
	ctrl:SetUVSize(0.0469, 0.0488, cCtrl.e_sldImage)
	ctrl:SetTexture("gui_main", cCtrl.e_None)
	ctrl:SetUVPos(0.0020, 0.4688, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.0117, cCtrl.e_None)
	ctrl:SetSize(7, 0, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0137, 0.0000, cCtrl.e_frmBorder)
	ctrl:SetMinMax(0.0000, 1.0000)
	ctrl:SetVertical(false)

	ctrl = cButtonCtrl(wnd, "btBack")
	ctrl:SetPos(433, 250, cCtrl.e_None)
	ctrl:SetSize(158, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Back")
	ctrl:SetSize(16, 16, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0020, 0.8711, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2500, 0.1289, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0313, 0.0313, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(370, 460, cCtrl.e_None)
	ctrl:SetSize(80, 30, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Sound")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(370, 430, cCtrl.e_None)
	ctrl:SetSize(110, 30, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("Music")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cSliderCtrlEx(wnd, "slMusic")
	ctrl:SetPos(465, 438, cCtrl.e_None)
	ctrl:SetSize(194, 6, cCtrl.e_None)
	ctrl:SetTexture("gui_main", cCtrl.e_sldImage)
	ctrl:SetSize(24, 24, cCtrl.e_sldImage)
	ctrl:SetUVPos(0.2539, 0.8184, cCtrl.e_sldImage)
	ctrl:SetUVSize(0.0469, 0.0488, cCtrl.e_sldImage)
	ctrl:SetTexture("gui_main", cCtrl.e_None)
	ctrl:SetUVPos(0.0020, 0.4688, cCtrl.e_None)
	ctrl:SetUVSize(0.1250, 0.0117, cCtrl.e_None)
	ctrl:SetSize(7, 0, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.0137, 0.0000, cCtrl.e_frmBorder)
	ctrl:SetMinMax(0.0000, 1.0000)
	ctrl:SetVertical(false)

	ctrl = cFrameCtrl(wnd, "noname")
	ctrl:SetPos(369, 514, cCtrl.e_None)
	ctrl:SetSize(286, 70, cCtrl.e_None)
	ctrl:SetUVPos(0.6758, 0.4141, cCtrl.e_None)
	ctrl:SetUVSize(0.3242, 0.1367, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(52, 0, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.1016, 0.0000, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(432, 530, cCtrl.e_None)
	ctrl:SetSize(160, 40, cCtrl.e_None)
		ctrl:SetFontPrt("header32x32")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Options")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cCheckBoxCtrl(wnd, "cbHints")
	ctrl:SetPos(370, 340, cCtrl.e_None)
	ctrl:SetSize(270, 33, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText(" Show hints")
	ctrl:SetTexture("gui_main", cCtrl.e_cbNormal)
	ctrl:SetUVPos(0.3223, 0.9336, cCtrl.e_cbNormal)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbNormal)
	ctrl:SetTexture("gui_main", cCtrl.e_cbPush)
	ctrl:SetUVPos(0.2559, 0.9336, cCtrl.e_cbPush)
	ctrl:SetUVSize(0.0625, 0.0664, cCtrl.e_cbPush)


end
