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 ..\FrameXML\UI.xsd">
3 <Script file="localization.lua"/>
4 <Script file="SetWrangler.lua"/>
5 <Script file="SetWranglerData.lua"/>
6 <Script file="SetWranglerDruidData.lua"/>
7 <Script file="SetWranglerHunterData.lua"/>
8 <Script file="SetWranglerMageData.lua"/>
9 <Script file="SetWranglerPaladinData.lua"/>
10 <Script file="SetWranglerPriestData.lua"/>
11 <Script file="SetWranglerRogueData.lua"/>
12 <Script file="SetWranglerShamanData.lua"/>
13 <Script file="SetWranglerWarlockData.lua"/>
14 <Script file="SetWranglerWarriorData.lua"/>
15 <Script file="SetWranglerOtherData.lua"/>
16 <Script file="SetWranglerWeaponData.lua"/>
17 <Script file="SetWranglerPVPAData.lua"/>
18 <Script file="SetWranglerPVPHData.lua"/>
19 <Script file="SetWranglerLocalData.lua"/>
20 <Button name="SetWranglerButtonTemplate" virtual="true">
21 <Size>
22 <AbsDimension x="400" y="36"/>
23 </Size>
24 <Frames>
25 <CheckButton name="$parentCheckButton" inherits="UICheckButtonTemplate">
26 <Anchors>
27 <Anchor point="TOPLEFT">
28 <Offset>
29 <AbsDimension x="4" y="-3"/>
30 </Offset>
31 </Anchor>
32 </Anchors>
33 <Scripts>
34 <OnEnter>
35 this:GetParent():LockHighlight();
36 </OnEnter>
37 <OnLeave>
38 this:GetParent():UnlockHighlight();
39 </OnLeave>
40 </Scripts>
41 </CheckButton>
42 <Button name="$parentIcon" id="500">
43 <Size>
44 <AbsDimension x="32" y="32"/>
45 </Size>
46 <Anchors>
47 <Anchor point="TOPLEFT">
48 <Offset>
49 <AbsDimension x="40" y="-3"/>
50 </Offset>
51 </Anchor>
52 </Anchors>
53 <Scripts>
54 <OnEnter>
55 SetWrangler_OnButtonEnter();
56 </OnEnter>
57 <OnLeave>
58 GameTooltip:Hide();
59 this:GetParent():UnlockHighlight();
60 </OnLeave>
61 <OnClick>
62 SetWranglerItem_OnClick(arg1);
63 PlaySound("igMainMenuOptionCheckBoxOn");
64 </OnClick>
65 </Scripts>
66 <NormalTexture name="$parentIconTexture" file="Interface\Icons\INV_Sword_23"/>
67 <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
68 </Button>
69 <Frame name="$parentButtonText" setAllPoints="true">
70 <Layers>
71 <Layer level="BORDER">
72 <FontString name="$parentNameLocation" inherits="GameFontNormal" justifyH="LEFT">
73 <Anchors>
74 <Anchor point="TOPLEFT">
75 <Offset>
76 <AbsDimension x="77" y="-6"/>
77 </Offset>
78 </Anchor>
79 </Anchors>
80 </FontString>
81 <FontString name="$parentInfo" inherits="GameFontHighlightSmall" justifyH="LEFT">
82 <Anchors>
83 <Anchor point="TOPLEFT" relativeTo="$parentNameLocation" relativePoint="BOTTOMLEFT">
84 <Offset>
85 <AbsDimension x="0" y="0"/>
86 </Offset>
87 </Anchor>
88 </Anchors>
89 </FontString>
90 </Layer>
91 </Layers>
92 </Frame>
93 </Frames>
94 <Scripts>
95 <OnLoad>
96 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
97 </OnLoad>
98 <OnClick>
99 SetWranglerItem_OnClick(arg1);
100 PlaySound("igMainMenuOptionCheckBoxOn");
101 </OnClick>
102 <OnLeave>
103 GameTooltip:Hide();
104 </OnLeave>
105 </Scripts>
106 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
107 </Button>
108 <Button name="SetWranglerFrameTabTemplate" hidden="true" inherits="CharacterFrameTabButtonTemplate" virtual="true">
109 <Scripts>
110 <OnClick>
111 PanelTemplates_Tab_OnClick(SetWranglerFrame);
112  
113 </OnClick>
114 </Scripts>
115 </Button>
116 <Frame name="SetWranglerFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
117 <Size>
118 <AbsDimension x="1020" y="512"/>
119 </Size>
120 <Anchors>
121 <Anchor point="TOPLEFT">
122 <Offset>
123 <AbsDimension x="0" y="-104"/>
124 </Offset>
125 </Anchor>
126 </Anchors>
127 <HitRectInsets>
128 <AbsInset left="0" right="30" top="0" bottom="45"/>
129 </HitRectInsets>
130 <Layers>
131 <Layer level="BACKGROUND">
132 <Texture file="Interface\BattlefieldFrame\UI-Battlefield-Icon">
133 <Size>
134 <AbsDimension x="60" y="60"/>
135 </Size>
136 <Anchors>
137 <Anchor point="TOPLEFT">
138 <Offset>
139 <AbsDimension x="7" y="-6"/>
140 </Offset>
141 </Anchor>
142 </Anchors>
143 </Texture>
144 </Layer>
145 <Layer level="ARTWORK">
146 <Texture name="SetWranglerFrameTopLeft" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
147 <Size>
148 <AbsDimension x="256" y="256"/>
149 </Size>
150 <Anchors>
151 <Anchor point="TOPLEFT">
152 <Offset>
153 <AbsDimension x="0" y="0"/>
154 </Offset>
155 </Anchor>
156 </Anchors>
157 </Texture>
158 <Texture name="SetWranglerFrameTopRight" file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
159 <Size>
160 <AbsDimension x="128" y="256"/>
161 </Size>
162 <Anchors>
163 <Anchor point="TOPRIGHT">
164 <Offset>
165 <AbsDimension x="0" y="0"/>
166 </Offset>
167 </Anchor>
168 </Anchors>
169 </Texture>
170 <Texture name="SetWranglerFrameTop1" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
171 <Size>
172 <AbsDimension x="128" y="256"/>
173 </Size>
174 <Anchors>
175 <Anchor point="TOPLEFT">
176 <Offset>
177 <AbsDimension x="256" y="0"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
182 </Texture>
183 <Texture name="SetWranglerFrameBottom1" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
184 <Size>
185 <AbsDimension x="128" y="256"/>
186 </Size>
187 <Anchors>
188 <Anchor point="BOTTOMLEFT">
189 <Offset>
190 <AbsDimension x="256" y="0"/>
191 </Offset>
192 </Anchor>
193 </Anchors>
194 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
195 </Texture>
196 <Texture name="SetWranglerFrameTop2" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
197 <Size>
198 <AbsDimension x="128" y="256"/>
199 </Size>
200 <Anchors>
201 <Anchor point="TOPLEFT">
202 <Offset>
203 <AbsDimension x="384" y="0"/>
204 </Offset>
205 </Anchor>
206 </Anchors>
207 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
208 </Texture>
209 <Texture name="SetWranglerFrameBottom2" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
210 <Size>
211 <AbsDimension x="128" y="256"/>
212 </Size>
213 <Anchors>
214 <Anchor point="BOTTOMLEFT">
215 <Offset>
216 <AbsDimension x="384" y="0"/>
217 </Offset>
218 </Anchor>
219 </Anchors>
220 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
221 </Texture>
222 <Texture name="SetWranglerFrameTop3" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
223 <Size>
224 <AbsDimension x="128" y="256"/>
225 </Size>
226 <Anchors>
227 <Anchor point="TOPLEFT">
228 <Offset>
229 <AbsDimension x="512" y="0"/>
230 </Offset>
231 </Anchor>
232 </Anchors>
233 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
234 </Texture>
235 <Texture name="SetWranglerFrameBottom3" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
236 <Size>
237 <AbsDimension x="128" y="256"/>
238 </Size>
239 <Anchors>
240 <Anchor point="BOTTOMLEFT">
241 <Offset>
242 <AbsDimension x="512" y="0"/>
243 </Offset>
244 </Anchor>
245 </Anchors>
246 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
247 </Texture>
248 <Texture name="SetWranglerFrameTop4" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
249 <Size>
250 <AbsDimension x="128" y="256"/>
251 </Size>
252 <Anchors>
253 <Anchor point="TOPLEFT">
254 <Offset>
255 <AbsDimension x="640" y="0"/>
256 </Offset>
257 </Anchor>
258 </Anchors>
259 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
260 </Texture>
261 <Texture name="SetWranglerFrameBottom4" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
262 <Size>
263 <AbsDimension x="128" y="256"/>
264 </Size>
265 <Anchors>
266 <Anchor point="BOTTOMLEFT">
267 <Offset>
268 <AbsDimension x="640" y="0"/>
269 </Offset>
270 </Anchor>
271 </Anchors>
272 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
273 </Texture>
274 <Texture name="SetWranglerFrameTop5" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
275 <Size>
276 <AbsDimension x="128" y="256"/>
277 </Size>
278 <Anchors>
279 <Anchor point="TOPLEFT">
280 <Offset>
281 <AbsDimension x="768" y="0"/>
282 </Offset>
283 </Anchor>
284 </Anchors>
285 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
286 </Texture>
287 <Texture name="SetWranglerFrameBottom5" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
288 <Size>
289 <AbsDimension x="128" y="256"/>
290 </Size>
291 <Anchors>
292 <Anchor point="BOTTOMLEFT">
293 <Offset>
294 <AbsDimension x="768" y="0"/>
295 </Offset>
296 </Anchor>
297 </Anchors>
298 <TexCoords left="0.5" right="1.0" top="0" bottom="1.0"/>
299 </Texture>
300 <Texture name="SetWranglerFrameBottomLeft" file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
301 <Size>
302 <AbsDimension x="256" y="256"/>
303 </Size>
304 <Anchors>
305 <Anchor point="BOTTOMLEFT">
306 <Offset>
307 <AbsDimension x="0" y="0"/>
308 </Offset>
309 </Anchor>
310 </Anchors>
311 </Texture>
312 <Texture name="SetWranglerFrameBottomRight" file="Interface\PaperDollInfoFrame\SkillFrame-BotRight">
313 <Size>
314 <AbsDimension x="128" y="256"/>
315 </Size>
316 <Anchors>
317 <Anchor point="BOTTOMRIGHT">
318 <Offset>
319 <AbsDimension x="0" y="0"/>
320 </Offset>
321 </Anchor>
322 </Anchors>
323 </Texture>
324 </Layer>
325 <Layer level="OVERLAY">
326 <FontString name="SetWranglerFrameTitleText" inherits="GameFontNormal">
327 <Anchors>
328 <Anchor point="TOP">
329 <Offset>
330 <AbsDimension x="0" y="-18"/>
331 </Offset>
332 </Anchor>
333 </Anchors>
334 </FontString>
335 <FontString name="SetWranglerFrameInfoText" inherits="GameFontNormal" text="" justifyH="LEFT" justifyV="TOP">
336 <Size>
337 <AbsDimension x="280" y="330"/>
338 </Size>
339 <Anchors>
340 <Anchor point="TOPRIGHT">
341 <Offset>
342 <AbsDimension x="-46" y="-76"/>
343 </Offset>
344 </Anchor>
345 </Anchors>
346 </FontString>
347 <Texture name="SetWranglerFrameDivider" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
348 <Size>
349 <AbsDimension x="5" y="336"/>
350 </Size>
351 <Anchors>
352 <Anchor point="TOPRIGHT">
353 <Offset>
354 <AbsDimension x="-330" y="-73"/>
355 </Offset>
356 </Anchor>
357 </Anchors>
358 <TexCoords left="0.06" right="0.08" top="0.30" bottom="1.0"/>
359 </Texture>
360 <Texture name="SetWranglerRankIcon" file="Interface\PvPRankBadges\PvPRank07">
361 <Size>
362 <AbsDimension x="20" y="20"/>
363 </Size>
364 <Anchors>
365 <Anchor point="TOPLEFT" relativeTo="SetWranglerFrameInfoText" relativePoint="TOPLEFT">
366 <Offset>
367 <AbsDimension x="0" y="-21"/>
368 </Offset>
369 </Anchor>
370 </Anchors>
371 </Texture>
372 </Layer>
373 </Layers>
374 <Frames>
375 <Button name="SetWranglerFrameCloseButton" inherits="UIPanelCloseButton">
376 <Anchors>
377 <Anchor point="TOPRIGHT">
378 <Offset>
379 <AbsDimension x="-30" y="-8"/>
380 </Offset>
381 </Anchor>
382 </Anchors>
383 </Button>
384 <Frame name="SetWranglerSetTabFrame" hidden="false" setAllPoints="true">
385 <Frames>
386 <Button name="SetWranglerCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
387 <Size>
388 <AbsDimension x="79" y="20"/>
389 </Size>
390 <Anchors>
391 <Anchor point="BOTTOMRIGHT" relativeTo="SetWranglerFrame" relativePoint="BOTTOMRIGHT">
392 <Offset>
393 <AbsDimension x="-42" y="81"/>
394 </Offset>
395 </Anchor>
396 </Anchors>
397 <Scripts>
398 <OnClick>
399 HideUIPanel(SetWranglerFrame);
400 </OnClick>
401 </Scripts>
402 </Button>
403 <Button name="SetWranglerOptionsButton" inherits="UIPanelButtonTemplate" text="SW_TEXT_OPTIONS">
404 <Size>
405 <AbsDimension x="79" y="20"/>
406 </Size>
407 <Anchors>
408 <Anchor point="RIGHT" relativeTo="SetWranglerCloseButton" relativePoint="LEFT">
409 <Offset>
410 <AbsDimension x="-5" y="0"/>
411 </Offset>
412 </Anchor>
413 </Anchors>
414 <Scripts>
415 <OnClick>
416 SetWrangler_OnOptions();
417 </OnClick>
418 </Scripts>
419 </Button>
420 <Button name="SetWranglerPreviewButton" inherits="UIPanelButtonTemplate" text="SW_TEXT_PREVIEW">
421 <Size>
422 <AbsDimension x="79" y="20"/>
423 </Size>
424 <Anchors>
425 <Anchor point="BOTTOMLEFT" relativeTo="SetWranglerFrame" relativePoint="BOTTOMLEFT">
426 <Offset>
427 <AbsDimension x="16" y="81"/>
428 </Offset>
429 </Anchor>
430 </Anchors>
431 <Scripts>
432 <OnClick>
433 PlaySound("gsTitleOptionOK");
434 SetWrangler_OnPreview();
435 </OnClick>
436 <OnEnter>
437 SetWranglerFunctionButton_OnEnter();
438 </OnEnter>
439 <OnLeave>
440 GameTooltip:Hide();
441 </OnLeave>
442 </Scripts>
443 </Button>
444 <Button name="SetWranglerTabButtonNext" inherits="UIPanelButtonTemplate" text="-">
445 <Size>
446 <AbsDimension x="24" y="20"/>
447 </Size>
448 <Anchors>
449 <Anchor point="TOPRIGHT" relativeTo="SetWranglerFrameCloseButton" relativePoint="BOTTOMRIGHT">
450 <Offset>
451 <AbsDimension x="-12" y="-10"/>
452 </Offset>
453 </Anchor>
454 </Anchors>
455 <Layers>
456 <Layer level="OVERLAY">
457 <FontString name="SetWranglerTabPageText" inherits="GameFontNormalSmall" text ="">
458 <Anchors>
459 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
460 <Offset>
461 <AbsDimension x="0" y="3"/>
462 </Offset>
463 </Anchor>
464 </Anchors>
465 </FontString>
466 </Layer>
467 </Layers>
468 <Scripts>
469 <OnClick>
470 PlaySound("gsTitleOptionOK");
471 SetWrangler_OnTabNavClick();
472 </OnClick>
473 <OnEnter>
474 SetWranglerFunctionButton_OnEnter();
475 </OnEnter>
476 <OnLeave>
477 GameTooltip:Hide();
478 </OnLeave>
479 </Scripts>
480 </Button>
481 <Button name="SetWranglerTabButtonBack" inherits="UIPanelButtonTemplate" text="-">
482 <Size>
483 <AbsDimension x="24" y="20"/>
484 </Size>
485 <Anchors>
486 <Anchor point="TOPRIGHT" relativeTo="SetWranglerTabButtonNext" relativePoint="TOPLEFT">
487 <Offset>
488 <AbsDimension x="1" y="0"/>
489 </Offset>
490 </Anchor>
491 </Anchors>
492 <Scripts>
493 <OnClick>
494 PlaySound("gsTitleOptionOK");
495 SetWrangler_OnTabNavClick();
496 </OnClick>
497 <OnEnter>
498 SetWranglerFunctionButton_OnEnter();
499 </OnEnter>
500 <OnLeave>
501 GameTooltip:Hide();
502 </OnLeave>
503 </Scripts>
504 </Button>
505 <Button name="SetWranglerLinkButton" inherits="UIPanelButtonTemplate" text="SW_TEXT_LINK">
506 <Size>
507 <AbsDimension x="79" y="20"/>
508 </Size>
509 <Anchors>
510 <Anchor point="BOTTOMLEFT" relativeTo="SetWranglerPreviewButton" relativePoint="BOTTOMRIGHT">
511 <Offset>
512 <AbsDimension x="5" y="0"/>
513 </Offset>
514 </Anchor>
515 </Anchors>
516 <Scripts>
517 <OnClick>
518 PlaySound("gsTitleOptionOK");
519 SetWrangler_OnLink();
520 </OnClick>
521 <OnEnter>
522 SetWranglerFunctionButton_OnEnter();
523 </OnEnter>
524 <OnLeave>
525 GameTooltip:Hide();
526 </OnLeave>
527 </Scripts>
528 </Button>
529 <Frame name="SetWranglerLinkDropDown" inherits="UIDropDownMenuTemplate" frameStrata="HIGH" enableMouse="true">
530 <Size>
531 <AbsDimension x="100" y="15"/>
532 </Size>
533 <Anchors>
534 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SetWranglerLinkButton">
535 <Offset>
536 <AbsDimension x="45" y="-3"/>
537 </Offset>
538 </Anchor>
539 </Anchors>
540 <Layers>
541 <Layer level="BACKGROUND">
542 <FontString name="SetWranglerLinkDropDownLeftText" inherits="GameFontNormalSmall" text="SW_TEXT_LINKTO">
543 <Anchors>
544 <Anchor point="RIGHT" relativePoint="LEFT">
545 <Offset>
546 <AbsDimension x="15" y="3"/>
547 </Offset>
548 </Anchor>
549 </Anchors>
550 </FontString>
551 </Layer>
552 </Layers>
553 </Frame>
554  
555 <Frame name="SetWranglerSetDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true" hidden="true">
556 <Size>
557 <AbsDimension x="150" y="15"/>
558 </Size>
559 <Anchors>
560 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SetWranglerFrame">
561 <Offset>
562 <AbsDimension x="80" y="-41"/>
563 </Offset>
564 </Anchor>
565 </Anchors>
566 <Layers>
567 <Layer level="BACKGROUND">
568 <FontString name="SetWranglerSetDropDownLeftText" inherits="GameFontNormalSmall" text="SW_TEXT_SETS">
569 <Anchors>
570 <Anchor point="RIGHT" relativePoint="LEFT">
571 <Offset>
572 <AbsDimension x="15" y="3"/>
573 </Offset>
574 </Anchor>
575 </Anchors>
576 </FontString>
577 </Layer>
578 </Layers>
579 </Frame>
580 <CheckButton name="SetWranglerLocalCacheCheckButton" inherits="UICheckButtonTemplate" id="1">
581 <Size>
582 <AbsDimension x="20" y="20"/>
583 </Size>
584 <Anchors>
585 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="SetWranglerLinkDropDown">
586 <Offset>
587 <AbsDimension x="40" y="3"/>
588 </Offset>
589 </Anchor>
590 </Anchors>
591 <Layers>
592 <Layer level="BACKGROUND">
593 <FontString name="SetWranglerLocalCacheText" inherits="GameFontNormalSmall" text="SW_TEXT_CACHE">
594 <Anchors>
595 <Anchor point="LEFT" relativePoint="RIGHT">
596 <Offset>
597 <AbsDimension x="4" y="1"/>
598 </Offset>
599 </Anchor>
600 </Anchors>
601 </FontString>
602 </Layer>
603 </Layers>
604 <Scripts>
605 <OnClick>
606 PlaySound("gsTitleOptionOK");
607 SetWrangler_OnLocalCache();
608 </OnClick>
609 <OnEnter>
610 SetWranglerFunctionButton_OnEnter();
611 </OnEnter>
612 <OnLeave>
613 GameTooltip:Hide();
614 </OnLeave>
615 </Scripts>
616 </CheckButton>
617 <Frame name="SetWranglerRightClickMenu" inherits="UIDropDownMenuTemplate" hidden="true">
618 <Anchors>
619 <Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="BOTTOMLEFT">
620 <Offset>
621 <AbsDimension x="0" y="0"/>
622 </Offset>
623 </Anchor>
624 </Anchors>
625 </Frame>
626  
627 <Button name="$parentTab1" inherits="TabButtonTemplate" text="--" id="1" hidden="true">
628 <Anchors>
629 <Anchor point="TOPLEFT" relativeTo="SetWranglerFrame">
630 <Offset>
631 <AbsDimension x="70" y="-39"/>
632 </Offset>
633 </Anchor>
634 </Anchors>
635 <Scripts>
636 <OnClick>
637 SetWranglerOnEventOnSetClick(1);
638 </OnClick>
639 </Scripts>
640 </Button>
641 <Button name="$parentTab2" inherits="TabButtonTemplate" text="--" id="2" hidden="true">
642 <Anchors>
643 <Anchor point="LEFT" relativeTo="$parentTab1" relativePoint="RIGHT">
644 <Offset>
645 <AbsDimension x="0" y="0"/>
646 </Offset>
647 </Anchor>
648 </Anchors>
649 <Scripts>
650 <OnClick>
651 SetWranglerOnEventOnSetClick(2);
652 </OnClick>
653 </Scripts>
654 </Button>
655 <Button name="$parentTab3" inherits="TabButtonTemplate" text="--" id="3" hidden="true">
656 <Anchors>
657 <Anchor point="LEFT" relativeTo="$parentTab2" relativePoint="RIGHT">
658 <Offset>
659 <AbsDimension x="0" y="0"/>
660 </Offset>
661 </Anchor>
662 </Anchors>
663 <Scripts>
664 <OnClick>
665 SetWranglerOnEventOnSetClick(3);
666 </OnClick>
667 </Scripts>
668 </Button>
669 <Button name="$parentTab4" inherits="TabButtonTemplate" text="--" id="4" hidden="true">
670 <Anchors>
671 <Anchor point="LEFT" relativeTo="$parentTab3" relativePoint="RIGHT">
672 <Offset>
673 <AbsDimension x="0" y="0"/>
674 </Offset>
675 </Anchor>
676 </Anchors>
677 <Scripts>
678 <OnClick>
679 SetWranglerOnEventOnSetClick(4);
680 </OnClick>
681 </Scripts>
682 </Button>
683 <Button name="$parentTab5" inherits="TabButtonTemplate" text="--" id="5" hidden="true">
684 <Anchors>
685 <Anchor point="LEFT" relativeTo="$parentTab4" relativePoint="RIGHT">
686 <Offset>
687 <AbsDimension x="0" y="0"/>
688 </Offset>
689 </Anchor>
690 </Anchors>
691 <Scripts>
692 <OnClick>
693 SetWranglerOnEventOnSetClick(5);
694 </OnClick>
695 </Scripts>
696 </Button>
697 <Button name="$parentTab6" inherits="TabButtonTemplate" text="--" id="6" hidden="true">
698 <Anchors>
699 <Anchor point="LEFT" relativeTo="$parentTab5" relativePoint="RIGHT">
700 <Offset>
701 <AbsDimension x="0" y="0"/>
702 </Offset>
703 </Anchor>
704 </Anchors>
705 <Scripts>
706 <OnClick>
707 SetWranglerOnEventOnSetClick(6);
708 </OnClick>
709 <OnLoad>
710 this:SetFrameLevel(SetWranglerSetTabFrameTab1:GetFrameLevel()-1);
711 </OnLoad>
712 </Scripts>
713 </Button>
714 <Button name="$parentTab7" inherits="TabButtonTemplate" text="--" id="7" hidden="true">
715 <Anchors>
716 <Anchor point="LEFT" relativeTo="$parentTab6" relativePoint="RIGHT">
717 <Offset>
718 <AbsDimension x="0" y="0"/>
719 </Offset>
720 </Anchor>
721 </Anchors>
722 <Scripts>
723 <OnClick>
724 SetWranglerOnEventOnSetClick(7);
725 </OnClick>
726 </Scripts>
727 </Button>
728 <Button name="$parentTab8" inherits="TabButtonTemplate" text="--" id="8" hidden="true">
729 <Anchors>
730 <Anchor point="LEFT" relativeTo="$parentTab7" relativePoint="RIGHT">
731 <Offset>
732 <AbsDimension x="0" y="0"/>
733 </Offset>
734 </Anchor>
735 </Anchors>
736 <Scripts>
737 <OnClick>
738 SetWranglerOnEventOnSetClick(8);
739 </OnClick>
740 </Scripts>
741 </Button>
742 <Button name="$parentTab9" inherits="TabButtonTemplate" text="--" id="9" hidden="true">
743 <Anchors>
744 <Anchor point="LEFT" relativeTo="$parentTab8" relativePoint="RIGHT">
745 <Offset>
746 <AbsDimension x="0" y="0"/>
747 </Offset>
748 </Anchor>
749 </Anchors>
750 <Scripts>
751 <OnClick>
752 SetWranglerOnEventOnSetClick(9);
753 </OnClick>
754 </Scripts>
755 </Button>
756 <Button name="$parentTab10" inherits="TabButtonTemplate" text="--" id="10" hidden="true">
757 <Anchors>
758 <Anchor point="LEFT" relativeTo="$parentTab9" relativePoint="RIGHT">
759 <Offset>
760 <AbsDimension x="0" y="0"/>
761 </Offset>
762 </Anchor>
763 </Anchors>
764 <Scripts>
765 <OnClick>
766 SetWranglerOnEventOnSetClick(10);
767 </OnClick>
768 </Scripts>
769 </Button>
770 <Button name="$parentTab11" inherits="TabButtonTemplate" text="--" id="11" hidden="true">
771 <Anchors>
772 <Anchor point="LEFT" relativeTo="$parentTab10" relativePoint="RIGHT">
773 <Offset>
774 <AbsDimension x="0" y="0"/>
775 </Offset>
776 </Anchor>
777 </Anchors>
778 <Scripts>
779 <OnClick>
780 SetWranglerOnEventOnSetClick(11);
781 </OnClick>
782 </Scripts>
783 </Button>
784 <Button name="$parentTab12" inherits="TabButtonTemplate" text="--" id="12" hidden="true">
785 <Anchors>
786 <Anchor point="LEFT" relativeTo="$parentTab11" relativePoint="RIGHT">
787 <Offset>
788 <AbsDimension x="0" y="0"/>
789 </Offset>
790 </Anchor>
791 </Anchors>
792 <Scripts>
793 <OnClick>
794 SetWranglerOnEventOnSetClick(12);
795 </OnClick>
796 </Scripts>
797 </Button>
798  
799  
800  
801 <Button name="SetWranglerButtonTitle" id="1000">
802 <Anchors>
803 <Anchor point="TOPLEFT" relativeTo="SetWranglerFrame">
804 <Offset>
805 <AbsDimension x="25" y="-77"/>
806 </Offset>
807 </Anchor>
808 </Anchors>
809 <Size>
810 <AbsDimension x="400" y="36"/>
811 </Size>
812 <Frames>
813 <CheckButton name="$parentCheckButton" inherits="UICheckButtonTemplate">
814 <Anchors>
815 <Anchor point="TOPLEFT">
816 <Offset>
817 <AbsDimension x="2" y="-3"/>
818 </Offset>
819 </Anchor>
820 </Anchors>
821 <Scripts>
822 <OnEnter>
823 this:GetParent():LockHighlight();
824 </OnEnter>
825 <OnLeave>
826 this:GetParent():UnlockHighlight();
827 </OnLeave>
828 <OnClick>
829 SetWrangler_OnCheckButtonClick();
830 </OnClick>
831 </Scripts>
832 </CheckButton>
833 <Frame name="$parentButtonText" setAllPoints="true">
834 <Layers>
835 <Layer level="BORDER">
836 <FontString name="$parentNameLocation" inherits="GameFontNormalLarge" justifyH="LEFT">
837 <Anchors>
838 <Anchor point="TOPLEFT">
839 <Offset>
840 <AbsDimension x="39" y="-6"/>
841 </Offset>
842 </Anchor>
843 </Anchors>
844 </FontString>
845 <FontString name="$parentInfo" inherits="GameFontHighlightSmall" justifyH="LEFT">
846 <Anchors>
847 <Anchor point="TOPLEFT" relativeTo="$parentNameLocation" relativePoint="BOTTOMLEFT">
848 <Offset>
849 <AbsDimension x="0" y="0"/>
850 </Offset>
851 </Anchor>
852 </Anchors>
853 </FontString>
854 </Layer>
855 </Layers>
856 </Frame>
857 </Frames>
858 <Scripts>
859 <OnLoad>
860 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
861 </OnLoad>
862 <OnClick>
863 SetWranglerTitleButton_OnClick(arg1);
864 PlaySound("igMainMenuOptionCheckBoxOn");
865 </OnClick>
866 <OnLeave>
867 GameTooltip:Hide();
868 </OnLeave>
869 </Scripts>
870 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
871 </Button>
872 <Button name="$parentButton1" inherits="SetWranglerButtonTemplate" id="1">
873 <Anchors>
874 <Anchor point="TOPLEFT" relativeTo="SetWranglerFrame">
875 <Offset>
876 <AbsDimension x="23" y="-114"/>
877 </Offset>
878 </Anchor>
879 </Anchors>
880 </Button>
881 <Button name="$parentButton2" inherits="SetWranglerButtonTemplate" id="2">
882 <Anchors>
883 <Anchor point="TOP" relativeTo="$parentButton1" relativePoint="BOTTOM">
884 <Offset>
885 <AbsDimension x="0" y="0"/>
886 </Offset>
887 </Anchor>
888 </Anchors>
889 </Button>
890 <Button name="$parentButton3" inherits="SetWranglerButtonTemplate" id="3">
891 <Anchors>
892 <Anchor point="TOP" relativeTo="$parentButton2" relativePoint="BOTTOM">
893 <Offset>
894 <AbsDimension x="0" y="0"/>
895 </Offset>
896 </Anchor>
897 </Anchors>
898 </Button>
899 <Button name="$parentButton4" inherits="SetWranglerButtonTemplate" id="4">
900 <Anchors>
901 <Anchor point="TOP" relativeTo="$parentButton3" relativePoint="BOTTOM">
902 <Offset>
903 <AbsDimension x="0" y="0"/>
904 </Offset>
905 </Anchor>
906 </Anchors>
907 </Button>
908 <Button name="$parentButton5" inherits="SetWranglerButtonTemplate" id="5">
909 <Anchors>
910 <Anchor point="TOP" relativeTo="$parentButton4" relativePoint="BOTTOM">
911 <Offset>
912 <AbsDimension x="0" y="0"/>
913 </Offset>
914 </Anchor>
915 </Anchors>
916 </Button>
917 <Button name="$parentButton6" inherits="SetWranglerButtonTemplate" id="6">
918 <Anchors>
919 <Anchor point="TOP" relativeTo="$parentButton5" relativePoint="BOTTOM">
920 <Offset>
921 <AbsDimension x="0" y="0"/>
922 </Offset>
923 </Anchor>
924 </Anchors>
925 </Button>
926 <Button name="$parentButton7" inherits="SetWranglerButtonTemplate" id="7">
927 <Anchors>
928 <Anchor point="TOP" relativeTo="$parentButton6" relativePoint="BOTTOM">
929 <Offset>
930 <AbsDimension x="0" y="0"/>
931 </Offset>
932 </Anchor>
933 </Anchors>
934 </Button>
935 <Button name="$parentButton8" inherits="SetWranglerButtonTemplate" id="8">
936 <Anchors>
937 <Anchor point="TOP" relativeTo="$parentButton7" relativePoint="BOTTOM">
938 <Offset>
939 <AbsDimension x="0" y="0"/>
940 </Offset>
941 </Anchor>
942 </Anchors>
943 </Button>
944  
945 <Button name="$parentInfoIcon1" id="1" hidden="true">
946 <Size>
947 <AbsDimension x="32" y="32"/>
948 </Size>
949 <Anchors>
950 <Anchor point="TOPLEFT" relativeTo="SetWranglerFrameInfoText" relativePoint="TOPLEFT">
951 <Offset>
952 <AbsDimension x="3" y="-116"/>
953 </Offset>
954 </Anchor>
955 </Anchors>
956 <Frames>
957 <Frame name="$parentButtonText" setAllPoints="true">
958 <Layers>
959 <Layer level="BORDER">
960 <FontString name="SetWranglerInfoIconTitle1" inherits="GameFontNormal" justifyH="LEFT" text="asdasd">
961 <Anchors>
962 <Anchor point="TOPLEFT">
963 <Offset>
964 <AbsDimension x="37" y="-4"/>
965 </Offset>
966 </Anchor>
967 </Anchors>
968 </FontString>
969 <FontString name="$parentRepLevel" inherits="GameFontHighlightSmall" justifyH="LEFT" text="SW_TEXT_REVERED">
970 <Anchors>
971 <Anchor point="TOPLEFT" relativeTo="SetWranglerInfoIconTitle1" relativePoint="BOTTOMLEFT">
972 <Offset>
973 <AbsDimension x="0" y="0"/>
974 </Offset>
975 </Anchor>
976 </Anchors>
977 </FontString>
978 </Layer>
979 </Layers>
980 </Frame>
981 </Frames>
982 <Scripts>
983 <OnEnter>
984 SetWrangler_OnInfoButtonEnter();
985 </OnEnter>
986 <OnLeave>
987 GameTooltip:Hide();
988 </OnLeave>
989 </Scripts>
990 <NormalTexture name="$parentIconTexture" file="Interface\Icons\INV_Sword_23"/>
991 <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
992 </Button>
993 <Button name="$parentInfoIcon2" id="2" hidden="true">
994 <Size>
995 <AbsDimension x="32" y="32"/>
996 </Size>
997 <Anchors>
998 <Anchor point="TOPLEFT" relativeTo="$parentInfoIcon1" relativePoint="TOPLEFT">
999 <Offset>
1000 <AbsDimension x="0" y="-50"/>
1001 </Offset>
1002 </Anchor>
1003 </Anchors>
1004 <Frames>
1005 <Frame name="$parentButtonText" setAllPoints="true">
1006 <Layers>
1007 <Layer level="BORDER">
1008 <FontString name="SetWranglerInfoIconTitle2" inherits="GameFontNormal" justifyH="LEFT">
1009 <Anchors>
1010 <Anchor point="TOPLEFT">
1011 <Offset>
1012 <AbsDimension x="37" y="-4"/>
1013 </Offset>
1014 </Anchor>
1015 </Anchors>
1016 </FontString>
1017 <FontString name="$parentRepLevel" inherits="GameFontHighlightSmall" justifyH="LEFT" text="SW_TEXT_HONORED">
1018 <Anchors>
1019 <Anchor point="TOPLEFT" relativeTo="SetWranglerInfoIconTitle2" relativePoint="BOTTOMLEFT">
1020 <Offset>
1021 <AbsDimension x="0" y="0"/>
1022 </Offset>
1023 </Anchor>
1024 </Anchors>
1025 </FontString>
1026 </Layer>
1027 </Layers>
1028 </Frame>
1029 </Frames>
1030 <Scripts>
1031 <OnEnter>
1032 SetWrangler_OnInfoButtonEnter();
1033 </OnEnter>
1034 <OnLeave>
1035 GameTooltip:Hide();
1036 </OnLeave>
1037 </Scripts>
1038 <NormalTexture name="$parentIconTexture" file="Interface\Icons\INV_Sword_23"/>
1039 <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
1040 </Button>
1041 <Button name="$parentInfoIcon3" id="3" hidden="true">
1042 <Size>
1043 <AbsDimension x="32" y="32"/>
1044 </Size>
1045 <Anchors>
1046 <Anchor point="TOPLEFT" relativeTo="$parentInfoIcon2" relativePoint="TOPLEFT">
1047 <Offset>
1048 <AbsDimension x="0" y="-50"/>
1049 </Offset>
1050 </Anchor>
1051 </Anchors>
1052 <Frames>
1053 <Frame name="$parentButtonText" setAllPoints="true">
1054 <Layers>
1055 <Layer level="BORDER">
1056 <FontString name="SetWranglerInfoIconTitle3" inherits="GameFontNormal" justifyH="LEFT">
1057 <Anchors>
1058 <Anchor point="TOPLEFT">
1059 <Offset>
1060 <AbsDimension x="37" y="-4"/>
1061 </Offset>
1062 </Anchor>
1063 </Anchors>
1064 </FontString>
1065 <FontString name="$parentRepLevel" inherits="GameFontHighlightSmall" justifyH="LEFT" text="SW_TEXT_FRIENDLY">
1066 <Anchors>
1067 <Anchor point="TOPLEFT" relativeTo="SetWranglerInfoIconTitle3" relativePoint="BOTTOMLEFT">
1068 <Offset>
1069 <AbsDimension x="0" y="0"/>
1070 </Offset>
1071 </Anchor>
1072 </Anchors>
1073 </FontString>
1074 </Layer>
1075 </Layers>
1076 </Frame>
1077 </Frames>
1078 <Scripts>
1079 <OnEnter>
1080 SetWrangler_OnInfoButtonEnter();
1081 </OnEnter>
1082 <OnLeave>
1083 GameTooltip:Hide();
1084 </OnLeave>
1085 </Scripts>
1086 <NormalTexture name="$parentIconTexture" file="Interface\Icons\INV_Sword_23"/>
1087 <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
1088 </Button>
1089 </Frames>
1090 </Frame>
1091  
1092 <Button name="SetWranglerFrameTab1" inherits="SetWranglerFrameTabTemplate" id="1" text="--">
1093 <Anchors>
1094 <Anchor point="BOTTOMLEFT">
1095 <Offset>
1096 <AbsDimension x="11" y="45"/>
1097 </Offset>
1098 </Anchor>
1099 </Anchors>
1100 <Scripts>
1101 <OnClick>
1102 SetWranglerOnEventOnClassClick(SW_CLASS_DRUID);
1103 </OnClick>
1104 </Scripts>
1105 </Button>
1106 <Button name="SetWranglerFrameTab2" inherits="SetWranglerFrameTabTemplate" id="2" text="--">
1107 <Anchors>
1108 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab1" relativePoint="RIGHT">
1109 <Offset>
1110 <AbsDimension x="-14" y="0"/>
1111 </Offset>
1112 </Anchor>
1113 </Anchors>
1114 <Scripts>
1115 <OnClick>
1116 SetWranglerOnEventOnClassClick(SW_CLASS_HUNTER);
1117 </OnClick>
1118 </Scripts>
1119 </Button>
1120 <Button name="SetWranglerFrameTab3" inherits="SetWranglerFrameTabTemplate" id="3" text="--">
1121 <Anchors>
1122 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab2" relativePoint="RIGHT">
1123 <Offset>
1124 <AbsDimension x="-14" y="0"/>
1125 </Offset>
1126 </Anchor>
1127 </Anchors>
1128 <Scripts>
1129 <OnClick>
1130 SetWranglerOnEventOnClassClick(SW_CLASS_MAGE);
1131 </OnClick>
1132 </Scripts>
1133 </Button>
1134 <Button name="SetWranglerFrameTab4" inherits="SetWranglerFrameTabTemplate" id="4" text="--">
1135 <Anchors>
1136 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab3" relativePoint="RIGHT">
1137 <Offset>
1138 <AbsDimension x="-14" y="0"/>
1139 </Offset>
1140 </Anchor>
1141 </Anchors>
1142 <Scripts>
1143 <OnClick>
1144 SetWranglerOnEventOnClassClick(SW_CLASS_PALADIN);
1145 </OnClick>
1146 </Scripts>
1147 </Button>
1148 <Button name="SetWranglerFrameTab5" inherits="SetWranglerFrameTabTemplate" id="5" text="--">
1149 <Anchors>
1150 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab4" relativePoint="RIGHT">
1151 <Offset>
1152 <AbsDimension x="-14" y="0"/>
1153 </Offset>
1154 </Anchor>
1155 </Anchors>
1156 <Scripts>
1157 <OnClick>
1158 SetWranglerOnEventOnClassClick(SW_CLASS_PRIEST);
1159 </OnClick>
1160 </Scripts>
1161 </Button>
1162 <Button name="SetWranglerFrameTab6" inherits="SetWranglerFrameTabTemplate" id="6" text="--">
1163 <Anchors>
1164 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab5" relativePoint="RIGHT">
1165 <Offset>
1166 <AbsDimension x="-14" y="0"/>
1167 </Offset>
1168 </Anchor>
1169 </Anchors>
1170 <Scripts>
1171 <OnClick>
1172 SetWranglerOnEventOnClassClick(SW_CLASS_ROGUE);
1173 </OnClick>
1174 </Scripts>
1175 </Button>
1176 <Button name="SetWranglerFrameTab7" inherits="SetWranglerFrameTabTemplate" id="7" text="--">
1177 <Anchors>
1178 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab6" relativePoint="RIGHT">
1179 <Offset>
1180 <AbsDimension x="-14" y="0"/>
1181 </Offset>
1182 </Anchor>
1183 </Anchors>
1184 <Scripts>
1185 <OnClick>
1186 SetWranglerOnEventOnClassClick(SW_CLASS_SHAMAN);
1187 </OnClick>
1188 </Scripts>
1189 </Button>
1190 <Button name="SetWranglerFrameTab8" inherits="SetWranglerFrameTabTemplate" id="8" text="--">
1191 <Anchors>
1192 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab7" relativePoint="RIGHT">
1193 <Offset>
1194 <AbsDimension x="-14" y="0"/>
1195 </Offset>
1196 </Anchor>
1197 </Anchors>
1198 <Scripts>
1199 <OnClick>
1200 SetWranglerOnEventOnClassClick(SW_CLASS_WARLOCK);
1201 </OnClick>
1202 </Scripts>
1203 </Button>
1204 <Button name="SetWranglerFrameTab9" inherits="SetWranglerFrameTabTemplate" id="9" text="--">
1205 <Anchors>
1206 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab8" relativePoint="RIGHT">
1207 <Offset>
1208 <AbsDimension x="-14" y="0"/>
1209 </Offset>
1210 </Anchor>
1211 </Anchors>
1212 <Scripts>
1213 <OnClick>
1214 SetWranglerOnEventOnClassClick(SW_CLASS_WARRIOR);
1215 </OnClick>
1216 </Scripts>
1217 </Button>
1218 <Button name="SetWranglerFrameTab10" inherits="SetWranglerFrameTabTemplate" id="10" text="--">
1219 <Anchors>
1220 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab9" relativePoint="RIGHT">
1221 <Offset>
1222 <AbsDimension x="-14" y="0"/>
1223 </Offset>
1224 </Anchor>
1225 </Anchors>
1226 <Scripts>
1227 <OnClick>
1228 SetWranglerOnEventOnClassClick(10);
1229 </OnClick>
1230 </Scripts>
1231 </Button>
1232 <Button name="SetWranglerFrameTab11" inherits="SetWranglerFrameTabTemplate" id="11" text="--">
1233 <Anchors>
1234 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab10" relativePoint="RIGHT">
1235 <Offset>
1236 <AbsDimension x="-14" y="0"/>
1237 </Offset>
1238 </Anchor>
1239 </Anchors>
1240 <Scripts>
1241 <OnClick>
1242 SetWranglerOnEventOnClassClick(11);
1243 </OnClick>
1244 </Scripts>
1245 </Button>
1246 <Button name="SetWranglerFrameTab12" inherits="SetWranglerFrameTabTemplate" id="12" text="--">
1247 <Anchors>
1248 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab11" relativePoint="RIGHT">
1249 <Offset>
1250 <AbsDimension x="-14" y="0"/>
1251 </Offset>
1252 </Anchor>
1253 </Anchors>
1254 <Scripts>
1255 <OnClick>
1256 SetWranglerOnEventOnClassClick(12);
1257 </OnClick>
1258 </Scripts>
1259 </Button>
1260 <Button name="SetWranglerFrameTab13" inherits="SetWranglerFrameTabTemplate" id="13" text="--">
1261 <Anchors>
1262 <Anchor point="LEFT" relativeTo="SetWranglerFrameTab12" relativePoint="RIGHT">
1263 <Offset>
1264 <AbsDimension x="-14" y="0"/>
1265 </Offset>
1266 </Anchor>
1267 </Anchors>
1268 <Scripts>
1269 <OnClick>
1270 SetWranglerOnEventOnClassClick(13);
1271 </OnClick>
1272 </Scripts>
1273 </Button>
1274  
1275 </Frames>
1276 <Scripts>
1277 <OnLoad>
1278 SetWranglerOnLoad();
1279 </OnLoad>
1280 <OnShow>
1281 PlaySound("igCharacterInfoOpen");
1282 SetWrangler_OnShow();
1283 </OnShow>
1284 <OnHide>
1285 PlaySound("igCharacterInfoClose");
1286 </OnHide>
1287 <OnEvent>
1288 SetWranglerOnEvent(event);
1289 </OnEvent>
1290 <OnUpdate>
1291 SetWrangler_OnUpdate(arg1);
1292 </OnUpdate>
1293 <OnMouseWheel>
1294 return;
1295 </OnMouseWheel>
1296 </Scripts>
1297 </Frame>
1298 <GameTooltip name="SWCacheTooltip" inherits="GameTooltipTemplate" parent="UIParent" enableMouse="true" toplevel="true" movable="true" frameStrata="HIGH" hidden="true">
1299 <Size>
1300 <AbsDimension x="1" y="1"/>
1301 </Size>
1302 <Anchors>
1303 <Anchor point="BOTTOM">
1304 <Offset>
1305 <AbsDimension x="0" y="-500"/>
1306 </Offset>
1307 </Anchor>
1308 </Anchors>
1309 <Frames>
1310 <Button name="SWItemRefCloseButton">
1311 <Size>
1312 <AbsDimension x="32" y="32"/>
1313 </Size>
1314 <Anchors>
1315 <Anchor point="TOPRIGHT">
1316 <Offset>
1317 <AbsDimension x="1" y="0"/>
1318 </Offset>
1319 </Anchor>
1320 </Anchors>
1321 <Scripts>
1322 <OnClick>
1323 HideUIPanel(ItemRefTooltip);
1324 </OnClick>
1325 </Scripts>
1326 <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
1327 <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
1328 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
1329 </Button>
1330 </Frames>
1331 <Scripts>
1332 <OnLoad>
1333 GameTooltip_OnLoad();
1334 this:SetPadding(16);
1335 this:RegisterForDrag("LeftButton");
1336 </OnLoad>
1337 <OnDragStart>
1338 this:StartMoving();
1339 </OnDragStart>
1340 <OnDragStop>
1341 this:StopMovingOrSizing();
1342 ValidateFramePosition(this);
1343 </OnDragStop>
1344 </Scripts>
1345 </GameTooltip>
1346 </Ui>