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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ |
2 | ..\FrameXML\UI.xsd"> |
||
3 | |||
4 | <Script file="Bag.lua"/> |
||
5 | |||
6 | |||
7 | <Frame name="BagnonBagSlotsTemplate" virtual="true"> |
||
8 | <Scripts> |
||
9 | <OnLoad> |
||
10 | BagnonBagMain_OnLoad(); |
||
11 | </OnLoad> |
||
12 | <OnEvent> |
||
13 | BagnonBag_OnEvent(event); |
||
14 | </OnEvent> |
||
15 | <OnShow> |
||
16 | BagnonBag_OnShow(); |
||
17 | </OnShow> |
||
18 | </Scripts> |
||
19 | </Frame> |
||
20 | |||
21 | <!-- A Bagnon bag template, based off the normal one but with no XML dependencies other than font --> |
||
22 | <Button name="BagnonBagTemplate" virtual="true"> |
||
23 | <Size> |
||
24 | <AbsDimension x="37" y="37"/> |
||
25 | </Size> |
||
26 | |||
27 | <Layers> |
||
28 | <Layer level="BORDER"> |
||
29 | <Texture name="$parentIconTexture"/> |
||
30 | |||
31 | <FontString name="$parentCount" font="NumberFontNormalSmall" justifyH="RIGHT" hidden="true"> |
||
32 | <Anchors> |
||
33 | <Anchor point="BOTTOMRIGHT"> |
||
34 | <Offset> |
||
35 | <AbsDimension x="1" y="2"/> |
||
36 | </Offset> |
||
37 | </Anchor> |
||
38 | <FontHeight> |
||
39 | <AbsValue val="10"/> |
||
40 | </FontHeight> |
||
41 | </Anchors> |
||
42 | |||
43 | </FontString> |
||
44 | <FontString name="$parentStock" font="NumberFontNormalSmallYellow" justifyH="LEFT" hidden="true"> |
||
45 | <Anchors> |
||
46 | <Anchor point="TOPLEFT"> |
||
47 | <Offset> |
||
48 | <AbsDimension x="0" y="-2"/> |
||
49 | </Offset> |
||
50 | </Anchor> |
||
51 | </Anchors> |
||
52 | </FontString> |
||
53 | </Layer> |
||
54 | </Layers> |
||
55 | |||
56 | <Frames> |
||
57 | <Model name="$parentCooldown" file="Interface\Cooldown\UI-Cooldown-Indicator.mdx" scale="0.85" setAllPoints="true" hidden="true"> |
||
58 | <Scripts> |
||
59 | <OnUpdateModel> |
||
60 | CooldownFrame_OnUpdateModel(); |
||
61 | </OnUpdateModel> |
||
62 | <OnAnimFinished> |
||
63 | CooldownFrame_OnAnimFinished(); |
||
64 | </OnAnimFinished> |
||
65 | </Scripts> |
||
66 | </Model> |
||
67 | </Frames> |
||
68 | |||
69 | <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2"> |
||
70 | <Size> |
||
71 | <AbsDimension x="64" y="64"/> |
||
72 | </Size> |
||
73 | <Anchors> |
||
74 | <Anchor point="CENTER"> |
||
75 | <Offset> |
||
76 | <AbsDimension x="0" y="-1"/> |
||
77 | </Offset> |
||
78 | </Anchor> |
||
79 | </Anchors> |
||
80 | </NormalTexture> |
||
81 | <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/> |
||
82 | <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/> |
||
83 | |||
84 | <Scripts> |
||
85 | <OnLoad> |
||
86 | BagnonBag_OnLoad(); |
||
87 | </OnLoad> |
||
88 | <OnEnter> |
||
89 | BagnonBag_OnEnter(); |
||
90 | </OnEnter> |
||
91 | <OnLeave> |
||
92 | BagnonCore_UnhighlightAll(this:GetParent():GetParent()); |
||
93 | GameTooltip:Hide(); |
||
94 | </OnLeave> |
||
95 | <OnClick> |
||
96 | BagnonBag_OnClick(); |
||
97 | </OnClick> |
||
98 | <OnDragStart> |
||
99 | BagnonBag_OnDrag(); |
||
100 | </OnDragStart> |
||
101 | <OnReceiveDrag> |
||
102 | BagnonBag_OnClick(); |
||
103 | </OnReceiveDrag> |
||
104 | </Scripts> |
||
105 | </Button> |
||
106 | </Ui> |