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">
<Script file="eCastingBar.lua"/>
<Script file="eCastingBarSettings.lua"/>
<Script file="Interface\AddOns\eCastingBar\Localization\localization.lua"/>
<GameTooltip name="ECB_Tooltip" hidden="true" inherits="GameTooltipTemplate">
<Scripts>
<OnLoad>
-- hack for it to work in 1.10
this:SetOwner(UIParent, "ANCHOR_NONE");
</OnLoad>
</Scripts>
</GameTooltip>
<FontString name="eCastingBarFont" font="Fonts\FRIZQT__.TTF" virtual="true">
<Shadow>
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
<Color r="0" g="0" b="0"/>
</Shadow>
<FontHeight>
<AbsValue val="12"/>
</FontHeight>
<Color r="1.0" g="1.0" b="1.0"/>
</FontString>
<Frame name="eCastingBar" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="264" y="30"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="eCastingBarDragButton">
<Offset>
<AbsDimension x="15" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="eCastingBarBackground">
<Size>
<AbsDimension x="255" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="4" y="-3"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0" g="0" b="0" a="0.5"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="eCastingBarFlash" hidden="true">
<Size>
<AbsDimension x="255" y="30"/>
</Size>
<Anchors>
<Anchor point="TOP"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parent_TOPLEFT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.3125" top="0" bottom="0.3125"/>
</Texture>
<Texture name="$parent_TOPRIGHT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.625" right="0.9375" top="0" bottom="0.3125"/>
</Texture>
<Texture name="$parent_TOP" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false">
<Size>
<AbsDimension x="240" y="10"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.3125" right="0.625" top="0" bottom="0.3125"/>
</Texture>
<Texture name="$parent_BOTTOM" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false">
<Size>
<AbsDimension x="240" y="10"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.3125" right="0.625" top="0.625" bottom="0.9375"/>
</Texture>
<Texture name="$parent_BOTTOMLEFT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="2" y="2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.3125" top="0.625" bottom="0.9375"/>
</Texture>
<Texture name="$parent_BOTTOMRIGHT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.625" right="0.9375" top="0.625" bottom="0.9375"/>
</Texture>
<Texture name="$parent_RIGHT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false">
<Size>
<AbsDimension x="10" y="6"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.625" right="0.9375" top="0.3125" bottom="0.625"/>
</Texture>
<Texture name="$parent_LEFT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false">
<Size>
<AbsDimension x="10" y="6"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.3125" top="0.3125" bottom="0.625"/>
</Texture>
</Layer>
</Layers>
</Frame>
<StatusBar name="eCastingBarStatusBar">
<Size>
<AbsDimension x="255" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-5"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="eCastingBarSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
<Size>
<AbsDimension x="16" y="43"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="eCastingBarText" inherits="eCastingBarFont" text="Not Casting">
<Size>
<AbsDimension x="215" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="eCastingBarStatusBar" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<FontString name="eCastingBar_Time" inherits="eCastingBarFont" justifyV="CENTER" justifyH="LEFT">
<Anchors>
<Anchor point="RIGHT" relativeTo="eCastingBarStatusBar">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<FontString name="eCastingBar_Delay" inherits="eCastingBarFont" justifyV="CENTER" justifyH="LEFT">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="eCastingBarStatusBar">
<Offset>
<AbsDimension x="-10" y="20"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(this:GetFrameLevel() - 1)
</OnLoad>
</Scripts>
<BarTexture name="eCastingBarTexture" file="Interface\TargetingFrame\UI-StatusBar"/>
<BarColor r="1.0" g="0.7" b="0.0"/>
</StatusBar>
</Frames>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
eCastingBar_OnLoad();
</OnLoad>
<OnEvent>
eCastingBar_OnEvent( "" );
</OnEvent>
<OnUpdate>
eCastingBar_OnUpdate( "" );
</OnUpdate>
</Scripts>
</Frame>
<Frame name="eCastingBar_Outline" movable="true" frameStrata="DIALOG" enableMouse="true" parent="UIParent">
<Scripts>
<OnMouseDown>
eCastingBar_MouseDown( arg1, "eCastingBar_Outline", "" );
</OnMouseDown>
<OnMouseUp>
eCastingBar_MouseUp( arg1, "eCastingBar_Outline", "" );
</OnMouseUp>
</Scripts>
<Size>
<AbsDimension x="264" y="30"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="OVERLAY">
<FontString name="eCastingBarDragButtonText" inherits="eCastingBarFont" text="eCastingBar Outline." justifyH="LEFT">
<Size>
<AbsDimension x="185" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="eCastingBar_Outline">
<Offset>
<AbsDimension x="18" y="15"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
</OnLoad>
</Scripts>
</Frame>
</Ui>