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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
<Script file="CT_AssistFrame.lua"/>
<Script file="TargetFrame.lua"/>
<Button name="CT_AssistDebuffButtonTemplate" virtual="true">
<Size>
<AbsDimension x="17" y="17"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentIcon" setAllPoints="true"/>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentBorder" file="Interface\Buttons\UI-Debuff-Overlays">
<Size>
<AbsDimension x="19" y="19"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.296875" right="0.5703125" top="0" bottom="0.515625"/>
</Texture>
<FontString name="$parentCount" inherits="NumberFontNormalSmall">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-1" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_BOTTOMRIGHT", 15, -25);
GameTooltip:SetUnitDebuff("targettarget", this.id);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="CT_AssistBuffButtonTemplate" virtual="true">
<Size>
<AbsDimension x="21" y="21"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentIcon" setAllPoints="true"/>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_BOTTOMRIGHT", 15, -25);
GameTooltip:SetUnitBuff("targettarget", this.id);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="CT_AssistFrame" frameStrata="LOW" toplevel="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="232" y="100"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="480" y="-25"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="96" right="6" top="4" bottom="9"/>
</HitRectInsets>
<Layers>
<Layer level="BACKGROUND">
<Texture name="CT_AssistFrameBackground">
<Size>
<AbsDimension x="119" y="41"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-106" y="-22"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0" g="0" b="0" a="0.5"/>
</Texture>
<Texture name="CT_AssistFrameNameBackground" file="Interface\TargetingFrame\UI-TargetingFrame-LevelBackground">
<Size>
<AbsDimension x="119" y="19"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-106" y="-22"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="BORDER">
<Texture name="CT_AssistPortrait">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-42" y="-12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame setAllPoints="true">
<Frames>
<Frame setAllPoints="true">
<Layers>
<Layer level="BACKGROUND">
<Texture name="CT_AssistFrameTexture" file="Interface\TargetingFrame\UI-TargetingFrame">
<TexCoords left="0.09375" right="1.0" top="0" bottom="0.78125"/>
</Texture>
<FontString name="CT_AssistName" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="100" y="10"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="-50" y="19"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="CT_AssistLevelText" inherits="GameFontNormalSmall">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="63" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="CT_AssistDeadText" hidden="true" inherits="GameFontNormalSmall" text="DEAD">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="-50" y="3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK">
<Texture name="CT_AssistHighLevelTexture" file="Interface\TargetingFrame\UI-TargetingFrame-Skull">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="63" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="CT_AssistLeaderIcon" file="Interface\GroupFrame\UI-Group-LeaderIcon" hidden="true">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-44" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="CT_AssistPVPIcon" hidden="true">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="3" y="-20"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
</Frames>
</Frame>
<Frame name="CT_AssistFrameDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="10" y="-60"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
CT_AssistFrameDropDown_OnLoad();
</OnLoad>
</Scripts>
</Frame>
<StatusBar name="CT_AssistFrameHealthBar" inherits="TextStatusBar">
<Size>
<AbsDimension x="119" y="12"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-106" y="-41"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEvent>
UnitFrameHealthBar_Update(this, arg1);
</OnEvent>
<OnValueChanged>
UnitFrameHealthBar_OnValueChanged(arg1);
CT_AssistHealthCheck();
</OnValueChanged>
</Scripts>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
</StatusBar>
<StatusBar name="CT_AssistFrameManaBar" inherits="TextStatusBar">
<Size>
<AbsDimension x="119" y="12"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-106" y="-51"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEvent>
UnitFrameManaBar_Update(this, arg1);
</OnEvent>
</Scripts>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
<BarColor r="0" g="0" b="1.0"/>
</StatusBar>
<Button name="CT_AssistFrameDebuff1" inherits="CT_AssistDebuffButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="5" y="32"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff2" inherits="CT_AssistDebuffButtonTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff3" inherits="CT_AssistDebuffButtonTemplate" id="3">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff4" inherits="CT_AssistDebuffButtonTemplate" id="4">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff5" inherits="CT_AssistDebuffButtonTemplate" id="5">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff4" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff6" inherits="CT_AssistDebuffButtonTemplate" id="6">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff5" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff7" inherits="CT_AssistDebuffButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CT_AssistFrameDebuff1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff8" inherits="CT_AssistDebuffButtonTemplate" id="8">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff7" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff9" inherits="CT_AssistDebuffButtonTemplate" id="9">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff8" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff10" inherits="CT_AssistDebuffButtonTemplate" id="10">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff9" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff11" inherits="CT_AssistDebuffButtonTemplate" id="11">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff10" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff12" inherits="CT_AssistDebuffButtonTemplate" id="12">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff11" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff13" inherits="CT_AssistDebuffButtonTemplate" id="13">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff12" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff14" inherits="CT_AssistDebuffButtonTemplate" id="14">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff13" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff15" inherits="CT_AssistDebuffButtonTemplate" id="15">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff14" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameDebuff16" inherits="CT_AssistDebuffButtonTemplate" id="16">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff15" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff1" inherits="CT_AssistBuffButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CT_AssistFrameDebuff1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff2" inherits="CT_AssistBuffButtonTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff3" inherits="CT_AssistBuffButtonTemplate" id="3">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff4" inherits="CT_AssistBuffButtonTemplate" id="4">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff5" inherits="CT_AssistBuffButtonTemplate" id="5">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff4" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff6" inherits="CT_AssistBuffButtonTemplate" id="6">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff5" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff7" inherits="CT_AssistBuffButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="CT_AssistFrameBuff1">
<Offset>
<AbsDimension x="0" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff8" inherits="CT_AssistBuffButtonTemplate" id="8">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff7" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff9" inherits="CT_AssistBuffButtonTemplate" id="9">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff8" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff10" inherits="CT_AssistBuffButtonTemplate" id="10">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff9" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff11" inherits="CT_AssistBuffButtonTemplate" id="11">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff10" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff12" inherits="CT_AssistBuffButtonTemplate" id="12">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff11" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff13" inherits="CT_AssistBuffButtonTemplate" id="13">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff12" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff14" inherits="CT_AssistBuffButtonTemplate" id="14">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff13" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff15" inherits="CT_AssistBuffButtonTemplate" id="15">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff14" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff16" inherits="CT_AssistBuffButtonTemplate" id="16">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff15" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff17" inherits="CT_AssistBuffButtonTemplate" id="17">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff16" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff18" inherits="CT_AssistBuffButtonTemplate" id="18">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff17" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff19" inherits="CT_AssistBuffButtonTemplate" id="19">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff18" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CT_AssistFrameBuff20" inherits="CT_AssistBuffButtonTemplate" id="20">
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrameBuff19" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Frame setAllPoints="true">
<Frames>
<Frame setAllPoints="true">
<Layers>
<Layer level="OVERLAY">
<FontString name="CT_AssistHealthBar" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="100" y="10" />
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrame" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="18" y="-46"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="CT_AssistManaBar" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="100" y="10" />
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="CT_AssistFrame" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="18" y="-58"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="CT_AssistFrame_Drag" frameStrata="LOW" hidden="false" toplevel="true">
<Size>
<AbsDimension x="100" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CT_AssistFrame" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="15" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_TOPLEFT");
GameTooltip:SetText("Left-click to drag");
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnMouseDown>
if ( arg1 == "LeftButton" ) then
CT_AssistFrame:StartMoving();
end
</OnMouseDown>
<OnMouseUp>
CT_AssistFrame:StopMovingOrSizing();
</OnMouseUp>
</Scripts>
</Button>
</Frames>
</Frame>
</Frames>
</Frame>
</Frames>
<Scripts>
<OnLoad>
UnitFrame_Initialize("targettarget", CT_AssistName, CT_AssistPortrait,
CT_AssistFrameHealthBar, CT_AssistFrameHealthBarText,
CT_AssistFrameManaBar, CT_AssistFrameManaBarText);
CT_AssistFrame_OnLoad();
</OnLoad>
<OnEvent>
CT_AssistFrame_OnEvent(event);
</OnEvent>
<OnShow>
CT_AssistFrame_OnShow();
</OnShow>
<OnUpdate>
UnitFrame_OnUpdate(arg1);
CT_AssistFrame_HealthUpdate(arg1);
</OnUpdate>
<OnHide>
CT_AssistFrame_OnHide();
</OnHide>
<OnEnter>
UnitFrame_OnEnter();
</OnEnter>
<OnLeave>
UnitFrame_OnLeave();
</OnLeave>
<OnClick>
CT_AssistFrame_OnClick(arg1);
</OnClick>
<OnUpdate>
CT_AssistFrame_OnUpdate(arg1);
</OnUpdate>
</Scripts>
</Button>
<Frame name="CT_AssistGlobalFrame" parent="UIParent" hidden="false">
<Scripts>
<OnUpdate>
CT_AssistFrame_OnUpdate(arg1);
</OnUpdate>
<OnLoad>
this.update = 1;
</OnLoad>
</Scripts>
</Frame>
</Ui>
Generated by GNU Enscript 1.6.5.90.