vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <!--
2 //////////////////////////////////////////////
3 //
4 // SuperInspect_UI.xml
5 //
6 //////////////////////////////////////////////
7 -->
8  
9 <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/
10 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
11 <Script file="localization_UI.lua"/>
12 <Script file="SuperInspect_UI.lua"/>
13  
14 <FontString name="SuperInspect_NameText" font="Fonts\FRIZQT__.TTF" justifyH="LEFT" virtual="true">
15 <FontHeight>
16 <AbsValue val="12"/>
17 </FontHeight>
18 <Color r="1.0" g="1.0" b="1.0"/>
19 <!-- <Shadow>
20 <Offset>
21 <AbsDimension x="0.75" y="-0.75"/>
22 </Offset>
23 <Color r=".4" g="0.4" b="0.4"/>
24 </Shadow> -->
25 </FontString>
26 <FontString name="SuperInspect_TitleText" font="Fonts\FRIZQT__.TTF" justifyH="LEFT" virtual="true">
27 <FontHeight>
28 <AbsValue val="10"/>
29 </FontHeight>
30 <Color r="1.0" g="1.0" b="1.0"/>
31 <!-- <Shadow>
32 <Offset>
33 <AbsDimension x="0.75" y="-0.75"/>
34 </Offset>
35 <Color r=".4" g="0.4" b="0.4"/>
36 </Shadow> -->
37 </FontString>
38 <FontString name="SuperInspect_BonusesText" font="Fonts\FRIZQT__.TTF" justifyH="LEFT" justifyV="TOP" virtual="true">
39 <FontHeight>
40 <AbsValue val="10"/>
41 </FontHeight>
42 <Color r="1.0" g="1.0" b="0.1"/>
43 <Shadow>
44 <Offset>
45 <AbsDimension x="2" y="-2"/>
46 </Offset>
47 <Color r=".1" g="0.1" b="0.1"/>
48 </Shadow>
49 </FontString>
50 <FontString name="SuperInspect_BonusesTextR" font="Fonts\FRIZQT__.TTF" justifyH="RIGHT" virtual="true">
51 <FontHeight>
52 <AbsValue val="10"/>
53 </FontHeight>
54 <Color r="1.0" g="1.0" b="0.1"/>
55 <Shadow>
56 <Offset>
57 <AbsDimension x="2" y="-2"/>
58 </Offset>
59 <Color r=".1" g="0.1" b="0.1"/>
60 </Shadow>
61 </FontString>
62  
63 <FontString name="SIDurabilityNumberFont" font="Fonts\ARIALN.TTF" outline="NORMAL" virtual="true" justifyH="RIGHT">
64 <FontHeight>
65 <AbsValue val="14"/>
66 </FontHeight>
67 <Color r="1.0" g="1.0" b="1.0"/>
68 </FontString>
69  
70 <FontString name="SINumberFontNormal" font="Fonts\ARIALN.TTF" outline="THICK" virtual="true" justifyH="CENTER">
71 <FontHeight>
72 <AbsValue val="13"/>
73 </FontHeight>
74 <Color r="1.0" g="1.0" b="1.0"/>
75 </FontString>
76  
77 <FontString name="SuperInspect_ButtonText" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
78 <FontHeight>
79 <AbsValue val="11"/>
80 </FontHeight>
81 <Color r="1.0" g="1.0" b="0.1"/>
82 <!-- <Shadow>
83 <Offset>
84 <AbsDimension x="0.75" y="-0.75"/>
85 </Offset>
86 <Color r=".4" g="0.4" b="0.4"/>
87 </Shadow> -->
88 </FontString>
89 <FontString name="SuperInspect_HonorText" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
90 <FontHeight>
91 <AbsValue val="10"/>
92 </FontHeight>
93 <Color r="1.0" g="1.0" b="0.1"/>
94 <Shadow>
95 <Offset>
96 <AbsDimension x="2" y="-2"/>
97 </Offset>
98 <Color r=".1" g="0.1" b="0.1"/>
99 </Shadow>
100 </FontString>
101 <FontString name="SuperInspect_HonorTextLarge" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
102 <FontHeight>
103 <AbsValue val="12"/>
104 </FontHeight>
105 <Color r="1.0" g="1.0" b="0.1"/>
106 <Shadow>
107 <Offset>
108 <AbsDimension x="2" y="-2"/>
109 </Offset>
110 <Color r=".1" g="0.1" b="0.1"/>
111 </Shadow>
112 </FontString>
113 <FontString name="SuperInspect_HonorTextSmall" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
114 <FontHeight>
115 <AbsValue val="9"/>
116 </FontHeight>
117 <Color r="1.0" g="1.0" b="0"/>
118 <Shadow>
119 <Offset>
120 <AbsDimension x="2" y="-2"/>
121 </Offset>
122 <Color r=".1" g="0.1" b="0.1"/>
123 </Shadow>
124 </FontString>
125 <FontString name="SuperInspect_HonorTextHighlightSmall" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
126 <FontHeight>
127 <AbsValue val="9"/>
128 </FontHeight>
129 <Color r="1.0" g="1.0" b="1.0"/>
130 <Shadow>
131 <Offset>
132 <AbsDimension x="2" y="-2"/>
133 </Offset>
134 <Color r=".1" g="0.1" b="0.1"/>
135 </Shadow>
136 </FontString>
137 <FontString name="SuperInspect_ButtonTextHighlight" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
138 <FontHeight>
139 <AbsValue val="11"/>
140 </FontHeight>
141 <Color r="1.0" g="1.0" b="1.0"/>
142 <!-- <Shadow>
143 <Offset>
144 <AbsDimension x="0.75" y="-0.75"/>
145 </Offset>
146 <Color r=".4" g="0.4" b="0.4"/>
147 </Shadow> -->
148 </FontString>
149 <FontString name="SuperInspect_ButtonTextDisable" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
150 <FontHeight>
151 <AbsValue val="11"/>
152 </FontHeight>
153 <Color r="0.4" g="0.4" b="0.4"/>
154 <!-- <Shadow>
155 <Offset>
156 <AbsDimension x="0.75" y="-0.75"/>
157 </Offset>
158 <Color r=".4" g="0.4" b="0.4"/>
159 </Shadow> -->
160 </FontString>
161  
162 <Frame name="SuperInspect_HonorFrameHKButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
163 <Layers>
164 <Layer level="BACKGROUND">
165 <FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="HONORABLE_KILLS" justifyH="LEFT">
166 <Anchors>
167 <Anchor point="TOPLEFT"/>
168 </Anchors>
169 </FontString>
170 <FontString name="$parentValue" inherits="GameFontGreenSmall">
171 <Anchors>
172 <Anchor point="RIGHT" relativePoint="LEFT">
173 <Offset>
174 <AbsDimension x="184" y="1"/>
175 </Offset>
176 </Anchor>
177 </Anchors>
178 </FontString>
179 </Layer>
180 </Layers>
181 <Scripts>
182 <OnLoad>
183 this.title = HONORABLE_KILLS;
184 this.tooltip = NEWBIE_TOOLTIP_HONORABLE_KILLS;
185 </OnLoad>
186 </Scripts>
187 </Frame>
188 <Frame name="SuperInspect_HonorFrameDKButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
189 <Layers>
190 <Layer level="BACKGROUND">
191 <FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="DISHONORABLE_KILLS" justifyH="LEFT">
192 <Anchors>
193 <Anchor point="TOPLEFT"/>
194 </Anchors>
195 </FontString>
196 <FontString name="$parentValue" inherits="GameFontRedSmall">
197 <Anchors>
198 <Anchor point="RIGHT" relativePoint="LEFT">
199 <Offset>
200 <AbsDimension x="184" y="1"/>
201 </Offset>
202 </Anchor>
203 </Anchors>
204 </FontString>
205 </Layer>
206 </Layers>
207 <Scripts>
208 <OnLoad>
209 this.title = DISHONORABLE_KILLS;
210 this.tooltip = NEWBIE_TOOLTIP_DISHONORABLE_KILLS;
211 </OnLoad>
212 </Scripts>
213 </Frame>
214  
215 <Frame name="SuperInspect_HonorFrameRankButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
216 <Layers>
217 <Layer level="BACKGROUND">
218 <FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="HONOR_HIGHEST_RANK" justifyH="LEFT">
219 <Anchors>
220 <Anchor point="TOPLEFT"/>
221 </Anchors>
222 </FontString>
223 <FontString name="$parentValue" inherits="GameFontNormalSmall">
224 <Anchors>
225 <Anchor point="RIGHT" relativePoint="LEFT">
226 <Offset>
227 <AbsDimension x="184" y="1"/>
228 </Offset>
229 </Anchor>
230 </Anchors>
231 </FontString>
232 </Layer>
233 </Layers>
234 <Scripts>
235 <OnLoad>
236 this.title = RANK;
237 this.tooltip = NEWBIE_TOOLTIP_RANK;
238 </OnLoad>
239 </Scripts>
240 </Frame>
241 <Frame name="SuperInspect_HonorFrameStandingButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
242 <Layers>
243 <Layer level="BACKGROUND">
244 <FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="HONOR_STANDING" justifyH="LEFT">
245 <Anchors>
246 <Anchor point="TOPLEFT"/>
247 </Anchors>
248 </FontString>
249 <FontString name="$parentValue" inherits="GameFontNormalSmall">
250 <Anchors>
251 <Anchor point="RIGHT" relativePoint="LEFT">
252 <Offset>
253 <AbsDimension x="184" y="1"/>
254 </Offset>
255 </Anchor>
256 </Anchors>
257 </FontString>
258 </Layer>
259 </Layers>
260 <Scripts>
261 <OnLoad>
262 this.title = HONOR_STANDING;
263 this.tooltip = NEWBIE_TOOLTIP_HONOR_STANDING;
264 </OnLoad>
265 </Scripts>
266 </Frame>
267 <Frame name="SuperInspect_HonorFrameContributionButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
268 <Layers>
269 <Layer level="BACKGROUND">
270 <FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="HONOR_CONTRIBUTION_POINTS" justifyH="LEFT">
271 <Anchors>
272 <Anchor point="TOPLEFT"/>
273 </Anchors>
274 </FontString>
275 <FontString name="$parentValue" inherits="GameFontNormalSmall">
276 <Anchors>
277 <Anchor point="RIGHT" relativePoint="LEFT">
278 <Offset>
279 <AbsDimension x="184" y="1"/>
280 </Offset>
281 </Anchor>
282 </Anchors>
283 </FontString>
284 </Layer>
285 </Layers>
286 <Scripts>
287 <OnLoad>
288 this.title = HONOR_CONTRIBUTION_POINTS;
289 this.tooltip = NEWBIE_TOOLTIP_HONOR_CONTRIBUTION_POINTS;
290 </OnLoad>
291 </Scripts>
292 </Frame>
293  
294 <Button name="SuperInspect_InspectPaperDollItemSlotButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
295 <Layers>
296 <Layer level="OVERLAY">
297 <Texture name="$parentBGTexture" file="Interface\Addons\SuperInspect\gfx\ItemOverlay">
298 <Size>
299 <AbsDimension x="41" y="41"/>
300 </Size>
301 <Anchors>
302 <Anchor point="CENTER">
303 <Offset>
304 <AbsDimension x="0" y="0"/>
305 </Offset>
306 </Anchor>
307 </Anchors>
308 </Texture>
309 <FontString name="$parentDurabilityNumber" inherits="SIDurabilityNumberFont" hidden="true" justifyH="CENTER" text="??/??">
310 <Anchors>
311 <Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
312 <Offset>
313 <AbsDimension x="0" y="1"/>
314 </Offset>
315 </Anchor>
316 </Anchors>
317 </FontString>
318 <!-- SIDurabilityNumberFont
319 <Texture name="$parentBGTexture" file="Interface\Cooldown\Star4" alphaMode="ADD">
320 <Size>
321 <AbsDimension x="38" y="38"/>
322 </Size>
323 <Anchors>
324 <Anchor point="CENTER" relativeTo="$parent" relativePoint="TOPRIGHT">
325 <Offset>
326 <AbsDimension x="-4" y="-4"/>
327 </Offset>
328 </Anchor>
329 </Anchors>
330 </Texture> -->
331 </Layer>
332 </Layers>
333 <Scripts>
334 <OnLoad>
335 SuperInspect_InspectPaperDollItemSlotButton_OnLoad();
336 if (this:GetID() > 16) then
337  
338 elseif (this:GetID() > 16) then
339  
340 else
341  
342 end
343 </OnLoad>
344 <OnClick>
345 SuperInspect_InspectPaperDollItemSlotButton_OnClick(arg1);
346 </OnClick>
347 <OnDragStart>
348 SuperInspect_InspectPaperDollItemSlotButton_OnClick("LeftButton", 1);
349 </OnDragStart>
350 <OnReceiveDrag>
351 SuperInspect_InspectPaperDollItemSlotButton_OnClick("LeftButton", 1);
352 </OnReceiveDrag>
353 <OnUpdate>
354 CursorOnUpdate();
355 </OnUpdate>
356 <OnEnter>
357 SuperInspect_InspectPaperDollItemSlotButton_OnEnter();
358 </OnEnter>
359 <OnLeave>
360 GameTooltip:Hide();
361 ResetCursor();
362 </OnLeave>
363 </Scripts>
364 <NormalTexture file="">
365 <Size>
366 <AbsDimension x="64" y="64"/>
367 </Size>
368 <Anchors>
369 <Anchor point="CENTER">
370 <Offset>
371 <AbsDimension x="0" y="-1"/>
372 </Offset>
373 </Anchor>
374 </Anchors>
375 </NormalTexture>
376 </Button>
377  
378 <Frame name="SuperInspect_MagicResistanceFrameTemplate" virtual="true">
379 <Size>
380 <AbsDimension x="34" y="32"/>
381 </Size>
382 <Scripts>
383 <OnEnter>
384 if ( this.tooltip ) then
385 GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
386 GameTooltip:SetText(this.tooltip, 1.0,1.0,1.0);
387 GameTooltip:AddLine(this.tooltipSubtext, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
388 GameTooltip:Show();
389 end
390 </OnEnter>
391 <OnLeave>
392 GameTooltip:Hide();
393 </OnLeave>
394 </Scripts>
395 </Frame>
396  
397 <GameTooltip name="SuperInspect_TT" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate">
398 <Scripts>
399 <OnLoad>
400 GameTooltip_OnLoad();
401 this:SetOwner(UIParent, "ANCHOR_RIGHT");
402 </OnLoad>
403 </Scripts>
404 </GameTooltip>
405  
406 <Frame name="SuperInspectFrame" parent="UIParent" frameStrata="DIALOG" toplevel="true" movable="true" enableMouse="true" hidden="true">
407 <!-- <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
408 <EdgeSize>
409 <AbsValue val="22"/>
410 </EdgeSize>
411 <TileSize>
412 <AbsValue val="16"/>
413 </TileSize>
414 <BackgroundInsets>
415 <AbsInset left="5" right="5" top="5" bottom="5"/>
416 </BackgroundInsets>
417 </Backdrop> -->
418 <Size>
419 <AbsDimension x="354" y="442"/>
420 </Size>
421 <Anchors>
422 <Anchor point="CENTER">
423 <Offset>
424 <AbsDimension x="0" y="0"/>
425 </Offset>
426 </Anchor>
427 </Anchors>
428 <Layers>
429 <Layer level="ARTWORK">
430 <Texture name="SuperInspectFramePortrait">
431 <Size>
432 <AbsDimension x="60" y="60"/>
433 </Size>
434 <Anchors>
435 <Anchor point="TOPLEFT">
436 <Offset>
437 <AbsDimension x="4" y="0"/>
438 </Offset>
439 </Anchor>
440 </Anchors>
441 </Texture>
442 </Layer>
443 </Layers>
444 <Scripts>
445 <OnLoad>
446 SuperInspect_OnLoad();
447 this:SetBackdropBorderColor(0.5, 0.5, 0.5, 1);
448 this:SetBackdropColor(0.1, 0.1, 0.1, 1);
449 SuperInspect_BackgroundTopLeft:SetAlpha(1);
450 SuperInspect_BackgroundTopRight:SetAlpha(1);
451 SuperInspect_BackgroundBotLeft:SetAlpha(1);
452 SuperInspect_BackgroundBotRight:SetAlpha(1);
453 </OnLoad>
454 <OnEvent>
455 SuperInspect_OnEvent()
456 </OnEvent>
457 <OnMouseDown>
458 SuperInspect_Main_OnMouseDown(arg1);
459 </OnMouseDown>
460 <OnMouseUp>
461 SuperInspect_Main_OnMouseUp(arg1);
462 </OnMouseUp>
463 <OnReceiveDrag>
464 SuperInspect_Main_OnMouseUp("LeftButton");
465 </OnReceiveDrag>
466 <OnShow>
467 SuperInspect_Main_OnShow();
468 </OnShow>
469 <OnHide>
470 -- Clear the player being inspected
471 ClearInspectPlayer();
472 if (SI_Save.snd) then
473 PlaySound("igCharacterInfoClose");
474 end
475 </OnHide>
476 <OnUpdate>
477 SuperInspect_Main_OnUpdate();
478 </OnUpdate>
479 </Scripts>
480 <Frames>
481 <Frame name="$parentHeader">
482 <Size>
483 <AbsDimension x="342" y="26"/>
484 </Size>
485 <Anchors>
486 <Anchor point="TOP">
487 <Offset>
488 <AbsDimension x="0" y="-8"/>
489 </Offset>
490 </Anchor>
491 </Anchors>
492 <Layers>
493 <Layer level="BACKGROUND">
494 <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
495 <Size>
496 <AbsDimension x="256" y="256"/>
497 </Size>
498 <Anchors>
499 <Anchor point="TOPLEFT">
500 <Offset>
501 <AbsDimension x="-9" y="11"/>
502 </Offset>
503 </Anchor>
504 </Anchors>
505 </Texture>
506 <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
507 <Size>
508 <AbsDimension x="128" y="256"/>
509 </Size>
510 <Anchors>
511 <Anchor point="TOPLEFT">
512 <Offset>
513 <AbsDimension x="247" y="11"/>
514 </Offset>
515 </Anchor>
516 </Anchors>
517 </Texture>
518 <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomLeft">
519 <Size>
520 <AbsDimension x="256" y="256"/>
521 </Size>
522 <Anchors>
523 <Anchor point="TOPLEFT">
524 <Offset>
525 <AbsDimension x="-9" y="-245"/>
526 </Offset>
527 </Anchor>
528 </Anchors>
529 </Texture>
530 <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomRight">
531 <Size>
532 <AbsDimension x="128" y="256"/>
533 </Size>
534 <Anchors>
535 <Anchor point="TOPLEFT">
536 <Offset>
537 <AbsDimension x="247" y="-245"/>
538 </Offset>
539 </Anchor>
540 </Anchors>
541 </Texture>
542 </Layer>
543 <Layer level="OVERLAY">
544 <FontString name="$parent_Name" inherits="SuperInspect_NameText" justifyH="CENTER" text="XXX">
545 <Anchors>
546 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
547 <Offset>
548 <AbsDimension x="10" y="-7"/>
549 </Offset>
550 </Anchor>
551 </Anchors>
552 </FontString>
553 <FontString name="$parent_Guild" inherits="SuperInspect_TitleText" justifyH="CENTER" text="XXX">
554 <Anchors>
555 <Anchor point="TOP" relativeTo="$parent_Name" relativePoint="BOTTOM">
556 <Offset>
557 <AbsDimension x="0" y="-8"/>
558 </Offset>
559 </Anchor>
560 </Anchors>
561 </FontString>
562 <FontString name="$parent_Info" inherits="SuperInspect_TitleText" justifyH="CENTER" text="XXX">
563 <Anchors>
564 <Anchor point="TOP" relativeTo="$parent_Guild" relativePoint="BOTTOM">
565 <Offset>
566 <AbsDimension x="0" y="-2"/>
567 </Offset>
568 </Anchor>
569 </Anchors>
570 </FontString>
571 </Layer>
572 </Layers>
573 <Frames>
574 <Button name="$parent_CloseButton">
575 <Size>
576 <AbsDimension x="32" y="32"/>
577 </Size>
578 <Anchors>
579 <Anchor point="RIGHT">
580 <Offset>
581 <AbsDimension x="3" y="0"/>
582 </Offset>
583 </Anchor>
584 </Anchors>
585 <Scripts>
586 <OnClick>
587 SuperInspect_InspectTarget();
588 </OnClick>
589 </Scripts>
590 <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
591 <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
592 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
593 </Button>
594 </Frames>
595 <Scripts>
596 <OnLoad>
597 getglobal(this:GetName().."_Name"):SetTextColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
598 this:SetBackdropBorderColor(0.9, 0.9, 0.9, 0.6);
599 this:SetBackdropColor(0, 0, 0, 0.4);
600 </OnLoad>
601 </Scripts>
602 </Frame>
603 <DressUpModel name="SuperInspect_ModelFrame">
604 <Size>
605 <AbsDimension x="318" y="354"/>
606 </Size>
607 <Anchors>
608 <Anchor point="BOTTOM">
609 <Offset>
610 <AbsDimension x="0" y="16"/>
611 </Offset>
612 </Anchor>
613 </Anchors>
614 <Scripts>
615 <OnLoad>
616 SuperInspect_ModelFrame_OnLoad();
617 this:RegisterEvent("DISPLAY_SIZE_CHANGED");
618 --this:SetScale(1.5);
619 </OnLoad>
620 <OnEvent>
621 this:RefreshUnit();
622 </OnEvent>
623 <OnUpdate>
624 --SuperInspect_ModelFrame_OnUpdate(arg1, this);
625 </OnUpdate>
626 </Scripts>
627 <Layers>
628 <Layer level="ARTWORK">
629 <Texture name="SuperInspect_BackgroundTopLeft">
630 <Size>
631 <AbsDimension x="240" y="268"/>
632 </Size>
633 <Anchors>
634 <Anchor point="TOPLEFT">
635 <Offset>
636 <AbsDimension x="0" y="0"/>
637 </Offset>
638 </Anchor>
639 </Anchors>
640 </Texture>
641 <Texture name="SuperInspect_BackgroundTopRight">
642 <Size>
643 <AbsDimension x="52" y="268"/>
644 </Size>
645 <Anchors>
646 <Anchor point="TOPLEFT" relativeTo="SuperInspect_BackgroundTopLeft" relativePoint="TOPRIGHT"/>
647 </Anchors>
648 </Texture>
649 <Texture name="SuperInspect_BackgroundBotLeft">
650 <Size>
651 <AbsDimension x="240" y="146"/>
652 </Size>
653 <Anchors>
654 <Anchor point="TOPLEFT" relativeTo="SuperInspect_BackgroundTopLeft" relativePoint="BOTTOMLEFT"/>
655 </Anchors>
656 </Texture>
657 <Texture name="SuperInspect_BackgroundBotRight">
658 <Size>
659 <AbsDimension x="52" y="146"/>
660 </Size>
661 <Anchors>
662 <Anchor point="TOPLEFT" relativeTo="SuperInspect_BackgroundTopLeft" relativePoint="BOTTOMRIGHT"/>
663 </Anchors>
664 </Texture>
665 </Layer>
666 </Layers>
667 <Frames>
668 <Button name="SuperInspect_Button_ShowItems" inherits="GameMenuButtonTemplate" frameStrata="DIALOG" toplevel="true" text="SI_ITEMSSHOW">
669 <Size>
670 <AbsDimension x="98" y="21"/>
671 </Size>
672 <HitRectInsets>
673 <AbsInset left="1" right="1" top="1" bottom="1"/>
674 </HitRectInsets>
675 <Anchors>
676 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
677 <Offset>
678 <AbsDimension x="-4" y="1"/>
679 </Offset>
680 </Anchor>
681 </Anchors>
682 <Scripts>
683 <OnLoad>
684 this.tooltipText = SI_ITEMBUTTON_TOOLTIP;
685 getglobal(this:GetName().."Texture"):SetVertexColor(0.5, 0.8, 1.0);
686 getglobal(this:GetName().."TexturePushed"):SetVertexColor(0.5, 0.8, 1.0);
687 --this:SetFrameLevel(this:GetFrameLevel() + 2);
688 </OnLoad>
689 <OnClick>
690 SuperInspect_ShowItems_CheckChecked( this );
691 </OnClick>
692 <OnEnter>
693 if ( this.tooltipText ) then
694 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
695 GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
696 end
697 if ( this.tooltipRequirement ) then
698 GameTooltip:AddLine(this.tooltipRequirement, "", 1.0, 1.0, 1.0);
699 GameTooltip:Show();
700 end
701 </OnEnter>
702 <OnLeave>
703 GameTooltip:Hide();
704 </OnLeave>
705 </Scripts>
706 <NormalText inherits="SuperInspect_ButtonText"/>
707 <DisabledText inherits="SuperInspect_ButtonTextDisable"/>
708 <HighlightText inherits="SuperInspect_ButtonTextHighlight"/>
709 <NormalTexture name="$parentTexture" inherits="UIPanelButtonDisabledTexture"/>
710 <PushedTexture name="$parentTexturePushed" inherits="UIPanelButtonDisabledDownTexture"/>
711 <DisabledTexture name="$parentTextureDisabled" inherits="UIPanelButtonDisabledTexture"/>
712 <HighlightTexture name="UIPanelButtonHighlightTexture" file="Interface\Buttons\UI-Panel-Button-Highlight2" alphaMode="ADD" virtual="true">
713 <TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
714 </HighlightTexture>
715 </Button>
716 <Button name="SuperInspect_Button_ShowHonor" inherits="GameMenuButtonTemplate" frameStrata="DIALOG" toplevel="true" text="SI_HONORSHOW">
717 <Size>
718 <AbsDimension x="98" y="21"/>
719 </Size>
720 <HitRectInsets>
721 <AbsInset left="1" right="1" top="1" bottom="1"/>
722 </HitRectInsets>
723 <Anchors>
724 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
725 <Offset>
726 <AbsDimension x="4" y="1"/>
727 </Offset>
728 </Anchor>
729 </Anchors>
730 <Scripts>
731 <OnLoad>
732 this.tooltipText = SI_HONORBUTTON_TOOLTIP;
733 getglobal(this:GetName().."Texture"):SetVertexColor(0.5, 0.8, 1.0);
734 getglobal(this:GetName().."TexturePushed"):SetVertexColor(0.5, 0.8, 1.0);
735 --this:SetFrameLevel(this:GetFrameLevel() + 2);
736 </OnLoad>
737 <OnClick>
738 SuperInspect_ShowHonor_CheckChecked( this );
739 </OnClick>
740 <OnEnter>
741 if ( this.tooltipText ) then
742 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
743 GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
744 end
745 if ( this.tooltipRequirement ) then
746 GameTooltip:AddLine(this.tooltipRequirement, "", 1.0, 1.0, 1.0);
747 GameTooltip:Show();
748 end
749 </OnEnter>
750 <OnLeave>
751 GameTooltip:Hide();
752 </OnLeave>
753 </Scripts>
754 <NormalText inherits="SuperInspect_ButtonText"/>
755 <DisabledText inherits="SuperInspect_ButtonTextDisable"/>
756 <HighlightText inherits="SuperInspect_ButtonTextHighlight"/>
757 <NormalTexture name="$parentTexture" inherits="UIPanelButtonDisabledTexture"/>
758 <PushedTexture name="$parentTexturePushed" inherits="UIPanelButtonDisabledDownTexture"/>
759 <DisabledTexture name="$parentTextureDisabled" inherits="UIPanelButtonDisabledTexture"/>
760 <HighlightTexture name="UIPanelButtonHighlightTexture" file="Interface\Buttons\UI-Panel-Button-Highlight2" alphaMode="ADD" virtual="true">
761 <TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
762 </HighlightTexture>
763 </Button>
764 <Button name="SuperInspect_Button_ShowBonuses" inherits="GameMenuButtonTemplate" frameStrata="DIALOG" toplevel="true" text="SI_BONUSESSHOW">
765 <Size>
766 <AbsDimension x="98" y="21"/>
767 </Size>
768 <HitRectInsets>
769 <AbsInset left="1" right="1" top="1" bottom="1"/>
770 </HitRectInsets>
771 <Anchors>
772 <Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
773 <Offset>
774 <AbsDimension x="0" y="1"/>
775 </Offset>
776 </Anchor>
777 </Anchors>
778 <Scripts>
779 <OnLoad>
780 this.tooltipText = SI_BONUSESBUTTON_TOOLTIP;
781 getglobal(this:GetName().."Texture"):SetVertexColor(0.5, 0.8, 1.0);
782 getglobal(this:GetName().."TexturePushed"):SetVertexColor(0.5, 0.8, 1.0);
783 --this:SetFrameLevel(this:GetFrameLevel() + 2);
784 </OnLoad>
785 <OnClick>
786 SuperInspect_ShowBonuses_CheckChecked( this );
787 </OnClick>
788 <OnEnter>
789 if ( this.tooltipText ) then
790 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
791 GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
792 end
793 if ( this.tooltipRequirement ) then
794 GameTooltip:AddLine(this.tooltipRequirement, "", 1.0, 1.0, 1.0);
795 GameTooltip:Show();
796 end
797 </OnEnter>
798 <OnLeave>
799 GameTooltip:Hide();
800 </OnLeave>
801 </Scripts>
802 <NormalText inherits="SuperInspect_ButtonText"/>
803 <DisabledText inherits="SuperInspect_ButtonTextDisable"/>
804 <HighlightText inherits="SuperInspect_ButtonTextHighlight"/>
805 <NormalTexture name="$parentTexture" inherits="UIPanelButtonDisabledTexture"/>
806 <PushedTexture name="$parentTexturePushed" inherits="UIPanelButtonDisabledDownTexture"/>
807 <DisabledTexture name="$parentTextureDisabled" inherits="UIPanelButtonDisabledTexture"/>
808 <HighlightTexture name="UIPanelButtonHighlightTexture" file="Interface\Buttons\UI-Panel-Button-Highlight2" alphaMode="ADD" virtual="true">
809 <TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
810 </HighlightTexture>
811 </Button>
812 <Button name="SuperInspect_Button_ShowMobInfo" inherits="GameMenuButtonTemplate" frameStrata="DIALOG" toplevel="true" text="SI_MOBINFOSHOW">
813 <Size>
814 <AbsDimension x="98" y="21"/>
815 </Size>
816 <HitRectInsets>
817 <AbsInset left="1" right="1" top="1" bottom="1"/>
818 </HitRectInsets>
819 <Anchors>
820 <Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
821 <Offset>
822 <AbsDimension x="0" y="1"/>
823 </Offset>
824 </Anchor>
825 </Anchors>
826 <Scripts>
827 <OnLoad>
828 this.tooltipText = SI_MOBINFOBUTTON_TOOLTIP;
829 getglobal(this:GetName().."Texture"):SetVertexColor(0.5, 0.8, 1.0);
830 getglobal(this:GetName().."TexturePushed"):SetVertexColor(0.5, 0.8, 1.0);
831 --this:SetFrameLevel(this:GetFrameLevel() + 2);
832 </OnLoad>
833 <OnClick>
834 SuperInspect_ShowMobInfo_CheckChecked( this );
835 </OnClick>
836 <OnEnter>
837 if ( this.tooltipText ) then
838 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
839 GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
840 end
841 if ( this.tooltipRequirement ) then
842 GameTooltip:AddLine(this.tooltipRequirement, "", 1.0, 1.0, 1.0);
843 GameTooltip:Show();
844 end
845 </OnEnter>
846 <OnLeave>
847 GameTooltip:Hide();
848 </OnLeave>
849 </Scripts>
850 <NormalText inherits="SuperInspect_ButtonText"/>
851 <DisabledText inherits="SuperInspect_ButtonTextDisable"/>
852 <HighlightText inherits="SuperInspect_ButtonTextHighlight"/>
853 <NormalTexture name="$parentTexture" inherits="UIPanelButtonDisabledTexture"/>
854 <PushedTexture name="$parentTexturePushed" inherits="UIPanelButtonDisabledDownTexture"/>
855 <DisabledTexture name="$parentTextureDisabled" inherits="UIPanelButtonDisabledTexture"/>
856 <HighlightTexture name="UIPanelButtonHighlightTexture" file="Interface\Buttons\UI-Panel-Button-Highlight2" alphaMode="ADD" virtual="true">
857 <TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
858 </HighlightTexture>
859 </Button>
860 <Frame name="SuperInspect_MoveFrame" setAllPoints="true" movable="true" enableMouse="true">
861 <Size>
862 <AbsDimension x="318" y="320"/>
863 </Size>
864 <Anchors>
865 <Anchor point="TOP">
866 <Offset>
867 <AbsDimension x="0" y="0"/>
868 </Offset>
869 </Anchor>
870 </Anchors>
871 <Scripts>
872 <OnLoad>
873 this:SetBackdropBorderColor(0.4, 0.4, 0.4, 1);
874 this:SetBackdropColor(0.15, 0.15, 0.15, 1);
875 --this:RegisterForClicks("LeftButtonDown", "LeftButtonUp", "RightButtonDown", "RightButtonUp");
876 this:SetFrameLevel(SuperInspectFrame:GetFrameLevel() + 1);
877 </OnLoad>
878 <OnShow>
879 --this:SetFrameLevel(SuperInspectFrame:GetFrameLevel() + 10);
880 --/script DEFAULT_CHAT_FRAME:AddMessage(SuperInspectFrame:GetFrameLevel());
881 --/script DEFAULT_CHAT_FRAME:AddMessage(SuperInspect_MoveFrame:IsVisible());
882  
883 this:ClearAllPoints();
884 this:SetPoint("TOP", "SuperInspect_ModelFrame", "TOP", 0, 0);
885 </OnShow>
886 <OnMouseDown>
887 SuperInspect_Move_OnMouseDown(arg1);
888 </OnMouseDown>
889 <OnMouseUp>
890 SuperInspect_Move_OnMouseUp(arg1);
891 SuperInspect_Main_OnMouseUp(arg1);
892 </OnMouseUp>
893 <OnReceiveDrag>
894 SuperInspect_Main_OnMouseUp("LeftButton");
895 </OnReceiveDrag>
896 <OnUpdate>
897 SuperInspect_Move_OnUpdate();
898 </OnUpdate>
899 <OnMouseWheel>
900 SuperInspect_Move_OnMouseWheel(arg1);
901 </OnMouseWheel>
902 </Scripts>
903 </Frame>
904  
905 <Frame name="SuperInspect_HonorFrame" setAllPoints="true" enableMouse="true" hidden="true" id="2">
906 <HitRectInsets>
907 <AbsInset left="0" right="30" top="0" bottom="75"/>
908 </HitRectInsets>
909 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
910 <EdgeSize>
911 <AbsValue val="22"/>
912 </EdgeSize>
913 <TileSize>
914 <AbsValue val="16"/>
915 </TileSize>
916 <BackgroundInsets>
917 <AbsInset left="5" right="5" top="5" bottom="5"/>
918 </BackgroundInsets>
919 </Backdrop>
920 <Size>
921 <AbsDimension x="220" y="294"/>
922 </Size>
923 <Anchors>
924 <Anchor point="TOP">
925 <Offset>
926 <AbsDimension x="0" y="3"/>
927 </Offset>
928 </Anchor>
929 </Anchors>
930 <Layers>
931 <Layer level="ARTWORK">
932 <FontString name="SuperInspect_HonorFrameCurrentPVPTitle" inherits="SuperInspect_HonorText">
933 <Anchors>
934 <Anchor point="TOP">
935 <Offset>
936 <AbsDimension x="0" y="-20"/>
937 </Offset>
938 </Anchor>
939 </Anchors>
940 </FontString>
941 <FontString name="SuperInspect_HonorFrameCurrentPVPRank" inherits="SuperInspect_HonorTextSmall">
942 <Anchors>
943 <Anchor point="LEFT" relativeTo="SuperInspect_HonorFrameCurrentPVPTitle" relativePoint="RIGHT">
944 <Offset>
945 <AbsDimension x="5" y="4"/>
946 </Offset>
947 </Anchor>
948 </Anchors>
949 </FontString>
950 <FontString name="SuperInspect_HonorFrameHonorPercent" inherits="SuperInspect_HonorText">
951 <Anchors>
952 <Anchor point="TOP" relativeTo="SuperInspect_HonorFrameCurrentPVPRank" relativePoint="BOTTOM">
953 <Offset>
954 <AbsDimension x="0" y="-2"/>
955 </Offset>
956 </Anchor>
957 </Anchors>
958 </FontString>
959 <FontString name="SuperInspect_HonorFrameCurrentSessionTitle" inherits="SuperInspect_HonorText" text="HONOR_THIS_SESSION">
960 <Anchors>
961 <Anchor point="TOPLEFT">
962 <Offset>
963 <AbsDimension x="12" y="-47"/>
964 </Offset>
965 </Anchor>
966 </Anchors>
967 </FontString>
968 <FontString name="SuperInspect_HonorFrameYesterdayTitle" inherits="SuperInspect_HonorText" text="HONOR_YESTERDAY">
969 <Anchors>
970 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameCurrentSessionTitle" relativePoint="BOTTOMLEFT">
971 <Offset>
972 <AbsDimension x="0" y="-31"/>
973 </Offset>
974 </Anchor>
975 </Anchors>
976 </FontString>
977 <FontString name="SuperInspect_HonorFrameThisWeekTitle" inherits="SuperInspect_HonorText" text="HONOR_THISWEEK">
978 <Anchors>
979 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameYesterdayTitle" relativePoint="BOTTOMLEFT">
980 <Offset>
981 <AbsDimension x="0" y="-33"/>
982 </Offset>
983 </Anchor>
984 </Anchors>
985 </FontString>
986 <FontString name="SuperInspect_HonorFrameLastWeekTitle" inherits="SuperInspect_HonorText" text="HONOR_LASTWEEK">
987 <Anchors>
988 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameThisWeekTitle" relativePoint="BOTTOMLEFT">
989 <Offset>
990 <AbsDimension x="0" y="-32"/>
991 </Offset>
992 </Anchor>
993 </Anchors>
994 </FontString>
995 <FontString name="SuperInspect_HonorFrameLifeTimeTitle" inherits="SuperInspect_HonorText" text="HONOR_LIFETIME">
996 <Anchors>
997 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLastWeekTitle" relativePoint="BOTTOMLEFT">
998 <Offset>
999 <AbsDimension x="0" y="-48"/>
1000 </Offset>
1001 </Anchor>
1002 </Anchors>
1003 </FontString>
1004 </Layer>
1005 <Layer level="OVERLAY">
1006 <Texture name="SuperInspect_HonorFramePvPIcon">
1007 <Size>
1008 <AbsDimension x="24" y="24"/>
1009 </Size>
1010 <Anchors>
1011 <Anchor point="RIGHT" relativeTo="SuperInspect_HonorFrameCurrentPVPTitle" relativePoint="LEFT">
1012 <Offset>
1013 <AbsDimension x="-5" y="0"/>
1014 </Offset>
1015 </Anchor>
1016 </Anchors>
1017 </Texture>
1018 </Layer>
1019 </Layers>
1020 <Frames>
1021 <Frame name="SuperInspect_HonorFrameCurrentHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
1022 <Anchors>
1023 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameCurrentSessionTitle" relativePoint="BOTTOMLEFT">
1024 <Offset>
1025 <AbsDimension x="6" y="-2"/>
1026 </Offset>
1027 </Anchor>
1028 </Anchors>
1029 </Frame>
1030 <Frame name="SuperInspect_HonorFrameCurrentDK" inherits="SuperInspect_HonorFrameDKButtonTemplate">
1031 <Anchors>
1032 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameCurrentHK" relativePoint="BOTTOMLEFT">
1033 <Offset>
1034 <AbsDimension x="0" y="-1"/>
1035 </Offset>
1036 </Anchor>
1037 </Anchors>
1038 </Frame>
1039 <Frame name="SuperInspect_HonorFrameYesterdayHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
1040 <Anchors>
1041 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameYesterdayTitle" relativePoint="BOTTOMLEFT">
1042 <Offset>
1043 <AbsDimension x="6" y="-2"/>
1044 </Offset>
1045 </Anchor>
1046 </Anchors>
1047 </Frame>
1048 <Frame name="SuperInspect_HonorFrameYesterdayContribution" inherits="SuperInspect_HonorFrameContributionButtonTemplate">
1049 <Anchors>
1050 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameYesterdayHK" relativePoint="BOTTOMLEFT">
1051 <Offset>
1052 <AbsDimension x="0" y="-1"/>
1053 </Offset>
1054 </Anchor>
1055 </Anchors>
1056 </Frame>
1057 <Frame name="SuperInspect_HonorFrameThisWeekHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
1058 <Anchors>
1059 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameThisWeekTitle" relativePoint="BOTTOMLEFT">
1060 <Offset>
1061 <AbsDimension x="6" y="-2"/>
1062 </Offset>
1063 </Anchor>
1064 </Anchors>
1065 </Frame>
1066 <Frame name="SuperInspect_HonorFrameThisWeekContribution" inherits="SuperInspect_HonorFrameContributionButtonTemplate">
1067 <Anchors>
1068 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameThisWeekHK" relativePoint="BOTTOMLEFT">
1069 <Offset>
1070 <AbsDimension x="0" y="-1"/>
1071 </Offset>
1072 </Anchor>
1073 </Anchors>
1074 </Frame>
1075 <Frame name="SuperInspect_HonorFrameLastWeekHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
1076 <Anchors>
1077 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLastWeekTitle" relativePoint="BOTTOMLEFT">
1078 <Offset>
1079 <AbsDimension x="6" y="-2"/>
1080 </Offset>
1081 </Anchor>
1082 </Anchors>
1083 </Frame>
1084 <Frame name="SuperInspect_HonorFrameLastWeekContribution" inherits="SuperInspect_HonorFrameContributionButtonTemplate">
1085 <Anchors>
1086 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLastWeekHK" relativePoint="BOTTOMLEFT">
1087 <Offset>
1088 <AbsDimension x="0" y="-1"/>
1089 </Offset>
1090 </Anchor>
1091 </Anchors>
1092 </Frame>
1093 <Frame name="SuperInspect_HonorFrameLastWeekStanding" inherits="SuperInspect_HonorFrameStandingButtonTemplate">
1094 <Anchors>
1095 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLastWeekContribution" relativePoint="BOTTOMLEFT">
1096 <Offset>
1097 <AbsDimension x="0" y="-1"/>
1098 </Offset>
1099 </Anchor>
1100 </Anchors>
1101 </Frame>
1102 <Frame name="SuperInspect_HonorFrameLifeTimeHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
1103 <Anchors>
1104 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLifeTimeTitle" relativePoint="BOTTOMLEFT">
1105 <Offset>
1106 <AbsDimension x="6" y="-2"/>
1107 </Offset>
1108 </Anchor>
1109 </Anchors>
1110 </Frame>
1111 <Frame name="SuperInspect_HonorFrameLifeTimeDK" inherits="SuperInspect_HonorFrameDKButtonTemplate">
1112 <Anchors>
1113 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLifeTimeHK" relativePoint="BOTTOMLEFT">
1114 <Offset>
1115 <AbsDimension x="0" y="-1"/>
1116 </Offset>
1117 </Anchor>
1118 </Anchors>
1119 </Frame>
1120 <Frame name="SuperInspect_HonorFrameLifeTimeRank" inherits="SuperInspect_HonorFrameRankButtonTemplate">
1121 <Anchors>
1122 <Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLifeTimeDK" relativePoint="BOTTOMLEFT">
1123 <Offset>
1124 <AbsDimension x="0" y="-1"/>
1125 </Offset>
1126 </Anchor>
1127 </Anchors>
1128 </Frame>
1129 <Frame name="SuperInspect_HonorFrameRankButton" enableMouse="true" hidden="false">
1130 <Size>
1131 <AbsDimension x="10" y="24"/>
1132 </Size>
1133 <Anchors>
1134 <Anchor point="LEFT" relativeTo="SuperInspect_HonorFramePvPIcon"/>
1135 <Anchor point="RIGHT" relativeTo="SuperInspect_HonorFrameCurrentPVPRank"/>
1136 </Anchors>
1137 <Scripts>
1138 <OnEnter>
1139 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
1140 GameTooltip:SetText(RANK, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
1141 GameTooltip:AddLine(NEWBIE_TOOLTIP_RANK, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
1142 GameTooltip:Show();
1143 </OnEnter>
1144 <OnLeave>
1145 GameTooltip:Hide();
1146 </OnLeave>
1147 </Scripts>
1148 </Frame>
1149 <StatusBar name="SuperInspect_HonorFrameProgressBar" drawLayer="BORDER" minValue="0" maxValue="1" defaultValue="0">
1150 <Size>
1151 <AbsDimension x="192" y="28"/>
1152 </Size>
1153 <Anchors>
1154 <Anchor point="TOP">
1155 <Offset>
1156 <AbsDimension x="0" y="-12"/>
1157 </Offset>
1158 </Anchor>
1159 </Anchors>
1160 <Frames>
1161 <Frame name="$parentBG">
1162 <Size>
1163 <AbsDimension x="206" y="40"/>
1164 </Size>
1165 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1166 <EdgeSize>
1167 <AbsValue val="22"/>
1168 </EdgeSize>
1169 <TileSize>
1170 <AbsValue val="16"/>
1171 </TileSize>
1172 <BackgroundInsets>
1173 <AbsInset left="5" right="5" top="5" bottom="5"/>
1174 </BackgroundInsets>
1175 </Backdrop>
1176 <Anchors>
1177 <Anchor point="CENTER">
1178 <Offset>
1179 <AbsDimension x="0" y="0"/>
1180 </Offset>
1181 </Anchor>
1182 </Anchors>
1183 <Scripts>
1184 <OnLoad>
1185 this:SetFrameLevel(this:GetFrameLevel() - 2);
1186 this:SetBackdropBorderColor(0.7, 0.7, 0.7, 0.4);
1187 this:SetBackdropColor(0.15, 0.15, 0.15, 0.5);
1188 </OnLoad>
1189 </Scripts>
1190 </Frame>
1191 <Frame name="SuperInspect_HonorFrameProgressButton" enableMouse="true" setAllPoints="true">
1192 <Scripts>
1193 <OnLoad>
1194 this:SetFrameLevel(this:GetFrameLevel() - 1);
1195 </OnLoad>
1196 <OnEnter>
1197 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
1198 GameTooltip:SetText(RANK_POSITION, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
1199 GameTooltip:AddLine(NEWBIE_TOOLTIP_RANK_POSITION, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
1200 GameTooltip:Show();
1201 </OnEnter>
1202 <OnLeave>
1203 GameTooltip:Hide();
1204 </OnLeave>
1205 </Scripts>
1206 </Frame>
1207 </Frames>
1208 <Scripts>
1209 <OnLoad>
1210 this:SetFrameLevel(this:GetFrameLevel() - 1);
1211 </OnLoad>
1212 </Scripts>
1213 <BarTexture name="$parentBar" file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" />
1214 </StatusBar>
1215 </Frames>
1216 <Scripts>
1217 <OnLoad>
1218 SuperInspect_HonorFrame_OnLoad();
1219 this:SetBackdropBorderColor(0.7, 0.7, 0.7);
1220 this:SetBackdropColor(0.15, 0.15, 0.15, 0.9);
1221 </OnLoad>
1222 <OnShow>
1223 SuperInspect_HonorFrame_OnShow();
1224 </OnShow>
1225 <OnEvent>
1226 SuperInspect_HonorFrame_OnEvent(event);
1227 </OnEvent>
1228 <OnHide>
1229 SuperInspect_HonorFrame_Clear()
1230 SuperInspect_HonorFrame.isShowing = nil;
1231 SuperInspect_Button_ShowHonor:SetText(SI_HONORSHOW);
1232 </OnHide>
1233 <OnUpdate>
1234 SuperInspect_HonorFrame_OnUpdate();
1235 </OnUpdate>
1236 </Scripts>
1237 </Frame>
1238  
1239 <Frame name="SuperInspect_InvFrame" toplevel="true">
1240 <Size>
1241 <AbsDimension x="320" y="400"/>
1242 </Size>
1243 <Anchors>
1244 <Anchor point="CENTER">
1245 <Offset>
1246 <AbsDimension x="0" y="0"/>
1247 </Offset>
1248 </Anchor>
1249 </Anchors>
1250 <Scripts>
1251 <OnShow>
1252 SuperInspect_InspectPaperDollFrame_OnShow();
1253 </OnShow>
1254 <OnHide>
1255 SuperInspect_Button_ShowItems:SetText(SI_ITEMSSHOW);
1256 SuperInspect_Button_ShowBonuses:Disable();
1257 </OnHide>
1258 </Scripts>
1259 <Frames>
1260 <Button name="SuperInspect_InspectHeadSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="1">
1261 <Anchors>
1262 <Anchor point="TOPLEFT" relativeTo="SuperInspect_ModelFrame" relativePoint="TOPLEFT">
1263 <Offset>
1264 <AbsDimension x="4" y="-4"/>
1265 </Offset>
1266 </Anchor>
1267 </Anchors>
1268 </Button>
1269 <Button name="SuperInspect_InspectNeckSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="2">
1270 <Anchors>
1271 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectHeadSlot" relativePoint="BOTTOMLEFT">
1272 <Offset>
1273 <AbsDimension x="0" y="-4"/>
1274 </Offset>
1275 </Anchor>
1276 </Anchors>
1277 </Button>
1278 <Button name="SuperInspect_InspectShoulderSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="3">
1279 <Anchors>
1280 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectNeckSlot" relativePoint="BOTTOMLEFT">
1281 <Offset>
1282 <AbsDimension x="0" y="-4"/>
1283 </Offset>
1284 </Anchor>
1285 </Anchors>
1286 </Button>
1287 <Button name="SuperInspect_InspectBackSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="4">
1288 <Anchors>
1289 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectShoulderSlot" relativePoint="BOTTOMLEFT">
1290 <Offset>
1291 <AbsDimension x="0" y="-4"/>
1292 </Offset>
1293 </Anchor>
1294 </Anchors>
1295 </Button>
1296 <Button name="SuperInspect_InspectChestSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="5">
1297 <Anchors>
1298 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectBackSlot" relativePoint="BOTTOMLEFT">
1299 <Offset>
1300 <AbsDimension x="0" y="-4"/>
1301 </Offset>
1302 </Anchor>
1303 </Anchors>
1304 </Button>
1305 <Button name="SuperInspect_InspectShirtSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="6">
1306 <Anchors>
1307 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectChestSlot" relativePoint="BOTTOMLEFT">
1308 <Offset>
1309 <AbsDimension x="0" y="-4"/>
1310 </Offset>
1311 </Anchor>
1312 </Anchors>
1313 </Button>
1314 <Button name="SuperInspect_InspectTabardSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="7">
1315 <Anchors>
1316 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectShirtSlot" relativePoint="BOTTOMLEFT">
1317 <Offset>
1318 <AbsDimension x="0" y="-4"/>
1319 </Offset>
1320 </Anchor>
1321 </Anchors>
1322 </Button>
1323 <Button name="SuperInspect_InspectWristSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="8">
1324 <Anchors>
1325 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectTabardSlot" relativePoint="BOTTOMLEFT">
1326 <Offset>
1327 <AbsDimension x="0" y="-4"/>
1328 </Offset>
1329 </Anchor>
1330 </Anchors>
1331 </Button>
1332 <Button name="SuperInspect_InspectHandsSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="9">
1333 <Anchors>
1334 <Anchor point="TOPRIGHT" relativeTo="SuperInspect_ModelFrame" relativePoint="TOPRIGHT">
1335 <Offset>
1336 <AbsDimension x="-4" y="-4"/>
1337 </Offset>
1338 </Anchor>
1339 </Anchors>
1340 </Button>
1341 <Button name="SuperInspect_InspectWaistSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="10">
1342 <Anchors>
1343 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectHandsSlot" relativePoint="BOTTOMLEFT">
1344 <Offset>
1345 <AbsDimension x="0" y="-4"/>
1346 </Offset>
1347 </Anchor>
1348 </Anchors>
1349 </Button>
1350 <Button name="SuperInspect_InspectLegsSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="11">
1351 <Anchors>
1352 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectWaistSlot" relativePoint="BOTTOMLEFT">
1353 <Offset>
1354 <AbsDimension x="0" y="-4"/>
1355 </Offset>
1356 </Anchor>
1357 </Anchors>
1358 </Button>
1359 <Button name="SuperInspect_InspectFeetSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="12">
1360 <Anchors>
1361 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectLegsSlot" relativePoint="BOTTOMLEFT">
1362 <Offset>
1363 <AbsDimension x="0" y="-4"/>
1364 </Offset>
1365 </Anchor>
1366 </Anchors>
1367 </Button>
1368 <Button name="SuperInspect_InspectFinger0Slot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="13">
1369 <Anchors>
1370 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectFeetSlot" relativePoint="BOTTOMLEFT">
1371 <Offset>
1372 <AbsDimension x="0" y="-4"/>
1373 </Offset>
1374 </Anchor>
1375 </Anchors>
1376 </Button>
1377 <Button name="SuperInspect_InspectFinger1Slot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="14">
1378 <Anchors>
1379 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectFinger0Slot" relativePoint="BOTTOMLEFT">
1380 <Offset>
1381 <AbsDimension x="0" y="-4"/>
1382 </Offset>
1383 </Anchor>
1384 </Anchors>
1385 </Button>
1386 <Button name="SuperInspect_InspectTrinket0Slot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="15">
1387 <Anchors>
1388 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectFinger1Slot" relativePoint="BOTTOMLEFT">
1389 <Offset>
1390 <AbsDimension x="0" y="-4"/>
1391 </Offset>
1392 </Anchor>
1393 </Anchors>
1394 </Button>
1395 <Button name="SuperInspect_InspectTrinket1Slot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="16">
1396 <Anchors>
1397 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectTrinket0Slot" relativePoint="BOTTOMLEFT">
1398 <Offset>
1399 <AbsDimension x="0" y="-4"/>
1400 </Offset>
1401 </Anchor>
1402 </Anchors>
1403 </Button>
1404 <Button name="SuperInspect_InspectSecondaryHandSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="18">
1405 <Anchors>
1406 <Anchor point="BOTTOM" relativeTo="SuperInspect_ModelFrame" relativePoint="BOTTOM">
1407 <Offset>
1408 <AbsDimension x="0" y="26"/>
1409 </Offset>
1410 </Anchor>
1411 </Anchors>
1412 </Button>
1413 <Button name="SuperInspect_InspectMainHandSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="17">
1414 <Anchors>
1415 <Anchor point="TOPRIGHT" relativeTo="SuperInspect_InspectSecondaryHandSlot" relativePoint="TOPLEFT">
1416 <Offset>
1417 <AbsDimension x="-5" y="0"/>
1418 </Offset>
1419 </Anchor>
1420 </Anchors>
1421 </Button>
1422  
1423 <Button name="SuperInspect_InspectRangedSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="19">
1424 <Anchors>
1425 <Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectSecondaryHandSlot" relativePoint="TOPRIGHT">
1426 <Offset>
1427 <AbsDimension x="5" y="0"/>
1428 </Offset>
1429 </Anchor>
1430 </Anchors>
1431 </Button>
1432 <Frame name="SuperInspect_ItemBonusesFrame" setAllPoints="true" frameStrata="DIALOG" toplevel="true" parent="SuperInspect_InvFrame" hidden="true">
1433 <HitRectInsets>
1434 <AbsInset left="0" right="30" top="0" bottom="75"/>
1435 </HitRectInsets>
1436 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1437 <EdgeSize>
1438 <AbsValue val="22"/>
1439 </EdgeSize>
1440 <TileSize>
1441 <AbsValue val="16"/>
1442 </TileSize>
1443 <BackgroundInsets>
1444 <AbsInset left="5" right="5" top="5" bottom="5"/>
1445 </BackgroundInsets>
1446 </Backdrop>
1447 <Size>
1448 <AbsDimension x="220" y="294"/>
1449 </Size>
1450 <Anchors>
1451 <Anchor point="TOP">
1452 <Offset>
1453 <AbsDimension x="0" y="-22"/>
1454 </Offset>
1455 </Anchor>
1456 </Anchors>
1457 <Layers>
1458 <Layer level="ARTWORK">
1459 <FontString name="SuperInspect_ItemBonusesTitle" inherits="SuperInspect_ButtonText" text="SI_BONUSWINDOWTITLE">
1460 <Anchors>
1461 <Anchor point="TOP">
1462 <Offset>
1463 <AbsDimension x="0" y="-6"/>
1464 </Offset>
1465 </Anchor>
1466 </Anchors>
1467 </FontString>
1468 <FontString name="SuperInspect_ItemBonusesText" inherits="SuperInspect_BonusesText">
1469 <!-- <Size>
1470 <AbsDimension x="208" y="380"/>
1471 </Size> -->
1472 <Anchors>
1473 <Anchor point="TOPLEFT">
1474 <Offset>
1475 <AbsDimension x="16" y="-56"/>
1476 </Offset>
1477 </Anchor>
1478 </Anchors>
1479 </FontString>
1480 <FontString name="SuperInspect_ItemBonusesTextR" inherits="SuperInspect_BonusesTextR">
1481 <Anchors>
1482 <Anchor point="TOPRIGHT">
1483 <Offset>
1484 <AbsDimension x="-26" y="-56"/>
1485 </Offset>
1486 </Anchor>
1487 </Anchors>
1488 </FontString>
1489 </Layer>
1490 </Layers>
1491 <Scripts>
1492 <OnLoad>
1493 this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
1494 this:SetBackdropColor(0.1, 0.1, 0.1);
1495 </OnLoad>
1496 <OnShow>
1497 --SuperInspectItemBonusesButton_BuildTooltip();
1498 </OnShow>
1499 <OnHide>
1500 SuperInspect_Button_ShowBonuses:SetText(SI_BONUSESSHOW);
1501 </OnHide>
1502 </Scripts>
1503 <Frames>
1504 <Button name="SuperInspect_CompareButton">
1505 <Size>
1506 <AbsDimension x="24" y="24"/>
1507 </Size>
1508 <Anchors>
1509 <Anchor point="TOPRIGHT">
1510 <Offset>
1511 <AbsDimension x="-5" y="-5"/>
1512 </Offset>
1513 </Anchor>
1514 </Anchors>
1515 <!-- <Layers>
1516 <Layer level="ARTWORK">
1517 <FontString inherits="GameFontNormal" justifyH="RIGHT" text="NEXT">
1518 <Anchors>
1519 <Anchor point="RIGHT" relativePoint="LEFT"/>
1520 </Anchors>
1521 </FontString>
1522 </Layer>
1523 </Layers> -->
1524 <Scripts>
1525 <OnClick>
1526 SuperInspect_BonusInfo_StartCompare();
1527 </OnClick>
1528 <OnEnter>
1529 GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
1530 GameTooltip:SetText(SI_COMPARE_TOOLTIP, 1.0,1.0,1.0);
1531 GameTooltip:Show();
1532 </OnEnter>
1533 <OnLeave>
1534 GameTooltip:Hide();
1535 </OnLeave>
1536 </Scripts>
1537 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
1538 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
1539 <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
1540 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
1541 </Button>
1542 <Frame name="SuperInspect_CharacterResistanceFrame">
1543 <Size>
1544 <AbsDimension x="172" y="34"/>
1545 </Size>
1546 <Anchors>
1547 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
1548 <Offset>
1549 <AbsDimension x="2" y="-18"/>
1550 </Offset>
1551 </Anchor>
1552 </Anchors>
1553 <Frames>
1554 <Frame name="SuperInspect_MagicResFrame1" inherits="SuperInspect_MagicResistanceFrameTemplate" id="6">
1555 <Anchors>
1556 <Anchor point="LEFT" relativeTo="SuperInspect_CharacterResistanceFrame" relativePoint="LEFT"/>
1557 </Anchors>
1558 <Layers>
1559 <Layer level="BACKGROUND">
1560 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
1561 <TexCoords left="0" right="1.0" top="0.2265625" bottom="0.33984375"/>
1562 </Texture>
1563 <FontString name="SuperInspect_MagicResText1" inherits="SINumberFontNormal" text="X">
1564 <Anchors>
1565 <Anchor point="BOTTOM">
1566 <Offset>
1567 <AbsDimension x="-1" y="4"/>
1568 </Offset>
1569 </Anchor>
1570 </Anchors>
1571 </FontString>
1572 </Layer>
1573 </Layers>
1574 <Scripts>
1575 <OnLoad>
1576 this.tooltip = RESISTANCE6_NAME;
1577 </OnLoad>
1578 </Scripts>
1579 </Frame>
1580 <Frame name="SuperInspect_MagicResFrame2" inherits="SuperInspect_MagicResistanceFrameTemplate" id="2">
1581 <Anchors>
1582 <Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrame1" relativePoint="RIGHT">
1583 <Offset>
1584 <AbsDimension x="-1" y="0"/>
1585 </Offset>
1586 </Anchor>
1587 </Anchors>
1588 <Layers>
1589 <Layer level="BACKGROUND">
1590 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
1591 <TexCoords left="0" right="1.0" top="0" bottom="0.11328125"/>
1592 </Texture>
1593 <FontString name="SuperInspect_MagicResText2" inherits="SINumberFontNormal" text="X">
1594 <Anchors>
1595 <Anchor point="BOTTOM">
1596 <Offset>
1597 <AbsDimension x="-1" y="4"/>
1598 </Offset>
1599 </Anchor>
1600 </Anchors>
1601 </FontString>
1602 </Layer>
1603 </Layers>
1604 <Scripts>
1605 <OnLoad>
1606 this.tooltip = RESISTANCE2_NAME;
1607 </OnLoad>
1608 </Scripts>
1609 </Frame>
1610 <Frame name="SuperInspect_MagicResFrame3" inherits="SuperInspect_MagicResistanceFrameTemplate" id="3">
1611 <Anchors>
1612 <Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrame2" relativePoint="RIGHT">
1613 <Offset>
1614 <AbsDimension x="-1" y="0"/>
1615 </Offset>
1616 </Anchor>
1617 </Anchors>
1618 <Layers>
1619 <Layer level="BACKGROUND">
1620 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
1621 <TexCoords left="0" right="1.0" top="0.11328125" bottom="0.2265625"/>
1622 </Texture>
1623 <FontString name="SuperInspect_MagicResText3" inherits="SINumberFontNormal" text="X">
1624 <Anchors>
1625 <Anchor point="BOTTOM">
1626 <Offset>
1627 <AbsDimension x="-1" y="4"/>
1628 </Offset>
1629 </Anchor>
1630 </Anchors>
1631 </FontString>
1632 </Layer>
1633 </Layers>
1634 <Scripts>
1635 <OnLoad>
1636 this.tooltip = RESISTANCE3_NAME;
1637 </OnLoad>
1638 </Scripts>
1639 </Frame>
1640 <Frame name="SuperInspect_MagicResFrame4" inherits="SuperInspect_MagicResistanceFrameTemplate" id="4">
1641 <Anchors>
1642 <Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrame3" relativePoint="RIGHT">
1643 <Offset>
1644 <AbsDimension x="-1" y="0"/>
1645 </Offset>
1646 </Anchor>
1647 </Anchors>
1648 <Layers>
1649 <Layer level="BACKGROUND">
1650 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
1651 <TexCoords left="0" right="1.0" top="0.33984375" bottom="0.453125"/>
1652 </Texture>
1653 <FontString name="SuperInspect_MagicResText4" inherits="SINumberFontNormal" text="X">
1654 <Anchors>
1655 <Anchor point="BOTTOM">
1656 <Offset>
1657 <AbsDimension x="-1" y="4"/>
1658 </Offset>
1659 </Anchor>
1660 </Anchors>
1661 </FontString>
1662 </Layer>
1663 </Layers>
1664 <Scripts>
1665 <OnLoad>
1666 this.tooltip = RESISTANCE4_NAME;
1667 </OnLoad>
1668 </Scripts>
1669 </Frame>
1670 <Frame name="SuperInspect_MagicResFrame5" inherits="SuperInspect_MagicResistanceFrameTemplate" id="5">
1671 <Anchors>
1672 <Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrame4" relativePoint="RIGHT">
1673 <Offset>
1674 <AbsDimension x="-1" y="0"/>
1675 </Offset>
1676 </Anchor>
1677 </Anchors>
1678 <Layers>
1679 <Layer level="BACKGROUND">
1680 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
1681 <TexCoords left="0" right="1.0" top="0.453125" bottom="0.56640625"/>
1682 </Texture>
1683 <FontString name="SuperInspect_MagicResText5" inherits="NumberFontNormal" text="X">
1684 <Anchors>
1685 <Anchor point="BOTTOM">
1686 <Offset>
1687 <AbsDimension x="0" y="4"/>
1688 </Offset>
1689 </Anchor>
1690 </Anchors>
1691 </FontString>
1692 </Layer>
1693 </Layers>
1694 <Scripts>
1695 <OnLoad>
1696 this.tooltip = RESISTANCE5_NAME;
1697 </OnLoad>
1698 </Scripts>
1699 </Frame>
1700 </Frames>
1701 </Frame>
1702 </Frames>
1703 </Frame>
1704  
1705  
1706  
1707 -------------
1708 <Frame name="SuperInspect_SnTBonusesFrame" setAllPoints="true" frameStrata="DIALOG" toplevel="true" parent="SuperInspect_ItemBonusesFrame" hidden="true">
1709 <HitRectInsets>
1710 <AbsInset left="0" right="30" top="0" bottom="75"/>
1711 </HitRectInsets>
1712 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1713 <EdgeSize>
1714 <AbsValue val="22"/>
1715 </EdgeSize>
1716 <TileSize>
1717 <AbsValue val="16"/>
1718 </TileSize>
1719 <BackgroundInsets>
1720 <AbsInset left="5" right="5" top="5" bottom="5"/>
1721 </BackgroundInsets>
1722 </Backdrop>
1723 <Size>
1724 <AbsDimension x="220" y="284"/>
1725 </Size>
1726 <Anchors>
1727 <Anchor point="TOPLEFT" relativeTo="SuperInspect_ItemBonusesFrame" relativePoint="TOPRIGHT">
1728 <Offset>
1729 <AbsDimension x="0" y="0"/>
1730 </Offset>
1731 </Anchor>
1732 </Anchors>
1733 <Layers>
1734 <Layer level="ARTWORK">
1735 <FontString name="SuperInspect_SnTBonusesTitle" inherits="SuperInspect_ButtonText" text="Sets and Trinkets">
1736 <Anchors>
1737 <Anchor point="TOP">
1738 <Offset>
1739 <AbsDimension x="0" y="-6"/>
1740 </Offset>
1741 </Anchor>
1742 </Anchors>
1743 </FontString>
1744 <FontString name="SuperInspect_SnTBonusesText" inherits="SuperInspect_BonusesText">
1745 <Size>
1746 <AbsDimension x="200" y="380"/>
1747 </Size>
1748 <Anchors>
1749 <Anchor point="TOPLEFT">
1750 <Offset>
1751 <AbsDimension x="12" y="-4"/>
1752 </Offset>
1753 </Anchor>
1754 </Anchors>
1755 </FontString>
1756 </Layer>
1757 </Layers>
1758 <Scripts>
1759 <OnLoad>
1760 this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
1761 this:SetBackdropColor(0.1, 0.1, 0.1);
1762 </OnLoad>
1763 <OnShow>
1764  
1765 </OnShow>
1766 <OnHide>
1767  
1768 </OnHide>
1769 </Scripts>
1770 <Frames>
1771 </Frames>
1772 </Frame>
1773 --------------
1774 <Frame name="SuperInspect_MobInfoFrame" setAllPoints="true" frameStrata="DIALOG" toplevel="true" parent="SuperInspect_Button_ShowMobInfo" hidden="true">
1775 <HitRectInsets>
1776 <AbsInset left="0" right="30" top="0" bottom="75"/>
1777 </HitRectInsets>
1778 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1779 <EdgeSize>
1780 <AbsValue val="22"/>
1781 </EdgeSize>
1782 <TileSize>
1783 <AbsValue val="16"/>
1784 </TileSize>
1785 <BackgroundInsets>
1786 <AbsInset left="5" right="5" top="5" bottom="5"/>
1787 </BackgroundInsets>
1788 </Backdrop>
1789 <Size>
1790 <AbsDimension x="300" y="294"/>
1791 </Size>
1792 <Anchors>
1793 <Anchor point="BOTTOM">
1794 <Offset>
1795 <AbsDimension x="0" y="18"/>
1796 </Offset>
1797 </Anchor>
1798 </Anchors>
1799 <Layers>
1800 <Layer level="ARTWORK">
1801 <FontString name="SuperInspect_MobInfoTitle" inherits="SuperInspect_ButtonText" text="Mob Info">
1802 <Anchors>
1803 <Anchor point="TOP">
1804 <Offset>
1805 <AbsDimension x="0" y="-10"/>
1806 </Offset>
1807 </Anchor>
1808 </Anchors>
1809 </FontString>
1810 <FontString name="SuperInspect_MobInfoText" inherits="SuperInspect_BonusesText">
1811 <!-- <Size>
1812 <AbsDimension x="208" y="380"/>
1813 </Size> -->
1814 <Anchors>
1815 <Anchor point="TOPLEFT">
1816 <Offset>
1817 <AbsDimension x="24" y="-30"/>
1818 </Offset>
1819 </Anchor>
1820 </Anchors>
1821 </FontString>
1822 <FontString name="SuperInspect_MobInfoTextR" inherits="SuperInspect_BonusesTextR">
1823 <Anchors>
1824 <Anchor point="TOPRIGHT">
1825 <Offset>
1826 <AbsDimension x="-32" y="-30"/>
1827 </Offset>
1828 </Anchor>
1829 </Anchors>
1830 </FontString>
1831 </Layer>
1832 </Layers>
1833 <Scripts>
1834 <OnLoad>
1835 this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
1836 this:SetBackdropColor(0.1, 0.1, 0.1);
1837 </OnLoad>
1838 <OnShow>
1839 SuperInspect_MobInfoFrame_OnShow();
1840 </OnShow>
1841 <OnHide>
1842 SuperInspect_Button_ShowMobInfo:SetText(SI_MOBINFOSHOW);
1843 </OnHide>
1844 </Scripts>
1845 </Frame>
1846 <Frame name="SuperInspect_ItemBonusesFrameCompare" setAllPoints="true" frameStrata="DIALOG" toplevel="true" parent="SuperInspect_InvFrame" hidden="true">
1847 <HitRectInsets>
1848 <AbsInset left="0" right="30" top="0" bottom="75"/>
1849 </HitRectInsets>
1850 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1851 <EdgeSize>
1852 <AbsValue val="22"/>
1853 </EdgeSize>
1854 <TileSize>
1855 <AbsValue val="16"/>
1856 </TileSize>
1857 <BackgroundInsets>
1858 <AbsInset left="5" right="5" top="5" bottom="5"/>
1859 </BackgroundInsets>
1860 </Backdrop>
1861 <Size>
1862 <AbsDimension x="220" y="294"/>
1863 </Size>
1864 <Anchors>
1865 <Anchor point="TOPLEFT" relativeTo="SuperInspectFrame" relativePoint="TOPRIGHT">
1866 <Offset>
1867 <AbsDimension x="-14" y="-42"/>
1868 </Offset>
1869 </Anchor>
1870 </Anchors>
1871 <Layers>
1872 <Layer level="ARTWORK">
1873 <FontString name="SuperInspect_ItemBonusesNameCompare" inherits="SuperInspect_ButtonText" text="Name\nGuild\info">
1874 <Size>
1875 <AbsDimension x="210" y="12"/>
1876 </Size>
1877 <Anchors>
1878 <Anchor point="TOP">
1879 <Offset>
1880 <AbsDimension x="0" y="-8"/>
1881 </Offset>
1882 </Anchor>
1883 </Anchors>
1884 </FontString>
1885 <FontString name="SuperInspect_ItemBonusesGuildCompare" inherits="SuperInspect_HonorTextSmall" text="Name\nGuild\info">
1886 <Size>
1887 <AbsDimension x="210" y="24"/>
1888 </Size>
1889 <Anchors>
1890 <Anchor point="TOP" relativeTo="SuperInspect_ItemBonusesNameCompare" relativePoint="BOTTOM">
1891 <Offset>
1892 <AbsDimension x="0" y="-2"/>
1893 </Offset>
1894 </Anchor>
1895 </Anchors>
1896 </FontString>
1897 <FontString name="SuperInspect_ItemBonusesTitleCompare" inherits="SuperInspect_ButtonText" text="SI_BONUSWINDOWTITLE">
1898 <Anchors>
1899 <Anchor point="TOP">
1900 <Offset>
1901 <AbsDimension x="0" y="-46"/>
1902 </Offset>
1903 </Anchor>
1904 </Anchors>
1905 </FontString>
1906 <FontString name="SuperInspect_ItemBonusesTextCompare" inherits="SuperInspect_BonusesText">
1907 <!-- <Size>
1908 <AbsDimension x="208" y="380"/>
1909 </Size> -->
1910 <Anchors>
1911 <Anchor point="TOPLEFT">
1912 <Offset>
1913 <AbsDimension x="16" y="-96"/>
1914 </Offset>
1915 </Anchor>
1916 </Anchors>
1917 </FontString>
1918 <FontString name="SuperInspect_ItemBonusesTextRCompare" inherits="SuperInspect_BonusesTextR">
1919 <Anchors>
1920 <Anchor point="TOPRIGHT">
1921 <Offset>
1922 <AbsDimension x="-26" y="-96"/>
1923 </Offset>
1924 </Anchor>
1925 </Anchors>
1926 </FontString>
1927 </Layer>
1928 </Layers>
1929 <Scripts>
1930 <OnLoad>
1931 this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
1932 this:SetBackdropColor(0.1, 0.1, 0.1);
1933 </OnLoad>
1934 <OnShow>
1935 this:SetScale(SuperInspect_ItemBonusesFrame:GetScale() - 0.1);
1936 --SuperInspect_SetEffectiveScale(this, 0.75, "UIParent");
1937 </OnShow>
1938 </Scripts>
1939 <Frames>
1940 <Button name="$parent_CloseButton">
1941 <Size>
1942 <AbsDimension x="24" y="24"/>
1943 </Size>
1944 <Anchors>
1945 <Anchor point="TOPRIGHT">
1946 <Offset>
1947 <AbsDimension x="-4" y="-4"/>
1948 </Offset>
1949 </Anchor>
1950 </Anchors>
1951 <Scripts>
1952 <OnClick>
1953 this:GetParent():Hide();
1954 </OnClick>
1955 </Scripts>
1956 <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
1957 <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
1958 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
1959 </Button>
1960 <Frame name="SuperInspect_CharacterResistanceFrameCompare">
1961 <Size>
1962 <AbsDimension x="172" y="34"/>
1963 </Size>
1964 <Anchors>
1965 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
1966 <Offset>
1967 <AbsDimension x="2" y="-58"/>
1968 </Offset>
1969 </Anchor>
1970 </Anchors>
1971 <Frames>
1972 <Frame name="SuperInspect_MagicResFrameCompare1" inherits="SuperInspect_MagicResistanceFrameTemplate" id="6">
1973 <Anchors>
1974 <Anchor point="LEFT" relativeTo="SuperInspect_CharacterResistanceFrameCompare" relativePoint="LEFT"/>
1975 </Anchors>
1976 <Layers>
1977 <Layer level="BACKGROUND">
1978 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
1979 <TexCoords left="0" right="1.0" top="0.2265625" bottom="0.33984375"/>
1980 </Texture>
1981 <FontString name="SuperInspect_MagicResTextCompare1" inherits="SINumberFontNormal" text="X">
1982 <Anchors>
1983 <Anchor point="BOTTOM">
1984 <Offset>
1985 <AbsDimension x="-1" y="4"/>
1986 </Offset>
1987 </Anchor>
1988 </Anchors>
1989 </FontString>
1990 </Layer>
1991 </Layers>
1992 <Scripts>
1993 <OnLoad>
1994 this.tooltip = RESISTANCE6_NAME;
1995 </OnLoad>
1996 </Scripts>
1997 </Frame>
1998 <Frame name="SuperInspect_MagicResFrameCompare2" inherits="SuperInspect_MagicResistanceFrameTemplate" id="2">
1999 <Anchors>
2000 <Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrameCompare1" relativePoint="RIGHT">
2001 <Offset>
2002 <AbsDimension x="-1" y="0"/>
2003 </Offset>
2004 </Anchor>
2005 </Anchors>
2006 <Layers>
2007 <Layer level="BACKGROUND">
2008 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
2009 <TexCoords left="0" right="1.0" top="0" bottom="0.11328125"/>
2010 </Texture>
2011 <FontString name="SuperInspect_MagicResTextCompare2" inherits="SINumberFontNormal" text="X">
2012 <Anchors>
2013 <Anchor point="BOTTOM">
2014 <Offset>
2015 <AbsDimension x="-1" y="4"/>
2016 </Offset>
2017 </Anchor>
2018 </Anchors>
2019 </FontString>
2020 </Layer>
2021 </Layers>
2022 <Scripts>
2023 <OnLoad>
2024 this.tooltip = RESISTANCE2_NAME;
2025 </OnLoad>
2026 </Scripts>
2027 </Frame>
2028 <Frame name="SuperInspect_MagicResFrameCompare3" inherits="SuperInspect_MagicResistanceFrameTemplate" id="3">
2029 <Anchors>
2030 <Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrameCompare2" relativePoint="RIGHT">
2031 <Offset>
2032 <AbsDimension x="-1" y="0"/>
2033 </Offset>
2034 </Anchor>
2035 </Anchors>
2036 <Layers>
2037 <Layer level="BACKGROUND">
2038 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
2039 <TexCoords left="0" right="1.0" top="0.11328125" bottom="0.2265625"/>
2040 </Texture>
2041 <FontString name="SuperInspect_MagicResTextCompare3" inherits="SINumberFontNormal" text="X">
2042 <Anchors>
2043 <Anchor point="BOTTOM">
2044 <Offset>
2045 <AbsDimension x="-1" y="4"/>
2046 </Offset>
2047 </Anchor>
2048 </Anchors>
2049 </FontString>
2050 </Layer>
2051 </Layers>
2052 <Scripts>
2053 <OnLoad>
2054 this.tooltip = RESISTANCE3_NAME;
2055 </OnLoad>
2056 </Scripts>
2057 </Frame>
2058 <Frame name="SuperInspect_MagicResFrameCompare4" inherits="SuperInspect_MagicResistanceFrameTemplate" id="4">
2059 <Anchors>
2060 <Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrameCompare3" relativePoint="RIGHT">
2061 <Offset>
2062 <AbsDimension x="-1" y="0"/>
2063 </Offset>
2064 </Anchor>
2065 </Anchors>
2066 <Layers>
2067 <Layer level="BACKGROUND">
2068 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
2069 <TexCoords left="0" right="1.0" top="0.33984375" bottom="0.453125"/>
2070 </Texture>
2071 <FontString name="SuperInspect_MagicResTextCompare4" inherits="SINumberFontNormal" text="X">
2072 <Anchors>
2073 <Anchor point="BOTTOM">
2074 <Offset>
2075 <AbsDimension x="-1" y="4"/>
2076 </Offset>
2077 </Anchor>
2078 </Anchors>
2079 </FontString>
2080 </Layer>
2081 </Layers>
2082 <Scripts>
2083 <OnLoad>
2084 this.tooltip = RESISTANCE4_NAME;
2085 </OnLoad>
2086 </Scripts>
2087 </Frame>
2088 <Frame name="SuperInspect_MagicResFrameCompare5" inherits="SuperInspect_MagicResistanceFrameTemplate" id="5">
2089 <Anchors>
2090 <Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrameCompare4" relativePoint="RIGHT">
2091 <Offset>
2092 <AbsDimension x="-1" y="0"/>
2093 </Offset>
2094 </Anchor>
2095 </Anchors>
2096 <Layers>
2097 <Layer level="BACKGROUND">
2098 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
2099 <TexCoords left="0" right="1.0" top="0.453125" bottom="0.56640625"/>
2100 </Texture>
2101 <FontString name="SuperInspect_MagicResTextCompare5" inherits="NumberFontNormal" text="X">
2102 <Anchors>
2103 <Anchor point="BOTTOM">
2104 <Offset>
2105 <AbsDimension x="0" y="4"/>
2106 </Offset>
2107 </Anchor>
2108 </Anchors>
2109 </FontString>
2110 </Layer>
2111 </Layers>
2112 <Scripts>
2113 <OnLoad>
2114 this.tooltip = RESISTANCE5_NAME;
2115 </OnLoad>
2116 </Scripts>
2117 </Frame>
2118 </Frames>
2119 </Frame>
2120 </Frames>
2121 </Frame>
2122 </Frames>
2123 </Frame>
2124 </Frames>
2125 </DressUpModel>
2126 </Frames>
2127 </Frame>
2128 </Ui>