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="Carnival_EnemyCastBar.lua"/>
<Script file="localization.lua"/>
<Script file="localization.de.lua"/>
<Script file="localization.fr.lua"/>
<Button name="CarniEnemyCastBarTemplate" virtual="true" hidden="true" movable="true" enableMouse="true">
<TitleRegion setAllPoints="true"/>
<Size>
<AbsDimension x="206" y="26"/>
</Size>
<!-- Slap it smack in the middle of the screen where it can be seen -->
<Anchors>
<Anchor point="TOP" relativeTo="ZoneTextFrame" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parent_Text" inherits="GameFontHighlight">
<Size>
<AbsDimension x="185" y="14"/>
</Size>
<Anchors>
<Anchor point="TOP"/>
</Anchors>
</FontString>
<FontString name="$parent_CastTimeText" inherits="GameFontHighlight" text="">
<FontHeight>
<AbsValue val="14"/>
</FontHeight>
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="25" y="5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<!-- Steal the casting bar's border -->
<Texture file="Interface\Tooltips\UI-StatusBar-Border">
<Size>
<AbsDimension x="205" y="20"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<!-- Status bar to update duration visually -->
<StatusBar name="$parent_StatusBar">
<Size>
<AbsDimension x="195" y="13"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<!-- The "spark" adds pizzaz to the head of the status bar -->
<Texture name="$parent_Spark" alphaMode="ADD" file="Interface\CastingBar\UI-CastingBar-Spark">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
<BarColor r="1.0" g="0.7" b="0.0"/>
<Scripts>
<OnLoad>
this:SetFrameLevel(this:GetFrameLevel() - 1);
</OnLoad>
</Scripts>
</StatusBar>
</Frames>
<Scripts>
<OnUpdate> Carnival_EnemyCastBar_OnUpdate(); </OnUpdate>
</Scripts>
</Button>
<Frame name="CarniEnemyCastBarFrame" parent="UIParent" frameStrata="HIGH" toplevel="false" movable="false" enableMouse="false">
<Size>
<AbsDimension x="1" y="1"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="UIParent" relativePoint="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="Carni_ECB_1" inherits="CarniEnemyCastBarTemplate" id="1">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-30" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_2" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_1" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_3" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_2" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_4" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_3" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_5" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_4" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_6" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_5" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_7" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_6" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_8" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_7" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_9" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_8" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_10" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_9" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_11" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_10" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_12" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_11" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_13" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_12" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_14" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_13" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_15" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_14" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_16" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_15" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_17" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_16" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_18" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_17" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_19" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_18" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Carni_ECB_20" inherits="CarniEnemyCastBarTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Carni_ECB_19" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
</Button>
</Frames>
<Scripts>
<OnLoad> Carnival_EnemyCastBar_OnLoad(); </OnLoad>
<OnEvent> Carnival_EnemyCastBar_OnEvent(event); </OnEvent>
</Scripts>
</Frame>
</Ui>