You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

639 lines
19 KiB

<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">
<Script file="VuhDoBarCustomizerClusters.lua" />
<Script file="VuhDoBarCustomizerDebuffIcon.lua" />
<Script file="VuhDoBarCustomizerHealth.lua" />
<Script file="VuhDoBarCustomizerHots.lua" />
<Script file="VuhDoBarCustomizerMana.lua" />
<Script file="VuhDoBarCustomizerTarget.lua" />
<Script file="VuhDoBarCustomizerThreat.lua" />
<Script file="VuhDoPanel.lua" />
<Script file="VuhDoPanelRefresh.lua" />
<Script file="VuhDoPanelRedrawCustomDebuffs.lua" />
<Script file="VuhDoPanelRedrawHeaders.lua" />
<Script file="VuhDoPanelRedrawHoTs.lua" />
<Script file="VuhDoPanelRedraw.lua" />
<Script file="VuhDoKeySetup.lua" />
<Script file="VuhDoActionEventHandler.lua" />
<StatusBar name="VuhDoDummyStatusBar" hidden="true" inherits="VuhDoStatusBar"> </StatusBar>
<StatusBar name="VuhDoGcdStatusBar" frameLevel="220" hidden="true" inherits="VuhDoStatusBar"> </StatusBar>
<Frame name="VuhDoDirectionFrame" frameLevel="221" hidden="true">
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentArrow" file="Interface\AddOns\VuhDo\Images\Arrow.blp"></Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentText" inherits="NumberFontNormalSmall"></FontString>
</Layer>
</Layers>
</Frame>
<Cooldown name="VuhDoHotCooldown" inherits="CooldownFrameTemplate" virtual="true"> </Cooldown>
<Frame name="VuhDoHotIconTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentI"></Texture>
</Layer>
<Layer level="BORDER">
<Texture name="$parentA"></Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentT" inherits="NumberFontNormalSmall"></FontString>
<FontString name="$parentC" inherits="NumberFontNormalSmall"></FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.addLevel = 8;
</OnLoad>
</Scripts>
</Frame>
<Frame name="VuhDoRaidTargetIconTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentI" file="interface\targetingframe\ui-raidtargetingicons">
</Texture>
</Layer>
</Layers>
</Frame>
<Button name="VuhDoDebuffIconTemplate" virtual="true" inherits="SecureUnitButtonTemplate,SecureHandlerEnterLeaveTemplate,SecureHandlerShowHideTemplate,SecureHandlerMouseUpDownTemplate">
<Frames>
<Frame name="$parentB" enableMouse="false">
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentI">
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentT" inherits="NumberFontNormalSmall"></FontString>
<FontString name="$parentC" inherits="NumberFontNormalSmall"></FontString>
<FontString name="$parentN" inherits="GameFontNormalSmall"></FontString>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnLoad>
self.addLevel = 9;
self:SetScript("PreClick", VuhDoActionPreClick);
self:SetScript("PostClick", function(self, aButton)
if aButton == "RightButton" then
local blacklistModi = VUHDO_CONFIG["CUSTOM_DEBUFF"].blacklistModi or "ALT-CTRL-SHIFT";
if blacklistModi ~= "OFF" then
if blacklistModi == "ALT-CTRL-SHIFT" and
IsAltKeyDown() and IsControlKeyDown() and IsShiftKeyDown() then
VUHDO_addDebuffToBlacklist(self);
elseif blacklistModi == "ALT-SHIFT" and IsAltKeyDown() and
IsShiftKeyDown() and not IsControlKeyDown() then
VUHDO_addDebuffToBlacklist(self);
elseif blacklistModi == "ALT-CTRL" and IsAltKeyDown() and
IsControlKeyDown() and not IsShiftKeyDown() then
VUHDO_addDebuffToBlacklist(self);
elseif blacklistModi == "CTRL-SHIFT" and IsControlKeyDown() and
IsShiftKeyDown() and not IsAltKeyDown() then
VUHDO_addDebuffToBlacklist(self);
elseif blacklistModi == "SHIFT" and IsShiftKeyDown() and
not IsAltKeyDown() and not IsControlKeyDown() then
VUHDO_addDebuffToBlacklist(self);
elseif blacklistModi == "CTRL" and IsControlKeyDown() and
not IsAltKeyDown() and not IsShiftKeyDown() then
VUHDO_addDebuffToBlacklist(self);
elseif blacklistModi == "ALT" and IsAltKeyDown() and
not IsControlKeyDown() and not IsShiftKeyDown() then
VUHDO_addDebuffToBlacklist(self);
end
end
end
VuhDoActionPostClick(self);
end)
</OnLoad>
</Scripts>
</Button>
<StatusBar name="VuhDoHotBarTemplate" setAllPoints="true" hidden="false" inherits="VuhDoStatusBar" virtual="true">
<Scripts>
<OnLoad>
VUHDO_refactorStatusbar(self);
self.addLevel = 6;
</OnLoad>
</Scripts>
</StatusBar>
<Frame name="VuhDoPlayerTargetFrameTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_PLAYER_TARGET_FRAME" type="global" />
<KeyValue key="backdropBorderColor" value="BACKDROP_BORDER_COLOR_VUHDO_PLAYER_TARGET_FRAME" type="global" />
</KeyValues>
</Frame>
<Button name="VuhDoButtonSecureTargetTemplate" virtual="true" inherits="SecureUnitButtonTemplate,SecureHandlerEnterLeaveTemplate,SecureHandlerShowHideTemplate,SecureHandlerMouseUpDownTemplate">
<Size>
<AbsDimension x="95" y="18" />
</Size>
<Scripts>
<OnLoad>self:RegisterForClicks("AnyDown");
</OnLoad>
</Scripts>
<Frames>
<Frame name="$parentPlTg" setAllPoints="true" hidden="true" inherits="VuhDoPlayerTargetFrameTemplate" />
<StatusBar name="$parentBgBar" setAllPoints="true" hidden="true" inherits="VuhDoStatusBar">
<Frames>
<StatusBar name="$parentHlBar" setAllPoints="true" inherits="VuhDoStatusBar">
<Frames>
<StatusBar name="$parentMaBar" hidden="true" inherits="VuhDoStatusBar">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_refactorStatusbar(self);
self.addLevel = 1;
</OnLoad>
</Scripts>
</StatusBar>
<Frame name="$parentTxPnl">
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentUnN" inherits="GameFontNormalSmall">
<FontHeight>
<AbsValue val="9" />
</FontHeight>
</FontString>
<FontString name="$parentLife" inherits="GameFontNormalSmall">
<FontHeight>
<AbsValue val="9" />
</FontHeight>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.addLevel = 2;
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentOvhPnl">
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentT" inherits="SystemFont_Tiny">
<FontHeight>
<AbsValue val="9" />
</FontHeight>
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
<Layers>
<Layer level="OVERLAY">
-- Raid Icon
<Texture name="$parentIc50" hidden="true" file="interface\targetingframe\ui-raidtargetingicons">
</Texture>
</Layer>
</Layers>
</StatusBar>
</Frames>
</StatusBar>
</Frames>
</Button>
<Button name="VuhDoButtonSecureTemplate" virtual="true" inherits="SecureUnitButtonTemplate,SecureHandlerEnterLeaveTemplate,SecureHandlerShowHideTemplate,SecureHandlerMouseUpDownTemplate">
<Size>
<AbsDimension x="95" y="18" />
</Size>
<Scripts>
<OnLoad>
self:SetScript("PreClick", VuhDoActionPreClick);
self:SetScript("PostClick", VuhDoActionPostClick);
</OnLoad>
</Scripts>
<Frames>
<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" parentKey="dropDown" hidden="true">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="10" y="-60"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<StatusBar name="$parentBgBar" inherits="VuhDoStatusBar">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<StatusBar name="$parentShBar" inherits="VuhDoStatusBar"> </StatusBar>
<StatusBar name="$parentIcBar" inherits="VuhDoStatusBar">
<Frames>
<StatusBar name="$parentHlBar" inherits="VuhDoStatusBar">
<Frames>
<StatusBar name="$parentMaBar" hidden="true" inherits="VuhDoStatusBar">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_refactorStatusbar(self);
self.addLevel = 1;
</OnLoad>
</Scripts>
</StatusBar>
<StatusBar name="$parentLsBar" hidden="true" inherits="VuhDoStatusBar">
<Scripts>
<OnLoad>
VUHDO_refactorStatusbar(self);
self.addLevel = 1;
</OnLoad>
</Scripts>
</StatusBar>
<StatusBar name="$parentRsBar" hidden="true" inherits="VuhDoStatusBar">
<Scripts>
<OnLoad>
VUHDO_refactorStatusbar(self);
self.addLevel = 1;
</OnLoad>
</Scripts>
</StatusBar>
<Frame name="$parentPlTg" setAllPoints="true" hidden="true" inherits="VuhDoPlayerTargetFrameTemplate">
<Scripts>
<OnLoad inherit="prepend">
self.addLevel = 2;
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentClu" setAllPoints="true" hidden="true" inherits="VuhDoPlayerTargetFrameTemplate">
<Scripts>
<OnLoad inherit="prepend">
self.addLevel = 2;
</OnLoad>
</Scripts>
</Frame>
<StatusBar name="$parentHiBar" setAllPoints="true" hidden="true" inherits="VuhDoStatusBar">
<Scripts>
<OnLoad>
VUHDO_refactorStatusbar(self);
self.addLevel = 3;
</OnLoad>
</Scripts>
</StatusBar>
<StatusBar name="$parentAgBar" inherits="VuhDoStatusBar">
<Scripts>
<OnLoad>
VUHDO_refactorStatusbar(self);
self.addLevel = 4;
</OnLoad>
</Scripts>
</StatusBar>
<Frame name="$parentTxPnl">
<Layers>
<Layer>
<FontString name="$parentUnN">
<Shadow>
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
<FontString name="$parentLife">
<Shadow>
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.addLevel = 5;
</OnLoad>
</Scripts>
</Frame>
-- HotBar 1-3
<StatusBar name="$parentHotBar1" inherits="VuhDoHotBarTemplate"> </StatusBar>
<StatusBar name="$parentHotBar2" inherits="VuhDoHotBarTemplate"> </StatusBar>
<StatusBar name="$parentHotBar3" inherits="VuhDoHotBarTemplate"> </StatusBar>
-- HOTs Ic1-5, 9, 10 muss Button sein fuer Masque
-- Custom debuffs 40 - 44
<Frame name="$parentIc" setAllPoints="true">
<Layers>
<Layer>
-- Ready check
<Texture name="$parent20" hidden="true"> </Texture>
-- Raid Icon
<Texture name="$parent50" hidden="true" file="interface\targetingframe\ui-raidtargetingicons"> </Texture>
-- Swiftmend indicator
<Texture name="$parent51" hidden="true" file="Interface\AddOns\VuhDo\Images\icon_red"> </Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.addLevel = 10;
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentOvhPnl">
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentT" inherits="SystemFont_Tiny">
<FontHeight>
<AbsValue val="9" />
</FontHeight>
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.addLevel = 11;
</OnLoad>
</Scripts>
</Frame>
<StatusBar name="$parentFlBar" setAllPoints="true" inherits="VuhDoStatusBar">
<Scripts>
<OnLoad>
VUHDO_refactorStatusbar(self);
self.addLevel = 12;
</OnLoad>
</Scripts>
</StatusBar>
<!-- Private Aura anchor frames 1-3 -->
<Frame name="$parentPa1" setAllPoints="true"> </Frame>
<Frame name="$parentPa2" setAllPoints="true"> </Frame>
<Frame name="$parentPa3" setAllPoints="true"> </Frame>
</Frames>
<Layers>
<Layer level="OVERLAY" textureSubLevel="4">
<Texture name="$parentOvsBar" hidden="true" file="Interface\AddOns\VuhDo\Images\overshield_bar" hWrapMode="REPEAT" vWrapMode="REPEAT"> </Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="5">
<Texture name="$parentHeAbBar" hidden="true" file="Interface\AddOns\VuhDo\Images\healabsorb_bar" hWrapMode="REPEAT" vWrapMode="REPEAT"> </Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="6">
<Texture name="$parentAggro" hidden="true" file="Interface\AddOns\VuhDo\Images\aggro">
<Size>
<AbsDimension x="10" y="20" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" />
<Anchor point="RIGHT" relativePoint="LEFT" />
</Anchors>
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
</StatusBar>
</Frames>
</StatusBar>
</Frames>
</StatusBar>
<Button name="$parentTg" inherits="VuhDoButtonSecureTargetTemplate"> </Button>
<Button name="$parentTot" inherits="VuhDoButtonSecureTargetTemplate"> </Button>
<StatusBar name="$parentThBar" inherits="VuhDoStatusBar">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</StatusBar>
</Frames>
</Button>
<Frame name="VuhDoGroupHeaderTemplate" virtual="true">
<Size>
<AbsDimension x="80" y="18" />
</Size>
<Scripts>
<OnMouseDown>VUHDO_startMoving(self:GetParent())</OnMouseDown>
<OnMouseUp>VUHDO_stopMoving(self:GetParent())</OnMouseUp>
</Scripts>
<Frames>
<StatusBar name="$parentBar" setAllPoints="true" inherits="VuhDoStatusBar">
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentUnN" inherits="SystemFont_Tiny">
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
</StatusBar>
</Frames>
</Frame>
<Frame name="VuhDoHealPanelTemplate" toplevel="true" parent="UIParent" movable="true"
enableKeyboard="true" virtual="true" hidden="true" inherits="SecureFrameTemplate,BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_HEAL_PANEL" type="global" />
</KeyValues>
<Frames>
<Frame name="$parentGrpLbl">
<Size>
<AbsDimension x="66" y="20" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="10" y="20" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentLbl" inherits="SystemFont_Tiny" text="">
<Anchors>
<Anchor point="TOPLEFT" />
<Anchor point="BOTTOMRIGHT" />
</Anchors>
<FontHeight>
<AbsValue val="12" />
</FontHeight>
<Color r="0" g="1" b="0" />
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnMouseDown>VUHDO_startMoving(self:GetParent())</OnMouseDown>
<OnMouseUp>VUHDO_stopMoving(self:GetParent())</OnMouseUp>
</Scripts>
</Frame>
<Frame name="$parentNewTxu" hidden="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="LEFT">
<Offset>
<AbsDimension x="-2" y="5" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTxu" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\icon_plus_round">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnMouseDown>
VUHDO_newOptionsAddModelOnClick(self);
</OnMouseDown>
</Scripts>
</Frame>
<Frame name="$parentClrTxu" hidden="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="LEFT">
<Offset>
<AbsDimension x="-2" y="-5" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTxu" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\icon_x_round">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnMouseDown>
VUHDO_newOptionsDeleteModelOnClick(self);
</OnMouseDown>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnMouseDown>
VUHDO_startMoving(self);
</OnMouseDown>
<OnMouseUp>
VUHDO_stopMoving(self);
</OnMouseUp>
</Scripts>
</Frame>
</Ui>