<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="InspectPaperDollFrame.lua"/>
<Button name="InspectPaperDollItemSlotButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
<Scripts>
<OnLoad>
InspectPaperDollItemSlotButton_OnLoad(self);
</OnLoad>
<OnEvent>
InspectPaperDollItemSlotButton_OnEvent(self, event, ...);
</OnEvent>
<OnClick>
HandleModifiedItemClick(GetInventoryItemLink(InspectFrame.unit, self:GetID()));
</OnClick>
<OnUpdate>
CursorOnUpdate(self);
if ( GameTooltip:IsOwned(self) ) then
InspectPaperDollItemSlotButton_OnEnter(self);
end
</OnUpdate>
<OnEnter>
InspectPaperDollItemSlotButton_OnEnter(self, motion);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
ResetCursor();
</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>
<Button name="InspectPaperDollItemSlotButtonLeftTemplate" inherits="InspectPaperDollItemSlotButtonTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture name="$parentFrame" inherits="Char-LeftSlot">
<Anchors>
<Anchor point="TOPLEFT" x="-4"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
<Button name="InspectPaperDollItemSlotButtonRightTemplate" inherits="InspectPaperDollItemSlotButtonTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture name="$parentFrame" inherits="Char-RightSlot">
<Anchors>
<Anchor point="TOPRIGHT" x="4"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
<Button name="InspectPaperDollItemSlotButtonBottomTemplate" inherits="InspectPaperDollItemSlotButtonTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture name="$parentFrame" inherits="Char-BottomSlot">
<Anchors>
<Anchor point="TOPLEFT" x="-4" y="8"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
<Frame name="InspectPaperDollFrame" setAllPoints="true" useParentLevel="true" parent="InspectFrame" id="1">
<Layers>
<Layer level="OVERLAY">
<FontString name="InspectLevelText" inherits="GameFontNormalSmall" text="Level level race class">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-27"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="InspectTitleText" inherits="GameFontNormalSmall" text="title of the player" hidden="true">
<Anchors>
<Anchor point="TOP" relativeTo="InspectLevelText" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="InspectGuildText" inherits="GameFontNormalSmall" text="title of guild" hidden="true">
<Anchors>
<Anchor point="TOP" relativeTo="InspectTitleText" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="InspectFaction" file="Interface\Timer\Panda-Logo" hidden="true">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="CENTER" x="0" y="-10"/>
</Anchors>
<TexCoords left="0" right="1" top="0" bottom="1"/>
</Texture>
</Layer>
</Layers>
<Frames>
<PlayerModel name="InspectModelFrame" inherits="ModelWithControlsTemplate">
<Size x="231" y="320"/>
<Anchors>
<Anchor point="TOPLEFT" x="52" y="-66"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="InspectModelFrameBackgroundTopLeft" parentKey="BackgroundTopLeft">
<Size x="212" y="245"/>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
<TexCoords left="0.171875" right="1" top="0.0392156862745098" bottom="1"/>
</Texture>
<Texture name="InspectModelFrameBackgroundTopRight" parentKey="BackgroundTopRight">
<Size x="19" y="245"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectModelFrameBackgroundTopLeft" relativePoint="TOPRIGHT"/>
</Anchors>
<TexCoords left="0" right="0.296875" top="0.0392156862745098" bottom="1"/>
</Texture>
<Texture name="InspectModelFrameBackgroundBotLeft" parentKey="BackgroundBotLeft">
<Size x="212" y="128"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectModelFrameBackgroundTopLeft" relativePoint="BOTTOMLEFT"/>
</Anchors>
<TexCoords left="0.171875" right="1" top="0" bottom="1"/>
</Texture>
<Texture name="InspectModelFrameBackgroundBotRight" parentKey="BackgroundBotRight">
<Size x="19" y="128"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectModelFrameBackgroundTopLeft" relativePoint="BOTTOMRIGHT"/>
</Anchors>
<TexCoords left="0" right="0.296875" top="0" bottom="1"/>
</Texture>
</Layer>
<Layer level="BORDER">
<Texture name="InspectModelFrameBackgroundOverlay" parentKey="BackgroundOverlay">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectModelFrameBackgroundTopLeft"/>
<Anchor point="BOTTOMRIGHT" relativeTo="InspectModelFrameBackgroundBotRight" x="0" y="52"/>
</Anchors>
<Color r="0" g="0" b="0"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="InspectModelFrameBorderTopLeft" inherits="Char-Corner-UpperLeft">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectFrameInset" x="46" y="-4"/>
</Anchors>
</Texture>
<Texture name="InspectModelFrameBorderTopRight" inherits="Char-Corner-UpperRight">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="InspectFrameInset" x="-47" y="-4"/>
</Anchors>
</Texture>
<Texture name="InspectModelFrameBorderBottomLeft" inherits="Char-Corner-LowerLeft">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="InspectFrameInset" x="46" y="31"/>
</Anchors>
</Texture>
<Texture name="InspectModelFrameBorderBottomRight" inherits="Char-Corner-LowerRight">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="InspectFrameInset" x="-47" y="31"/>
</Anchors>
</Texture>
<Texture name="InspectModelFrameBorderLeft" inherits="Char-Inner-Left">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectModelFrameBorderTopLeft" relativePoint="BOTTOMLEFT" x="-1"/>
<Anchor point="BOTTOMLEFT" relativeTo="InspectModelFrameBorderBottomLeft" relativePoint="TOPLEFT" x="-1"/>
</Anchors>
</Texture>
<Texture name="InspectModelFrameBorderRight" inherits="Char-Inner-Right">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="InspectModelFrameBorderTopRight" relativePoint="BOTTOMRIGHT" x="1"/>
<Anchor point="BOTTOMRIGHT" relativeTo="InspectModelFrameBorderBottomRight" relativePoint="TOPRIGHT" x="1"/>
</Anchors>
</Texture>
<Texture name="InspectModelFrameBorderTop" inherits="Char-Inner-Top">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectModelFrameBorderTopLeft" relativePoint="TOPRIGHT" y="1"/>
<Anchor point="TOPRIGHT" relativeTo="InspectModelFrameBorderTopRight" relativePoint="TOPLEFT" y="1"/>
</Anchors>
</Texture>
<Texture name="InspectModelFrameBorderBottom" inherits="Char-Inner-Bottom">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="InspectModelFrameBorderBottomLeft" relativePoint="BOTTOMRIGHT" y="-1"/>
<Anchor point="BOTTOMRIGHT" relativeTo="InspectModelFrameBorderBottomRight" relativePoint="BOTTOMLEFT" y="-1"/>
</Anchors>
</Texture>
<Texture name="InspectModelFrameBorderBottom2" inherits="Char-Inner-Bottom">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="InspectFrameInset" y="27"/>
<Anchor point="BOTTOMRIGHT" relativeTo="InspectFrameInset" y="27"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
Model_OnLoad(self, MODELFRAME_MAX_PLAYER_ZOOM);
</OnLoad>
</Scripts>
</PlayerModel>
<Frame name="InspectPaperDollItemsFrame" setAllPoints="true">
<Frames>
<Button name="InspectHeadSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectFrameInset" x="4" y="-2"/>
</Anchors>
</Button>
<Button name="InspectNeckSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectHeadSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectShoulderSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectNeckSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectBackSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectShoulderSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectChestSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectBackSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectShirtSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectChestSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectTabardSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectShirtSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectWristSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectTabardSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectHandsSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="InspectFrameInset" x="-4" y="-2"/>
</Anchors>
</Button>
<Button name="InspectWaistSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectHandsSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectLegsSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectWaistSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectFeetSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectLegsSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectFinger0Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectFeetSlot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectFinger1Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectFinger0Slot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectTrinket0Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectFinger1Slot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectTrinket1Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectTrinket0Slot" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectMainHandSlot" inherits="InspectPaperDollItemSlotButtonBottomTemplate">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="130" y="16"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture inherits="Char-Slot-Bottom-Left">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentFrame" relativePoint="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
<Button name="InspectSecondaryHandSlot" inherits="InspectPaperDollItemSlotButtonBottomTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectMainHandSlot" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
</Frames>
</Frame>
</Frames>
<Scripts>
<OnLoad function="InspectPaperDollFrame_OnLoad"/>
<OnEvent function="InspectPaperDollFrame_OnEvent"/>
<OnShow function="InspectPaperDollFrame_OnShow"/>
</Scripts>
</Frame>
</Ui>