327 lines
10 KiB
XML
327 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="NecrosisButtonMenu" 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="NecrosisShowFirestone_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-40"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowSpellstone_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-60"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowHealthStone_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-80"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowSoulstone_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-100"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowMount_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-140"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowBuffMenu_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-120"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowPetMenu_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-160"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="NecrosisShowCurseMenu_Option" inherits="GameFontNormalSmall">
|
|
<Color r="1.0" g="1.0" b="1.0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-180"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Slider name="NecrosisBanishScale_Slider" inherits="OptionsSliderTemplate" minValue="100" maxValue="200" valueStep="5" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="150" y="16"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeTo="NecrosisButtonMenu" relativeFrom="TOP">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-70"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(this:GetValue().." %");
|
|
NecrosisBuffMenu9:Show();
|
|
NecrosisBuffMenu9:ClearAllPoints();
|
|
NecrosisBuffMenu9:SetPoint("CENTER", "UIParent", "CENTER", 0, 0);
|
|
</OnEnter>
|
|
<OnValueChanged>
|
|
if this:GetValue() ~= NecrosisConfig.BanishScale then
|
|
GameTooltip:SetText(this:GetValue().." %");
|
|
NecrosisConfig.BanishScale = this:GetValue();
|
|
NecrosisBuffMenu9:ClearAllPoints();
|
|
NecrosisBuffMenu9:SetScale(NecrosisConfig.BanishScale / 100);
|
|
end
|
|
</OnValueChanged>
|
|
<OnLeave>
|
|
GameTooltip:Hide();
|
|
Necrosis_CreateMenu();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Slider>
|
|
<CheckButton name="NecrosisShowFirestone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-35"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if (this:GetChecked()) then
|
|
NecrosisConfig.StonePosition[1] = true;
|
|
ShowUIPanel(NecrosisFirestoneButton);
|
|
else
|
|
NecrosisConfig.StonePosition[1] = false;
|
|
end
|
|
Necrosis_UpdateButtonsScale();
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="NecrosisShowSpellstone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-55"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if (this:GetChecked()) then
|
|
NecrosisConfig.StonePosition[2] = true;
|
|
ShowUIPanel(NecrosisSpellstoneButton);
|
|
else
|
|
NecrosisConfig.StonePosition[2] = false;
|
|
end
|
|
Necrosis_UpdateButtonsScale();
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="NecrosisShowHealthStone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-75"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if (this:GetChecked()) then
|
|
NecrosisConfig.StonePosition[3] = true;
|
|
ShowUIPanel(NecrosisHealthstoneButton);
|
|
else
|
|
NecrosisConfig.StonePosition[3] = false;
|
|
end
|
|
Necrosis_UpdateButtonsScale();
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="NecrosisShowSoulstone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-95"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if (this:GetChecked()) then
|
|
NecrosisConfig.StonePosition[4] = true;
|
|
ShowUIPanel(NecrosisSoulstoneButton);
|
|
else
|
|
NecrosisConfig.StonePosition[4] = false;
|
|
end
|
|
Necrosis_UpdateButtonsScale();
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="NecrosisShowBuffMenu_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-115"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if (this:GetChecked()) then
|
|
NecrosisConfig.StonePosition[5] = true;
|
|
ShowUIPanel(NecrosisBuffMenuButton);
|
|
else
|
|
NecrosisConfig.StonePosition[5] = false;
|
|
HideUIPanel(NecrosisBuffMenuButton);
|
|
end
|
|
Necrosis_UpdateButtonsScale();
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="NecrosisShowMount_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-135"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if (this:GetChecked()) then
|
|
NecrosisConfig.StonePosition[6] = true;
|
|
ShowUIPanel(NecrosisMountButton);
|
|
else
|
|
NecrosisConfig.StonePosition[6] = false;
|
|
HideUIPanel(NecrosisMountButton);
|
|
end
|
|
Necrosis_UpdateButtonsScale();
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="NecrosisShowPetMenu_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-155"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if (this:GetChecked()) then
|
|
NecrosisConfig.StonePosition[7] = true;
|
|
ShowUIPanel(NecrosisPetMenuButton);
|
|
else
|
|
NecrosisConfig.StonePosition[7] = false;
|
|
HideUIPanel(NecrosisPetMenuButton);
|
|
end
|
|
Necrosis_UpdateButtonsScale();
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="NecrosisShowCurseMenu_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="30" y="-175"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if (this:GetChecked()) then
|
|
NecrosisConfig.StonePosition[8] = true;
|
|
ShowUIPanel(NecrosisCurseButton);
|
|
else
|
|
NecrosisConfig.StonePosition[8] = false;
|
|
HideUIPanel(NecrosisCurseButton);
|
|
end
|
|
Necrosis_UpdateButtonsScale();
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad>
|
|
HideUIPanel(NecrosisButtonMenu);
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
</Ui>
|