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/FrameXML/UI.xsd">
<Script file="localization.lua"/>
<Script file="TitanStanceSets.lua"/>
<Frame parent="UIParent">
<Frames>
<Button name="TitanPanelStanceSetsButton" inherits="TitanPanelComboTemplate" frameStrata="FULLSCREEN" toplevel="true">
<Scripts>
<OnLoad>
TitanPanelStanceSetsButton_OnLoad();
TitanPanelButton_OnLoad();
</OnLoad>
<OnEvent>
TitanPanelStanceSetsButton_OnEvent();
</OnEvent>
<OnClick>
TitalPanelStanceSetsButton_OnClick(arg1);
TitanPanelButton_OnClick(arg1, 1);
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Button name="StanceSetSlotTemplate" inherits="ItemButtonTemplate" virtual="true">
<Scripts>
<OnLoad>
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
this:RegisterForDrag("LeftButton");
</OnLoad>
<OnClick>
StanceSetSlot_OnClick(arg1);
</OnClick>
<OnDragStart>
StanceSetSlot_OnDragStart();
</OnDragStart>
<OnReceiveDrag>
StanceSetSlot_OnReceiveDrag();
</OnReceiveDrag>
<OnEnter>
StanceSetSlot_OnEnter();
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Frame name="StanceSetListItem" virtual="true">
<Size>
<AbsDimension x="315" y="68"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentTitle" inherits="GameFontNormal" justifyH="LEFT" text="Stance: Default">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="4" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="100" y="16"/>
</Size>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="$parentForceFirst">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="1"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="GameFontHighlightSmall" text="Equip first on activate">
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<NormalTexture name="StanceSetsLockNorm"/>
<PushedTexture name="StanceSetsLockPush"/>
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" AlphaMode="ADD"/>
<Scripts>
<OnClick>
StanceSetsForceCheck_OnClick();
</OnClick>
</Scripts>
</CheckButton>
<Button name="$parentMainHand1" inherits="StanceSetSlotTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="16" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentOffHand1" inherits="StanceSetSlotTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMainHand1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentMainHand2" inherits="StanceSetSlotTemplate" id="3">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentOffHand1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="16" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentOffHand2" inherits="StanceSetSlotTemplate" id="4">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMainHand2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentMainHand3" inherits="StanceSetSlotTemplate" id="5">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentOffHand2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="16" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parentOffHand3" inherits="StanceSetSlotTemplate" id="6">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMainHand3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
</Frames>
</Frame>
<Frame name="StanceSetsFrame" frameStrata="LOW" toplevel="true" parent="UIParent" hidden="true" movable="true">
<Size>
<AbsDimension x="384" y="512"/>
</Size>
<HitRectInsets>
<AbsInset left="0" right="30" top="0" bottom="75"/>
</HitRectInsets>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-104"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="StanceSetsFrameCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="StanceSetsFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-28" y="-9"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="StanceSetsCloseButton2" inherits="UIPanelButtonTemplate" text="STANCESETS_CLOSE">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="305" y="-422"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
HideUIPanel(StanceSetsFrame);
</OnClick>
</Scripts>
</Button>
<CheckButton name="StanceSetsFrameLockButton">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="StanceSetsFrameCloseButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="11" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
StanceSets_ToggleLock();
</OnClick>
</Scripts>
<NormalTexture name="StanceSetsLockNorm"/>
<PushedTexture name="StanceSetsLockPush"/>
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" AlphaMode="ADD"/>
</CheckButton>
<Frame name="$parentSet1" inherits="StanceSetListItem">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-76"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentSet2" inherits="StanceSetListItem">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentSet1" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Frame>
<Frame name="$parentSet3" inherits="StanceSetListItem">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentSet2" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Frame>
<Frame name="$parentSet4" inherits="StanceSetListItem">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentSet3" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Frame>
<Frame name="$parentSet5" inherits="StanceSetListItem">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentSet4" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Frame>
</Frames>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\Addons\Titan\TitanStanceSets\Images\UI-Character-General-TopLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="2" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="2" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="2" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\PaperDollInfoFrame\SkillFrame-BotRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="2" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="StanceSetsTitleText" inherits="GameFontHighlight" text="STANCESETS_TITLE">
<Size>
<AbsDimension x="300" y="14"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-17"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
StanceSets_OnLoad();
</OnLoad>
<OnShow>
PlaySound("igCharacterInfoOpen");
StanceSets_OnShow();
</OnShow>
<OnHide>
PlaySound("igCharacterInfoClose");
StanceSetsFrame:StopMovingOrSizing();
</OnHide>
<OnDragStart>
if(arg1 == "LeftButton") then
StanceSets_StartMoving();
end
</OnDragStart>
<OnDragStop>
StanceSetsFrame:StopMovingOrSizing();
</OnDragStop>
<OnMouseUp>
StanceSetsFrame:StopMovingOrSizing();
</OnMouseUp>
<OnEvent>
StanceSets_OnEvent(event, arg1);
</OnEvent>
</Scripts>
</Frame>
</Ui>