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="GuildAdsInspect.lua"/>
<Button name="GuildAdsInspectItemSlotButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
<Scripts>
<OnLoad>
GuildAdsInspectItemSlotButton_OnLoad();
</OnLoad>
<!--
<OnClick>
GuildAdsInspectItemSlotButton_OnClick(arg1);
</OnClick>
-->
<OnEnter>
GuildAdsInspectItemSlotButton_OnEnter();
</OnEnter>
<OnLeave>
GuildAdsInspectItemSlotButton_OnLeave();
</OnLeave>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-Quickslot2">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</NormalTexture>
</Button>
<Frame name="GuildAdsInspectFrame" frameStrata="HIGH" setAllPoints="true" parent="UIParent" hidden="true" enableMouse="true" movable="true" resizable="true">
<Size>
<AbsDimension x="250" y="380"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="5" y="-100"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="3" right="5" top="3" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="BACKGROUND">
<FontString name="GuildAdsInspectName" inherits="GameFontNormal" text="Level level race class">
<Anchors>
<Anchor point="TOP" relativeTo="GuildAdsInspectFrame" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildAdsInspectTitle" inherits="GameFontNormalSmall" text="title of the player">
<Anchors>
<Anchor point="TOP" relativeTo="GuildAdsInspectFrame" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="-18"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildAdsInspectTime" inherits="GameFontNormalSmall" text="title of the player">
<Anchors>
<Anchor point="TOP" relativeTo="GuildAdsInspectFrame" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="GuildAdsInspectCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="GuildAdsInspectFrame">
<Offset>
<AbsDimension x="2" y="2"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectHeadSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFrame">
<Offset>
<AbsDimension x="21" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectNeckSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectHeadSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectShoulderSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectNeckSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectBackSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectShoulderSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectChestSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectBackSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectShirtSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectChestSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectTabardSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectShirtSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectWristSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectTabardSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectHandsSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFrame">
<Offset>
<AbsDimension x="188" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectWaistSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectHandsSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectLegsSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectWaistSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectFeetSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectLegsSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectFinger0Slot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFeetSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectFinger1Slot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFinger0Slot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectTrinket0Slot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFinger1Slot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectTrinket1Slot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectTrinket0Slot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectMainHandSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFrame" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="62" y="50"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectSecondaryHandSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectMainHandSlot" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildAdsInspectRangedSlot" inherits="GuildAdsInspectItemSlotButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildAdsInspectSecondaryHandSlot" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
</Frames>
<Scripts>
<OnMouseUp>
if ( this.isMoving ) then
this:StopMovingOrSizing();
this.isMoving = false;
end
</OnMouseUp>
<OnMouseDown>
if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
this:StartMoving();
this.isMoving = true;
end
</OnMouseDown>
<OnHide>
if ( this.isMoving ) then
this:StopMovingOrSizing();
this.isMoving = false;
end
</OnHide>
</Scripts>
</Frame>
</Ui>