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="Item.lua"/>
<Button name="BagnonItemTemplate" hidden="true" virtual="true">
<Size x="37" y="37"/>
<Layers>
<Layer level="BORDER">
<Texture name="$parentIconTexture" setAllPoints="true"/>
<FontString name="$parentCount" font="NumberFontNormal" justifyH="RIGHT" hidden="true">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset x="-2" y="2"/>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentBorder" file="Interface\Buttons\UI-ActionButton-Border" alphaMode="ADD" hidden="true">
<Size x="67" y="67"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Model name="$parentCooldown" inherits="CooldownFrameTemplate"/>
</Frames>
<NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2">
<Size x="64" y="64"/>
<Anchors>
<Anchor point="CENTER">
<Offset x="0" y="-1"/>
</Anchor>
</Anchors>
</NormalTexture>
<PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
<Scripts>
<OnUpdate>
BagnonItem_OnUpdate()
</OnUpdate>
<OnClick>
BagnonItem_OnClick(arg1);
</OnClick>
<OnEnter>
BagnonItem_OnEnter(this);
</OnEnter>
<OnLeave>
this.updateTooltip = nil;
GameTooltip:Hide();
ResetCursor();
</OnLeave>
<OnDragStart>
BagnonItem_OnClick("LeftButton", 1);
</OnDragStart>
<OnReceiveDrag>
BagnonItem_OnClick("LeftButton", 1);
</OnReceiveDrag>
<OnHide>
if ( this.hasStackSplit and (this.hasStackSplit == 1) ) then
StackSplitFrame:Hide();
end
</OnHide>
</Scripts>
</Button>
</Ui>