vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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="Perl_Party.lua"/>


        <!-- Virtual buffs template -->
        <Button name="Perl_Party_BuffTemplate" virtual="true">
                <Size>
                        <AbsDimension x="16" y="16"/>
                </Size>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="$parentIcon">
                                        <Size>
                                                <AbsDimension x="16" y="16"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                        <Layer level="OVERLAY">
                                <Texture name="$parentDebuffBorder" file="Interface\Buttons\UI-Debuff-Border" hidden="true">
                                        <Size>
                                                <AbsDimension x="16" y="16"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString name="$parentCount" inherits="NumberFontNormalSmall">
                                        <Anchors>
                                                <Anchor point="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-1" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnEnter>
                                Perl_Party_SetBuffTooltip();
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>
                </Scripts>
        </Button>


        <!-- Frame to display Party's health -->
        <Frame name="Perl_Party_FrameTemplate" virtual="true" frameStrata="LOW">
                <Size>
                        <!-- The size of this frame determines what can be clicked for the menu and moving, hence it is the same size as the name frame. (This is no longer true in 0.48) -->
                        <AbsDimension x="200" y="24"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="500" y="-200"/>
                                </Offset>
                        </Anchor>
                </Anchors>


                <!-- Script Events -->
                <Scripts>
                        <OnLoad>
                                Perl_Party_OnLoad();
                        </OnLoad>
                        <OnEvent>
                                Perl_Party_OnEvent(event);
                        </OnEvent>
                </Scripts>

                <Frames>
                        <!-- Frame for the drop down menu. -->
                        <Frame name="$parent_DropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
                                <Size>
                                        <AbsDimension x="10" y="10"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                Perl_PartyDropDown_OnLoad();
                                        </OnLoad>
                                </Scripts>
                        </Frame>


                        <!-- Party Name -->
                        <Frame name="$parent_NameFrame">
                                <Size>
                                        <AbsDimension x="200" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Frames>
                                        <Button name="$parent_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="200" y="24"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
                                                        </OnLoad>
                                                        <OnClick>
                                                                Perl_Party_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Party_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Party_MouseUp(arg1);
                                                        </OnMouseUp>
                                                        <OnEnter>
                                                                Perl_Party_Tip();
                                                                UnitFrame_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                UnitFrame_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                </Frames>
                                <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" 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">
                                                <!-- Leader Icon -->
                                                <Texture name="$parent_LeaderIcon" file="Interface\GroupFrame\UI-Group-LeaderIcon" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="7"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>

                                                <!-- Master Icon -->
                                                <Texture name="$parent_MasterIcon" file="Interface\GroupFrame\UI-Group-MasterLooter" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="65" y="7"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>

                                                <!-- PVP Icon -->
                                                <Texture name="$parent_PVPStatus" file="Interface\TargetingFrame\UI-PVP-FFA">
                                                        <Size>
                                                                <AbsDimension x="32" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="-2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>

                                                <!-- Death Icon -->
                                                <Texture name="$parent_DeadStatus" file="Interface\TargetingFrame\TargetDead" visible="false">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-25" y="-4"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>

                                                <!-- Disconnected Icon -->
                                                <Texture name="$parent_DisconnectStatus" file="Interface\CharacterFrame\Disconnect-Icon" visible="false">
                                                        <Size>
                                                                <AbsDimension x="32" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-35" y="3"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>

                                                <!-- Name Text -->
                                                <Fontstring name="$parent_NameBarText" inherits="GameFontNormal" text="Error!">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="$parent_ClassTexture" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="5" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Fontstring>

                                                <!-- F Key Text -->
                                                <Fontstring name="$parent_FKeyText" inherits="GameFontNormal" text="Error!">
                                                        <Anchors>
                                                                <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-8" y="-6"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Fontstring>
                                        </Layer>
                                </Layers>
                        </Frame>


                        <!-- Party Level Frame -->
                        <Frame name="$parent_LevelFrame">
                                <Size>
                                        <AbsDimension x="34" y="42"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_NameFrame">
                                                <Offset>
                                                        <AbsDimension x="0" y="5"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseUp>
                                                Perl_Party_MouseUp(arg1);
                                        </OnMouseUp>
                                </Scripts>
                                <Frames>
                                        <Button name="$parent_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="34" y="42"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
                                                        </OnLoad>
                                                        <OnClick>
                                                                Perl_Party_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Party_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Party_MouseUp(arg1);
                                                        </OnMouseUp>
                                                </Scripts>
                                        </Button>
                                </Frames>
                                <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" 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">
                                                <!-- Class Icon -->
                                                <Texture name="$parent_ClassTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
                                                        <Size>
                                                                <AbsDimension x="24" y="24"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="5" y="-5"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>

                                                <!-- Level Text -->
                                                <Fontstring name="$parent_LevelBarText" inherits="GameFontNormalSmall" text="Error!">
                                                        <Anchors>
                                                                <Anchor point="BOTTOM">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="4"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Fontstring>
                                        </Layer>
                                </Layers>
                        </Frame>


                        <!-- Portrait Frame -->
                        <Frame name="$parent_PortraitFrame">
                                <Size>
                                        <AbsDimension x="60" y="61"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parent_NameFrame">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseUp>
                                                Perl_Party_MouseUp(arg1);
                                        </OnMouseUp>
                                </Scripts>
                                <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" 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>
                                <Frames>
                                        <PlayerModel name="$parent_PartyModel" hidden="true">
                                                <Size>
                                                        <AbsDimension x="50" y="50"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="CENTER">
                                                                <Offset>
                                                                        <AbsDimension x="1" y="-1"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnUpdate>
                                                                this:SetCamera(0);
                                                        </OnUpdate>
                                                </Scripts>
                                        </PlayerModel>
                                        <Button name="$parent_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="60" y="61"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
                                                        </OnLoad>
                                                        <OnClick>
                                                                Perl_Party_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Party_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Party_MouseUp(arg1);
                                                        </OnMouseUp>
                                                </Scripts>
                                        </Button>
                                </Frames>
                                <Layers>
                                        <!-- Portrait -->
                                        <Layer level="ARTWORK">
                                                <Texture name="$parent_Portrait">
                                                        <Size>
                                                                <AbsDimension x="48" y="48"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP" relativePoint="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-6"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                        </Frame>


                        <!-- Party Stats -->
                        <Frame name="$parent_StatsFrame">
                                <Size>
                                        <AbsDimension x="240" y="42"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_NameFrame">
                                                <Offset>
                                                        <AbsDimension x="30" y="5"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" 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>
                                <Frames>
                                        <Button name="$parent_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="240" y="42"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
                                                        </OnLoad>
                                                        <OnClick>
                                                                Perl_Party_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Party_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Party_MouseUp(arg1);
                                                        </OnMouseUp>
                                                </Scripts>
                                        </Button>

                                        <!-- Health Bar -->
                                        <StatusBar name="$parent_HealthBar" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="150" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="10" y="-10"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture name="$parent_HealthBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
                                                <BarColor r="0" g="0.8" b="0"/>
                                                <Layers>
                                                        <!-- Text -->
                                                        <Layer level="OVERLAY">
                                                                <Fontstring name="$parent_HealthBarText" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="70" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <Color r="1" g="1" b="1"/>
                                                                </Fontstring>
                                                                <Fontstring name="$parent_HealthBarTextPercent" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativePoint="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="1"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <Color r="1" g="1" b="1"/>
                                                                </Fontstring>
                                                                <Fontstring name="$parent_HealthBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT" relativePoint="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="35" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <Color r="1" g="1" b="1"/>
                                                                </Fontstring>
                                                        </Layer>
                                                </Layers>
                                        </StatusBar>
                                        <StatusBar name="$parent_HealthBarBG" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="150" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_HealthBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
                                                <BarColor r="0" g="0.8" b="0" a="0.25"/>
                                        </StatusBar>
                                        <Button name="$parent_HealthBar_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="150" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_HealthBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
                                                        </OnLoad>
                                                        <OnEnter>
                                                                Perl_Party_HealthShow();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                Perl_Party_HealthHide();
                                                        </OnLeave>
                                                        <OnClick>
                                                                Perl_Party_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Party_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Party_MouseUp(arg1);
                                                        </OnMouseUp>
                                                </Scripts>
                                        </Button>

                                        <!-- Mana Bar -->
                                        <StatusBar name="$parent_ManaBar" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="150" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_HealthBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-2"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture name="$parent_ManaBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
                                                <BarColor r="0" g="0" b="1"/>
                                                <Layers>
                                                        <!-- Text -->
                                                        <Layer level="OVERLAY">
                                                                <Fontstring name="$parent_ManaBarText" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="70" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <Color r="1" g="1" b="1"/>
                                                                </Fontstring>
                                                                <Fontstring name="$parent_ManaBarTextPercent" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativePoint="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="1"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <Color r="1" g="1" b="1"/>
                                                                </Fontstring>
                                                                <Fontstring name="$parent_ManaBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT" relativePoint="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="35" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <Color r="1" g="1" b="1"/>
                                                                </Fontstring>
                                                        </Layer>
                                                </Layers>
                                        </StatusBar>
                                        <StatusBar name="$parent_ManaBarBG" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="150" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_ManaBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
                                                <BarColor r="0" g="0" b="1" a="0.25"/>
                                        </StatusBar>
                                        <Button name="$parent_ManaBar_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="150" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_ManaBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
                                                        </OnLoad>
                                                        <OnEnter>
                                                                Perl_Party_ManaShow();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                Perl_Party_ManaHide();
                                                        </OnLeave>
                                                        <OnClick>
                                                                Perl_Party_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Party_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Party_MouseUp(arg1);
                                                        </OnMouseUp>
                                                </Scripts>
                                        </Button>

                                        <!-- Pet Health Bar -->
                                        <StatusBar name="$parent_PetHealthBar" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="150" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ManaBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-2"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture name="$parent_PetHealthBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
                                                <BarColor r="0" g="0.8" b="0"/>
                                                <Layers>
                                                        <!-- Text -->
                                                        <Layer level="OVERLAY">
                                                                <Fontstring name="$parent_PetHealthBarText" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="70" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <Color r="1" g="1" b="1"/>
                                                                </Fontstring>
                                                                <Fontstring name="$parent_PetHealthBarTextPercent" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativePoint="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="1"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <Color r="1" g="1" b="1"/>
                                                                </Fontstring>
                                                                <Fontstring name="$parent_PetHealthBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT" relativePoint="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="35" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <Color r="1" g="1" b="1"/>
                                                                </Fontstring>
                                                        </Layer>
                                                </Layers>
                                        </StatusBar>
                                        <StatusBar name="$parent_PetHealthBarBG" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="150" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_PetHealthBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
                                                <BarColor r="0" g="0.8" b="0" a="0.25"/>
                                        </StatusBar>
                                        <Button name="$parent_PetHealthBar_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="150" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_PetHealthBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
                                                        </OnLoad>
                                                        <OnEnter>
                                                                Perl_Party_Pet_HealthShow();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                Perl_Party_Pet_HealthHide();
                                                        </OnLeave>
                                                        <OnClick>
                                                                Perl_Party_Pet_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Party_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Party_MouseUp(arg1);
                                                        </OnMouseUp>
                                                </Scripts>
                                        </Button>

                                </Frames>
                        </Frame>


                        <!-- Buffs Frame -->
                        <Frame name="$parent_BuffFrame">
                                <Size>
                                        <AbsDimension x="100" y="60"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_StatsFrame">
                                                <Offset>
                                                        <AbsDimension x="-27" y="5"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Frames>
                                        <Button name="$parent_Buff1" inherits="Perl_Party_BuffTemplate" id="1">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff2" inherits="Perl_Party_BuffTemplate" id="2">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff1" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff3" inherits="Perl_Party_BuffTemplate" id="3">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff2" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff4" inherits="Perl_Party_BuffTemplate" id="4">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff3" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff5" inherits="Perl_Party_BuffTemplate" id="5">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff4" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff6" inherits="Perl_Party_BuffTemplate" id="6">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff5" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff7" inherits="Perl_Party_BuffTemplate" id="7">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff6" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff8" inherits="Perl_Party_BuffTemplate" id="8">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff7" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff9" inherits="Perl_Party_BuffTemplate" id="9">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff8" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff10" inherits="Perl_Party_BuffTemplate" id="10">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff9" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff11" inherits="Perl_Party_BuffTemplate" id="11">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff10" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff12" inherits="Perl_Party_BuffTemplate" id="12">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff11" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff13" inherits="Perl_Party_BuffTemplate" id="13">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff12" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff14" inherits="Perl_Party_BuffTemplate" id="14">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff13" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff15" inherits="Perl_Party_BuffTemplate" id="15">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff14" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Buff16" inherits="Perl_Party_BuffTemplate" id="16">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff15" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff1" inherits="Perl_Party_BuffTemplate" id="17">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Buff1" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="197" y="74"/> <!-- 197, 74 -->
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff2" inherits="Perl_Party_BuffTemplate" id="18">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff1" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff3" inherits="Perl_Party_BuffTemplate" id="19">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff2" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff4" inherits="Perl_Party_BuffTemplate" id="20">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff3" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff5" inherits="Perl_Party_BuffTemplate" id="21">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff4" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff6" inherits="Perl_Party_BuffTemplate" id="22">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff5" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff7" inherits="Perl_Party_BuffTemplate" id="23">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff6" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff8" inherits="Perl_Party_BuffTemplate" id="24">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff7" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff9" inherits="Perl_Party_BuffTemplate" id="25">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff8" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff10" inherits="Perl_Party_BuffTemplate" id="26">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff9" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff11" inherits="Perl_Party_BuffTemplate" id="27">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff10" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff12" inherits="Perl_Party_BuffTemplate" id="28">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff11" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff13" inherits="Perl_Party_BuffTemplate" id="29">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff12" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff14" inherits="Perl_Party_BuffTemplate" id="30">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff13" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff15" inherits="Perl_Party_BuffTemplate" id="31">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff14" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="$parent_Debuff16" inherits="Perl_Party_BuffTemplate" id="32">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="$parent_Debuff15" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <!-- End buttons -->
                                </Frames>
                        </Frame>
                </Frames>
        </Frame>


        <!-- The Real Frames -->
        <Frame name="Perl_Party_Frame" movable="true" frameStrata="LOW" parent="UIParent">
                <Size>
                        <AbsDimension x="225" y="42"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="-8" y="-187"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="Perl_Party_Background">
                                <Size>
                                        <AbsDimension x="225" y="42"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <!--
                                <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" 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>
                                -->
                        </Frame>
                        <Frame name="Perl_Party_MemberFrame1" inherits="Perl_Party_FrameTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="Perl_Party_Frame">
                                                <Offset>
                                                        <AbsDimension x="5" y="-5"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="Perl_Party_MemberFrame2" inherits="Perl_Party_FrameTemplate" id="2">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="Perl_Party_MemberFrame1">
                                                <Offset>
                                                        <AbsDimension x="0" y="-80"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="Perl_Party_MemberFrame3" inherits="Perl_Party_FrameTemplate" id="3">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="Perl_Party_MemberFrame2">
                                                <Offset>
                                                        <AbsDimension x="0" y="-80"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="Perl_Party_MemberFrame4" inherits="Perl_Party_FrameTemplate" id="4">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="Perl_Party_MemberFrame3">
                                                <Offset>
                                                        <AbsDimension x="0" y="-80"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                </Frames>
        </Frame>


        <Frame name="Perl_Party_Script_Frame" movable="true" parent="UIParent" hidden="false" enableMouse="true">
                <Scripts>
                        <OnEvent>
                                Perl_Party_Script_OnEvent(event);
                        </OnEvent>
                        <OnLoad>
                                Perl_Party_Script_OnLoad();
                        </OnLoad>
                </Scripts>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.