vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" |
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
3 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd"> |
||
4 | |||
5 | <Script file="Item.lua"/> |
||
6 | |||
7 | <Button name="BagnonItemTemplate" hidden="true" virtual="true"> |
||
8 | <Size x="37" y="37"/> |
||
9 | |||
10 | <Layers> |
||
11 | <Layer level="BORDER"> |
||
12 | <Texture name="$parentIconTexture" setAllPoints="true"/> |
||
13 | |||
14 | <FontString name="$parentCount" font="NumberFontNormal" justifyH="RIGHT" hidden="true"> |
||
15 | <Anchors> |
||
16 | <Anchor point="BOTTOMRIGHT"> |
||
17 | <Offset x="-2" y="2"/> |
||
18 | </Anchor> |
||
19 | </Anchors> |
||
20 | </FontString> |
||
21 | </Layer> |
||
22 | |||
23 | <Layer level="OVERLAY"> |
||
24 | <Texture name="$parentBorder" file="Interface\Buttons\UI-ActionButton-Border" alphaMode="ADD" hidden="true"> |
||
25 | <Size x="67" y="67"/> |
||
26 | |||
27 | <Anchors> |
||
28 | <Anchor point="CENTER"/> |
||
29 | </Anchors> |
||
30 | </Texture> |
||
31 | </Layer> |
||
32 | </Layers> |
||
33 | |||
34 | <Frames> |
||
35 | <Model name="$parentCooldown" inherits="CooldownFrameTemplate"/> |
||
36 | </Frames> |
||
37 | |||
38 | <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2"> |
||
39 | <Size x="64" y="64"/> |
||
40 | |||
41 | <Anchors> |
||
42 | <Anchor point="CENTER"> |
||
43 | <Offset x="0" y="-1"/> |
||
44 | </Anchor> |
||
45 | </Anchors> |
||
46 | </NormalTexture> |
||
47 | <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/> |
||
48 | <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/> |
||
49 | |||
50 | <Scripts> |
||
51 | <OnUpdate> |
||
52 | BagnonItem_OnUpdate() |
||
53 | </OnUpdate> |
||
54 | <OnClick> |
||
55 | BagnonItem_OnClick(arg1); |
||
56 | </OnClick> |
||
57 | <OnEnter> |
||
58 | BagnonItem_OnEnter(this); |
||
59 | </OnEnter> |
||
60 | <OnLeave> |
||
61 | this.updateTooltip = nil; |
||
62 | GameTooltip:Hide(); |
||
63 | ResetCursor(); |
||
64 | </OnLeave> |
||
65 | <OnDragStart> |
||
66 | BagnonItem_OnClick("LeftButton", 1); |
||
67 | </OnDragStart> |
||
68 | <OnReceiveDrag> |
||
69 | BagnonItem_OnClick("LeftButton", 1); |
||
70 | </OnReceiveDrag> |
||
71 | <OnHide> |
||
72 | if ( this.hasStackSplit and (this.hasStackSplit == 1) ) then |
||
73 | StackSplitFrame:Hide(); |
||
74 | end |
||
75 | </OnHide> |
||
76 | </Scripts> |
||
77 | </Button> |
||
78 | </Ui> |