344 lines
10 KiB
XML
344 lines
10 KiB
XML
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
|
|
|
|
<Frame name="NecrosisMessageMenu" frameStrata="DIALOG" movable="false" enableMouse="true" parent="NecrosisGeneralFrame">
|
|
<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 level="ARTWORK">
|
|
<FontString name="NecrosisMessageSpell_Section" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="0.5" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-75"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisAntiFearAlert_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-95"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShadowTranceAlert_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-115"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisMessagePlayer_Section" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="0.5" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-160"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowTooltips_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-180"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisSound_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-200"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisChatType_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-220"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowMessage_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-260"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowDemonSummon_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="100" y="-280"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowSteedSummon_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="100" y="-300"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Slider name="NecrosisLanguage_Slider" inherits="OptionsSliderTemplate" minValue="1" maxValue="3" valueStep="1" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="150" y="16"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeTo="NecrosisMessageMenu" relativeFrom="TOP">
|
|
<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");
|
|
else
|
|
GameTooltip:SetText("Deutsch");
|
|
end
|
|
</OnEnter>
|
|
<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();
|
|
else
|
|
GameTooltip:SetText("Deutsch");
|
|
NecrosisConfig.NecrosisLanguage = "deDE";
|
|
Necrosis_Localization_Dialog_De();
|
|
end
|
|
Necrosis_LanguageInitialize();
|
|
</OnValueChanged>
|
|
<OnLeave>
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Slider>
|
|
|
|
<CheckButton name="NecrosisAntiFearAlert_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<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" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<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" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Color r="1.0" g="0.5" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<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
|
|
Necrosis_UpdateButtonsScale();
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="NecrosisSound_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<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" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<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" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<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" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<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" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT">
|
|
<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>
|
|
<Scripts>
|
|
<OnLoad>
|
|
HideUIPanel(NecrosisMessageMenu);
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
</Ui>
|