vanilla-wow-addons – Rev 1
?pathlinks?
<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="NecrosisTimerMenu" 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="NecrosisShowSpellTimers_Option" inherits="GameFontNormalSmall">
<Color r="1.0" g="1.0" b="1.0" a="1"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="60" y="-40"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="NecrosisSTimer_Option" inherits="GameFontNormalSmall">
<Color r="1.0" g="1.0" b="1.0" a="1"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="60" y="-60"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="NecrosisGraphicalTimer_Section" inherits="GameFontNormalSmall">
<Color r="1.0" g="0.5" b="1.0" a="1"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-95"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="NecrosisGraphicalTimer_Option" inherits="GameFontNormalSmall">
<Color r="1.0" g="1.0" b="1.0" a="1"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="60" y="-115"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="NecrosisTimerColor_Option" inherits="GameFontNormalSmall">
<Color r="1.0" g="1.0" b="1.0" a="1"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="60" y="-135"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="NecrosisTimerDirection_Option" inherits="GameFontNormalSmall">
<Color r="1.0" g="1.0" b="1.0" a="1"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="60" y="-155"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="NecrosisShowSpellTimers_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-35"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
if (this:GetChecked()) then
NecrosisConfig.ShowSpellTimers = true;
else
NecrosisConfig.ShowSpellTimers = false;
end
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="NecrosisSTimer_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-55"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
if (this:GetChecked()) then
NecrosisConfig.SpellTimerPos = -1;
NecrosisConfig.SpellTimerJust = "RIGHT";
AnchorSpellTimerTooltip = "ANCHOR_LEFT"
else
NecrosisConfig.SpellTimerPos = 1;
NecrosisConfig.SpellTimerJust = "LEFT";
AnchorSpellTimerTooltip = "ANCHOR_RIGHT";
end
NecrosisListSpells:ClearAllPoints();
NecrosisListSpells:SetJustifyH(NecrosisConfig.SpellTimerJust);
NecrosisListSpells:SetPoint("TOP"..NecrosisConfig.SpellTimerJust, "NecrosisSpellTimerButton", "CENTER", NecrosisConfig.SpellTimerPos * 23, 10);
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="NecrosisGraphicalTimer_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-110"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
NecrosisConfig.Graphical = this:GetChecked();
Necrosis_HideGraphTimer();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="NecrosisTimerColor_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-130"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
NecrosisConfig.Yellow = not this:GetChecked();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="NecrosisTimerDirection_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="NecrosisTimerMenu" relativeFrom="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-150"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
if (this:GetChecked()) then
NecrosisConfig.SensListe = -1;
else
NecrosisConfig.SensListe = 1;
end
</OnClick>
</Scripts>
</CheckButton>
</Frames>
<Scripts>
<OnLoad>
HideUIPanel(NecrosisTimerMenu);
</OnLoad>
</Scripts>
</Frame>
</Ui>