<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="DruidBar.lua"/> <Script file="Options.lua"/> <Script file="localization.lua"/> <Include file="Options.xml"/> <GameTooltip name="DBarSpellCatch" frameStrata="TOOLTIP" inherits="GameTooltipTemplate"/> <Frame name="DruidBarFrame" hidden="true" frameStrata="BACKGROUND" enableMouse="true" movable="true" parent="UIParent"> <Size> <AbsDimension x="170" y="18"/> </Size> <Anchors> <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> <Offset> <AbsDimension x="0" y="-10"/> </Offset> </Anchor> </Anchors> <Layers> <!-- Level OVERLAY so frame is over all other items --> <Layer level="OVERLAY"> <Texture name="DruidBarBorder" file="Interface\Tooltips\UI-StatusBar-Border"/> </Layer> <Layer level="BACKGROUND"> <Texture name="DruidBarManaBackground"> <Size> <AbsDimension x="164" y="12"/> </Size> <Anchors> <Anchor point="CENTER" relativeTo="$Parent" relativePoint="CENTER"/> </Anchors> <Color r="0" b="0" g="0" a="0.5"/> </Texture> </Layer> <Layer level="OVERLAY"> <FontString name="DruidBarTextLeft" inherits="GameFontNormalSmall" wraponspaces="true"> <Size> <AbsDimension x="0" y="60"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$Parent" relativePoint="LEFT"> <Offset> <AbsDimension x="7" y="0"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="DruidBarTextCenter" inherits="GameFontNormalSmall" wraponspaces="true"> <Size> <AbsDimension x="0" y="60"/> </Size> <Anchors> <Anchor point="CENTER" relativeTo="$Parent" relativePoint="CENTER"/> </Anchors> </FontString> <FontString name="DruidBarTextRight" inherits="GameFontNormalSmall" wraponspaces="true"> <Size> <AbsDimension x="0" y="60"/> </Size> <Anchors> <Anchor point="RIGHT" relativeTo="$Parent" relativePoint="RIGHT"> <Offset> <AbsDimension x="-5" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <TitleRegion setAllPoints="true"/> <Frames> <StatusBar name="DruidBarMana" movable="true" inherits="TextStatusBar"> <Size> <AbsDimension x="165" y="12"/> </Size> <Anchors> <Anchor point="CENTER" relativeTo="$Parent" relativePoint="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Layers> </Layers> <BarTexture name="$parentTex" file="Interface\TargetingFrame\UI-StatusBar"/> <BarColor r="1" g="1" b="1"/> <Scripts> <OnLoad> self:SetFrameLevel("1"); </OnLoad> </Scripts> </StatusBar> </Frames> </Frame> <Frame name="DruidBarUpdateFrame"> <Scripts> <OnLoad>DruidBar_OnLoad();</OnLoad> <OnEvent>DruidBar_OnEvent(self, event, ...);</OnEvent> <OnUpdate function="DruidBar_OnUpdate" /> </Scripts> </Frame> <Frame name="DruidBarReplaceText" frameStrata="LOW" enableMouse="true" movable="false" parent="UIParent" hidden="true"> <Size> <AbsDimension x="120" y="10"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="PlayerFrame" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="116" y="-50"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="FOREGROUND"> <FontString name="DBarTextLeft" inherits="GameFontNormalSmall" wraponspaces="true"> <Size> <AbsDimension x="0" y="60"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$Parent" relativePoint="LEFT"> <Offset> <AbsDimension x="50" y="-4"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="DBarTextCenter" inherits="TextStatusBarText" wraponspaces="true"> <Size> <AbsDimension x="0" y="60"/> </Size> <Anchors> <Anchor point="CENTER" relativeTo="$Parent" relativePoint="CENTER"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="DBarTextRight" inherits="GameFontNormalSmall" wraponspaces="true"> <Size> <AbsDimension x="0" y="60"/> </Size> <Anchors> <Anchor point="RIGHT" relativeTo="$Parent" relativePoint="RIGHT"> <Offset> <AbsDimension x="-10" y="-4"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> </Frame> </Ui>