Files
coa-pawn/PawnUI.xml
T
florian.berthold bd0269e997 vendor: import Pawn 1.3.8 from in-game AddOns dir
Imported from /srv/add01/wow-ascension/Interface/AddOns/Pawn — the
build Ascension's WotLK 3.3.5 client ships.

No upstream history rooted: Pawn 1.3.8 (circa 2010) predates the
modern Pawn repo at github.com/VgerMods/Pawn (retail-only since 6.x),
and Ascension-Addons doesn't carry a Pawn fork. If a Wrath-era Pawn
upstream ever surfaces, this can be re-rooted on it the same way
coa-bartender / coa-omen were.

License: per .toc.
2026-05-08 04:03:35 +02:00

1474 lines
70 KiB
XML

<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../FrameXML.old/UI.xsd">
<!--
Pawn by Vger-Azjol-Nerub
See Readme.htm for more information.
www.vgermods.com
-->
<!-- Standard Pawn fonts -->
<Font name="PawnFontBlue" inherits="GameFontNormal" virtual="true">
<Color r ="0.56" g="0.76" b="0.90" />
</Font>
<Font name="PawnFontBlueSmall" inherits="GameFontNormalSmall" virtual="true">
<Color r ="0.56" g="0.76" b="0.90" />
</Font>
<Font name="PawnFontSilver" inherits="GameFontNormal" virtual="true">
<Color r ="0.75" g="0.75" b="0.75" />
</Font>
<Font name="PawnFontSilverLarge" inherits="GameFontNormalLarge" virtual="true">
<Color r ="0.75" g="0.75" b="0.75" />
</Font>
<!-- Standard Pawn dialog and frame template -->
<Frame name="PawnUIDialogTemplate" virtual="true" parent="UIParent" frameStrata="FULLSCREEN_DIALOG" hidden="true" enableMouse="true">
<Anchors><Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER" /></Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<Color a="1" r="0" g="0" b="0" />
<BackgroundInsets><AbsInset left="10" right="11" top="11" bottom="10" /></BackgroundInsets>
<TileSize><AbsValue val="32" /></TileSize>
<EdgeSize><AbsValue val="32" /></EdgeSize>
</Backdrop>
</Frame>
<!-- Standard Pawn large frame tab template -->
<Frame name="PawnUITabPageTemplate" virtual="true" hidden="true">
<Anchors><Anchor point="TOPLEFT" /><Anchor point="BOTTOMRIGHT" /></Anchors>
</Frame>
<!-- Standard Pawn button with a tooltip template -->
<Button name="PawnUIButtonTemplate" inherits="UIPanelButtonTemplate" virtual="true">
<Scripts>
<OnEnter>PawnUIFrame_TooltipOn(this)</OnEnter>
<OnLeave>PawnUIFrame_TooltipOff()</OnLeave>
</Scripts>
</Button>
<!-- Standard Pawn options checkbox template -->
<CheckButton name="PawnUICheckboxTemplate" inherits="UICheckButtonTemplate" virtual="true">
<Size><AbsDimension x="25" y="25" /></Size>
<HitRectInsets><AbsInset left="0" right="-225" top="0" bottom="0"/></HitRectInsets>
<Scripts>
<OnEnter>PawnUIFrame_TooltipOn(this)</OnEnter>
<OnLeave>PawnUIFrame_TooltipOff()</OnLeave>
</Scripts>
</CheckButton>
<CheckButton name="PawnUISmallCheckboxTemplate" inherits="UICheckButtonTemplate" virtual="true">
<Size><AbsDimension x="20" y="20" /></Size>
<HitRectInsets><AbsInset left="0" right="-160" top="0" bottom="0"/></HitRectInsets>
<Scripts>
<OnEnter>PawnUIFrame_TooltipOn(this)</OnEnter>
<OnLeave>PawnUIFrame_TooltipOff()</OnLeave>
</Scripts>
</CheckButton>
<!-- Label for standard Pawn options checkbox -->
<FontString name="PawnUICheckboxLabelTemplate" inherits="GameFontNormal" virtual="true" justifyH="LEFT" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="250" y="25" /></Size>
</FontString>
<FontString name="PawnUISmallCheckboxLabelTemplate" inherits="GameFontNormalSmall" virtual="true" justifyH="LEFT" justifyV="MIDDLE">
<Anchors><Anchor point="LEFT"><Offset><AbsDimension x="20" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="160" y="20" /></Size>
</FontString>
<!-- Standard Pawn options radio button template -->
<CheckButton name="PawnUIRadioButtonTemplate" inherits="UIRadioButtonTemplate" virtual="true">
<Size><AbsDimension x="15" y="15" /></Size>
<HitRectInsets><AbsInset left="0" right="-200" top="0" bottom="0"/></HitRectInsets>
<Scripts>
<OnEnter>PawnUIFrame_TooltipOn(this)</OnEnter>
<OnLeave>PawnUIFrame_TooltipOff()</OnLeave>
</Scripts>
</CheckButton>
<!-- Label for standard Pawn options radio button-->
<FontString name="PawnUIRadioButtonLabelTemplate" inherits="GameFontNormalSmall" virtual="true" justifyH="LEFT" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="225" y="15" /></Size>
</FontString>
<!-- Pawn list item templates -->
<Button name="PawnUIFrame_Generic_ItemTemplate" virtual="true">
<ButtonText name="$parentText" justifyH="LEFT" setAllPoints="true" />
<NormalFont style="GameFontHighlight" />
<HighlightFont style="GameFontHighlight" />
<DisabledFont style="PawnFontBlue" />
<PushedTextOffset x="1" y="-1" />
<HighlightTexture file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD">
<Color r=".196" g=".388" b=".8" />
</HighlightTexture>
</Button>
<Button name="PawnUIFrame_ScaleSelector_ItemTemplate" virtual="true" inherits="PawnUIFrame_Generic_ItemTemplate">
<Size><AbsDimension x="140" y="16" /></Size>
<DisabledFont style="PawnFontBlueSmall" />
<Scripts>
<OnClick>PawnUIFrame_ScaleSelector_OnClick(this)</OnClick>
</Scripts>
</Button>
<Button name="PawnUIFrame_StatsList_ItemTemplate" virtual="true" inherits="PawnUIFrame_Generic_ItemTemplate">
<Size><AbsDimension x="180" y="16" /></Size>
<Scripts>
<OnClick>PawnUIFrame_StatsList_OnClick(this:GetID())</OnClick>
</Scripts>
</Button>
<!-- Pawn inventory window button template -->
<Button name="PawnUI_InventoryButtonTemplate" virtual="true" hidden="false" inherits="UIPanelButtonTemplate">
<Size><AbsDimension x="48" y="24" /></Size>
<NormalTexture file="Interface\AddOns\Pawn\Textures\PawnButton">
<TexCoords left="0" top="0" right=".5" bottom="0.5" />
</NormalTexture>
<PushedTexture file="Interface\AddOns\Pawn\Textures\PawnButton">
<TexCoords left="0" top="0.5" right=".5" bottom="1" />
</PushedTexture>
<DisabledTexture file="Interface\AddOns\Pawn\Textures\PawnButton">
<TexCoords left="0.5" top="0.5" right="1" bottom="1" />
</DisabledTexture>
<HighlightTexture file="Interface\AddOns\Pawn\Textures\PawnButton" alphaMode="ADD">
<TexCoords left=".5" top="0" right="1" bottom="0.5" />
</HighlightTexture>
</Button>
<!-- A stat line on the Compare tab -->
<Frame name="PawnUICompareStatLineTemplate" virtual="true">
<Size><AbsDimension x="460" y="20" /></Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentName" inherits="GameFontHighlight" justifyH="CENTER" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="155" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="150" y="20" /></Size>
</FontString>
<FontString name="$parentDifference1" inherits="GameFontRed" justifyH="CENTER" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="60" y="20" /></Size>
</FontString>
<FontString name="$parentQuantity1" inherits="GameFontNormal" justifyH="CENTER" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="80" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="60" y="20" /></Size>
</FontString>
<FontString name="$parentQuantity2" inherits="GameFontNormal" justifyH="CENTER" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="320" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="60" y="20" /></Size>
</FontString>
<FontString name="$parentDifference2" inherits="GameFontGreen" justifyH="CENTER" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="400" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="60" y="20" /></Size>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="PawnUICompareStatLineHeaderTemplate" virtual="true">
<Size><AbsDimension x="460" y="20" /></Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentName" inherits="PawnFontBlueSmall" justifyH="CENTER" justifyV="BOTTOM">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="155" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="150" y="20" /></Size>
</FontString>
</Layer>
</Layers>
</Frame>
<!-- A gem line in the gems list -->
<Button name="PawnUIGemLineTemplate" virtual="true">
<Size><AbsDimension x="515" y="17" /></Size>
<HighlightTexture file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD">
<Color r=".196" g=".388" b=".8" />
</HighlightTexture>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentIcon">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="1" y="1" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="15" y="15" /></Size>
</Texture>
<FontString name="$parentName" inherits="GameFontHighlight" justifyH="LEFT" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="18" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="425" y="16" /></Size>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>PawnUIFrame_GemList_OnEnter(self)</OnEnter>
<OnLeave>PawnUIFrame_GemList_OnLeave(self)</OnLeave>
<OnClick>PawnUIFrame_GemList_OnClick(self)</OnClick>
</Scripts>
</Button>
<Button name="PawnUIGemHeaderLineTemplate" virtual="true">
<Size><AbsDimension x="515" y="17" /></Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentName" inherits="PawnFontBlueSmall" justifyH="LEFT" justifyV="BOTTOM">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="425" y="16" /></Size>
</FontString>
</Layer>
</Layers>
</Button>
<!-- Pawn's item scanning tooltip -->
<GameTooltip name="PawnPrivateTooltip" inherits="GameTooltipTemplate">
<Scripts>
<OnLoad>this:SetOwner(UIParent, "ANCHOR_NONE")</OnLoad>
</Scripts>
</GameTooltip>
<!-- The Pawn button on the inventory window -->
<Button name="PawnUI_InventoryPawnButton" parent="PaperDollFrame" inherits="PawnUI_InventoryButtonTemplate">
<Anchors><Anchor point="BOTTOMRIGHT" relativeTo="PaperDollFrame" /></Anchors><!-- Offsets defined in PawnUI_InventoryPawnButton_Move -->
<Scripts>
<OnEnter>PawnUI_InventoryPawnButton_OnEnter(this)</OnEnter>
<OnLeave>GameTooltip:Hide()</OnLeave>
<OnClick>PawnUIShow()</OnClick>
</Scripts>
</Button>
<!-- The Pawn button on the inspect window -->
<Button name="PawnUI_InspectPawnButtonTemplate" virtual="true" inherits="PawnUI_InventoryButtonTemplate">
<Anchors><Anchor point="BOTTOMRIGHT" relativeTo="InspectPaperDollFrame" /></Anchors>
<Scripts>
<OnEnter>PawnUI_InspectPawnButton_OnEnter(this)</OnEnter>
<OnLeave>GameTooltip:Hide()</OnLeave>
<OnClick>PawnUIShow()</OnClick>
</Scripts>
</Button>
<!-- The Pawn button on the socketing window -->
<Button name="PawnUI_SocketingPawnButtonTemplate" virtual="true" inherits="PawnUI_InventoryButtonTemplate">
<Anchors><Anchor point="TOPRIGHT" relativeTo="ItemSocketingFrame" /></Anchors>
<Scripts>
<OnEnter>PawnUI_SocketingPawnButton_OnEnter(this)</OnEnter>
<OnLeave>GameTooltip:Hide()</OnLeave>
<OnClick>PawnUIShowTab(PawnUIGemsTabPage, true)</OnClick>
</Scripts>
</Button>
<!-- Pawn tooltips with a chunkier border -->
<GameTooltip name="PawnUI_FattyTooltip" virtual="true" inherits="GameTooltipTemplate">
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<Color a="1" r="0" g="0" b="0" />
<BackgroundInsets><AbsInset left="2" right="2" top="2" bottom="2" /></BackgroundInsets>
<TileSize><AbsValue val="16" /></TileSize>
<EdgeSize><AbsValue val="16" /></EdgeSize>
</Backdrop>
</GameTooltip>
<!-- The main Pawn configuration UI -->
<Frame name="PawnUIFrame" inherits="PawnUIDialogTemplate" toplevel="true" parent="UIParent" frameStrata="MEDIUM" hidden="true" movable="true">
<Size><AbsDimension x="600" y="450" /></Size>
<Frames>
<Button name="PawnUIFrame_TinyCloseButton" hidden="false" inherits="UIPanelCloseButton">
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-15" y="34" /></Offset></Anchor></Anchors>
</Button>
<Button inherits="UIPanelButtonTemplate" text="PawnUIFrame_CloseButton_Text">
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="20" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="95" y="25" /></Size>
<Scripts>
<OnClick>PawnUIShow()</OnClick>
</Scripts>
</Button>
<!-- The header tab -->
<Frame parent="PawnUIFrame" enableMouse="true">
<Size><AbsDimension x="600" y="75" /></Size>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="70" />
</Anchors>
<Backdrop bgFile="Interface\AddOns\Pawn\Textures\PawnUIHeader" tile="false" />
<Layers>
<Layer level="OVERLAY">
<Texture name="PawnUIFrame_HeaderLogo" file="Interface\AddOns\Pawn\Textures\PawnLogo">
<Size><AbsDimension x="64" y="32" /></Size>
<Anchors><Anchor point="TOPLEFT" x="17" y="-36" /></Anchors>
</Texture>
<FontString name="PawnUIHeader" inherits="GameFontNormalLarge" justifyH="LEFT" justifyV="MIDDLE" wordwrap="false">
<Size><AbsDimension x="440" y="32" /></Size>
<Anchors><Anchor point="TOPLEFT" x="110" y="-37" /></Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnMouseDown>PawnUIFrame:StartMoving()</OnMouseDown>
<OnMouseUp>PawnUIFrame:StopMovingOrSizing()</OnMouseUp>
<OnDragStop>PawnUIFrame:StopMovingOrSizing()</OnDragStop>
</Scripts>
</Frame>
<!-- The scale selector -->
<Frame name="PawnUIScaleSelector" parent="PawnUIFrame" enableMouse="true" inherits="PawnUIDialogTemplate" frameStrata="MEDIUM" hidden="true">
<Size><AbsDimension x="200" y="430" /></Size>
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="12" y="-10" />
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<Color a="1" r="0" g="0" b="0" />
<BackgroundInsets><AbsInset left="10" right="11" top="11" bottom="10" /></BackgroundInsets>
<TileSize><AbsValue val="32" /></TileSize>
<EdgeSize><AbsValue val="32" /></EdgeSize>
</Backdrop>
<Layers>
<!-- Scale selector: art layer -->
<Layer level="ARTWORK">
<FontString inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP" wordwrap="false" text="PawnUIFrame_ScaleSelector_Header_Text">
<Anchors><Anchor point="TOPLEFT" x="15" y="-15" /></Anchors>
<Size><AbsDimension x="170" y="15" /></Size>
</FontString>
<Texture file="Interface\AddOns\Pawn\Textures\HorizontalBar">
<Anchors><Anchor point="TOPLEFT" x="10" y="-32" /></Anchors>
<Size><AbsDimension x="180" y="1" /></Size>
</Texture>
<Texture file="Interface\AddOns\Pawn\Textures\HorizontalBar">
<Anchors><Anchor point="TOPLEFT" x="10" y="-396" /></Anchors>
<Size><AbsDimension x="180" y="1" /></Size>
</Texture>
</Layer>
</Layers>
<Frames>
<CheckButton name="PawnUIFrame_ShowScaleCheck" inherits="PawnUISmallCheckboxTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="15" y="-398" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUISmallCheckboxLabelTemplate" text="PawnUIFrame_ShowScaleCheck_Label_Text">
<Size><AbsDimension x="160" y="15" /></Size>
</FontString>
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_ShowScaleCheck_OnClick()</OnClick></Scripts>
</CheckButton>
<ScrollFrame name="PawnUIScaleSelectorScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Anchors><Anchor point="TOPLEFT" x="15" y="-35" /></Anchors>
<Size><AbsDimension x="153" y="358" /></Size>
<ScrollChild>
<Frame name="PawnUIScaleSelectorScrollContent">
<Anchors><Anchor point="TOPLEFT" /></Anchors>
<Size><AbsDimension x="155" y="10" /></Size>
<!-- Content added dynamically, and size updated dynamically -->
<Frames>
<Frame name="PawnUIFrame_ScaleSelector_HighlightFrame" hidden="true">
<Anchors><Anchor point="TOPLEFT"></Anchor></Anchors>
<Size><AbsDimension x="155" y="16" /></Size>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD" />
<Texture file="Interface\ChatFrame\ChatFrameExpandArrow">
<Anchors><Anchor point="RIGHT" x="0" y="0" /></Anchors>
<Size><AbsDimension x="14" y="14" /></Size>
</Texture>
</Layer>
</Layers>
</Frame>
</Frames>
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
</Frame>
<!-- The Scale tab -->
<Frame name="PawnUIScalesTabPage" hidden="true" inherits="PawnUITabPageTemplate">
<!-- Scale tab: art layer -->
<Layers>
<Layer level="ARTWORK">
<FontString inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP" text="PawnUIFrame_ScalesWelcomeLabel_Text"><!-- Scales are sets of stats and values that are used to assign point values to items. -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-30"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="550" y="40" /></Size>
</FontString>
<!-- Scale settings area -->
<FontString name="PawnUIFrame_ScaleNameLabel" inherits="GameFontHighlightLarge" justifyH="LEFT" wordwrap="false"><!-- Name of scale -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-75"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="500" y="20" /></Size>
</FontString>
<FontString name="PawnUIFrame_ScaleColorSwatch_Label" inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_ScaleColorSwatch_Label_Text"><!-- Change color -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="320" y="-100"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="100" y="25" /></Size>
</FontString>
<FontString name="PawnUIFrame_ScaleTypeLabel" inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE"><!-- You can change this scale from the Values tab. -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="65" y="-130"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="500" y="20" /></Size>
</FontString>
<!-- Share area -->
<FontString inherits="GameFontHighlightLarge" justifyH="LEFT" wordwrap="false" text="PawnUIFrame_ScaleSettingsShareHeader_Text"><!-- Share your scales -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-160"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="500" y="20" /></Size>
</FontString>
<FontString inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_ImportScaleButton_Label_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="160" y="-190"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="400" y="25" /></Size>
</FontString>
<FontString inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_ExportScaleButton_Label_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="160" y="-220"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="400" y="25" /></Size>
</FontString>
<!-- New scale area -->
<FontString inherits="GameFontHighlightLarge" justifyH="LEFT" wordwrap="false" text="PawnUIFrame_ScaleSettingsNewHeader_Text"><!-- Create a new scale -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-255"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="500" y="20" /></Size>
</FontString>
<FontString inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_CopyScaleButton_Label_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="160" y="-285"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="400" y="25" /></Size>
</FontString>
<FontString inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_NewScaleButton_Label_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="160" y="-315"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="400" y="25" /></Size>
</FontString>
<FontString inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_NewScaleFromDefaultsButton_Label_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="160" y="-345"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="400" y="25" /></Size>
</FontString>
</Layer>
</Layers>
<!-- Scale tab: UI elements -->
<Frames>
<!-- Scale settings area -->
<Button name="PawnUIFrame_RenameScaleButton" inherits="PawnUIButtonTemplate" text="PawnUIFrame_RenameScaleButton_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="60" y="-100" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="90" y="25" /></Size>
<Scripts>
<OnClick>PawnUIFrame_RenameScaleButton_OnClick()</OnClick>
</Scripts>
</Button>
<Button name="PawnUIFrame_DeleteScaleButton" inherits="PawnUIButtonTemplate" text="PawnUIFrame_DeleteScaleButton_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="160" y="-100" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="90" y="25" /></Size>
<Scripts>
<OnClick>PawnUIFrame_DeleteScaleButton_OnClick()</OnClick>
</Scripts>
</Button>
<Button name="PawnUIFrame_ScaleColorSwatch">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="280" y="-93" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="40" y="40" /></Size>
<NormalTexture file="Interface\Buttons\UI-RotationLeft-Button-Up" />
<PushedTexture file="Interface\Buttons\UI-RotationLeft-Button-Down" />
<HighlightTexture file="Interface\Buttons\ButtonHilight-Round" alphaMode="ADD" />
<Layers>
<Layer level="OVERLAY">
<Texture name="PawnUIFrame_ScaleColorSwatch_Color">
<Size><AbsDimension x="14" y="14" /></Size>
<Anchors><Anchor point="CENTER"><Offset><AbsDimension x="0" y="0" /></Offset></Anchor></Anchors>
<Color r ="1.0" g="1.0" b="1.0" a="1.0" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>PawnUIFrame_TooltipOn(this)</OnEnter>
<OnLeave>PawnUIFrame_TooltipOff()</OnLeave>
<OnClick>PawnUIFrame_ScaleColorSwatch_OnClick()</OnClick>
</Scripts>
</Button>
<!-- Share area -->
<Button name="PawnUIFrame_ImportScaleButton" inherits="PawnUIButtonTemplate" text="PawnUIFrame_ImportScaleButton_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="60" y="-190" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="90" y="25" /></Size>
<Scripts>
<OnClick>PawnUIFrame_ImportScaleButton_OnClick()</OnClick>
</Scripts>
</Button>
<Button name="PawnUIFrame_ExportScaleButton" inherits="PawnUIButtonTemplate" text="PawnUIFrame_ExportScaleButton_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="60" y="-220" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="90" y="25" /></Size>
<Scripts>
<OnClick>PawnUIFrame_ExportScaleButton_OnClick()</OnClick>
</Scripts>
</Button>
<!-- New scale area -->
<Button name="PawnUIFrame_CopyScaleButton" inherits="PawnUIButtonTemplate" text="PawnUIFrame_CopyScaleButton_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="60" y="-285" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="90" y="25" /></Size>
<Scripts>
<OnClick>PawnUIFrame_CopyScaleButton_OnClick()</OnClick>
</Scripts>
</Button>
<Button name="PawnUIFrame_NewScaleButton" inherits="PawnUIButtonTemplate" text="PawnUIFrame_NewScaleButton_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="60" y="-315" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="90" y="25" /></Size>
<Scripts>
<OnClick>PawnUIFrame_NewScaleButton_OnClick()</OnClick>
</Scripts>
</Button>
<Button name="PawnUIFrame_NewScaleFromDefaultsButton" inherits="PawnUIButtonTemplate" text="PawnUIFrame_NewScaleFromDefaultsButton_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="60" y="-345" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="90" y="25" /></Size>
<Scripts>
<OnClick>PawnUIFrame_NewScaleFromDefaultsButton_OnClick()</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>
PawnUI_ScalesTab_Refresh()
</OnShow>
</Scripts>
</Frame>
<!-- The Values tab -->
<Frame name="PawnUIValuesTabPage" hidden="true" inherits="PawnUITabPageTemplate">
<!-- Values tab: art layer -->
<Layers>
<Layer level="ARTWORK">
<!-- Header area -->
<FontString name="PawnUIFrame_ValuesWelcomeLabel" inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-30"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="550" y="55" /></Size>
</FontString>
<!-- Stat editing area -->
<FontString name="PawnUIFrame_DescriptionLabel" inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP" text="PawnUIFrame_DescriptionLabel_Text"><!-- The primary stat, Stamina. -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="255" y="-105"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="300" y="120" /></Size>
</FontString>
<FontString name="PawnUIFrame_StatNameLabel" inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP" text="PawnUIFrame_StatNameLabel_Text"><!-- 1 Stamina is worth: -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="255" y="-230"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="300" y="20" /></Size>
</FontString>
<FontString name="PawnUIFrame_StatValueLabel" inherits="ChatFontNormal" justifyH="LEFT" justifyV="MIDDLE"><!-- 1.234 -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="275" y="-255"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="140" y="25" /></Size>
</FontString>
</Layer>
</Layers>
<!-- Values tab: UI elements -->
<Frames>
<!-- Stats list -->
<Frame>
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="20" y="-80" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="213" y="304" /></Size>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<Color a="0.5" r="0" g="0" b="0" />
<EdgeSize><AbsValue val="16" /></EdgeSize>
<TileSize><AbsValue val="16" /></TileSize>
<BackgroundInsets><AbsInset left="4" right="4" top="4" bottom="4" /></BackgroundInsets>
</Backdrop>
</Frame>
<ScrollFrame name="PawnUIFrame_StatsList" inherits="FauxScrollFrameTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-86" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="180" y="292" /></Size>
<Scripts>
<OnVerticalScroll>FauxScrollFrame_OnVerticalScroll(PawnUIFrame_StatsList, offset, 16, PawnUIFrame_StatsList_Update)</OnVerticalScroll>
<OnShow>PawnUIFrame_StatsList_Update()</OnShow>
</Scripts>
</ScrollFrame>
<Button name="PawnUIFrame_StatsList_Item0" >
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList" relativePoint="TOPLEFT"><Offset><AbsDimension x="2" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="1" y="1" /></Size>
</Button>
<Frame name="PawnUIFrame_StatsList_HighlightFrame" hidden="true">
<Anchors><Anchor point="TOPLEFT"></Anchor></Anchors>
<Size><AbsDimension x="180" y="16" /></Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="PawnUIFrame_StatsList_Highlight" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD" />
</Layer>
</Layers>
</Frame>
<Button name="PawnUIFrame_StatsList_Item1" id="1" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item0" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item2" id="2" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item1" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item3" id="3" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item2" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item4" id="4" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item3" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item5" id="5" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item4" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item6" id="6" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item5" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item7" id="7" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item6" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item8" id="8" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item7" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item9" id="9" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item8" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item10" id="10" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item9" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item11" id="11" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item10" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item12" id="12" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item11" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item13" id="13" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item12" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item14" id="14" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item13" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item15" id="15" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item14" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item16" id="16" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item15" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item17" id="17" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item16" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<Button name="PawnUIFrame_StatsList_Item18" id="18" inherits="PawnUIFrame_StatsList_ItemTemplate">
<Anchors><Anchor point="TOPLEFT" relativeTo="PawnUIFrame_StatsList_Item17" relativePoint="BOTTOMLEFT" /></Anchors>
</Button>
<!-- Description and editing area -->
<EditBox name="PawnUIFrame_StatValueBox" inherits="InputBoxTemplate" hidden="false">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="275" y="-255"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="140" y="25" /></Size>
<Scripts>
<OnTextChanged>PawnUIFrame_StatValueBox_OnTextChanged()</OnTextChanged>
</Scripts>
</EditBox>
<Button name="PawnUIFrame_ClearValueButton" inherits="PawnUIButtonTemplate" text="PawnUIFrame_ClearValueButton_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="425" y="-255" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="90" y="25" /></Size>
<Scripts>
<OnClick>PawnUIFrame_ClearValueButton_OnClick()</OnClick>
</Scripts>
</Button>
<Frame name="PawnUIFrame_ScaleSocketOptionsList" hidden="true">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="275" y="-290" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="225" y="45" /></Size>
<Layers><Layer level="ARTWORK">
<FontString name="PawnUIFrame_ScaleSocketOptionsHeaderLabel" inherits="PawnUIRadioButtonLabelTemplate" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_ScaleSocketOptionsHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="250" y="15" /></Size>
</FontString>
</Layer></Layers>
<Frames>
<CheckButton name="PawnUIFrame_ScaleSocketBestRadio" inherits="PawnUIRadioButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="-15" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUIRadioButtonLabelTemplate" text="PawnUIFrame_ScaleSocketBestRadio_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_ScaleSocketOptionsList_SetSelection(true)</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_ScaleSocketCorrectRadio" inherits="PawnUIRadioButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="-30" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUIRadioButtonLabelTemplate" text="PawnUIFrame_ScaleSocketCorrectRadio_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_ScaleSocketOptionsList_SetSelection(false)</OnClick></Scripts>
</CheckButton>
</Frames>
</Frame>
<CheckButton name="PawnUIFrame_NormalizeValuesCheck" inherits="PawnUICheckboxTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="30" y="-400" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUICheckboxLabelTemplate" text="PawnUIFrame_NormalizeValuesCheck_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_NormalizeValuesCheck_OnClick()</OnClick></Scripts>
</CheckButton>
</Frames>
<Scripts>
<OnShow>
PawnUI_ValuesTab_Refresh()
PawnUIFrame_StatsList_SelectStat(0)
</OnShow>
</Scripts>
</Frame>
<!-- The Compare tab -->
<Frame name="PawnUICompareTabPage" hidden="true" inherits="PawnUITabPageTemplate">
<Layers>
<Layer level="OVERLAY">
<!-- The item header area -->
<Texture file="Interface\AddOns\Pawn\Textures\HorizontalBar">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-69" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="580" y="1" /></Size>
</Texture>
<!-- The total score row -->
<FontString name="PawnUICompareItemScoreDifference1" inherits="GameFontRed" justifyH="CENTER" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="70" y="-353" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="60" y="37" /></Size>
</FontString>
<FontString name="PawnUICompareItemScore1" inherits="GameFontNormalLarge" justifyH="CENTER" justifyV="MIDDLE" outline="THICK">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="150" y="-353" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="60" y="37" /></Size>
</FontString>
<FontString name="PawnUICompareItemScore2" inherits="GameFontNormalLarge" justifyH="CENTER" justifyV="MIDDLE" outline="THICK">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="390" y="-353" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="60" y="37" /></Size>
</FontString>
<FontString name="PawnUICompareItemScoreDifference2" inherits="GameFontGreen" justifyH="CENTER" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="470" y="-353" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="60" y="37" /></Size>
</FontString>
<Texture name="PawnUICompareItemScoreArrow1" file="Interface\AddOns\Pawn\Textures\UpgradeArrowBig">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="205" y="-360" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="40" y="40" /></Size>
<TexCoords left=".5" top="0" right="1" bottom="1" />
</Texture>
<Texture name="PawnUICompareItemScoreArrow2" file="Interface\AddOns\Pawn\Textures\UpgradeArrowBig">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="355" y="-360" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="40" y="40" /></Size>
<TexCoords left="0" top="0" right=".5" bottom="1" />
</Texture>
</Layer>
<!-- Compare tab: art layer -->
<Layer level="ARTWORK">
<!-- The item header area -->
<FontString name="PawnUICompareItemName1" inherits="GameFontNormalLarge" justifyH="LEFT" justifyV="MIDDLE">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="65" y="-23" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="170" y="37" /></Size>
</FontString>
<FontString name="PawnUICompareItemName2" inherits="GameFontNormalLarge" justifyH="RIGHT" justifyV="MIDDLE">
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-65" y="-23" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="170" y="37" /></Size>
</FontString>
<FontString inherits="PawnFontSilverLarge" justifyH="CENTER" justifyV="MIDDLE" text="PawnUIFrame_VersusHeader_Text"><!-- —vs.— -->
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-225" y="-33" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="150" y="20" /></Size>
</FontString>
<!-- The total score row -->
<Texture name="PawnUICompareItemScoreHighlight1" file="Interface\AddOns\Pawn\Textures\CompareBarLeft">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-351" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="290" y="40" /></Size>
<TexCoords left="0" top="0" right="1" bottom="0.5625" />
</Texture>
<Texture name="PawnUICompareItemScoreHighlight2" file="Interface\AddOns\Pawn\Textures\CompareBarRight">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="300" y="-351" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="290" y="40" /></Size>
<TexCoords left="0" top="0" right="1" bottom="0.5625" />
</Texture>
</Layer>
<Layer level="BORDER">
<Texture file="Interface\AddOns\Pawn\Textures\CompareBar">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-351" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="580" y="40" /></Size>
<TexCoords left="0" top="0" right="1" bottom="0.5625" />
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture file="Interface\AddOns\Pawn\Textures\CompareBanner">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="210" y="-69" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="180" y="360" /></Size>
</Texture>
</Layer>
</Layers>
<!-- Compare tab: frames -->
<Frames>
<!-- The item header area -->
<Button name="PawnUICompareItemIcon1" inherits="ItemButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="20" y="-23" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="37" y="37" /></Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="PawnUICompareItemIconTexture1" setAllPoints="true" />
</Layer>
</Layers>
<Scripts>
<OnClick>PawnUICompareItemIcon_OnClick(1)</OnClick>
<OnReceiveDrag>PawnUICompareItemIcon_OnClick(1)</OnReceiveDrag>
<OnEnter>PawnUICompareItemIcon_TooltipOn(1)</OnEnter>
<OnLeave>PawnUICompareItemIcon_TooltipOff()</OnLeave>
</Scripts>
</Button>
<Button name="PawnUICompareItemIcon2" inherits="ItemButtonTemplate">
<Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-20" y="-23" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="37" y="37" /></Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="PawnUICompareItemIconTexture2" setAllPoints="true" />
</Layer>
</Layers>
<Scripts>
<OnClick>PawnUICompareItemIcon_OnClick(2)</OnClick>
<OnReceiveDrag>PawnUICompareItemIcon_OnClick(2)</OnReceiveDrag>
<OnEnter>PawnUICompareItemIcon_TooltipOn(2)</OnEnter>
<OnLeave>PawnUICompareItemIcon_TooltipOff()</OnLeave>
</Scripts>
</Button>
<!-- The stat list area -->
<ScrollFrame name="PawnUICompareScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="70" y="-72" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="485" y="278" /></Size>
<ScrollChild>
<Frame name="PawnUICompareScrollContent">
<Anchors><Anchor point="TOPLEFT" /></Anchors>
<Size><AbsDimension x="465" y="100" /></Size>
<!-- Content is added dynamically, and size is updated dynamically as well. -->
</Frame>
</ScrollChild>
</ScrollFrame>
<Frame name="PawnUICompareMissingItemInfoFrame" hidden="true">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="20" y="-72" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="560" y="278" /></Size>
<Layers>
<Layer level="BACKGROUND">
<FontString inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP" text="PawnUIFrame_CompareMissingItemInfo_TextLeft">
<Anchors><Anchor point="TOPLEFT" x="20" y="-10" /></Anchors>
<Size><AbsDimension x="240" y="120" /></Size>
</FontString>
<FontString inherits="GameFontNormal" justifyH="RIGHT" justifyV="TOP" text="PawnUIFrame_CompareMissingItemInfo_TextRight">
<Anchors><Anchor point="TOPRIGHT" x="-20" y="-10" /></Anchors>
<Size><AbsDimension x="240" y="120" /></Size>
</FontString>
</Layer>
</Layers>
</Frame>
<!-- The item shortcuts row -->
<Button name="PawnUIFrame_CompareSwapButton" inherits="PawnUIButtonTemplate" text="PawnUIFrame_CompareSwapButton_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="250" y="-405" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="100" y="25" /></Size>
<Scripts>
<OnClick>
PawnUI_SwapCompareItems()
</OnClick>
</Scripts>
</Button>
<Button name="PawnUIFrame_ClearItemsButton" inherits="ItemButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="20" y="-397" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="37" y="37" /></Size>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\Paperdoll\UI-PaperDoll-Slot-Relic" setAllPoints="true" />
</Layer>
</Layers>
<Scripts>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn")
PawnUI_ClearCompareItems()
</OnClick>
<OnEnter>PawnUIFrame_TooltipOn(this)</OnEnter>
<OnLeave>PawnUIFrame_TooltipOff()</OnLeave>
</Scripts>
</Button>
<Button name="PawnUICompareItemShortcut1" hidden="true" inherits="ItemButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="60" y="-397" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="37" y="37" /></Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="PawnUICompareItemShortcut1Texture" setAllPoints="true" />
</Layer>
</Layers>
<Scripts>
<OnClick>PawnUICompareItemShortcut_OnClick(1)</OnClick>
<OnMouseUp>if button == "RightButton" then PawnUICompareItemShortcut_OnClick(1, button) end</OnMouseUp>
<OnEnter>PawnUICompareItemShortcut_TooltipOn(1)</OnEnter>
<OnLeave>PawnUICompareItemShortcut_TooltipOff()</OnLeave>
</Scripts>
</Button>
<Button name="PawnUICompareItemShortcut2" hidden="true" inherits="ItemButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="100" y="-397" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="37" y="37" /></Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="PawnUICompareItemShortcut2Texture" setAllPoints="true" />
</Layer>
</Layers>
<Scripts>
<OnClick>PawnUICompareItemShortcut_OnClick(2)</OnClick>
<OnMouseUp>if button == "RightButton" then PawnUICompareItemShortcut_OnClick(2, button) end</OnMouseUp>
<OnEnter>PawnUICompareItemShortcut_TooltipOn(2)</OnEnter>
<OnLeave>PawnUICompareItemShortcut_TooltipOff()</OnLeave>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>PawnUI_InitCompareTab()</OnShow>
</Scripts>
</Frame>
<!-- The Gems tab -->
<Frame name="PawnUIGemsTabPage" hidden="true" inherits="PawnUITabPageTemplate">
<Layers>
<!-- Gems tab: art layer -->
<Layer level="ARTWORK">
<!-- The header area -->
<FontString name="PawnUIFrame_GemsHeaderLabel" inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP" text="PawnUIFrame_GemsHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-30" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="550" y="30" /></Size>
</FontString>
<FontString name="PawnUIFrame_GemQualityDropDown_Label" inherits="GameFontNormal" justifyH="RIGHT" justifyV="MIDDLE" text="PawnUIFrame_GemQualityDropDown_Label_Text"><!-- Quality: -->
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="345" y="-70"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="70" y="25" /></Size>
</FontString>
<Texture file="Interface\AddOns\Pawn\Textures\HorizontalBar">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-104" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="580" y="1" /></Size>
</Texture>
<Texture file="Interface\AddOns\Pawn\Textures\HorizontalBar">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-399" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="580" y="1" /></Size>
</Texture>
</Layer>
</Layers>
<!-- Gems tab: UI elements -->
<Frames>
<!-- The header area -->
<Button name="PawnUIFrame_GemQualityDropDown" hidden="false" inherits="UIDropDownMenuTemplate" text="PawnUIFrame_GemQualityDropDown_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="405" y="-70"/></Offset></Anchor></Anchors>
<Scripts>
<OnEnter>PawnUIFrame_TooltipOn(this)</OnEnter>
<OnLeave>PawnUIFrame_TooltipOff()</OnLeave>
<OnShow>PawnUIFrame_GemQualityDropDown_OnShow()</OnShow>
</Scripts>
</Button>
<!-- The scrolling gem list -->
<ScrollFrame name="PawnUIGemScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-107" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="535" y="289" /></Size>
<ScrollChild>
<Frame name="PawnUIGemScrollContent">
<Anchors><Anchor point="TOPLEFT" /></Anchors>
<Size><AbsDimension x="465" y="100" /></Size>
<!-- Content is added dynamically, and size is updated dynamically as well. -->
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
<Scripts>
<OnShow>PawnUI_InitGemsTab()</OnShow>
</Scripts>
</Frame>
<!-- The Options tab -->
<Frame name="PawnUIOptionsTabPage" hidden="true" inherits="PawnUITabPageTemplate">
<Layers>
<!-- Options tab: art layer -->
<Layer level="ARTWORK">
<FontString name="PawnUIFrame_OptionsHeaderLabel" inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP" text="PawnUIFrame_OptionsHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-30" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="550" y="55" /></Size>
</FontString>
<FontString name="PawnUIFrame_TooltipOptionsHeaderLabel" inherits="GameFontHighlight" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_TooltipOptionsHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-95" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="250" y="25" /></Size>
</FontString>
<FontString name="PawnUIFrame_AsterisksHeaderLabel" inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_AsterisksHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="50" y="-235" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="225" y="25" /></Size>
</FontString>
<FontString name="PawnUIFrame_CalculationOptionsHeaderLabel" inherits="GameFontHighlight" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_CalculationOptionsHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="300" y="-95" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="250" y="25" /></Size>
</FontString>
<FontString name="PawnUIFrame_DigitsBox_Label" inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_DigitsBox_Label_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="325" y="-120" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="125" y="25" /></Size>
</FontString>
<FontString name="PawnUIFrame_OtherOptionsHeaderLabel" inherits="GameFontHighlight" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_OtherOptionsHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="300" y="-245" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="250" y="25" /></Size>
</FontString>
<FontString name="PawnUIFrame_ButtonPositionHeaderLabel" inherits="GameFontNormal" justifyH="LEFT" justifyV="MIDDLE" text="PawnUIFrame_ButtonPositionHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="325" y="-270" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="225" y="25" /></Size>
</FontString>
</Layer>
</Layers>
<!-- Options tab: UI elements -->
<Frames>
<!-- Tooltip options -->
<CheckButton name="PawnUIFrame_ShowItemIDsCheck" inherits="PawnUICheckboxTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-120" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUICheckboxLabelTemplate" text="PawnUIFrame_ShowItemIDsCheck_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_ShowItemIDsCheck_OnClick()</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_ShowIconsCheck" inherits="PawnUICheckboxTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-145" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUICheckboxLabelTemplate" text="PawnUIFrame_ShowIconsCheck_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_ShowIconsCheck_OnClick()</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_ShowExtraSpaceCheck" inherits="PawnUICheckboxTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-170" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUICheckboxLabelTemplate" text="PawnUIFrame_ShowExtraSpaceCheck_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_ShowExtraSpaceCheck_OnClick()</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_AlignRightCheck" inherits="PawnUICheckboxTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-195" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUICheckboxLabelTemplate" text="PawnUIFrame_AlignRightCheck_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_AlignRightCheck_OnClick()</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_AsterisksAutoRadio" inherits="PawnUIRadioButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="50" y="-260" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUIRadioButtonLabelTemplate" text="PawnUIFrame_AsterisksAutoRadio_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_AsterisksList_SetSelection(PawnShowAsterisksNonzero)</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_AsterisksAutoNoTextRadio" inherits="PawnUIRadioButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="50" y="-280" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUIRadioButtonLabelTemplate" text="PawnUIFrame_AsterisksAutoNoTextRadio_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_AsterisksList_SetSelection(PawnShowAsterisksNonzeroNoText)</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_AsterisksOffRadio" inherits="PawnUIRadioButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="50" y="-300" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUIRadioButtonLabelTemplate" text="PawnUIFrame_AsterisksOffRadio_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_AsterisksList_SetSelection(PawnShowAsterisksNever)</OnClick></Scripts>
</CheckButton>
<!-- Calculation options -->
<EditBox name="PawnUIFrame_DigitsBox" inherits="InputBoxTemplate" numeric="true" letters="1" autoFocus="false">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="465" y="-120"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="40" y="25" /></Size>
<Scripts>
<OnEnter>PawnUIFrame_TooltipOn(this)</OnEnter>
<OnLeave>PawnUIFrame_TooltipOff()</OnLeave>
<OnTextChanged>PawnUIFrame_DigitsBox_OnTextChanged()</OnTextChanged>
</Scripts>
</EditBox>
<CheckButton name="PawnUIFrame_UnenchantedValuesCheck" inherits="PawnUICheckboxTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="300" y="-145" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUICheckboxLabelTemplate" text="PawnUIFrame_UnenchantedValuesCheck_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_UnenchantedValuesCheck_OnClick()</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_EnchantedValuesCheck" inherits="PawnUICheckboxTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="300" y="-170" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUICheckboxLabelTemplate" text="PawnUIFrame_EnchantedValuesCheck_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_EnchantedValuesCheck_OnClick()</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_DebugCheck" inherits="PawnUICheckboxTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="300" y="-195" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUICheckboxLabelTemplate" text="PawnUIFrame_DebugCheck_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_DebugCheck_OnClick()</OnClick></Scripts>
</CheckButton>
<!-- Other options -->
<CheckButton name="PawnUIFrame_ButtonRightRadio" inherits="PawnUIRadioButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="325" y="-295" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUIRadioButtonLabelTemplate" text="PawnUIFrame_ButtonRightRadio_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_ButtonPositionList_SetSelection(PawnButtonPositionRight)</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_ButtonLeftRadio" inherits="PawnUIRadioButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="325" y="-315" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUIRadioButtonLabelTemplate" text="PawnUIFrame_ButtonLeftRadio_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_ButtonPositionList_SetSelection(PawnButtonPositionLeft)</OnClick></Scripts>
</CheckButton>
<CheckButton name="PawnUIFrame_ButtonOffRadio" inherits="PawnUIRadioButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="325" y="-335" /></Offset></Anchor></Anchors>
<Layers><Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="PawnUIRadioButtonLabelTemplate" text="PawnUIFrame_ButtonOffRadio_Text" />
</Layer></Layers>
<Scripts><OnClick>PawnUIFrame_ButtonPositionList_SetSelection(PawnButtonPositionHidden)</OnClick></Scripts>
</CheckButton>
</Frames>
<Scripts>
<OnShow>
PawnUIOptionsTabPage_OnShow()
</OnShow>
</Scripts>
</Frame>
<!-- The About tab -->
<Frame name="PawnUIAboutTabPage" hidden="true" inherits="PawnUITabPageTemplate">
<Layers>
<!-- About tab: art layer -->
<Layer level="ARTWORK">
<Texture file="Interface\AddOns\Pawn\Textures\PawnLogo">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-30" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="128" y="64" /></Size>
</Texture>
<FontString name="PawnUIFrame_AboutHeaderLabel" inherits="GameFontNormal" justifyH="LEFT" text="PawnUIFrame_AboutHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="175" y="-35" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="300" y="20" /></Size>
</FontString>
<FontString name="PawnUIFrame_AboutVersionLabel" inherits="PawnFontSilver" justifyH="LEFT">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="175" y="-55" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="300" y="20" /></Size>
</FontString>
<FontString name="PawnUIFrame_AboutTranslationLabel" inherits="PawnFontSilver" justifyH="LEFT" text="PawnUIFrame_AboutTranslationLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="175" y="-75" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="300" y="20" /></Size>
</FontString>
<FontString name="PawnUIFrame_ReadmeLabel" inherits="GameFontHighlight" justifyH="LEFT" text="PawnUIFrame_ReadmeLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-100" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="550" y="70" /></Size>
</FontString>
<FontString name="PawnUIFrame_WebsiteLabel" inherits="GameFontNormal" justifyH="LEFT" text="PawnUIFrame_WebsiteLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-180" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="550" y="70" /></Size>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnShow>PawnUIAboutTabPage_OnShow()</OnShow>
</Scripts>
</Frame>
<!-- The Help tab -->
<Frame name="PawnUIHelpTabPage" hidden="true" inherits="PawnUITabPageTemplate">
<Layers>
<!-- Help tab: art layer -->
<Layer level="ARTWORK">
<FontString name="PawnUIFrame_GettingStartedLabel" inherits="GameFontHighlight" justifyH="LEFT" justifyV="TOP" text="PawnUIFrame_GettingStartedLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-30" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="550" y="400" /></Size>
</FontString>
</Layer>
</Layers>
</Frame>
<!-- The tab buttons -->
<Button name="$parentTab1" inherits="CharacterFrameTabButtonTemplate" id="1" text="PawnUIFrame_ScalesTab_Text">
<Anchors><Anchor point="LEFT" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="6" y="-10" /></Offset></Anchor></Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab")
PawnUISwitchToTab(PawnUIScalesTabPage)
</OnClick>
</Scripts>
</Button>
<Button name="$parentTab2" inherits="CharacterFrameTabButtonTemplate" id="2" text="PawnUIFrame_ValuesTab_Text">
<Anchors><Anchor point="LEFT" relativeTo="$parentTab1" relativePoint="RIGHT"><Offset><AbsDimension x="-16" y="0" /></Offset></Anchor></Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab")
PawnUISwitchToTab(PawnUIValuesTabPage)
</OnClick>
</Scripts>
</Button>
<Button name="$parentTab3" inherits="CharacterFrameTabButtonTemplate" id="3" text="PawnUIFrame_CompareTab_Text">
<Anchors><Anchor point="LEFT" relativeTo="$parentTab2" relativePoint="RIGHT"><Offset><AbsDimension x="-16" y="0" /></Offset></Anchor></Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab")
PawnUISwitchToTab(PawnUICompareTabPage)
</OnClick>
</Scripts>
</Button>
<Button name="$parentTab4" inherits="CharacterFrameTabButtonTemplate" id="4" text="PawnUIFrame_GemsTab_Text">
<Anchors><Anchor point="LEFT" relativeTo="$parentTab3" relativePoint="RIGHT"><Offset><AbsDimension x="-16" y="0" /></Offset></Anchor></Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab")
PawnUISwitchToTab(PawnUIGemsTabPage)
</OnClick>
</Scripts>
</Button>
<Button name="$parentTab5" inherits="CharacterFrameTabButtonTemplate" id="5" text="PawnUIFrame_OptionsTab_Text">
<Anchors><Anchor point="LEFT" relativeTo="$parentTab4" relativePoint="RIGHT"><Offset><AbsDimension x="-16" y="0" /></Offset></Anchor></Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab")
PawnUISwitchToTab(PawnUIOptionsTabPage)
</OnClick>
</Scripts>
</Button>
<Button name="$parentTab6" inherits="CharacterFrameTabButtonTemplate" id="6" text="PawnUIFrame_AboutTab_Text">
<Anchors><Anchor point="RIGHT" relativePoint="BOTTOMRIGHT"><Offset><AbsDimension x="-6" y="-10" /></Offset></Anchor></Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab")
PawnUISwitchToTab(PawnUIAboutTabPage)
</OnClick>
</Scripts>
</Button>
<Button name="$parentTab7" inherits="CharacterFrameTabButtonTemplate" id="7" text="PawnUIFrame_HelpTab_Text">
<Anchors><Anchor point="RIGHT" relativeTo="$parentTab6" relativePoint="LEFT"><Offset><AbsDimension x="16" y="0" /></Offset></Anchor></Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab")
PawnUISwitchToTab(PawnUIHelpTabPage)
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
this:RegisterEvent("VARIABLES_LOADED")
this:RegisterEvent("ADDON_LOADED")
this:RegisterEvent("PLAYER_ENTERING_WORLD")
this:RegisterEvent("PLAYER_LOGOUT")
PawnUITabList = { PawnUIScalesTabPage, PawnUIValuesTabPage, PawnUICompareTabPage, PawnUIGemsTabPage, PawnUIOptionsTabPage, PawnUIAboutTabPage, PawnUIHelpTabPage }
PanelTemplates_SetNumTabs(PawnUIFrame, #PawnUITabList)
</OnLoad>
<OnEvent>
PawnOnEvent(event, ...)
</OnEvent>
<OnShow>
PlaySound("igCharacterInfoOpen")
PawnUI_EnsureLoaded()
</OnShow>
<OnHide>
PlaySound("igCharacterInfoClose")
</OnHide>
<OnMouseDown>this:StartMoving()</OnMouseDown>
<OnMouseUp>this:StopMovingOrSizing()</OnMouseUp>
<OnDragStop>this:StopMovingOrSizing()</OnDragStop>
</Scripts>
</Frame>
<!-- Pawn's options page in Interface Options -->
<Frame name="PawnInterfaceOptionsFrame" inherits="PawnUITabPageTemplate">
<Size><AbsDimension x="385" y="409" /></Size>
<!-- Art layer -->
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\AddOns\Pawn\Textures\PawnLogo">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-10" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="128" y="64" /></Size>
</Texture>
<FontString name="PawnInterfaceOptionsFrame_AboutHeaderLabel" inherits="GameFontNormal" justifyH="LEFT" text="PawnUIFrame_AboutHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="150" y="-10" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="225" y="20" /></Size>
</FontString>
<FontString name="PawnInterfaceOptionsFrame_AboutVersionLabel" inherits="PawnFontSilver" justifyH="LEFT">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="150" y="-30" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="225" y="20" /></Size>
</FontString>
<FontString name="PawnInterfaceOptionsFrame_AboutTranslationLabel" inherits="PawnFontSilver" justifyH="LEFT" text="PawnUIFrame_AboutTranslationLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="150" y="-50" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="225" y="20" /></Size>
</FontString>
<FontString name="PawnInterfaceOptionsFrame_OptionsHeaderLabel" inherits="GameFontNormalLarge" justifyH="LEFT" text="PawnInterfaceOptionsFrame_OptionsHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="15" y="-85" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="355" y="20" /></Size>
</FontString>
<FontString name="PawnInterfaceOptionsFrame_OptionsSubHeaderLabel" inherits="GameFontHighlightSmall" justifyH="LEFT" text="PawnInterfaceOptionsFrame_OptionsSubHeaderLabel_Text">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="15" y="-105" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="355" y="40" /></Size>
</FontString>
</Layer>
</Layers>
<!-- Controls -->
<Frames>
<Button name="PawnInterfaceOptionsFrame_PawnButton" inherits="PawnUI_InventoryButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="40" y="-155" /></Offset></Anchor></Anchors>
<Scripts>
<OnClick>
InterfaceOptionsFrameOkay_OnClick()
HideUIPanel(GameMenuFrame)
PawnUIShow()
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
PawnInterfaceOptionsFrame_OnLoad()
</OnLoad>
</Scripts>
</Frame>
<!-- A generic dialog for asking for a string -->
<Frame name="PawnUIStringDialog" inherits="PawnUIDialogTemplate">
<Size><AbsDimension x="350" y="155" /></Size>
<!-- The art layer -->
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_PromptText" inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-25"/></Offset></Anchor></Anchors>
<Size><AbsDimension x="300" y="40" /></Size>
</FontString>
</Layer>
</Layers>
<!-- The UI elements -->
<Frames>
<!-- Main frame buttons and such -->
<EditBox name="$parent_TextBox" inherits="InputBoxTemplate" hidden="false">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="50" y="-75" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="250" y="25" /></Size>
<Scripts>
<OnTextChanged>PawnUIStringDialog_TextBox_OnTextChanged()</OnTextChanged>
</Scripts>
</EditBox>
<Button name="$parent_OKButton" hidden="false" inherits="UIPanelButtonTemplate">
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-125" y="20" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="95" y="25" /></Size>
<Scripts>
<OnClick>PawnUIStringDialog_OKButton_OnClick()</OnClick>
</Scripts>
</Button>
<Button name="$parent_CancelButton" hidden="false" inherits="UIPanelButtonTemplate">
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="20" /></Offset></Anchor></Anchors>
<Size><AbsDimension x="95" y="25" /></Size>
<Scripts>
<OnClick>PawnUIStringDialog_CancelButton_OnClick()</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Ui>