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/">
<Script file="DUF_Element.lua"/>
<Button name="DUF_ElementTemplate" hdiden="true" frameStrata="LOW" movable="true" virtual="true">
<Size><AbsDimension x="10" y="10"/></Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Frames>
<Frame name="$parent_Background" hidden="true">
<Size><AbsDimension x="50" y="50"/></Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Frame>
</Frames>
<Scripts>
<OnLoad>
DUF_Element_OnLoad();
</OnLoad>
<OnUpdate>
DUF_Element_OnUpdate(arg1);
</OnUpdate>
<OnDragStart>
DUF_Element_OnDragStart();
</OnDragStart>
<OnDragStop>
DUF_Element_OnDragStop();
</OnDragStop>
<OnClick>
DUF_Element_OnClick(arg1);
</OnClick>
<OnEnter>
DUF_Element_OnEnter();
</OnEnter>
<OnLeave>
DUF_Element_OnLeave();
</OnLeave>
<OnShow>
DUF_Element_OnShow();
</OnShow>
<OnHide>
DUF_Element_OnHide();
</OnHide>
</Scripts>
</Button>
<Button name="DUF_TextBoxTemplate" inherits="DUF_ElementTemplate" virtual="true">
<Size><AbsDimension x="75" y="15"/></Size>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parent_Text" inherits="DUF_TextBoxFont1">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEvent>
DUF_TextBox_OnEvent(event, arg1, arg2, arg3, arg4, arg5);
</OnEvent>
<OnUpdate>
DUF_Element_OnUpdate(arg1);
DUF_TextBox_OnUpdate(arg1);
</OnUpdate>
</Scripts>
</Button>
<Button name="DUF_StatusBarTemplate" inherits="DUF_ElementTemplate" frameStrata="BACKGROUND" virtual="true">
<Size><AbsDimension x="120" y="14"/></Size>
<Layers>
<Layer level="BORDER">
<Texture name="$parent_Bar2" file="Interface\AddOns\DiscordLibrary\PlainBackdrop">
<Size><AbsDimension x="120" y="14"/></Size>
<Anchors>
<Anchor point="LEFT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parent_Bar" file="Interface\TargetingFrame\UI-StatusBar">
<Size><AbsDimension x="120" y="14"/></Size>
<Anchors>
<Anchor point="LEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
<Button name="DUF_IconTemplate" inherits="DUF_ElementTemplate" virtual="true">
<Size><AbsDimension x="20" y="20"/></Size>
<Frames>
<Frame name="$parent_Circle" frameStrata="BACKGROUND" hidden="true">
<Size><AbsDimension x="20" y="20"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="-7" y="7"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset><AbsDimension x="7" y="-7"/></Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parent_Background" file="Interface\AddOns\DiscordUnitFrames\Icons\Circle.tga">
<Size><AbsDimension x="20" y="20" /></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="5" y="-5"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset><AbsDimension x="-5" y="5"/></Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parent_Border" file="Interface\Minimap\MiniMap-TrackingBorder">
<Size><AbsDimension x="20" y="20" /></Size>
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<TexCoords left="0.0141" right="0.585" top="0" bottom="0.574"/>
</Texture>
</Layer>
</Layers>
</Frame>
</Frames>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parent_Texture">
<Size><AbsDimension x="20" y="20" /></Size>
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
<Button name="DUF_BuffButtonTemplate" virtual="true">
<Size><AbsDimension x="15" y="15"/></Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parent_Texture">
<Size><AbsDimension x="15" y="15" /></Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parent_Text" inherits="DUF_TextBoxFont1" justifyH="CENTER" justifyV="CENTER">
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM">
<Offset><AbsDimension x="0" y="-5"/></Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="6"/>
</FontHeight>
</FontString>
<FontString name="$parent_Stack" inherits="NumberFontNormal" justifyH="RIGHT" justifyV="BOTTOM">
<Anchors>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.index = "Buff";
this.moveparent = true;
this:RegisterForDrag("LeftButton", "RightButton");
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnUpdate>
DUF_Aura_OnUpdate(arg1, "HELPFUL");
</OnUpdate>
<OnEnter>
DUF_Buff_OnEnter();
</OnEnter>
<OnLeave>
DUF_Buff_OnLeave();
</OnLeave>
<OnDragStart>
DUF_Element_OnDragStart();
</OnDragStart>
<OnDragStop>
DUF_Element_OnDragStop();
</OnDragStop>
<OnClick>
DUF_Buff_OnClick(arg1);
</OnClick>
</Scripts>
</Button>
<Button name="DUF_DebuffButtonTemplate" inherits="DUF_BuffButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentBorder" file="Interface\Buttons\UI-Debuff-Overlays">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="-2" y="1"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<TexCoords left="0.296875" right="0.5703125" top="0" bottom="0.515625"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.index = "Debuff";
this.moveparent = true;
this:RegisterForDrag("LeftButton", "RightButton");
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnEvent>
</OnEvent>
<OnEnter>
DUF_Debuff_OnEnter();
</OnEnter>
<OnLeave>
DUF_Debuff_OnLeave();
</OnLeave>
<OnClick>
DUF_Debuff_OnClick(arg1);
</OnClick>
<OnUpdate>
DUF_Aura_OnUpdate(arg1, "HARMFUL");
</OnUpdate>
</Scripts>
</Button>
<Button name="DUF_PortraitTemplate" inherits="DUF_ElementTemplate" virtual="true">
<Size><AbsDimension x="32" y="32"/></Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parent_Texture">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
<Frame name="DUF_ComboPointTemplate" virtual="true">
<Size><AbsDimension x="12" y="12"/></Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parent_Texture" file="Interface\ComboFrame\ComboPoint">
<Size><AbsDimension x="12" y="16"/></Size>
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<TexCoords left="0" right="0.375" top="0" bottom=".8"/>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="DUF_UnitPopupTemplate" inherits="UIDropDownMenuTemplate" id="1" hidden="true" virtual="true">
<Size><AbsDimension x="10" y="10"/></Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Scripts>
<OnLoad>
DUF_UnitPopup_OnLoad();
</OnLoad>
</Scripts>
</Frame>
<Button name="DUF_UnitFrameTemplate" frameStrata="BACKGROUND" movable="true" hidden="true" virtual="true" parent="UIParent">
<Size><AbsDimension x="134" y="89"/></Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Frames>
<!-- BACKGROUNDS -->
<Frame name="$parent_Background" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="BACKGROUND">
<Size><AbsDimension x="50" y="50"/></Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Frame>
<!-- PORTRAIT -->
<Button name="$parent_Portrait" inherits="DUF_PortraitTemplate">
<Layers>
<Layer level="BORDER">
<Texture name="$parent_Border" file="Interface\AddOns\DiscordUnitFrames\Icons\PortraitBorder">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="-2" y="2"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset><AbsDimension x="2" y="-2"/></Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
<!-- CLASS ICON -->
<Button name="$parent_ClassIcon" inherits="DUF_PortraitTemplate"/>
<!-- RACE ICON -->
<Button name="$parent_RaceIcon" inherits="DUF_PortraitTemplate"/>
<!-- RANK ICON -->
<Button name="$parent_RankIcon" inherits="DUF_PortraitTemplate"/>
<!-- HEALTH BAR -->
<Button name="$parent_HealthBar" inherits="DUF_StatusBarTemplate" id="1"/>
<!-- MANA BAR -->
<Button name="$parent_ManaBar" inherits="DUF_StatusBarTemplate" id="2"/>
<!-- TARGET HEALTH BAR -->
<Button name="$parent_TargetHealthBar" inherits="DUF_StatusBarTemplate" id="4"/>
<!-- TARGET MANA BAR -->
<Button name="$parent_TargetManaBar" inherits="DUF_StatusBarTemplate" id="5"/>
<!-- BUFF FRAME -->
<Button name="$parent_Buffs" inherits="DUF_ElementTemplate">
<Frames>
<Button name="$parent_1" inherits="DUF_BuffButtonTemplate" id="1"/>
<Button name="$parent_2" inherits="DUF_BuffButtonTemplate" id="2"/>
<Button name="$parent_3" inherits="DUF_BuffButtonTemplate" id="3"/>
<Button name="$parent_4" inherits="DUF_BuffButtonTemplate" id="4"/>
<Button name="$parent_5" inherits="DUF_BuffButtonTemplate" id="5"/>
<Button name="$parent_6" inherits="DUF_BuffButtonTemplate" id="6"/>
<Button name="$parent_7" inherits="DUF_BuffButtonTemplate" id="7"/>
<Button name="$parent_8" inherits="DUF_BuffButtonTemplate" id="8"/>
<Button name="$parent_9" inherits="DUF_BuffButtonTemplate" id="9"/>
<Button name="$parent_10" inherits="DUF_BuffButtonTemplate" id="10"/>
<Button name="$parent_11" inherits="DUF_BuffButtonTemplate" id="11"/>
<Button name="$parent_12" inherits="DUF_BuffButtonTemplate" id="12"/>
<Button name="$parent_13" inherits="DUF_BuffButtonTemplate" id="13"/>
<Button name="$parent_14" inherits="DUF_BuffButtonTemplate" id="14"/>
<Button name="$parent_15" inherits="DUF_BuffButtonTemplate" id="15"/>
<Button name="$parent_16" inherits="DUF_BuffButtonTemplate" id="16"/>
</Frames>
</Button>
<!-- DEBUFF FRAME -->
<Button name="$parent_Debuffs" inherits="DUF_ElementTemplate">
<Frames>
<Button name="$parent_1" inherits="DUF_DebuffButtonTemplate" id="1"/>
<Button name="$parent_2" inherits="DUF_DebuffButtonTemplate" id="2"/>
<Button name="$parent_3" inherits="DUF_DebuffButtonTemplate" id="3"/>
<Button name="$parent_4" inherits="DUF_DebuffButtonTemplate" id="4"/>
<Button name="$parent_5" inherits="DUF_DebuffButtonTemplate" id="5"/>
<Button name="$parent_6" inherits="DUF_DebuffButtonTemplate" id="6"/>
<Button name="$parent_7" inherits="DUF_DebuffButtonTemplate" id="7"/>
<Button name="$parent_8" inherits="DUF_DebuffButtonTemplate" id="8"/>
<Button name="$parent_9" inherits="DUF_DebuffButtonTemplate" id="9"/>
<Button name="$parent_10" inherits="DUF_DebuffButtonTemplate" id="10"/>
<Button name="$parent_11" inherits="DUF_DebuffButtonTemplate" id="11"/>
<Button name="$parent_12" inherits="DUF_DebuffButtonTemplate" id="12"/>
<Button name="$parent_13" inherits="DUF_DebuffButtonTemplate" id="13"/>
<Button name="$parent_14" inherits="DUF_DebuffButtonTemplate" id="14"/>
<Button name="$parent_15" inherits="DUF_DebuffButtonTemplate" id="15"/>
<Button name="$parent_16" inherits="DUF_DebuffButtonTemplate" id="16"/>
</Frames>
</Button>
<!-- ICONS -->
<Button name="$parent_LootIcon" inherits="DUF_IconTemplate"/>
<Button name="$parent_LeaderIcon" inherits="DUF_IconTemplate"/>
<Button name="$parent_PVPIcon" inherits="DUF_IconTemplate"/>
<Button name="$parent_StatusIcon" inherits="DUF_IconTemplate"/>
<!-- TEXTBOXES -->
<Button name="$parent_TextBox_1" inherits="DUF_TextBoxTemplate" id="1"/>
<Button name="$parent_TextBox_2" inherits="DUF_TextBoxTemplate" id="2"/>
<Button name="$parent_TextBox_3" inherits="DUF_TextBoxTemplate" id="3"/>
<Button name="$parent_TextBox_4" inherits="DUF_TextBoxTemplate" id="4"/>
<Button name="$parent_TextBox_5" inherits="DUF_TextBoxTemplate" id="5"/>
<Button name="$parent_TextBox_6" inherits="DUF_TextBoxTemplate" id="6"/>
<Button name="$parent_TextBox_7" inherits="DUF_TextBoxTemplate" id="7"/>
<Button name="$parent_TextBox_8" inherits="DUF_TextBoxTemplate" id="8"/>
<Button name="$parent_TextBox_9" inherits="DUF_TextBoxTemplate" id="9"/>
<Button name="$parent_TextBox_10" inherits="DUF_TextBoxTemplate" id="10"/>
</Frames>
<Scripts>
<OnLoad>
DUF_UnitFrame_OnLoad();
</OnLoad>
<OnUpdate>
DUF_UnitFrame_OnUpdate(arg1);
</OnUpdate>
<OnEvent>
DUF_UnitFrame_OnEvent(event);
</OnEvent>
<OnShow>
DUF_UnitFrame_OnShow();
</OnShow>
<OnHide>
DUF_UnitFrame_OnHide();
</OnHide>
<OnDragStart>
DUF_UnitFrame_OnDragStart();
</OnDragStart>
<OnDragStop>
DUF_UnitFrame_OnDragStop();
</OnDragStop>
<OnClick>
DUF_UnitFrame_OnClick(arg1);
</OnClick>
<OnEnter>
DUF_UnitFrame_OnEnter();
</OnEnter>
<OnLeave>
DUF_UnitFrame_OnLeave();
</OnLeave>
</Scripts>
</Button>
</Ui>
Generated by GNU Enscript 1.6.5.90.