<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Frame name="NecrosisMessageMenu" hidden="true" parent="NecrosisGeneralFrame" movable="false" frameStrata="DIALOG" enableMouse="true">
		<Size>
			<AbsDimension x="350" y="452" />
		</Size>
		<Anchors>
			<Anchor point="BOTTOMLEFT" relativeTo="NecrosisGeneralFrame" />
		</Anchors>
		<HitRectInsets>
			<AbsInset left="0" right="35" top="0" bottom="75" />
		</HitRectInsets>
		<Layers>
			<Layer>
				<FontString name="NecrosisMessageSpell_Section" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="30" y="-75" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="0.5" b="1" />
				</FontString>
				<FontString name="NecrosisAntiFearAlert_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="60" y="-95" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisShadowTranceAlert_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="60" y="-115" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisMessagePlayer_Section" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="30" y="-160" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="0.5" b="1" />
				</FontString>
				<FontString name="NecrosisShowTooltips_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="60" y="-180" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisSound_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="60" y="-200" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisChatType_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="60" y="-220" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisShowMessage_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="60" y="-260" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisShowDemonSummon_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="100" y="-280" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="NecrosisShowSteedSummon_Option" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
							<Offset>
								<AbsDimension x="100" y="-300" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Slider name="NecrosisLanguage_Slider" inherits="OptionsSliderTemplate" virtual="true" minValue="1" maxValue="4" valueStep="1">
				<Size>
					<AbsDimension x="150" y="16" />
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativeTo="NecrosisMessageMenu">
						<Offset>
							<AbsDimension x="0" y="180" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnEnter>
					GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
						if (this:GetValue() == 1) then
							GameTooltip:SetText("Francais")
						elseif (this:GetValue() == 2) then
							GameTooltip:SetText("English")
						elseif (this:GetValue() == 3) then
							GameTooltip:SetText("Deutsch")
						else
							GameTooltip:SetText("Espanol")
						end
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide()
					</OnLeave>
					<OnValueChanged>
						GameTooltip:SetText(this:GetValue())
						if (this:GetValue() == 1) then
							GameTooltip:SetText("Francais")
							NecrosisConfig.NecrosisLanguage = "frFR"
							Necrosis_Localization_Dialog_Fr()
						elseif (this:GetValue() == 2) then
							GameTooltip:SetText("English")
							NecrosisConfig.NecrosisLanguage = "enUS"
							Necrosis_Localization_Dialog_En()
						elseif (this:GetValue() == 3) then
							GameTooltip:SetText("Deutsch")
							NecrosisConfig.NecrosisLanguage = "deDE"
							Necrosis_Localization_Dialog_De()
						else
							GameTooltip:SetText("Espanol")
							NecrosisConfig.NecrosisLanguage = "esES"
							Necrosis_Localization_Dialog_Es()
						end
						Necrosis_LanguageInitialize()
					</OnValueChanged>
				</Scripts>
			</Slider>
			<CheckButton name="NecrosisAntiFearAlert_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
						<Offset>
							<AbsDimension x="30" y="-90" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.AntiFearAlert = true
						else
							NecrosisConfig.AntiFearAlert = false
						end
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShadowTranceAlert_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
						<Offset>
							<AbsDimension x="30" y="-110" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.ShadowTranceAlert = true
						else
							NecrosisConfig.ShadowTranceAlert = false
						end
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowTooltips_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
						<Offset>
							<AbsDimension x="30" y="-175" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.NecrosisToolTip = true
							Necrosis_Msg(NECROSIS_MESSAGE.Interface.TooltipOn, "USER")
						else
							NecrosisConfig.NecrosisToolTip = false
							Necrosis_Msg(NECROSIS_MESSAGE.Interface.TooltipOff, "USER")
						end
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisSound_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
						<Offset>
							<AbsDimension x="30" y="-195" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.Sound = true
						else
							NecrosisConfig.Sound = false
						end
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisChatType_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
						<Offset>
							<AbsDimension x="30" y="-215" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.ChatType = false
						else
							NecrosisConfig.ChatType = true
						end
						Necrosis_Msg(NECROSIS_MESSAGE.Interface.MessagePosition, "USER")
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowMessage_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
						<Offset>
							<AbsDimension x="30" y="-255" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.ChatMsg = true
						else
							NecrosisConfig.ChatMsg = false
						end
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowDemonSummon_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
						<Offset>
							<AbsDimension x="70" y="-275" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.DemonSummon = true
						else
							NecrosisConfig.DemonSummon = false
						end
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="NecrosisShowSteedSummon_Button" inherits="UICheckButtonTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="24" y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu">
						<Offset>
							<AbsDimension x="70" y="-295" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if (this:GetChecked()) then
							NecrosisConfig.SteedSummon = true
						else
							NecrosisConfig.SteedSummon = false
						end
					</OnClick>
				</Scripts>
			</CheckButton>
		</Frames>
	</Frame>
</Ui>
