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 | |||
3 | <Script file="GuildAdsInspect.lua"/> |
||
4 | |||
5 | <Button name="GuildAdsInspectItemSlotButtonTemplate" inherits="ItemButtonTemplate" virtual="true"> |
||
6 | |||
7 | |||
8 | |||
9 | </OnLoad> |
||
10 | |||
11 | <OnClick> |
||
12 | |||
13 | </OnClick> |
||
14 | |||
15 | <OnEnter> |
||
16 | |||
17 | </OnEnter> |
||
18 | |||
19 | GuildAdsInspectItemSlotButton_OnLeave(); |
||
20 | |||
21 | </Scripts> |
||
22 | |||
23 | <Size> |
||
24 | |||
25 | </Size> |
||
26 | |||
27 | <Anchor point="CENTER"> |
||
28 | |||
29 | <AbsDimension x="0" y="-1"/> |
||
30 | |||
31 | </Anchor> |
||
32 | |||
33 | </NormalTexture> |
||
34 | |||
35 |
|
||
36 | |||
37 | <Size> |
||
38 | |||
39 | </Size> |
||
40 | |||
41 | <Anchor point="TOPLEFT" relativeTo="GuildAdsFrame" relativePoint="TOPRIGHT"> |
||
42 | |||
43 | <AbsDimension x="5" y="-100"/> |
||
44 | |||
45 | </Anchor> |
||
46 | |||
47 | <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
48 | |||
49 | <AbsValue val="16"/> |
||
50 | |||
51 | <TileSize> |
||
52 | |||
53 | </TileSize> |
||
54 | |||
55 | <AbsInset left="3" right="5" top="3" bottom="5"/> |
||
56 | |||
57 | </Backdrop> |
||
58 | |||
59 | <Layer level="BACKGROUND"> |
||
60 | |||
61 | <Anchors> |
||
62 | |||
63 | <Offset> |
||
64 | |||
65 | </Offset> |
||
66 | |||
67 | </Anchors> |
||
68 | |||
69 | |||
70 | |||
71 | <Anchor point="TOP" relativeTo="GuildAdsInspectFrame" relativePoint="TOP"> |
||
72 | |||
73 | <AbsDimension x="0" y="-18"/> |
||
74 | |||
75 | </Anchor> |
||
76 | |||
77 | </FontString> |
||
78 | |||
79 | <Anchors> |
||
80 | |||
81 | <Offset> |
||
82 | |||
83 | </Offset> |
||
84 | |||
85 | </Anchors> |
||
86 | |||
87 | </Layer> |
||
88 | |||
89 | <Frames> |
||
90 | |||
91 | <Anchors> |
||
92 | |||
93 | <Offset> |
||
94 | |||
95 | </Offset> |
||
96 | |||
97 | </Anchors> |
||
98 | |||
99 | <Button name="GuildAdsInspectHeadSlot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
100 | |||
101 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFrame"> |
||
102 | |||
103 | <AbsDimension x="21" y="-30"/> |
||
104 | |||
105 | </Anchor> |
||
106 | |||
107 | </Button> |
||
108 | |||
109 | <Anchors> |
||
110 | |||
111 | <Offset> |
||
112 | |||
113 | </Offset> |
||
114 | |||
115 | </Anchors> |
||
116 | |||
117 | <Button name="GuildAdsInspectShoulderSlot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
118 | |||
119 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectNeckSlot" relativePoint="BOTTOMLEFT"> |
||
120 | |||
121 | <AbsDimension x="0" y="-4"/> |
||
122 | |||
123 | </Anchor> |
||
124 | |||
125 | </Button> |
||
126 | |||
127 | <Anchors> |
||
128 | |||
129 | <Offset> |
||
130 | |||
131 | </Offset> |
||
132 | |||
133 | </Anchors> |
||
134 | |||
135 | <Button name="GuildAdsInspectChestSlot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
136 | |||
137 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectBackSlot" relativePoint="BOTTOMLEFT"> |
||
138 | |||
139 | <AbsDimension x="0" y="-4"/> |
||
140 | |||
141 | </Anchor> |
||
142 | |||
143 | </Button> |
||
144 | |||
145 | <Anchors> |
||
146 | |||
147 | <Offset> |
||
148 | |||
149 | </Offset> |
||
150 | |||
151 | </Anchors> |
||
152 | |||
153 | <Button name="GuildAdsInspectTabardSlot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
154 | |||
155 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectShirtSlot" relativePoint="BOTTOMLEFT"> |
||
156 | |||
157 | <AbsDimension x="0" y="-4"/> |
||
158 | |||
159 | </Anchor> |
||
160 | |||
161 | </Button> |
||
162 | |||
163 | <Anchors> |
||
164 | |||
165 | <Offset> |
||
166 | |||
167 | </Offset> |
||
168 | |||
169 | </Anchors> |
||
170 | |||
171 | <Button name="GuildAdsInspectHandsSlot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
172 | |||
173 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFrame"> |
||
174 | |||
175 | <AbsDimension x="188" y="-30"/> |
||
176 | |||
177 | </Anchor> |
||
178 | |||
179 | </Button> |
||
180 | |||
181 | <Anchors> |
||
182 | |||
183 | <Offset> |
||
184 | |||
185 | </Offset> |
||
186 | |||
187 | </Anchors> |
||
188 | |||
189 | <Button name="GuildAdsInspectLegsSlot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
190 | |||
191 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectWaistSlot" relativePoint="BOTTOMLEFT"> |
||
192 | |||
193 | <AbsDimension x="0" y="-4"/> |
||
194 | |||
195 | </Anchor> |
||
196 | |||
197 | </Button> |
||
198 | |||
199 | <Anchors> |
||
200 | |||
201 | <Offset> |
||
202 | |||
203 | </Offset> |
||
204 | |||
205 | </Anchors> |
||
206 | |||
207 | <Button name="GuildAdsInspectFinger0Slot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
208 | |||
209 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFeetSlot" relativePoint="BOTTOMLEFT"> |
||
210 | |||
211 | <AbsDimension x="0" y="-4"/> |
||
212 | |||
213 | </Anchor> |
||
214 | |||
215 | </Button> |
||
216 | |||
217 | <Anchors> |
||
218 | |||
219 | <Offset> |
||
220 | |||
221 | </Offset> |
||
222 | |||
223 | </Anchors> |
||
224 | |||
225 | <Button name="GuildAdsInspectTrinket0Slot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
226 | |||
227 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFinger1Slot" relativePoint="BOTTOMLEFT"> |
||
228 | |||
229 | <AbsDimension x="0" y="-4"/> |
||
230 | |||
231 | </Anchor> |
||
232 | |||
233 | </Button> |
||
234 | |||
235 | <Anchors> |
||
236 | |||
237 | <Offset> |
||
238 | |||
239 | </Offset> |
||
240 | |||
241 | </Anchors> |
||
242 | |||
243 | <Button name="GuildAdsInspectMainHandSlot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
244 | |||
245 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectFrame" relativePoint="BOTTOMLEFT"> |
||
246 | |||
247 | <AbsDimension x="62" y="50"/> |
||
248 | |||
249 | </Anchor> |
||
250 | |||
251 | </Button> |
||
252 | |||
253 | <Anchors> |
||
254 | |||
255 | <Offset> |
||
256 | |||
257 | </Offset> |
||
258 | |||
259 | </Anchors> |
||
260 | |||
261 | <Button name="GuildAdsInspectRangedSlot" inherits="GuildAdsInspectItemSlotButtonTemplate"> |
||
262 | |||
263 | <Anchor point="TOPLEFT" relativeTo="GuildAdsInspectSecondaryHandSlot" relativePoint="TOPRIGHT"> |
||
264 | |||
265 | <AbsDimension x="5" y="0"/> |
||
266 | |||
267 | </Anchor> |
||
268 | |||
269 | </Button> |
||
270 | |||
271 | <Scripts> |
||
272 | |||
273 | if ( this.isMoving ) then |
||
274 | |||
275 | this.isMoving = false; |
||
276 | |||
277 | </OnMouseUp> |
||
278 | |||
279 | if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then |
||
280 | |||
281 | this.isMoving = true; |
||
282 | |||
283 | </OnMouseDown> |
||
284 | |||
285 | if ( this.isMoving ) then |
||
286 | |||
287 | this.isMoving = false; |
||
288 | |||
289 | </OnHide> |
||
290 | |||
291 | </Frame> |
||
292 | |||
293 |
|
||
294 |