vanilla-wow-addons – Rev 1
?pathlinks?
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
<Script file="XPerl_Player.lua"/>
<Frame name="XPerl_Player" clampedToScreen="true" frameStrata="LOW" 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. -->
<AbsDimension x="220" y="60"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="23" y="-12"/>
</Offset>
</Anchor>
</Anchors>
<!-- Script Events -->
<Scripts>
<OnLoad>
XPerl_Player_OnLoad();
</OnLoad>
</Scripts>
<Frames>
<Frame name="$parent_PortraitFrame" inherits="XPerl_Portrait_Template">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parent_NameFrame">
<Size>
<AbsDimension x="160" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_PortraitFrame">
<Offset>
<AbsDimension x="-3" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<!-- PVP Icon -->
<Texture name="$parent_PVPStatus" file="Interface\TargetingFrame\UI-PVP-FFA" hidden="true">
<Size>
<AbsDimension x="44" y="44"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parent_PVPRankIcon">
<Size><AbsDimension x="32" y="32"/></Size>
<Anchors>
<Anchor point="TOP">
<Offset><AbsDimension x="-40" y="3"/></Offset>
</Anchor>
</Anchors>
</Texture>
<!-- Rest/Combat Icon -->
<Texture name="$parent_ActivityStatus" file="Interface\CharacterFrame\UI-StateIcon">
<Size>
<AbsDimension x="32" y="31"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
<TexCoords left="0.5" right = "1.0" top="0.0" bottom="0.5"/>
</Texture>
<!-- 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 Loot Icon -->
<Texture name="$parent_MasterIcon" file="Interface\GroupFrame\UI-Group-MasterLooter" hidden="true">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="20" y="7"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="$parent_NameBarText" inherits="GameFontNormal" text="Error!">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1" g="1" b="0" />
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="$parent_LevelFrame">
<Size>
<AbsDimension x="27" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parent_PortraitFrame">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<!--Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Addons\XPerl\Images\XPerl_SmallFrame" tile="true"-->
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parent_LevelBarText" inherits="GameFontNormalSmall" text="Error!" setAllPoints="true">
<Color r="1.0" g="1.0" b="0"/>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="$parent_Class">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" relativeTo="$parent_PortraitFrame">
<Offset>
<AbsDimension x="-1" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<!-- Player Stats -->
<Frame name="$parent_StatsFrame" inherits="XPerl_StatsXP_Template">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_NameFrame">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<StatusBar name="$parent_EnergyTicker" hidden="true">
<Size>
<AbsDimension x="112" y="2"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_ManaBar" />
</Anchors>
<BarTexture file="Interface\Addons\XPerl\Images\XPerl_FrameBack" />
<BarColor r="1" g="1" b="0.5" a="1"/>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parent_Spark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
<Size>
<AbsDimension x="12" y="12"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetMinMaxValues(0, 2);
</OnLoad>
<OnUpdate>
XPerl_Player_Energy_OnUpdate();
</OnUpdate>
</Scripts>
</StatusBar>
<StatusBar name="$parent_DruidBar" hidden="true">
<Size>
<AbsDimension x="112" y="1"/>
</Size>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ManaBar">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<BarTexture name="$parentTex" file="Interface\TargetingFrame\UI-StatusBar"/>
<BarColor r="0" g="0" b="1"/>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentText" inherits="GameFontNormalSmall" text="Error!">
<FontHeight>
<AbsValue val="11"/>
</FontHeight>
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER"/>
</Anchors>
<Color r="1" g="1" b="1" />
</FontString>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentPercent" inherits="GameFontNormalSmall" text="Error!">
<FontHeight>
<AbsValue val="11"/>
</FontHeight>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT"/>
</Anchors>
<Color r="1" g="1" b="1" />
</FontString>
</Layer>
<Layer level="BACKGROUND">
<Texture name="$parentBG" file="Interface\TargetingFrame\UI-TargetingFrame-BarFill" setAllPoints="true">
<Color r="0" g="0" b="1" a="0.5"/>
</Texture>
</Layer>
</Layers>
</StatusBar>
</Frames>
</Frame>
<Frame name="$parent_GroupFrame" hidden="true">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="$parent_NameFrame">
<Offset>
<AbsDimension x="1" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="12"/>
</EdgeSize>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="2" right="2" top="2" bottom="2"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentGroup" inherits="GameFontHighlightSmall" text="Error!" setAllPoints="true">
<Color r="1.0" g="1.0" b="1.0" a="0.5"/>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="$parent_CastClickOverlay" topLevel="true"> --frameStrata="MEDIUM">
<HighlightTexture file="Interface\Addons\XPerl\Images\XPerl_Highlight" alphaMode="ADD">
<TexCoords left="0" right="1" top="0.5" bottom="1"/>
</HighlightTexture>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_LevelFrame"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent_StatsFrame"/>
</Anchors>
<Scripts>
<OnLoad>
this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
this:RegisterForDrag("LeftButton");
</OnLoad>
<OnDragStart>
if (XPerlLocked == 0) then
XPerl_Player:StartMoving();
end
</OnDragStart>
<OnDragStop>
XPerl_Player:StopMovingOrSizing();
</OnDragStop>
<OnClick>
XPerl_Player_OnClick(arg1);
</OnClick>
<OnEnter>
XPerl_PlayerTip("player");
</OnEnter>
<OnLeave>
XPerl_PlayerTipHide();
</OnLeave>
</Scripts>
<Layers>
<Layer level="OVERLAY">
<FontString name="XPerl_PlayerHitIndicator" inherits="NumberFontNormalHuge" hidden="true" text="Error!">
<FontHeight>
<AbsValue val="30"/>
</FontHeight>
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER" relativeTo="XPerl_Player_PortraitFrame"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Button>
</Frames>
</Frame>
</Ui>