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 | <Script file="BestBuff.lua"/> |
||
4 | <Script file="BestBuff_Defaults.lua"/> |
||
5 | |||
6 | <Button name = "BestBuffNameButtonTemplate" virtual="true"> |
||
7 | <Size> |
||
8 | <AbsDimension x="220" y="18" /> |
||
9 | </Size> |
||
10 | <Layers> |
||
11 | <Layer level = "BACKGROUND"> |
||
12 | <FontString name="$parent_Text" inherits="GameFontNormal" wraponspaces="false" justifyH="LEFT" text="Power Word: Fortitude"> |
||
13 | <Size> |
||
14 | <AbsDimension x="180" y="18"/> |
||
15 | </Size> |
||
16 | <Anchors> |
||
17 | <Anchor point="LEFT"> |
||
18 | <Offset> |
||
19 | <AbsDimension x="20" y="0" /> |
||
20 | </Offset> |
||
21 | </Anchor> |
||
22 | </Anchors> |
||
23 | <Color r="0.9" g="0.9" b="0.9"/> |
||
24 | </FontString> |
||
25 | <FontString name="$parentInfo" inherits="GameFontHighlightSmall" justifyH="LEFT"> |
||
26 | <Size> |
||
27 | <AbsDimension x="220" y="18" /> |
||
28 | </Size> |
||
29 | </FontString> |
||
30 | </Layer> |
||
31 | </Layers> |
||
32 | <Scripts> |
||
33 | <OnLeave> |
||
34 | GameTooltip:Hide(); |
||
35 | </OnLeave> |
||
36 | <OnMouseDown> |
||
37 | BestBuff_OnMouseDown(arg1); |
||
38 | </OnMouseDown> |
||
39 | <OnMouseUp> |
||
40 | BestBuff_OnMouseUp(arg1); |
||
41 | </OnMouseUp> |
||
42 | </Scripts> |
||
43 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
44 | </Button> |
||
45 | |||
46 | |||
47 | <EditBox name="BestBuffEditBoxTemplate" letters="256" historyLines="0" virtual="true" autoFocus="false"> |
||
48 | <Size> |
||
49 | <AbsDimension x="214" y="20"/> |
||
50 | </Size> |
||
51 | <Layers> |
||
52 | <Layer level="BACKGROUND"> |
||
53 | <Texture name="$parentLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder"> |
||
54 | <Size> |
||
55 | <AbsDimension x="12" y="29"/> |
||
56 | </Size> |
||
57 | <Anchors> |
||
58 | <Anchor point="TOPLEFT"> |
||
59 | <Offset> |
||
60 | <AbsDimension x="-11" y="2"/> |
||
61 | </Offset> |
||
62 | </Anchor> |
||
63 | </Anchors> |
||
64 | <TexCoords left="0" right="0.09375" top="0" bottom="1.0"/> |
||
65 | </Texture> |
||
66 | <Texture name="$parentMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder"> |
||
67 | <Size> |
||
68 | <AbsDimension x="190" y="29"/> |
||
69 | </Size> |
||
70 | <Anchors> |
||
71 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/> |
||
72 | </Anchors> |
||
73 | <TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/> |
||
74 | </Texture> |
||
75 | <Texture name="$parentRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder"> |
||
76 | <Size> |
||
77 | <AbsDimension x="12" y="29"/> |
||
78 | </Size> |
||
79 | <Anchors> |
||
80 | <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/> |
||
81 | </Anchors> |
||
82 | <TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/> |
||
83 | </Texture> |
||
84 | </Layer> |
||
85 | </Layers> |
||
86 | <FontString inherits="ChatFontNormal"/> |
||
87 | </EditBox> |
||
88 | |||
89 | <GameTooltip name="BestBuffTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"/> |
||
90 | |||
91 | <Frame name="BestBuffFrame" toplevel="false" enableMouse="true" movable="true" parent="UIParent" hidden="true"> |
||
92 | <Size> |
||
93 | <AbsDimension x="275" y="290"/> |
||
94 | </Size> |
||
95 | <Anchors> |
||
96 | <Anchor point="CENTER"> |
||
97 | <Offset> |
||
98 | <AbsDimension x="0" y="0"/> |
||
99 | </Offset> |
||
100 | </Anchor> |
||
101 | </Anchors> |
||
102 | <Backdrop name="BestBuffbackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
103 | <BackgroundInsets> |
||
104 | <AbsInset left="4" right="4" top="4" bottom="4" /> |
||
105 | </BackgroundInsets> |
||
106 | <TileSize> |
||
107 | <AbsValue val="16" /> |
||
108 | </TileSize> |
||
109 | <EdgeSize> |
||
110 | <AbsValue val="16" /> |
||
111 | </EdgeSize> |
||
112 | </Backdrop> |
||
113 | <Layers> |
||
114 | <Layer level="ARTWORK"> |
||
115 | <FontString inherits="GameFontNormal" text="BestBuff"> |
||
116 | <Anchors> |
||
117 | <Anchor point="TOPLEFT"> |
||
118 | <Offset> |
||
119 | <AbsDimension x="16" y="-12"/> |
||
120 | </Offset> |
||
121 | </Anchor> |
||
122 | </Anchors> |
||
123 | </FontString> |
||
124 | <FontString name="BestBuffEnable" inherits="GameFontNormal" text="Enable"> |
||
125 | <Anchors> |
||
126 | <Anchor point="TOPRIGHT"> |
||
127 | <Offset> |
||
128 | <AbsDimension x="-100" y="-12" /> |
||
129 | </Offset> |
||
130 | </Anchor> |
||
131 | </Anchors> |
||
132 | </FontString> |
||
133 | |||
134 | <Texture name="BestBuffTopLeft" file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder"> |
||
135 | <Size> |
||
136 | <AbsDimension x="256" y="4"/> |
||
137 | </Size> |
||
138 | <Anchors> |
||
139 | <Anchor point="TOPLEFT"> |
||
140 | <Offset> |
||
141 | <AbsDimension x="8" y="-30"/> |
||
142 | </Offset> |
||
143 | </Anchor> |
||
144 | </Anchors> |
||
145 | <TexCoords left="0" right="1.0" top="0" bottom="0.25"/> |
||
146 | </Texture> |
||
147 | |||
148 | <Texture name="BestBuffBottomLeft" file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder"> |
||
149 | <Size> |
||
150 | <AbsDimension x="256" y="4"/> |
||
151 | </Size> |
||
152 | <Anchors> |
||
153 | <Anchor point="BOTTOMLEFT"> |
||
154 | <Offset> |
||
155 | <AbsDimension x="8" y="104"/> |
||
156 | </Offset> |
||
157 | </Anchor> |
||
158 | </Anchors> |
||
159 | <TexCoords left="0" right="1.0" top="0" bottom="0.25"/> |
||
160 | </Texture> |
||
161 | |||
162 | <FontString name="BestBuffNotify" inherits="GameFontNormal" text="Notify"> |
||
163 | <Anchors> |
||
164 | <Anchor point="BOTTOMLEFT"> |
||
165 | <Offset> |
||
166 | <AbsDimension x="100" y="88" /> |
||
167 | </Offset> |
||
168 | </Anchor> |
||
169 | </Anchors> |
||
170 | </FontString> |
||
171 | <FontString name="BestBuffSelfCast" inherits="GameFontNormal" text="Self Cast"> |
||
172 | <Anchors> |
||
173 | <Anchor point="BOTTOMLEFT"> |
||
174 | <Offset> |
||
175 | <AbsDimension x="180" y="88" /> |
||
176 | </Offset> |
||
177 | </Anchor> |
||
178 | </Anchors> |
||
179 | </FontString> |
||
180 | |||
181 | <FontString name="BestBuffEditName" inherits="GameFontNormal" justifyH="RIGHT" text="Buff:"> |
||
182 | <Size> |
||
183 | <AbsDimension x="55" y="24" /> |
||
184 | </Size> |
||
185 | <Anchors> |
||
186 | <Anchor point="BOTTOMLEFT"> |
||
187 | <Offset> |
||
188 | <AbsDimension x="0" y="60" /> |
||
189 | </Offset> |
||
190 | </Anchor> |
||
191 | </Anchors> |
||
192 | </FontString> |
||
193 | <FontString name="BestBuffEditLevels" inherits="GameFontNormal" justifyH="RIGHT" text="Levels:"> |
||
194 | <Size> |
||
195 | <AbsDimension x="55" y="24" /> |
||
196 | </Size> |
||
197 | <Anchors> |
||
198 | <Anchor point="BOTTOMLEFT"> |
||
199 | <Offset> |
||
200 | <AbsDimension x="0" y="40" /> |
||
201 | </Offset> |
||
202 | </Anchor> |
||
203 | </Anchors> |
||
204 | </FontString> |
||
205 | |||
206 | |||
207 | |||
208 | </Layer> |
||
209 | </Layers> |
||
210 | |||
211 | <Frames> |
||
212 | |||
213 | <Button name="BestBuffCloseButton"> |
||
214 | <Size> |
||
215 | <AbsDimension x="16" y="16"/> |
||
216 | </Size> |
||
217 | <Anchors> |
||
218 | <Anchor point="TOPRIGHT"> |
||
219 | <Offset> |
||
220 | <AbsDimension x="-8" y="-8"/> |
||
221 | </Offset> |
||
222 | </Anchor> |
||
223 | </Anchors> |
||
224 | <Scripts> |
||
225 | <OnClick> |
||
226 | BestBuffCloseButton_OnClick(); |
||
227 | </OnClick> |
||
228 | </Scripts> |
||
229 | <NormalTexture file="Interface\AddOns\BestBuff\CloseButton-Up"/> |
||
230 | <PushedTexture file="Interface\AddOns\BestBuff\CloseButton-Down"/> |
||
231 | <HighlightTexture file="Interface\AddOns\BestBuff\Status-Idle" alphaMode="ADD"/> |
||
232 | </Button> |
||
233 | |||
234 | <Button name="BestBuffName1" inherits="BestBuffNameButtonTemplate"> |
||
235 | <Anchors> |
||
236 | <Anchor point="TOPLEFT" relativeTo="BestBuffTopLeft" relativePoint="BOTTOMLEFT"> |
||
237 | <Offset> |
||
238 | <AbsDimension x="16" y="-3" /> |
||
239 | </Offset> |
||
240 | </Anchor> |
||
241 | </Anchors> |
||
242 | <Scripts> |
||
243 | <OnClick> |
||
244 | BestBuffNameButton_OnClick(1); |
||
245 | </OnClick> |
||
246 | </Scripts> |
||
247 | </Button> |
||
248 | <Button name="BestBuffName2" inherits="BestBuffNameButtonTemplate"> |
||
249 | <Anchors> |
||
250 | <Anchor point="TOPLEFT" relativeTo="BestBuffName1" relativePoint="BOTTOMLEFT" /> |
||
251 | </Anchors> |
||
252 | <Scripts> |
||
253 | <OnClick> |
||
254 | BestBuffNameButton_OnClick(2); |
||
255 | </OnClick> |
||
256 | </Scripts> |
||
257 | </Button> |
||
258 | <Button name="BestBuffName3" inherits="BestBuffNameButtonTemplate"> |
||
259 | <Anchors> |
||
260 | <Anchor point="TOPLEFT" relativeTo="BestBuffName2" relativePoint="BOTTOMLEFT" /> |
||
261 | </Anchors> |
||
262 | <Scripts> |
||
263 | <OnClick> |
||
264 | BestBuffNameButton_OnClick(3); |
||
265 | </OnClick> |
||
266 | </Scripts> |
||
267 | </Button> |
||
268 | <Button name="BestBuffName4" inherits="BestBuffNameButtonTemplate"> |
||
269 | <Anchors> |
||
270 | <Anchor point="TOPLEFT" relativeTo="BestBuffName3" relativePoint="BOTTOMLEFT" /> |
||
271 | </Anchors> |
||
272 | <Scripts> |
||
273 | <OnClick> |
||
274 | BestBuffNameButton_OnClick(4); |
||
275 | </OnClick> |
||
276 | </Scripts> |
||
277 | </Button> |
||
278 | <Button name="BestBuffName5" inherits="BestBuffNameButtonTemplate"> |
||
279 | <Anchors> |
||
280 | <Anchor point="TOPLEFT" relativeTo="BestBuffName4" relativePoint="BOTTOMLEFT" /> |
||
281 | </Anchors> |
||
282 | <Scripts> |
||
283 | <OnClick> |
||
284 | BestBuffNameButton_OnClick(5); |
||
285 | </OnClick> |
||
286 | </Scripts> |
||
287 | </Button> |
||
288 | <Button name="BestBuffName6" inherits="BestBuffNameButtonTemplate"> |
||
289 | <Anchors> |
||
290 | <Anchor point="TOPLEFT" relativeTo="BestBuffName5" relativePoint="BOTTOMLEFT" /> |
||
291 | </Anchors> |
||
292 | <Scripts> |
||
293 | <OnClick> |
||
294 | BestBuffNameButton_OnClick(6); |
||
295 | </OnClick> |
||
296 | </Scripts> |
||
297 | </Button> |
||
298 | <Button name="BestBuffName7" inherits="BestBuffNameButtonTemplate"> |
||
299 | <Anchors> |
||
300 | <Anchor point="TOPLEFT" relativeTo="BestBuffName6" relativePoint="BOTTOMLEFT" /> |
||
301 | </Anchors> |
||
302 | <Scripts> |
||
303 | <OnClick> |
||
304 | BestBuffNameButton_OnClick(7); |
||
305 | </OnClick> |
||
306 | </Scripts> |
||
307 | </Button> |
||
308 | <Button name="BestBuffName8" inherits="BestBuffNameButtonTemplate"> |
||
309 | <Anchors> |
||
310 | <Anchor point="TOPLEFT" relativeTo="BestBuffName7" relativePoint="BOTTOMLEFT" /> |
||
311 | </Anchors> |
||
312 | <Scripts> |
||
313 | <OnClick> |
||
314 | BestBuffNameButton_OnClick(8); |
||
315 | </OnClick> |
||
316 | </Scripts> |
||
317 | </Button> |
||
318 | |||
319 | |||
320 | <ScrollFrame name="BestBuffScrollFrame" inherits="FauxScrollFrameTemplate"> |
||
321 | <Size> |
||
322 | <AbsDimension x="240" y="135"/> |
||
323 | </Size> |
||
324 | <Anchors> |
||
325 | <Anchor point="TOPRIGHT"> |
||
326 | <Offset> |
||
327 | <AbsDimension x="-38" y="-42"/> |
||
328 | </Offset> |
||
329 | </Anchor> |
||
330 | </Anchors> |
||
331 | <Scripts> |
||
332 | <OnVerticalScroll> |
||
333 | FauxScrollFrame_OnVerticalScroll(8, BestBuffList_Update); |
||
334 | </OnVerticalScroll> |
||
335 | </Scripts> |
||
336 | </ScrollFrame> |
||
337 | |||
338 | |||
339 | |||
340 | <CheckButton name="BestBuffEnableCheckButton" inherits="UICheckButtonTemplate"> |
||
341 | <Size> |
||
342 | <AbsDimension x="20" y="20"/> |
||
343 | </Size> |
||
344 | <Anchors> |
||
345 | <Anchor point="TOPRIGHT" relativeTo="BestBuffEnable" relativePoint="TOPLEFT"> |
||
346 | <Offset> |
||
347 | <AbsDimension x="-1" y="2"/> |
||
348 | </Offset> |
||
349 | </Anchor> |
||
350 | </Anchors> |
||
351 | <Scripts> |
||
352 | <OnEnter> |
||
353 | BestBuffEnableCheckButton_OnEnter(); |
||
354 | </OnEnter> |
||
355 | <OnLeave> |
||
356 | GameTooltip:Hide(); |
||
357 | </OnLeave> |
||
358 | <OnClick> |
||
359 | BestBuffEnableCheckButton_OnClick(); |
||
360 | </OnClick> |
||
361 | </Scripts> |
||
362 | </CheckButton> |
||
363 | |||
364 | <CheckButton name="BestBuffNotifyCheckButton" inherits="UICheckButtonTemplate"> |
||
365 | <Size> |
||
366 | <AbsDimension x="20" y="20"/> |
||
367 | </Size> |
||
368 | <Anchors> |
||
369 | <Anchor point="TOPRIGHT" relativeTo="BestBuffNotify" relativePoint="TOPLEFT"> |
||
370 | <Offset> |
||
371 | <AbsDimension x="-1" y="2"/> |
||
372 | </Offset> |
||
373 | </Anchor> |
||
374 | </Anchors> |
||
375 | <Scripts> |
||
376 | <OnEnter> |
||
377 | BestBuffNotifyCheckButton_OnEnter(); |
||
378 | </OnEnter> |
||
379 | <OnLeave> |
||
380 | GameTooltip:Hide(); |
||
381 | </OnLeave> |
||
382 | <OnClick> |
||
383 | BestBuffNotifyCheckButton_OnClick(); |
||
384 | </OnClick> |
||
385 | </Scripts> |
||
386 | </CheckButton> |
||
387 | <CheckButton name="BestBuffSelfCastCheckButton" inherits="UICheckButtonTemplate"> |
||
388 | <Size> |
||
389 | <AbsDimension x="20" y="20"/> |
||
390 | </Size> |
||
391 | <Anchors> |
||
392 | <Anchor point="TOPRIGHT" relativeTo="BestBuffSelfCast" relativePoint="TOPLEFT"> |
||
393 | <Offset> |
||
394 | <AbsDimension x="-1" y="2"/> |
||
395 | </Offset> |
||
396 | </Anchor> |
||
397 | </Anchors> |
||
398 | <Scripts> |
||
399 | <OnEnter> |
||
400 | BestBuffSelfCastCheckButton_OnEnter(); |
||
401 | </OnEnter> |
||
402 | <OnLeave> |
||
403 | GameTooltip:Hide(); |
||
404 | </OnLeave> |
||
405 | <OnClick> |
||
406 | BestBuffSelfCastCheckButton_OnClick(); |
||
407 | </OnClick> |
||
408 | </Scripts> |
||
409 | </CheckButton> |
||
410 | |||
411 | |||
412 | <EditBox name="BestBuffEditNameBox" inherits="BestBuffEditBoxTemplate"> |
||
413 | <Anchors> |
||
414 | <Anchor point="BOTTOMLEFT"> |
||
415 | <Offset> |
||
416 | <AbsDimension x="65" y="60"/> |
||
417 | </Offset> |
||
418 | </Anchor> |
||
419 | </Anchors> |
||
420 | <Scripts> |
||
421 | <OnEnter> |
||
422 | BestBuffEditNameBox_OnEnter(); |
||
423 | </OnEnter> |
||
424 | <OnLeave> |
||
425 | GameTooltip:Hide(); |
||
426 | </OnLeave> |
||
427 | <OnEscapePressed> |
||
428 | BestBuffEditBox_OnEscapePressed(); |
||
429 | </OnEscapePressed> |
||
430 | </Scripts> |
||
431 | </EditBox> |
||
432 | <EditBox name="BestBuffEditLevelsBox" inherits="BestBuffEditBoxTemplate"> |
||
433 | <Anchors> |
||
434 | <Anchor point="BOTTOMLEFT"> |
||
435 | <Offset> |
||
436 | <AbsDimension x="65" y="40"/> |
||
437 | </Offset> |
||
438 | </Anchor> |
||
439 | </Anchors> |
||
440 | <Scripts> |
||
441 | <OnEnter> |
||
442 | BestBuffEditLevelsBox_OnEnter(); |
||
443 | </OnEnter> |
||
444 | <OnLeave> |
||
445 | GameTooltip:Hide(); |
||
446 | </OnLeave> |
||
447 | <OnEscapePressed> |
||
448 | BestBuffEditBox_OnEscapePressed(); |
||
449 | </OnEscapePressed> |
||
450 | </Scripts> |
||
451 | </EditBox> |
||
452 | |||
453 | <Button name="BestBuffAddButton" inherits="GameMenuButtonTemplate" text="Add"> |
||
454 | <Size> |
||
455 | <AbsDimension x="70" y="24"/> |
||
456 | </Size> |
||
457 | <Anchors> |
||
458 | <Anchor point="BOTTOMLEFT"> |
||
459 | <Offset> |
||
460 | <AbsDimension x="22" y="10"/> |
||
461 | </Offset> |
||
462 | </Anchor> |
||
463 | </Anchors> |
||
464 | <Scripts> |
||
465 | <OnEnter> |
||
466 | BestBuffAddButton_OnEnter(); |
||
467 | </OnEnter> |
||
468 | <OnLeave> |
||
469 | GameTooltip:Hide(); |
||
470 | </OnLeave> |
||
471 | <OnClick> |
||
472 | BestBuffAddButton_OnClick(); |
||
473 | </OnClick> |
||
474 | </Scripts> |
||
475 | </Button> |
||
476 | <Button name="BestBuffChangeButton" inherits="GameMenuButtonTemplate" text="Change"> |
||
477 | <Size> |
||
478 | <AbsDimension x="70" y="24"/> |
||
479 | </Size> |
||
480 | <Anchors> |
||
481 | <Anchor point="BOTTOMLEFT"> |
||
482 | <Offset> |
||
483 | <AbsDimension x="102" y="10"/> |
||
484 | </Offset> |
||
485 | </Anchor> |
||
486 | </Anchors> |
||
487 | <Scripts> |
||
488 | <OnEnter> |
||
489 | BestBuffChangeButton_OnEnter(); |
||
490 | </OnEnter> |
||
491 | <OnLeave> |
||
492 | GameTooltip:Hide(); |
||
493 | </OnLeave> |
||
494 | <OnClick> |
||
495 | BestBuffChangeButton_OnClick(); |
||
496 | </OnClick> |
||
497 | </Scripts> |
||
498 | </Button> |
||
499 | <Button name="BestBuffDeleteButton" inherits="GameMenuButtonTemplate" text="Delete"> |
||
500 | <Size> |
||
501 | <AbsDimension x="70" y="24"/> |
||
502 | </Size> |
||
503 | <Anchors> |
||
504 | <Anchor point="BOTTOMLEFT"> |
||
505 | <Offset> |
||
506 | <AbsDimension x="182" y="10"/> |
||
507 | </Offset> |
||
508 | </Anchor> |
||
509 | </Anchors> |
||
510 | <Scripts> |
||
511 | <OnEnter> |
||
512 | BestBuffDeleteButton_OnEnter(); |
||
513 | </OnEnter> |
||
514 | <OnLeave> |
||
515 | GameTooltip:Hide(); |
||
516 | </OnLeave> |
||
517 | <OnClick> |
||
518 | BestBuffDeleteButton_OnClick(); |
||
519 | </OnClick> |
||
520 | </Scripts> |
||
521 | </Button> |
||
522 | |||
523 | </Frames> |
||
524 | |||
525 | <Scripts> |
||
526 | <OnLoad> |
||
527 | BestBuff_OnLoad(); |
||
528 | </OnLoad> |
||
529 | <OnEvent> |
||
530 | BestBuff_OnEvent(); |
||
531 | </OnEvent> |
||
532 | <OnMouseDown> |
||
533 | BestBuff_OnMouseDown(arg1); |
||
534 | </OnMouseDown> |
||
535 | <OnMouseUp> |
||
536 | BestBuff_OnMouseUp(arg1); |
||
537 | </OnMouseUp> |
||
538 | </Scripts> |
||
539 | </Frame> |
||
540 | |||
541 | </Ui> |