vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
3 <Script file="localization.lua"/>
4 <Script file="colorChart.lua"/>
5 <Script file="variableChecker.lua"/>
6 <Script file="anchorChanging.lua"/>
7 <Script file="slashCommands.lua"/>
8 <Script file="AF_ToolTip.lua"/>
9  
10 <!-- Frame to handle all core events -->
11 <Frame name="AF_ToolTipFrame" hidden="false">
12 <Scripts>
13 <OnLoad>
14 this:RegisterEvent("UPDATE_MOUSEOVER_UNIT");
15 </OnLoad>
16 <OnUpdate>
17 aftt_onUpdate(arg1);
18 </OnUpdate>
19 <OnEvent>
20 aftt_onEvent(event);
21 </OnEvent>
22 </Scripts>
23 </Frame>
24 <Frame name="AF_ToolTipRefresh" hidden="true">
25 <Scripts>
26 <OnUpdate>
27 aftt_onRefresh();
28 </OnUpdate>
29 </Scripts>
30 </Frame>
31 <Frame name="aftt_optionFrame" hidden="true" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
32 <Size>
33 <AbsDimension x="215" y="320"/>
34 </Size>
35 <Anchors>
36 <Anchor point="CENTER"/>
37 </Anchors>
38 <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
39 <EdgeSize>
40 <AbsValue val="16"/>
41 </EdgeSize>
42 <TileSize>
43 <AbsValue val="32"/>
44 </TileSize>
45 <BackgroundInsets>
46 <AbsInset left="5" right="5" top="5" bottom="5"/>
47 </BackgroundInsets>
48 </Backdrop>
49 <Frames>
50 <Button name="aftt_closeOptionFrame">
51 <Size>
52 <AbsDimension x="30" y="30"/>
53 </Size>
54 <Anchors>
55 <Anchor point="TOPRIGHT" relativeTo="aftt_optionFrame" relativePoint="TOPRIGHT">
56 <Offset>
57 <AbsDimension x="-5" y="-5"/>
58 </Offset>
59 </Anchor>
60 </Anchors>
61 <Scripts>
62 <OnClick>
63 aftt_toggleFrames();
64 </OnClick>
65 </Scripts>
66 <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
67 <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
68 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
69 </Button>
70 <Button name="aftt_next1">
71 <Size>
72 <AbsDimension x="20" y="20"/>
73 </Size>
74 <Anchors>
75 <Anchor point="LEFT" relativeTo="aftt_TextRight1" relativePoint="RIGHT">
76 <Offset>
77 <AbsDimension x="-5" y="-2"/>
78 </Offset>
79 </Anchor>
80 </Anchors>
81 <Scripts>
82 <OnClick>
83 aftt_buttonToggle("anchor");
84 </OnClick>
85 </Scripts>
86 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
87 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
88 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
89 </Button>
90 <Button name="aftt_previous2">
91 <Size>
92 <AbsDimension x="20" y="20"/>
93 </Size>
94 <Anchors>
95 <Anchor point="RIGHT" relativeTo="aftt_TextRight2" relativePoint="LEFT">
96 <Offset>
97 <AbsDimension x="-5" y="-2"/>
98 </Offset>
99 </Anchor>
100 </Anchors>
101 <Scripts>
102 <OnClick>
103 aftt_buttonToggle("x-");
104 </OnClick>
105 </Scripts>
106 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
107 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
108 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
109 </Button>
110 <Button name="aftt_next2">
111 <Size>
112 <AbsDimension x="20" y="20"/>
113 </Size>
114 <Anchors>
115 <Anchor point="LEFT" relativeTo="aftt_TextRight2" relativePoint="RIGHT">
116 <Offset>
117 <AbsDimension x="-5" y="-2"/>
118 </Offset>
119 </Anchor>
120 </Anchors>
121 <Scripts>
122 <OnClick>
123 aftt_buttonToggle("x+");
124 </OnClick>
125 </Scripts>
126 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
127 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
128 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
129 </Button>
130 <Button name="aftt_previous3">
131 <Size>
132 <AbsDimension x="20" y="20"/>
133 </Size>
134 <Anchors>
135 <Anchor point="RIGHT" relativeTo="aftt_TextRight3" relativePoint="LEFT">
136 <Offset>
137 <AbsDimension x="-5" y="-2"/>
138 </Offset>
139 </Anchor>
140 </Anchors>
141 <Scripts>
142 <OnClick>
143 aftt_buttonToggle("y-");
144 </OnClick>
145 </Scripts>
146 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
147 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
148 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
149 </Button>
150 <Button name="aftt_next3">
151 <Size>
152 <AbsDimension x="20" y="20"/>
153 </Size>
154 <Anchors>
155 <Anchor point="LEFT" relativeTo="aftt_TextRight3" relativePoint="RIGHT">
156 <Offset>
157 <AbsDimension x="-5" y="-2"/>
158 </Offset>
159 </Anchor>
160 </Anchors>
161 <Scripts>
162 <OnClick>
163 aftt_buttonToggle("y+");
164 </OnClick>
165 </Scripts>
166 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
167 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
168 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
169 </Button>
170 <Button name="aftt_next4">
171 <Size>
172 <AbsDimension x="20" y="20"/>
173 </Size>
174 <Anchors>
175 <Anchor point="LEFT" relativeTo="aftt_TextRight4" relativePoint="RIGHT">
176 <Offset>
177 <AbsDimension x="-5" y="-2"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 <Scripts>
182 <OnClick>
183 aftt_buttonToggle("fade");
184 </OnClick>
185 </Scripts>
186 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
187 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
188 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
189 </Button>
190 <Button name="aftt_next5">
191 <Size>
192 <AbsDimension x="20" y="20"/>
193 </Size>
194 <Anchors>
195 <Anchor point="LEFT" relativeTo="aftt_TextRight5" relativePoint="RIGHT">
196 <Offset>
197 <AbsDimension x="-5" y="-2"/>
198 </Offset>
199 </Anchor>
200 </Anchors>
201 <Scripts>
202 <OnClick>
203 aftt_buttonToggle("pvp");
204 </OnClick>
205 </Scripts>
206 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
207 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
208 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
209 </Button>
210 <Button name="aftt_next6">
211 <Size>
212 <AbsDimension x="20" y="20"/>
213 </Size>
214 <Anchors>
215 <Anchor point="LEFT" relativeTo="aftt_TextRight6" relativePoint="RIGHT">
216 <Offset>
217 <AbsDimension x="-5" y="-2"/>
218 </Offset>
219 </Anchor>
220 </Anchors>
221 <Scripts>
222 <OnClick>
223 aftt_buttonToggle("tapped");
224 </OnClick>
225 </Scripts>
226 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
227 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
228 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
229 </Button>
230 <Button name="aftt_next7">
231 <Size>
232 <AbsDimension x="20" y="20"/>
233 </Size>
234 <Anchors>
235 <Anchor point="LEFT" relativeTo="aftt_TextRight7" relativePoint="RIGHT">
236 <Offset>
237 <AbsDimension x="-5" y="-2"/>
238 </Offset>
239 </Anchor>
240 </Anchors>
241 <Scripts>
242 <OnClick>
243 aftt_buttonToggle("reaction");
244 </OnClick>
245 </Scripts>
246 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
247 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
248 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
249 </Button>
250 <Button name="aftt_next8">
251 <Size>
252 <AbsDimension x="20" y="20"/>
253 </Size>
254 <Anchors>
255 <Anchor point="LEFT" relativeTo="aftt_TextRight8" relativePoint="RIGHT">
256 <Offset>
257 <AbsDimension x="-5" y="-2"/>
258 </Offset>
259 </Anchor>
260 </Anchors>
261 <Scripts>
262 <OnClick>
263 aftt_buttonToggle("guild");
264 </OnClick>
265 </Scripts>
266 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
267 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
268 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
269 </Button>
270 <Button name="aftt_next9">
271 <Size>
272 <AbsDimension x="20" y="20"/>
273 </Size>
274 <Anchors>
275 <Anchor point="LEFT" relativeTo="aftt_TextRight9" relativePoint="RIGHT">
276 <Offset>
277 <AbsDimension x="-5" y="-2"/>
278 </Offset>
279 </Anchor>
280 </Anchors>
281 <Scripts>
282 <OnClick>
283 aftt_buttonToggle("rank");
284 </OnClick>
285 </Scripts>
286 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
287 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
288 <HighlightTexture file="Interface\Buttons\GlowStar" alphaMode="ADD"/>
289 </Button>
290 </Frames>
291 <Layers>
292 <Layer level="BACKGROUND">
293 <FontString name="aftt_TextHeader" inherits="GameFontNormal" wraponspaces="true">
294 <Size>
295 <AbsDimension x="180" y="25"/>
296 </Size>
297 <Anchors>
298 <Anchor point="TOP">
299 <Offset>
300 <AbsDimension x="0" y="-10"/>
301 </Offset>
302 </Anchor>
303 </Anchors>
304 </FontString>
305 </Layer>
306 <Layer level="BACKGROUND">
307 <FontString name="aftt_TextLeft1" inherits="GameFontNormal" wraponspaces="true">
308 <Size>
309 <AbsDimension x="80" y="12"/>
310 </Size>
311 <Anchors>
312 <Anchor point="TOPLEFT">
313 <Offset>
314 <AbsDimension x="0" y="-40"/>
315 </Offset>
316 </Anchor>
317 </Anchors>
318 </FontString>
319 </Layer>
320 <Layer level="BACKGROUND">
321 <FontString name="aftt_TextRight1" inherits="GameFontNormal" wraponspaces="true">
322 <Size>
323 <AbsDimension x="80" y="12"/>
324 </Size>
325 <Anchors>
326 <Anchor point="LEFT" relativeTo = "aftt_TextLeft1" relativePoint="RIGHT">
327 <Offset>
328 <AbsDimension x="30" y="0"/>
329 </Offset>
330 </Anchor>
331 </Anchors>
332 </FontString>
333 </Layer>
334 <Layer level="BACKGROUND">
335 <FontString name="aftt_TextLeft2" inherits="GameFontNormal" wraponspaces="true">
336 <Size>
337 <AbsDimension x="80" y="12"/>
338 </Size>
339 <Anchors>
340 <Anchor point="TOPLEFT" relativeTo="aftt_TextLeft1" relativePoint="BOTTOMLEFT">
341 <Offset>
342 <AbsDimension x="0" y="-10"/>
343 </Offset>
344 </Anchor>
345 </Anchors>
346 </FontString>
347 </Layer>
348 <Layer level="BACKGROUND">
349 <FontString name="aftt_TextRight2" inherits="GameFontNormal" wraponspaces="true">
350 <Size>
351 <AbsDimension x="80" y="12"/>
352 </Size>
353 <Anchors>
354 <Anchor point="TOPLEFT" relativeTo="aftt_TextRight1" relativePoint="BOTTOMLEFT">
355 <Offset>
356 <AbsDimension x="0" y="-10"/>
357 </Offset>
358 </Anchor>
359 </Anchors>
360 </FontString>
361 </Layer>
362 <Layer level="BACKGROUND">
363 <FontString name="aftt_TextLeft3" inherits="GameFontNormal" wraponspaces="true">
364 <Size>
365 <AbsDimension x="80" y="12"/>
366 </Size>
367 <Anchors>
368 <Anchor point="TOPLEFT" relativeTo="aftt_TextLeft2" relativePoint="BOTTOMLEFT">
369 <Offset>
370 <AbsDimension x="0" y="-10"/>
371 </Offset>
372 </Anchor>
373 </Anchors>
374 </FontString>
375 </Layer>
376 <Layer level="BACKGROUND">
377 <FontString name="aftt_TextRight3" inherits="GameFontNormal" wraponspaces="true">
378 <Size>
379 <AbsDimension x="80" y="12"/>
380 </Size>
381 <Anchors>
382 <Anchor point="TOPRIGHT" relativeTo="aftt_TextRight2" relativePoint="BOTTOMRIGHT">
383 <Offset>
384 <AbsDimension x="0" y="-10"/>
385 </Offset>
386 </Anchor>
387 </Anchors>
388 </FontString>
389 </Layer>
390 <Layer level="BACKGROUND">
391 <FontString name="aftt_TextLeft4" inherits="GameFontNormal" wraponspaces="true">
392 <Size>
393 <AbsDimension x="80" y="12"/>
394 </Size>
395 <Anchors>
396 <Anchor point="TOPLEFT" relativeTo="aftt_TextLeft3" relativePoint="BOTTOMLEFT">
397 <Offset>
398 <AbsDimension x="0" y="-10"/>
399 </Offset>
400 </Anchor>
401 </Anchors>
402 </FontString>
403 </Layer>
404 <Layer level="BACKGROUND">
405 <FontString name="aftt_TextRight4" inherits="GameFontNormal" wraponspaces="true">
406 <Size>
407 <AbsDimension x="80" y="12"/>
408 </Size>
409 <Anchors>
410 <Anchor point="TOPRIGHT" relativeTo="aftt_TextRight3" relativePoint="BOTTOMRIGHT">
411 <Offset>
412 <AbsDimension x="0" y="-10"/>
413 </Offset>
414 </Anchor>
415 </Anchors>
416 </FontString>
417 </Layer>
418 <Layer level="BACKGROUND">
419 <FontString name="aftt_TextLeft5" inherits="GameFontNormal" wraponspaces="true">
420 <Size>
421 <AbsDimension x="80" y="12"/>
422 </Size>
423 <Anchors>
424 <Anchor point="TOPLEFT" relativeTo="aftt_TextLeft4" relativePoint="BOTTOMLEFT">
425 <Offset>
426 <AbsDimension x="0" y="-10"/>
427 </Offset>
428 </Anchor>
429 </Anchors>
430 </FontString>
431 </Layer>
432 <Layer level="BACKGROUND">
433 <FontString name="aftt_TextRight5" inherits="GameFontNormal" wraponspaces="true">
434 <Size>
435 <AbsDimension x="80" y="12"/>
436 </Size>
437 <Anchors>
438 <Anchor point="TOPRIGHT" relativeTo="aftt_TextRight4" relativePoint="BOTTOMRIGHT">
439 <Offset>
440 <AbsDimension x="0" y="-10"/>
441 </Offset>
442 </Anchor>
443 </Anchors>
444 </FontString>
445 </Layer>
446 <Layer level="BACKGROUND">
447 <FontString name="aftt_TextLeft6" inherits="GameFontNormal" wraponspaces="true">
448 <Size>
449 <AbsDimension x="80" y="12"/>
450 </Size>
451 <Anchors>
452 <Anchor point="TOPLEFT" relativeTo="aftt_TextLeft5" relativePoint="BOTTOMLEFT">
453 <Offset>
454 <AbsDimension x="0" y="-10"/>
455 </Offset>
456 </Anchor>
457 </Anchors>
458 </FontString>
459 </Layer>
460 <Layer level="BACKGROUND">
461 <FontString name="aftt_TextRight6" inherits="GameFontNormal" wraponspaces="true">
462 <Size>
463 <AbsDimension x="80" y="12"/>
464 </Size>
465 <Anchors>
466 <Anchor point="TOPRIGHT" relativeTo="aftt_TextRight5" relativePoint="BOTTOMRIGHT">
467 <Offset>
468 <AbsDimension x="0" y="-10"/>
469 </Offset>
470 </Anchor>
471 </Anchors>
472 </FontString>
473 </Layer>
474 <Layer level="BACKGROUND">
475 <FontString name="aftt_TextLeft7" inherits="GameFontNormal" wraponspaces="true">
476 <Size>
477 <AbsDimension x="80" y="12"/>
478 </Size>
479 <Anchors>
480 <Anchor point="TOPLEFT" relativeTo="aftt_TextLeft6" relativePoint="BOTTOMLEFT">
481 <Offset>
482 <AbsDimension x="0" y="-10"/>
483 </Offset>
484 </Anchor>
485 </Anchors>
486 </FontString>
487 </Layer>
488 <Layer level="BACKGROUND">
489 <FontString name="aftt_TextRight7" inherits="GameFontNormal" wraponspaces="true">
490 <Size>
491 <AbsDimension x="80" y="12"/>
492 </Size>
493 <Anchors>
494 <Anchor point="TOPRIGHT" relativeTo="aftt_TextRight6" relativePoint="BOTTOMRIGHT">
495 <Offset>
496 <AbsDimension x="0" y="-10"/>
497 </Offset>
498 </Anchor>
499 </Anchors>
500 </FontString>
501 </Layer>
502 <Layer level="BACKGROUND">
503 <FontString name="aftt_TextLeft8" inherits="GameFontNormal" wraponspaces="true">
504 <Size>
505 <AbsDimension x="80" y="12"/>
506 </Size>
507 <Anchors>
508 <Anchor point="TOPLEFT" relativeTo="aftt_TextLeft7" relativePoint="BOTTOMLEFT">
509 <Offset>
510 <AbsDimension x="0" y="-10"/>
511 </Offset>
512 </Anchor>
513 </Anchors>
514 </FontString>
515 </Layer>
516 <Layer level="BACKGROUND">
517 <FontString name="aftt_TextRight8" inherits="GameFontNormal" wraponspaces="true">
518 <Size>
519 <AbsDimension x="80" y="12"/>
520 </Size>
521 <Anchors>
522 <Anchor point="TOPRIGHT" relativeTo="aftt_TextRight7" relativePoint="BOTTOMRIGHT">
523 <Offset>
524 <AbsDimension x="0" y="-10"/>
525 </Offset>
526 </Anchor>
527 </Anchors>
528 </FontString>
529 </Layer>
530 <Layer level="BACKGROUND">
531 <FontString name="aftt_TextLeft9" inherits="GameFontNormal" wraponspaces="true">
532 <Size>
533 <AbsDimension x="80" y="12"/>
534 </Size>
535 <Anchors>
536 <Anchor point="TOPLEFT" relativeTo="aftt_TextLeft8" relativePoint="BOTTOMLEFT">
537 <Offset>
538 <AbsDimension x="0" y="-10"/>
539 </Offset>
540 </Anchor>
541 </Anchors>
542 </FontString>
543 </Layer>
544 <Layer level="BACKGROUND">
545 <FontString name="aftt_TextRight9" inherits="GameFontNormal" wraponspaces="true">
546 <Size>
547 <AbsDimension x="80" y="12"/>
548 </Size>
549 <Anchors>
550 <Anchor point="TOPRIGHT" relativeTo="aftt_TextRight8" relativePoint="BOTTOMRIGHT">
551 <Offset>
552 <AbsDimension x="0" y="-10"/>
553 </Offset>
554 </Anchor>
555 </Anchors>
556 </FontString>
557 </Layer>
558 <Layer level="BACKGROUND">
559 <FontString name="aftt_TextHeader2" inherits="GameFontNormal" wraponspaces="true">
560 <Size>
561 <AbsDimension x="180" y="25"/>
562 </Size>
563 <Anchors>
564 <Anchor point="TOP">
565 <Offset>
566 <AbsDimension x="0" y="-235"/>
567 </Offset>
568 </Anchor>
569 </Anchors>
570 </FontString>
571 </Layer>
572 <Layer level="BACKGROUND">
573 <FontString name="aftt_TextLeft10" inherits="GameFontNormal" wraponspaces="true">
574 <Size>
575 <AbsDimension x="180" y="25"/>
576 </Size>
577 <Anchors>
578 <Anchor point="TOP" relativeTo="aftt_TextHeader2" relativePoint="BOTTOM">
579 <Offset>
580 <AbsDimension x="0" y="10"/>
581 </Offset>
582 </Anchor>
583 </Anchors>
584 </FontString>
585 </Layer>
586 <Layer level="BACKGROUND">
587 <FontString name="aftt_TextLeft11" inherits="GameFontNormal" wraponspaces="true">
588 <Size>
589 <AbsDimension x="180" y="0"/>
590 </Size>
591 <Anchors>
592 <Anchor point="TOP" relativeTo="aftt_TextLeft10" relativePoint="BOTTOM">
593 <Offset>
594 <AbsDimension x="0" y="0"/>
595 </Offset>
596 </Anchor>
597 </Anchors>
598 </FontString>
599 </Layer>
600 </Layers>
601 <Scripts>
602 <OnUpdate>
603 aftt_optionFrame:RegisterForDrag("LeftButton");
604 aftt_onRefresh();
605 </OnUpdate>
606 <OnDragStart>
607 aftt_optionFrame:StartMoving();
608 </OnDragStart>
609 <OnDragStop>
610 aftt_optionFrame:StopMovingOrSizing();
611 </OnDragStop>
612 <OnMouseUp>
613 aftt_optionFrame:StopMovingOrSizing();
614 </OnMouseUp>
615 </Scripts>
616 </Frame>
617 </Ui>