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_Player_Pet.lua"/>


        <!-- Virtual buffs template -->
        <Button name="Perl_Player_Pet_BuffTemplate" virtual="true">
                <Size>
                        <AbsDimension x="12" y="12"/>
                </Size>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="$parentIcon">
                                        <Size>
                                                <AbsDimension x="12" y="12"/>
                                        </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="12" y="12"/>
                                        </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_Player_Pet_SetBuffTooltip();
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>
                </Scripts>
        </Button>


        <!-- Pet Frame -->
        <Frame name="Perl_Player_Pet_Frame" movable="true" parent="UIParent" hidden="true" enableMouse="true">
                <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="165" y="24"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="27" y="-112"/>
                                </Offset>
                        </Anchor>
                </Anchors>

                <!-- Script Events -->
                <Scripts>
                        <OnLoad>
                                Perl_Player_Pet_OnLoad();
                        </OnLoad>
                        <OnEvent>
                                Perl_Player_Pet_OnEvent(event);
                        </OnEvent>
                </Scripts>

                <Frames>
                        <!-- Frame for the drop down menu. -->
                        <Frame name="Perl_Player_Pet_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_Player_Pet_DropDown_OnLoad();
                                        </OnLoad>
                                </Scripts>
                        </Frame>


                        <!-- Target Name -->
                        <Frame name="Perl_Player_Pet_NameFrame">
                                <Size>
                                        <AbsDimension x="165" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Frames>
                                        <Button name="Perl_Player_Pet_NameFrame_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="110" 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_Player_Pet_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Player_Pet_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Player_Pet_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">
                                                <Fontstring name="Perl_Player_Pet_NameBarText" inherits="GameFontNormalSmall" text="Error!">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="Perl_Player_Pet_ClassTexture" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="5" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Fontstring>
                                        </Layer>
                                </Layers>
                        </Frame>


                        <!-- Portrait Frame -->
                        <Frame name="Perl_Player_Pet_PortraitFrame">
                                <Size>
                                        <AbsDimension x="53" y="54"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="Perl_Player_Pet_NameFrame">
                                                <Offset>
                                                        <AbsDimension x="5" 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>
                                <Frames>
                                        <Button name="Perl_Player_Pet_PortraitFrame_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_Player_Pet_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Player_Pet_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Player_Pet_MouseUp(arg1);
                                                        </OnMouseUp>
                                                </Scripts>
                                        </Button>
                                        <PlayerModel name="$parent_PetModel" hidden="true">
                                                <Size>
                                                        <AbsDimension x="43" y="43"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="CENTER">
                                                                <Offset>
                                                                        <AbsDimension x="1" y="-1"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnUpdate>
                                                                this:SetCamera(0);
                                                        </OnUpdate>
                                                </Scripts>
                                        </PlayerModel>
                                </Frames>
                                <Layers>
                                        <!-- Portrait -->
                                        <Layer level="ARTWORK">
                                                <Texture name="Perl_Player_Pet_Portrait">
                                                        <Size>
                                                                <AbsDimension x="41" y="41"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_Pet_PortraitFrame">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-6"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                        </Frame>


                        <!-- Level Frame -->
                        <Frame name="Perl_Player_Pet_LevelFrame">
                                <Size>
                                        <AbsDimension x="30" y="34"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Player_Pet_NameFrame">
                                                <Offset>
                                                        <AbsDimension x="0" 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>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <Fontstring name="Perl_Player_Pet_LevelBarText" inherits="GameFontNormalSmall" text="Error!">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="Perl_Player_Pet_NameFrame">
                                                                        <Offset>
                                                                                <AbsDimension x="6" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Fontstring>
                                        </Layer>
                                </Layers>
                                <Frames>
                                        <Frame name="Perl_Player_PetHappiness">
                                                <Size>
                                                        <AbsDimension x="24" y="23"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="BACKGROUND">
                                                                <Texture name="Perl_Player_PetHappinessTexture" file="Interface\PetPaperDollFrame\UI-PetHappiness" setAllPoints="true">
                                                                        <Size>
                                                                                <AbsDimension x="24" y="23"/>
                                                                        </Size>
                                                                        <TexCoords left="0" right="0.1875" top="0" bottom="0.359375"/>
                                                                </Texture>
                                                        </Layer>
                                                </Layers>
                                        </Frame>
                                        <Button name="Perl_Player_Pet_LevelFrame_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="30" y="34"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
                                                        </OnLoad>
                                                        <OnEnter>
                                                                if ( this.tooltip ) then
                                                                        GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                                                        GameTooltip:SetText(this.tooltip);
                                                                        if ( this.tooltipDamage ) then
                                                                                GameTooltip:AddLine(this.tooltipDamage, "", 1, 1, 1);
                                                                        end
                                                                        if ( this.tooltipLoyalty ) then
                                                                                GameTooltip:AddLine(this.tooltipLoyalty, "", 1, 1, 1);
                                                                        end
                                                                        GameTooltip:Show();
                                                                end
                                                        </OnEnter>
                                                        <OnLeave>
                                                                GameTooltip:Hide();
                                                        </OnLeave>
                                                        <OnClick>
                                                                Perl_Player_Pet_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Player_Pet_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Player_Pet_MouseUp(arg1);
                                                        </OnMouseUp>
                                                </Scripts>
                                        </Button>
                                </Frames>
                        </Frame>


                        <!-- Target Stats -->
                        <Frame name="Perl_Player_Pet_StatsFrame">
                                <Size>
                                        <AbsDimension x="140" y="34"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Player_Pet_NameFrame">
                                                <Offset>
                                                        <AbsDimension x="25" 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="Perl_Player_Pet_StatsFrame_CastClickOverlay">
                                                <Size>
                                                        <AbsDimension x="140" y="34"/>
                                                </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_Player_Pet_MouseClick(arg1);
                                                        </OnClick>
                                                        <OnMouseDown>
                                                                Perl_Player_Pet_MouseDown(arg1);
                                                        </OnMouseDown>
                                                        <OnMouseUp>
                                                                Perl_Player_Pet_MouseUp(arg1);
                                                        </OnMouseUp>
                                                </Scripts>
                                        </Button>

                                        <!-- Health Bar -->
                                        <StatusBar name="Perl_Player_Pet_HealthBar" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="128" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-6"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture name="Perl_Player_Pet_HealthBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
                                                <BarColor r="0" g="0.8" b="0"/>
                                                <Layers>
                                                        <!-- Health Text -->
                                                        <Layer level="OVERLAY">
                                                                <Fontstring name="Perl_Player_Pet_HealthBarText" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativePoint="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="1"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </Fontstring>
                                                        </Layer>
                                                </Layers>
                                        </StatusBar>
                                        <StatusBar name="Perl_Player_Pet_HealthBarBG" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="128" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_Pet_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>

                                        <!-- Mana Bar -->
                                        <StatusBar name="Perl_Player_Pet_ManaBar" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="128" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="Perl_Player_Pet_HealthBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-2"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture name="Perl_Player_Pet_ManaBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
                                                <BarColor r="0" g="0" b="1"/>
                                                <Layers>
                                                        <!-- Mana Text -->
                                                        <Layer level="OVERLAY">
                                                                <Fontstring name="Perl_Player_Pet_ManaBarText" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativePoint="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </Fontstring>
                                                        </Layer>
                                                </Layers>
                                        </StatusBar>
                                        <StatusBar name="Perl_Player_Pet_ManaBarBG" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="128" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_Pet_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>

                                        <!-- XP Bar -->
                                        <StatusBar name="Perl_Player_Pet_XPBar" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="128" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="Perl_Player_Pet_ManaBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-2"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture name="Perl_Player_Pet_XPBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
                                                <BarColor r="0.6" g="0" b="0.6"/>
                                                <Layers>
                                                        <!-- XP Text -->
                                                        <Layer level="OVERLAY">
                                                                <Fontstring name="Perl_Player_Pet_XPBarText" inherits="GameFontNormalSmall" text="Error!">
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativePoint="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </Fontstring>
                                                        </Layer>
                                                </Layers>
                                        </StatusBar>
                                        <StatusBar name="Perl_Player_Pet_XPBarBG" inherits="TextStatusBar">
                                                <Size>
                                                        <AbsDimension x="128" y="10"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_Pet_XPBar">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
                                                <BarColor r="0.6" g="0" b="0.6" a="0.25"/>
                                        </StatusBar>
                                </Frames>
                        </Frame>


                        <!-- Buffs Frame -->
                        <Frame name="Perl_Player_Pet_BuffFrame">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Player_Pet_StatsFrame">
                                                <Offset>
                                                        <AbsDimension x="-5" y="1"/>
                                                </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>
                                -->
                                <Frames>
                                        <!-- Start buttons -->
                                        <Button name="Perl_Player_Pet_Buff1" inherits="Perl_Player_Pet_BuffTemplate" id="1">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff2" inherits="Perl_Player_Pet_BuffTemplate" id="2">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff1" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff3" inherits="Perl_Player_Pet_BuffTemplate" id="3">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff2" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff4" inherits="Perl_Player_Pet_BuffTemplate" id="4">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff3" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff5" inherits="Perl_Player_Pet_BuffTemplate" id="5">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff4" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff6" inherits="Perl_Player_Pet_BuffTemplate" id="6">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff5" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff7" inherits="Perl_Player_Pet_BuffTemplate" id="7">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff6" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff8" inherits="Perl_Player_Pet_BuffTemplate" id="8">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff7" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff9" inherits="Perl_Player_Pet_BuffTemplate" id="9">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff8" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff10" inherits="Perl_Player_Pet_BuffTemplate" id="10">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff9" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff11" inherits="Perl_Player_Pet_BuffTemplate" id="11">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff10" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff12" inherits="Perl_Player_Pet_BuffTemplate" id="12">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff11" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff13" inherits="Perl_Player_Pet_BuffTemplate" id="13">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff12" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff14" inherits="Perl_Player_Pet_BuffTemplate" id="14">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff13" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff15" inherits="Perl_Player_Pet_BuffTemplate" id="15">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff14" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Buff16" inherits="Perl_Player_Pet_BuffTemplate" id="16">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Buff15" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <!-- End buttons -->
                                </Frames>
                        </Frame>

                        <!-- Debuffs Frame -->
                        <Frame name="Perl_Player_Pet_DebuffFrame">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeTo="Perl_Player_Pet_StatsFrame">
                                                <Offset>
                                                        <AbsDimension x="-5" y="-1"/>
                                                </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>
                                -->
                                <Frames>
                                        <!-- Start buttons -->
                                        <Button name="Perl_Player_Pet_Debuff1" inherits="Perl_Player_Pet_BuffTemplate" id="1">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff2" inherits="Perl_Player_Pet_BuffTemplate" id="2">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff1" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff3" inherits="Perl_Player_Pet_BuffTemplate" id="3">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff2" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        
                                        <Button name="Perl_Player_Pet_Debuff4" inherits="Perl_Player_Pet_BuffTemplate" id="4">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff3" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff5" inherits="Perl_Player_Pet_BuffTemplate" id="5">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff4" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff6" inherits="Perl_Player_Pet_BuffTemplate" id="6">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff5" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff7" inherits="Perl_Player_Pet_BuffTemplate" id="7">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff6" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff8" inherits="Perl_Player_Pet_BuffTemplate" id="8">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff7" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff9" inherits="Perl_Player_Pet_BuffTemplate" id="9">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff8" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff10" inherits="Perl_Player_Pet_BuffTemplate" id="10">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff9" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff11" inherits="Perl_Player_Pet_BuffTemplate" id="11">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff10" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff12" inherits="Perl_Player_Pet_BuffTemplate" id="12">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff11" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff13" inherits="Perl_Player_Pet_BuffTemplate" id="13">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff12" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff14" inherits="Perl_Player_Pet_BuffTemplate" id="14">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff13" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff15" inherits="Perl_Player_Pet_BuffTemplate" id="15">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff14" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>

                                        <Button name="Perl_Player_Pet_Debuff16" inherits="Perl_Player_Pet_BuffTemplate" id="16">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="Perl_Player_Pet_Debuff15" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <!-- End buttons -->
                                </Frames>
                        </Frame>

                </Frames>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.