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 <Script file="Inspector.lua"/>
3  
4 <!-- Button Template -->
5 <Button name="InspectorButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
6 <Scripts>
7 <OnClick>
8 InspectorChatLinkItem(arg1);
9 </OnClick>
10 <OnEnter>
11 InspectorDisplayItemLink();
12 InspectorCheckCursor( "Mouse" );
13 </OnEnter>
14 <OnUpdate>
15 if( KeyTimerUpdate() == 1 and InspectorFrame:IsVisible() ) then
16 InspectorCheckCursor( "Key" );
17 end
18 </OnUpdate>
19 <OnLeave>
20 GameTooltip:Hide();
21 InspectorCheckCursor( "Off" );
22 </OnLeave>
23 </Scripts>
24 <NormalTexture file="Interface\Buttons\UI-Quickslot2">
25 <Size>
26 <AbsDimension x="64" y="64"/>
27 </Size>
28 <Anchors>
29 <Anchor point="CENTER">
30 <Offset>
31 <AbsDimension x="0" y="0"/>
32 </Offset>
33 </Anchor>
34 </Anchors>
35 </NormalTexture>
36 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
37 </Button>
38 <!-- End Button Template -->
39  
40  
41 <!-- OVERALL FRAME -->
42 <Frame name="InspectorFrame" parent="UIParent" enableMouse="true" hidden="true">
43  
44 <Size>
45 <AbsDimension x="384" y="512"/>
46 </Size>
47 <Anchors>
48 <Anchor point="TOPLEFT">
49 <Offset>
50 <AbsDimension x="0" y="-106"/>
51 </Offset>
52 </Anchor>
53 </Anchors>
54 <HitRectInsets>
55 <AbsInset left="0" right="30" top="0" bottom="45"/>
56 </HitRectInsets>
57  
58  
59  
60 <Layers>
61  
62 <!-- BACKGROUND level - used for portrait -->
63 <Layer level="BACKGROUND">
64 <Texture name="InspectorPortraitTexture">
65 <Size>
66 <AbsDimension x="64" y="64"/>
67 </Size>
68 <Anchors>
69 <Anchor point="TOPLEFT">
70 <Offset>
71 <AbsDimension x="8" y="-4"/>
72 </Offset>
73 </Anchor>
74 </Anchors>
75 </Texture>
76 </Layer>
77  
78 <!-- ARTWORK - Middle Frame Graphics -->
79 <Layer level="ARTWORK">
80 <Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-L1">
81 <Size>
82 <AbsDimension x="256" y="256"/>
83 </Size>
84 <Anchors>
85 <Anchor point="TOPLEFT"/>
86 </Anchors>
87 </Texture>
88 <Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-R1">
89 <Size>
90 <AbsDimension x="128" y="256"/>
91 </Size>
92 <Anchors>
93 <Anchor point="TOPLEFT">
94 <Offset>
95 <AbsDimension x="256" y="0"/>
96 </Offset>
97 </Anchor>
98 </Anchors>
99 </Texture>
100 <Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-BottomLeft">
101 <Size>
102 <AbsDimension x="256" y="256"/>
103 </Size>
104 <Anchors>
105 <Anchor point="TOPLEFT">
106 <Offset>
107 <AbsDimension x="0" y="-256"/>
108 </Offset>
109 </Anchor>
110 </Anchors>
111 </Texture>
112 <Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-BottomRight">
113 <Size>
114 <AbsDimension x="128" y="256"/>
115 </Size>
116 <Anchors>
117 <Anchor point="TOPLEFT">
118 <Offset>
119 <AbsDimension x="256" y="-256"/>
120 </Offset>
121 </Anchor>
122 </Anchors>
123 </Texture>
124 </Layer>
125 <!-- END BACKGROUND Frame Graphics -->
126  
127 <!-- FOREGROUND text stuff -->
128 <Layer level="FOREGROUND">
129  
130 <FontString name="InspectorPlayerNameText" inherits="GameFontWhite" text="Player Name">
131 <Anchors>
132 <Anchor point="TOP" relativeTo="InspectorFrame" relativePoint="TOP">
133 <Offset>
134 <AbsDimension x="0" y="-19"/>
135 </Offset>
136 </Anchor>
137 </Anchors>
138 </FontString>
139  
140 <FontString name="InspectorPlayerInfoText" inherits="GameFontNormalSmall" text="Player Info">
141 <Anchors>
142 <Anchor point="TOP" relativeTo="InspectorPlayerNameText" relativePoint="TOP">
143 <Offset>
144 <AbsDimension x="0" y="-18"/>
145 </Offset>
146 </Anchor>
147 </Anchors>
148 </FontString>
149  
150 <FontString name="InspectorPlayerGuildText" inherits="GameFontNormalSmall" text="Player Guild Info">
151 <Anchors>
152 <Anchor point="TOP" relativeTo="InspectorPlayerInfoText" relativePoint="TOP">
153 <Offset>
154 <AbsDimension x="0" y="-10"/>
155 </Offset>
156 </Anchor>
157 </Anchors>
158 </FontString>
159  
160 <FontString name="InspectorPlayerPVPRankText" inherits="GameFontNormal" text="Player PvP Rank">
161 <Anchors>
162 <Anchor point="TOP" relativeTo="InspectorPlayerGuildText" relativePoint="TOP">
163 <Offset>
164 <AbsDimension x="0" y="-38"/>
165 </Offset>
166 </Anchor>
167 </Anchors>
168 </FontString>
169  
170 <Texture name="InspectorPlayerPVPRankTexture" file="Interface\PvPRankBadges\PvPRank01">
171 <Size>
172 <AbsDimension x="24" y="24"/>
173 </Size>
174 <Anchors>
175 <Anchor point="RIGHT" relativeTo="InspectorPlayerPVPRankText" relativePoint="LEFT">
176 <Offset>
177 <AbsDimension x="-5" y="0"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 </Texture>
182  
183 <!-- HONOR ############################################### -->
184  
185  
186 <!-- TODAY *********************************************** -->
187 <FontString name="InspectorPlayerPVPTodayText" inherits="GameFontNormal" text="Today" justifyH="LEFT">
188 <Size>
189 <AbsDimension x="240" y="20"/>
190 </Size>
191 <Anchors>
192 <Anchor point="TOP" relativeTo="InspectorPlayerPVPRankText" relativePoint="TOP">
193 <Offset>
194 <AbsDimension x="0" y="-20"/>
195 </Offset>
196 </Anchor>
197 </Anchors>
198 </FontString>
199  
200 <FontString name="InspectorPlayerPVPTodayHKText" inherits="GameFontHighlightSmall" text="Honorable Kills" justifyH="LEFT">
201 <Size>
202 <AbsDimension x="220" y="20"/>
203 </Size>
204 <Anchors>
205 <Anchor point="TOP" relativeTo="InspectorPlayerPVPTodayText" relativePoint="TOP">
206 <Offset>
207 <AbsDimension x="0" y="-12"/>
208 </Offset>
209 </Anchor>
210 </Anchors>
211 </FontString>
212  
213 <FontString name="InspectorPlayerPVPTodayHK" inherits="GameFontGreenSmall" text="??" justifyH="RIGHT">
214 <Size>
215 <AbsDimension x="200" y="20"/>
216 </Size>
217 <Anchors>
218 <Anchor point="TOP" relativeTo="InspectorPlayerPVPTodayHKText" relativePoint="TOP">
219 <Offset>
220 <AbsDimension x="0" y="0"/>
221 </Offset>
222 </Anchor>
223 </Anchors>
224 </FontString>
225  
226 <FontString name="InspectorPlayerPVPTodayDKText" inherits="GameFontHighlightSmall" text="Dishonorable Kills" justifyH="LEFT">
227 <Size>
228 <AbsDimension x="220" y="20"/>
229 </Size>
230 <Anchors>
231 <Anchor point="TOP" relativeTo="InspectorPlayerPVPTodayHKText" relativePoint="TOP">
232 <Offset>
233 <AbsDimension x="0" y="-11"/>
234 </Offset>
235 </Anchor>
236 </Anchors>
237 </FontString>
238  
239 <FontString name="InspectorPlayerPVPTodayDK" inherits="GameFontRedSmall" text="??" justifyH="RIGHT">
240 <Size>
241 <AbsDimension x="200" y="20"/>
242 </Size>
243 <Anchors>
244 <Anchor point="TOP" relativeTo="InspectorPlayerPVPTodayDKText" relativePoint="TOP">
245 <Offset>
246 <AbsDimension x="0" y="0"/>
247 </Offset>
248 </Anchor>
249 </Anchors>
250 </FontString>
251  
252  
253 <!-- YESTERDAY *********************************************** -->
254 <FontString name="InspectorPlayerPVPYesterdayText" inherits="GameFontNormal" text="Yesterday" justifyH="LEFT">
255 <Size>
256 <AbsDimension x="240" y="20"/>
257 </Size>
258 <Anchors>
259 <Anchor point="TOP" relativeTo="InspectorPlayerPVPTodayText" relativePoint="TOP">
260 <Offset>
261 <AbsDimension x="0" y="-40"/>
262 </Offset>
263 </Anchor>
264 </Anchors>
265 </FontString>
266  
267 <FontString name="InspectorPlayerPVPYesterdayHKText" inherits="GameFontHighlightSmall" text="Honorable Kills" justifyH="LEFT">
268 <Size>
269 <AbsDimension x="220" y="20"/>
270 </Size>
271 <Anchors>
272 <Anchor point="TOP" relativeTo="InspectorPlayerPVPYesterdayText" relativePoint="TOP">
273 <Offset>
274 <AbsDimension x="0" y="-12"/>
275 </Offset>
276 </Anchor>
277 </Anchors>
278 </FontString>
279  
280 <FontString name="InspectorPlayerPVPYesterdayHK" inherits="GameFontGreenSmall" text="??" justifyH="RIGHT">
281 <Size>
282 <AbsDimension x="200" y="20"/>
283 </Size>
284 <Anchors>
285 <Anchor point="TOP" relativeTo="InspectorPlayerPVPYesterdayHKText" relativePoint="TOP">
286 <Offset>
287 <AbsDimension x="0" y="0"/>
288 </Offset>
289 </Anchor>
290 </Anchors>
291 </FontString>
292  
293 <FontString name="InspectorPlayerPVPYesterdayHonorText" inherits="GameFontHighlightSmall" text="Honor" justifyH="LEFT">
294 <Size>
295 <AbsDimension x="220" y="20"/>
296 </Size>
297 <Anchors>
298 <Anchor point="TOP" relativeTo="InspectorPlayerPVPYesterdayHKText" relativePoint="TOP">
299 <Offset>
300 <AbsDimension x="0" y="-11"/>
301 </Offset>
302 </Anchor>
303 </Anchors>
304 </FontString>
305  
306 <FontString name="InspectorPlayerPVPYesterdayHonor" inherits="GameFontNormalSmall" text="??" justifyH="RIGHT">
307 <Size>
308 <AbsDimension x="200" y="20"/>
309 </Size>
310 <Anchors>
311 <Anchor point="TOP" relativeTo="InspectorPlayerPVPYesterdayHonorText" relativePoint="TOP">
312 <Offset>
313 <AbsDimension x="0" y="0"/>
314 </Offset>
315 </Anchor>
316 </Anchors>
317 </FontString>
318  
319  
320  
321  
322  
323  
324 <!-- THIS WEEK *********************************************** -->
325 <FontString name="InspectorPlayerPVPThisWeekText" inherits="GameFontNormal" text="This Week" justifyH="LEFT">
326 <Size>
327 <AbsDimension x="240" y="20"/>
328 </Size>
329 <Anchors>
330 <Anchor point="TOP" relativeTo="InspectorPlayerPVPYesterdayText" relativePoint="TOP">
331 <Offset>
332 <AbsDimension x="0" y="-40"/>
333 </Offset>
334 </Anchor>
335 </Anchors>
336 </FontString>
337  
338 <FontString name="InspectorPlayerPVPThisWeekHKText" inherits="GameFontHighlightSmall" text="Honorable Kills" justifyH="LEFT">
339 <Size>
340 <AbsDimension x="220" y="20"/>
341 </Size>
342 <Anchors>
343 <Anchor point="TOP" relativeTo="InspectorPlayerPVPThisWeekText" relativePoint="TOP">
344 <Offset>
345 <AbsDimension x="0" y="-12"/>
346 </Offset>
347 </Anchor>
348 </Anchors>
349 </FontString>
350  
351 <FontString name="InspectorPlayerPVPThisWeekHK" inherits="GameFontGreenSmall" text="??" justifyH="RIGHT">
352 <Size>
353 <AbsDimension x="200" y="20"/>
354 </Size>
355 <Anchors>
356 <Anchor point="TOP" relativeTo="InspectorPlayerPVPThisWeekHKText" relativePoint="TOP">
357 <Offset>
358 <AbsDimension x="0" y="0"/>
359 </Offset>
360 </Anchor>
361 </Anchors>
362 </FontString>
363  
364 <FontString name="InspectorPlayerPVPThisWeekHonorText" inherits="GameFontHighlightSmall" text="Honor" justifyH="LEFT">
365 <Size>
366 <AbsDimension x="220" y="20"/>
367 </Size>
368 <Anchors>
369 <Anchor point="TOP" relativeTo="InspectorPlayerPVPThisWeekHKText" relativePoint="TOP">
370 <Offset>
371 <AbsDimension x="0" y="-11"/>
372 </Offset>
373 </Anchor>
374 </Anchors>
375 </FontString>
376  
377 <FontString name="InspectorPlayerPVPThisWeekHonor" inherits="GameFontNormalSmall" text="??" justifyH="RIGHT">
378 <Size>
379 <AbsDimension x="200" y="20"/>
380 </Size>
381 <Anchors>
382 <Anchor point="TOP" relativeTo="InspectorPlayerPVPThisWeekHonorText" relativePoint="TOP">
383 <Offset>
384 <AbsDimension x="0" y="0"/>
385 </Offset>
386 </Anchor>
387 </Anchors>
388 </FontString>
389  
390  
391  
392 <!-- LAST WEEK *********************************************** -->
393 <FontString name="InspectorPlayerPVPLastWeekText" inherits="GameFontNormal" text="Last Week" justifyH="LEFT">
394 <Size>
395 <AbsDimension x="240" y="20"/>
396 </Size>
397 <Anchors>
398 <Anchor point="TOP" relativeTo="InspectorPlayerPVPThisWeekText" relativePoint="TOP">
399 <Offset>
400 <AbsDimension x="0" y="-40"/>
401 </Offset>
402 </Anchor>
403 </Anchors>
404 </FontString>
405  
406 <FontString name="InspectorPlayerPVPLastWeekHKText" inherits="GameFontHighlightSmall" text="Honorable Kills" justifyH="LEFT">
407 <Size>
408 <AbsDimension x="220" y="20"/>
409 </Size>
410 <Anchors>
411 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLastWeekText" relativePoint="TOP">
412 <Offset>
413 <AbsDimension x="0" y="-12"/>
414 </Offset>
415 </Anchor>
416 </Anchors>
417 </FontString>
418  
419 <FontString name="InspectorPlayerPVPLastWeekHK" inherits="GameFontGreenSmall" text="??" justifyH="RIGHT">
420 <Size>
421 <AbsDimension x="200" y="20"/>
422 </Size>
423 <Anchors>
424 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLastWeekHKText" relativePoint="TOP">
425 <Offset>
426 <AbsDimension x="0" y="0"/>
427 </Offset>
428 </Anchor>
429 </Anchors>
430 </FontString>
431  
432 <FontString name="InspectorPlayerPVPLastWeekHonorText" inherits="GameFontHighlightSmall" text="Honor" justifyH="LEFT">
433 <Size>
434 <AbsDimension x="220" y="20"/>
435 </Size>
436 <Anchors>
437 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLastWeekHKText" relativePoint="TOP">
438 <Offset>
439 <AbsDimension x="0" y="-11"/>
440 </Offset>
441 </Anchor>
442 </Anchors>
443 </FontString>
444  
445 <FontString name="InspectorPlayerPVPLastWeekHonor" inherits="GameFontNormalSmall" text="??" justifyH="RIGHT">
446 <Size>
447 <AbsDimension x="200" y="20"/>
448 </Size>
449 <Anchors>
450 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLastWeekHonorText" relativePoint="TOP">
451 <Offset>
452 <AbsDimension x="0" y="0"/>
453 </Offset>
454 </Anchor>
455 </Anchors>
456 </FontString>
457  
458 <FontString name="InspectorPlayerPVPLastWeekStandingText" inherits="GameFontHighlightSmall" text="Standing" justifyH="LEFT">
459 <Size>
460 <AbsDimension x="220" y="20"/>
461 </Size>
462 <Anchors>
463 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLastWeekHonorText" relativePoint="TOP">
464 <Offset>
465 <AbsDimension x="0" y="-11"/>
466 </Offset>
467 </Anchor>
468 </Anchors>
469 </FontString>
470  
471 <FontString name="InspectorPlayerPVPLastWeekStanding" inherits="GameFontNormalSmall" text="??" justifyH="RIGHT">
472 <Size>
473 <AbsDimension x="200" y="20"/>
474 </Size>
475 <Anchors>
476 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLastWeekStandingText" relativePoint="TOP">
477 <Offset>
478 <AbsDimension x="0" y="0"/>
479 </Offset>
480 </Anchor>
481 </Anchors>
482 </FontString>
483  
484  
485  
486  
487 <!-- LIFETIME *********************************************** -->
488 <FontString name="InspectorPlayerPVPLifetimeText" inherits="GameFontNormal" text="Lifetime" justifyH="LEFT">
489 <Size>
490 <AbsDimension x="240" y="20"/>
491 </Size>
492 <Anchors>
493 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLastWeekText" relativePoint="TOP">
494 <Offset>
495 <AbsDimension x="0" y="-52"/>
496 </Offset>
497 </Anchor>
498 </Anchors>
499 </FontString>
500  
501 <FontString name="InspectorPlayerPVPLifetimeHKText" inherits="GameFontHighlightSmall" text="Honorable Kills" justifyH="LEFT">
502 <Size>
503 <AbsDimension x="220" y="20"/>
504 </Size>
505 <Anchors>
506 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLifetimeText" relativePoint="TOP">
507 <Offset>
508 <AbsDimension x="0" y="-12"/>
509 </Offset>
510 </Anchor>
511 </Anchors>
512 </FontString>
513  
514 <FontString name="InspectorPlayerPVPLifetimeHK" inherits="GameFontGreenSmall" text="??" justifyH="RIGHT">
515 <Size>
516 <AbsDimension x="200" y="20"/>
517 </Size>
518 <Anchors>
519 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLifetimeHKText" relativePoint="TOP">
520 <Offset>
521 <AbsDimension x="0" y="0"/>
522 </Offset>
523 </Anchor>
524 </Anchors>
525 </FontString>
526  
527 <FontString name="InspectorPlayerPVPLifetimeDKText" inherits="GameFontHighlightSmall" text="Dishonorable Kills" justifyH="LEFT">
528 <Size>
529 <AbsDimension x="220" y="20"/>
530 </Size>
531 <Anchors>
532 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLifetimeHKText" relativePoint="TOP">
533 <Offset>
534 <AbsDimension x="0" y="-11"/>
535 </Offset>
536 </Anchor>
537 </Anchors>
538 </FontString>
539  
540 <FontString name="InspectorPlayerPVPLifetimeDK" inherits="GameFontRedSmall" text="??" justifyH="RIGHT">
541 <Size>
542 <AbsDimension x="200" y="20"/>
543 </Size>
544 <Anchors>
545 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLifetimeDKText" relativePoint="TOP">
546 <Offset>
547 <AbsDimension x="0" y="0"/>
548 </Offset>
549 </Anchor>
550 </Anchors>
551 </FontString>
552  
553 <FontString name="InspectorPlayerPVPLifetimeRankText" inherits="GameFontHighlightSmall" text="Highest Rank" justifyH="LEFT">
554 <Size>
555 <AbsDimension x="220" y="20"/>
556 </Size>
557 <Anchors>
558 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLifetimeDKText" relativePoint="TOP">
559 <Offset>
560 <AbsDimension x="0" y="-11"/>
561 </Offset>
562 </Anchor>
563 </Anchors>
564 </FontString>
565  
566 <FontString name="InspectorPlayerPVPLifetimeRank" inherits="GameFontNormalSmall" text="??" justifyH="RIGHT">
567 <Size>
568 <AbsDimension x="200" y="20"/>
569 </Size>
570 <Anchors>
571 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLifetimeRankText" relativePoint="TOP">
572 <Offset>
573 <AbsDimension x="0" y="0"/>
574 </Offset>
575 </Anchor>
576 </Anchors>
577 </FontString>
578  
579  
580 <!-- MOVE CLOSER TEXT *********************************************** -->
581 <FontString name="InspectorPlayerPVPRangeText" inherits="GameFontGreen" text="Move Closer To See Honor Stats" >
582 <Size>
583 <AbsDimension x="240" y="20"/>
584 </Size>
585 <Anchors>
586 <Anchor point="TOP" relativeTo="InspectorPlayerPVPLifetimeText" relativePoint="TOP">
587 <Offset>
588 <AbsDimension x="-10" y="-70"/>
589 </Offset>
590 </Anchor>
591 </Anchors>
592 </FontString>
593  
594 </Layer>
595 <!-- END FOREGROUND text stuff -->
596  
597  
598 </Layers>
599  
600  
601 <!-- BEGIN BUTTONS -->
602 <Frames>
603  
604  
605 <!-- CLOSE BUTTON -->
606 <Button name="InspectorFrameClose" parent="InspectorFrame">
607 <Size>
608 <AbsDimension x="32" y="32"/>
609 </Size>
610 <Anchors>
611 <Anchor point="TOPLEFT">
612 <Offset>
613 <AbsDimension x="324" y="-9"/>
614 </Offset>
615 </Anchor>
616 </Anchors>
617 <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
618 <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
619 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/>
620 <Scripts>
621 <OnClick>
622 InspectorFrameHide();
623 </OnClick>
624 </Scripts>
625 </Button>
626  
627  
628 <!-- PLAYER MODEL -->
629 <PlayerModel name="InspectorPlayerModel" parent="InspectorFrame">
630 <Size>
631 <AbsDimension x="235" y="350" />
632 </Size>
633 <Anchors>
634 <Anchor point="TOPLEFT" relativeTo="InspectorFrame" relativePoint="TOPLEFT">
635 <Offset>
636 <AbsDimension x="65" y="-75"/>
637 </Offset>
638 </Anchor>
639 </Anchors>
640 </PlayerModel>
641  
642  
643 <!-- Rotate Left Button -->
644 <Button name="InspectorModelRotationButtonLeft" parent="InspectorFrame">
645 <Size>
646 <AbsDimension x="32" y="32"/>
647 </Size>
648 <Anchors>
649 <Anchor point="BOTTOMLEFT" relativeTo="InspectorFrame" relativePoint="BOTTOMLEFT">
650 <Offset>
651 <AbsDimension x="75" y="123"/>
652 </Offset>
653 </Anchor>
654 </Anchors>
655 <NormalTexture file="Interface\Buttons\UI-RotationLeft-Button-Up"/>
656 <PushedTexture file="Interface\Buttons\UI-RotationLeft-Button-Down"/>
657 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Round"/>
658 <Scripts>
659 <OnMouseDown>
660 SetRotationMode("Right");
661 </OnMouseDown>
662 <OnMouseUp>
663 SetRotationMode("None");
664 </OnMouseUp>
665 <OnLeave>
666 SetRotationMode("None");
667 </OnLeave>
668 </Scripts>
669 </Button>
670  
671  
672 <!-- Rotate Right Button -->
673 <Button name="InspectorModelRotationButtonRight" parent="InspectorFrame">
674 <Size>
675 <AbsDimension x="32" y="32"/>
676 </Size>
677 <Anchors>
678 <Anchor point="BOTTOMLEFT" relativeTo="InspectorFrame" relativePoint="BOTTOMLEFT">
679 <Offset>
680 <AbsDimension x="256" y="123"/>
681 </Offset>
682 </Anchor>
683 </Anchors>
684 <NormalTexture file="Interface\Buttons\UI-RotationRight-Button-Up"/>
685 <PushedTexture file="Interface\Buttons\UI-RotationRight-Button-Down"/>
686 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Round"/>
687 <Scripts>
688 <OnMouseDown>
689 SetRotationMode("Left");
690 </OnMouseDown>
691 <OnMouseUp>
692 SetRotationMode("None");
693 </OnMouseUp>
694 <OnLeave>
695 SetRotationMode("None");
696 </OnLeave>
697 </Scripts>
698 </Button>
699  
700  
701  
702 <!-- Mode Switch Button -->
703 <Button name="InspectorSwitchMode" parent="InspectorFrame" text="Show Honor">
704 <Size>
705 <AbsDimension x="145" y="32"/>
706 </Size>
707 <Anchors>
708 <Anchor point="BOTTOMLEFT" relativeTo="InspectorFrame" relativePoint="BOTTOMLEFT">
709 <Offset>
710 <AbsDimension x="23" y="75"/>
711 </Offset>
712 </Anchor>
713 </Anchors>
714 <NormalText name="InspectorSwitchModeText" inherits="GameFontNormal" justifyH="LEFT">
715 <Size>
716 <AbsDimension x="90" y="32"/>
717 </Size>
718 <Anchors>
719 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
720 <Offset>
721 <AbsDimension x="7" y="6"/>
722 </Offset>
723 </Anchor>
724 </Anchors>
725 </NormalText>
726 <HighlightText name="InspectorSwitchModeTextHighlight" inherits="GameFontHighlight" justifyH="LEFT">
727 <Size>
728 <AbsDimension x="90" y="32"/>
729 </Size>
730 <Anchors>
731 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
732 <Offset>
733 <AbsDimension x="7" y="6"/>
734 </Offset>
735 </Anchor>
736 </Anchors>
737 </HighlightText>
738 <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up"/>
739 <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down"/>
740 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-Button-Highlight"/>
741 <HitRectInsets>
742 <AbsInset left="0" right="60" top="0" bottom="10"/>
743 </HitRectInsets>
744 <Scripts>
745 <OnClick>
746 if( GetInspectorMode() == "Honor" ) then
747 InspectorHideHonor();
748 InspectorShowModel();
749 else
750 InspectorShowHonor();
751 InspectorHideModel();
752 end
753 </OnClick>
754 </Scripts>
755 </Button>
756  
757 <!-- INVENTORY Buttons -->
758 <Button name="InspectorHeadButton" inherits="InspectorButtonTemplate" id="1">
759 <Anchors>
760 <Anchor point="TOPLEFT" relativeTo="InspectorFrame" relativePoint="TOPLEFT">
761 <Offset>
762 <AbsDimension x="21" y="-74"/>
763 </Offset>
764 </Anchor>
765 </Anchors>
766 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Head"/>
767 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Head"/>
768 </Button>
769  
770 <Button name="InspectorNeckButton" inherits="InspectorButtonTemplate" id="2">
771 <Anchors>
772 <Anchor point="TOPLEFT" relativeTo="InspectorHeadButton" relativePoint="BOTTOMLEFT">
773 <Offset>
774 <AbsDimension x="0" y="-4"/>
775 </Offset>
776 </Anchor>
777 </Anchors>
778 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Neck"/>
779 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Neck"/>
780 </Button>
781  
782 <Button name="InspectorShoulderButton" inherits="InspectorButtonTemplate" id="3">
783 <Anchors>
784 <Anchor point="TOPLEFT" relativeTo="InspectorNeckButton" relativePoint="BOTTOMLEFT">
785 <Offset>
786 <AbsDimension x="0" y="-4"/>
787 </Offset>
788 </Anchor>
789 </Anchors>
790 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Shoulder"/>
791 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Shoulder"/>
792 </Button>
793  
794 <Button name="InspectorBackButton" inherits="InspectorButtonTemplate" id="15">
795 <Anchors>
796 <Anchor point="TOPLEFT" relativeTo="InspectorShoulderButton" relativePoint="BOTTOMLEFT">
797 <Offset>
798 <AbsDimension x="0" y="-4"/>
799 </Offset>
800 </Anchor>
801 </Anchors>
802 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Chest"/>
803 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Chest"/>
804 </Button>
805  
806 <Button name="InspectorChestButton" inherits="InspectorButtonTemplate" id="5">
807 <Anchors>
808 <Anchor point="TOPLEFT" relativeTo="InspectorBackButton" relativePoint="BOTTOMLEFT">
809 <Offset>
810 <AbsDimension x="0" y="-4"/>
811 </Offset>
812 </Anchor>
813 </Anchors>
814 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Chest"/>
815 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Chest"/>
816 </Button>
817  
818 <Button name="InspectorShirtButton" inherits="InspectorButtonTemplate" id="4">
819 <Anchors>
820 <Anchor point="TOPLEFT" relativeTo="InspectorChestButton" relativePoint="BOTTOMLEFT">
821 <Offset>
822 <AbsDimension x="0" y="-4"/>
823 </Offset>
824 </Anchor>
825 </Anchors>
826 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Shirt"/>
827 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Shirt"/>
828 </Button>
829  
830 <Button name="InspectorTabardButton" inherits="InspectorButtonTemplate" id="19">
831 <Anchors>
832 <Anchor point="TOPLEFT" relativeTo="InspectorShirtButton" relativePoint="BOTTOMLEFT">
833 <Offset>
834 <AbsDimension x="0" y="-4"/>
835 </Offset>
836 </Anchor>
837 </Anchors>
838 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Tabard"/>
839 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Tabard"/>
840 </Button>
841  
842 <Button name="InspectorWristButton" inherits="InspectorButtonTemplate" id="9">
843 <Anchors>
844 <Anchor point="TOPLEFT" relativeTo="InspectorTabardButton" relativePoint="BOTTOMLEFT">
845 <Offset>
846 <AbsDimension x="0" y="-4"/>
847 </Offset>
848 </Anchor>
849 </Anchors>
850 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Wrists"/>
851 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Wrists"/>
852 </Button>
853  
854 <Button name="InspectorHandsButton" inherits="InspectorButtonTemplate" id="10">
855 <Anchors>
856 <Anchor point="TOPLEFT" relativeTo="InspectorHeadButton" relativePoint="TOPLEFT">
857 <Offset>
858 <AbsDimension x="285" y="0"/>
859 </Offset>
860 </Anchor>
861 </Anchors>
862 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Hands"/>
863 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Hands"/>
864 </Button>
865  
866 <Button name="InspectorWaistButton" inherits="InspectorButtonTemplate" id="6">
867 <Anchors>
868 <Anchor point="TOPLEFT" relativeTo="InspectorHandsButton" relativePoint="BOTTOMLEFT">
869 <Offset>
870 <AbsDimension x="0" y="-4"/>
871 </Offset>
872 </Anchor>
873 </Anchors>
874 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Waist"/>
875 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Waist"/>
876 </Button>
877  
878 <Button name="InspectorLegsButton" inherits="InspectorButtonTemplate" id="7">
879 <Anchors>
880 <Anchor point="TOPLEFT" relativeTo="InspectorWaistButton" relativePoint="BOTTOMLEFT">
881 <Offset>
882 <AbsDimension x="0" y="-4"/>
883 </Offset>
884 </Anchor>
885 </Anchors>
886 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Legs"/>
887 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Legs"/>
888 </Button>
889  
890 <Button name="InspectorFeetButton" inherits="InspectorButtonTemplate" id="8">
891 <Anchors>
892 <Anchor point="TOPLEFT" relativeTo="InspectorLegsButton" relativePoint="BOTTOMLEFT">
893 <Offset>
894 <AbsDimension x="0" y="-4"/>
895 </Offset>
896 </Anchor>
897 </Anchors>
898 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Feet"/>
899 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Feet"/>
900 </Button>
901  
902 <Button name="InspectorFinger1Button" inherits="InspectorButtonTemplate" id="11">
903 <Anchors>
904 <Anchor point="TOPLEFT" relativeTo="InspectorFeetButton" relativePoint="BOTTOMLEFT">
905 <Offset>
906 <AbsDimension x="0" y="-4"/>
907 </Offset>
908 </Anchor>
909 </Anchors>
910 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Finger"/>
911 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Finger"/>
912 </Button>
913  
914 <Button name="InspectorFinger2Button" inherits="InspectorButtonTemplate" id="12">
915 <Anchors>
916 <Anchor point="TOPLEFT" relativeTo="InspectorFinger1Button" relativePoint="BOTTOMLEFT">
917 <Offset>
918 <AbsDimension x="0" y="-4"/>
919 </Offset>
920 </Anchor>
921 </Anchors>
922 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Finger"/>
923 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Finger"/>
924 </Button>
925  
926 <Button name="InspectorTrinket1Button" inherits="InspectorButtonTemplate" id="13">
927 <Anchors>
928 <Anchor point="TOPLEFT" relativeTo="InspectorFinger2Button" relativePoint="BOTTOMLEFT">
929 <Offset>
930 <AbsDimension x="0" y="-4"/>
931 </Offset>
932 </Anchor>
933 </Anchors>
934 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Trinket"/>
935 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Trinket"/>
936 </Button>
937  
938 <Button name="InspectorTrinket2Button" inherits="InspectorButtonTemplate" id="14">
939 <Anchors>
940 <Anchor point="TOPLEFT" relativeTo="InspectorTrinket1Button" relativePoint="BOTTOMLEFT">
941 <Offset>
942 <AbsDimension x="0" y="-4"/>
943 </Offset>
944 </Anchor>
945 </Anchors>
946 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Trinket"/>
947 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Trinket"/>
948 </Button>
949  
950 <Button name="InspectorMainHandButton" inherits="InspectorButtonTemplate" id="16">
951 <Anchors>
952 <Anchor point="TOPLEFT" relativeTo="InspectorFrame" relativePoint="TOPLEFT">
953 <Offset>
954 <AbsDimension x="120" y="-385"/>
955 </Offset>
956 </Anchor>
957 </Anchors>
958 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-MainHand"/>
959 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-MainHand"/>
960 </Button>
961  
962 <Button name="InspectorSecondaryHandButton" inherits="InspectorButtonTemplate" id="17">
963 <Anchors>
964 <Anchor point="TOPLEFT" relativeTo="InspectorMainHandButton" relativePoint="TOPRIGHT">
965 <Offset>
966 <AbsDimension x="6" y="0"/>
967 </Offset>
968 </Anchor>
969 </Anchors>
970 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-SecondaryHand"/>
971 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-SecondaryHand"/>
972 </Button>
973  
974 <Button name="InspectorRangedButton" inherits="InspectorButtonTemplate" id="18">
975 <Anchors>
976 <Anchor point="TOPLEFT" relativeTo="InspectorSecondaryHandButton" relativePoint="TOPRIGHT">
977 <Offset>
978 <AbsDimension x="6" y="0"/>
979 </Offset>
980 </Anchor>
981 </Anchors>
982 <NormalTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Ranged"/>
983 <PushedTexture file="Interface\PaperDoll\UI-PaperDoll-Slot-Ranged"/>
984 </Button>
985  
986 <!-- END INVENTORY Buttons -->
987  
988 </Frames>
989  
990  
991  
992  
993 <Scripts>
994 <OnLoad>
995 InspectorFrame_OnLoad();
996 </OnLoad>
997 <OnUpdate>
998 InspectorCheckHonorStatus(arg1);
999 InspectorCheckRotation();
1000 </OnUpdate>
1001 </Scripts>
1002  
1003 </Frame>
1004  
1005 </Ui>