vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 ..\FrameXML\UI.xsd">
3 <Script file="Perl_Party.lua"/>
4  
5  
6 <!-- Virtual buffs template -->
7 <Button name="Perl_Party_BuffTemplate" virtual="true">
8 <Size>
9 <AbsDimension x="16" y="16"/>
10 </Size>
11 <Layers>
12 <Layer level="ARTWORK">
13 <Texture name="$parentIcon">
14 <Size>
15 <AbsDimension x="16" y="16"/>
16 </Size>
17 <Anchors>
18 <Anchor point="TOPLEFT">
19 <Offset>
20 <AbsDimension x="0" y="0"/>
21 </Offset>
22 </Anchor>
23 </Anchors>
24 </Texture>
25 </Layer>
26 <Layer level="OVERLAY">
27 <Texture name="$parentDebuffBorder" file="Interface\Buttons\UI-Debuff-Border" hidden="true">
28 <Size>
29 <AbsDimension x="16" y="16"/>
30 </Size>
31 <Anchors>
32 <Anchor point="TOPLEFT">
33 <Offset>
34 <AbsDimension x="0" y="0"/>
35 </Offset>
36 </Anchor>
37 </Anchors>
38 </Texture>
39 <FontString name="$parentCount" inherits="NumberFontNormalSmall">
40 <Anchors>
41 <Anchor point="BOTTOMRIGHT">
42 <Offset>
43 <AbsDimension x="-1" y="0"/>
44 </Offset>
45 </Anchor>
46 </Anchors>
47 </FontString>
48 </Layer>
49 </Layers>
50 <Scripts>
51 <OnEnter>
52 Perl_Party_SetBuffTooltip();
53 </OnEnter>
54 <OnLeave>
55 GameTooltip:Hide();
56 </OnLeave>
57 </Scripts>
58 </Button>
59  
60  
61 <!-- Frame to display Party's health -->
62 <Frame name="Perl_Party_FrameTemplate" virtual="true" frameStrata="LOW">
63 <Size>
64 <!-- The size of this frame determines what can be clicked for the menu and moving, hence it is the same size as the name frame. (This is no longer true in 0.48) -->
65 <AbsDimension x="200" y="24"/>
66 </Size>
67 <Anchors>
68 <Anchor point="TOPLEFT">
69 <Offset>
70 <AbsDimension x="500" y="-200"/>
71 </Offset>
72 </Anchor>
73 </Anchors>
74  
75  
76 <!-- Script Events -->
77 <Scripts>
78 <OnLoad>
79 Perl_Party_OnLoad();
80 </OnLoad>
81 <OnEvent>
82 Perl_Party_OnEvent(event);
83 </OnEvent>
84 </Scripts>
85  
86 <Frames>
87 <!-- Frame for the drop down menu. -->
88 <Frame name="$parent_DropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
89 <Size>
90 <AbsDimension x="10" y="10"/>
91 </Size>
92 <Anchors>
93 <Anchor point="TOP">
94 <Offset>
95 <AbsDimension x="0" y="0"/>
96 </Offset>
97 </Anchor>
98 </Anchors>
99 <Scripts>
100 <OnLoad>
101 Perl_PartyDropDown_OnLoad();
102 </OnLoad>
103 </Scripts>
104 </Frame>
105  
106  
107 <!-- Party Name -->
108 <Frame name="$parent_NameFrame">
109 <Size>
110 <AbsDimension x="200" y="24"/>
111 </Size>
112 <Anchors>
113 <Anchor point="TOPLEFT">
114 <Offset>
115 <AbsDimension x="0" y="0"/>
116 </Offset>
117 </Anchor>
118 </Anchors>
119 <Frames>
120 <Button name="$parent_CastClickOverlay">
121 <Size>
122 <AbsDimension x="200" y="24"/>
123 </Size>
124 <Anchors>
125 <Anchor point="TOPLEFT">
126 <Offset>
127 <AbsDimension x="0" y="0"/>
128 </Offset>
129 </Anchor>
130 </Anchors>
131 <Scripts>
132 <OnLoad>
133 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
134 </OnLoad>
135 <OnClick>
136 Perl_Party_MouseClick(arg1);
137 </OnClick>
138 <OnMouseDown>
139 Perl_Party_MouseDown(arg1);
140 </OnMouseDown>
141 <OnMouseUp>
142 Perl_Party_MouseUp(arg1);
143 </OnMouseUp>
144 <OnEnter>
145 Perl_Party_Tip();
146 UnitFrame_OnEnter();
147 </OnEnter>
148 <OnLeave>
149 UnitFrame_OnLeave();
150 </OnLeave>
151 </Scripts>
152 </Button>
153 </Frames>
154 <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
155 <EdgeSize>
156 <AbsValue val="16"/>
157 </EdgeSize>
158 <TileSize>
159 <AbsValue val="16"/>
160 </TileSize>
161 <BackgroundInsets>
162 <AbsInset left="5" right="5" top="5" bottom="5"/>
163 </BackgroundInsets>
164 </Backdrop>
165 <Layers>
166 <Layer level="OVERLAY">
167 <!-- Leader Icon -->
168 <Texture name="$parent_LeaderIcon" file="Interface\GroupFrame\UI-Group-LeaderIcon" hidden="true">
169 <Size>
170 <AbsDimension x="16" y="16"/>
171 </Size>
172 <Anchors>
173 <Anchor point="TOP">
174 <Offset>
175 <AbsDimension x="0" y="7"/>
176 </Offset>
177 </Anchor>
178 </Anchors>
179 </Texture>
180  
181 <!-- Master Icon -->
182 <Texture name="$parent_MasterIcon" file="Interface\GroupFrame\UI-Group-MasterLooter" hidden="true">
183 <Size>
184 <AbsDimension x="16" y="16"/>
185 </Size>
186 <Anchors>
187 <Anchor point="TOPLEFT">
188 <Offset>
189 <AbsDimension x="65" y="7"/>
190 </Offset>
191 </Anchor>
192 </Anchors>
193 </Texture>
194  
195 <!-- PVP Icon -->
196 <Texture name="$parent_PVPStatus" file="Interface\TargetingFrame\UI-PVP-FFA">
197 <Size>
198 <AbsDimension x="32" y="32"/>
199 </Size>
200 <Anchors>
201 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
202 <Offset>
203 <AbsDimension x="2" y="-2"/>
204 </Offset>
205 </Anchor>
206 </Anchors>
207 </Texture>
208  
209 <!-- Death Icon -->
210 <Texture name="$parent_DeadStatus" file="Interface\TargetingFrame\TargetDead" visible="false">
211 <Size>
212 <AbsDimension x="16" y="16"/>
213 </Size>
214 <Anchors>
215 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
216 <Offset>
217 <AbsDimension x="-25" y="-4"/>
218 </Offset>
219 </Anchor>
220 </Anchors>
221 </Texture>
222  
223 <!-- Disconnected Icon -->
224 <Texture name="$parent_DisconnectStatus" file="Interface\CharacterFrame\Disconnect-Icon" visible="false">
225 <Size>
226 <AbsDimension x="32" y="32"/>
227 </Size>
228 <Anchors>
229 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
230 <Offset>
231 <AbsDimension x="-35" y="3"/>
232 </Offset>
233 </Anchor>
234 </Anchors>
235 </Texture>
236  
237 <!-- Name Text -->
238 <Fontstring name="$parent_NameBarText" inherits="GameFontNormal" text="Error!">
239 <Anchors>
240 <Anchor point="LEFT" relativeTo="$parent_ClassTexture" relativePoint="RIGHT">
241 <Offset>
242 <AbsDimension x="5" y="0"/>
243 </Offset>
244 </Anchor>
245 </Anchors>
246 </Fontstring>
247  
248 <!-- F Key Text -->
249 <Fontstring name="$parent_FKeyText" inherits="GameFontNormal" text="Error!">
250 <Anchors>
251 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
252 <Offset>
253 <AbsDimension x="-8" y="-6"/>
254 </Offset>
255 </Anchor>
256 </Anchors>
257 </Fontstring>
258 </Layer>
259 </Layers>
260 </Frame>
261  
262  
263 <!-- Party Level Frame -->
264 <Frame name="$parent_LevelFrame">
265 <Size>
266 <AbsDimension x="34" y="42"/>
267 </Size>
268 <Anchors>
269 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_NameFrame">
270 <Offset>
271 <AbsDimension x="0" y="5"/>
272 </Offset>
273 </Anchor>
274 </Anchors>
275 <Scripts>
276 <OnMouseUp>
277 Perl_Party_MouseUp(arg1);
278 </OnMouseUp>
279 </Scripts>
280 <Frames>
281 <Button name="$parent_CastClickOverlay">
282 <Size>
283 <AbsDimension x="34" y="42"/>
284 </Size>
285 <Anchors>
286 <Anchor point="TOPLEFT">
287 <Offset>
288 <AbsDimension x="0" y="0"/>
289 </Offset>
290 </Anchor>
291 </Anchors>
292 <Scripts>
293 <OnLoad>
294 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
295 </OnLoad>
296 <OnClick>
297 Perl_Party_MouseClick(arg1);
298 </OnClick>
299 <OnMouseDown>
300 Perl_Party_MouseDown(arg1);
301 </OnMouseDown>
302 <OnMouseUp>
303 Perl_Party_MouseUp(arg1);
304 </OnMouseUp>
305 </Scripts>
306 </Button>
307 </Frames>
308 <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
309 <EdgeSize>
310 <AbsValue val="16"/>
311 </EdgeSize>
312 <TileSize>
313 <AbsValue val="16"/>
314 </TileSize>
315 <BackgroundInsets>
316 <AbsInset left="5" right="5" top="5" bottom="5"/>
317 </BackgroundInsets>
318 </Backdrop>
319 <Layers>
320 <Layer level="OVERLAY">
321 <!-- Class Icon -->
322 <Texture name="$parent_ClassTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
323 <Size>
324 <AbsDimension x="24" y="24"/>
325 </Size>
326 <Anchors>
327 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
328 <Offset>
329 <AbsDimension x="5" y="-5"/>
330 </Offset>
331 </Anchor>
332 </Anchors>
333 </Texture>
334  
335 <!-- Level Text -->
336 <Fontstring name="$parent_LevelBarText" inherits="GameFontNormalSmall" text="Error!">
337 <Anchors>
338 <Anchor point="BOTTOM">
339 <Offset>
340 <AbsDimension x="0" y="4"/>
341 </Offset>
342 </Anchor>
343 </Anchors>
344 </Fontstring>
345 </Layer>
346 </Layers>
347 </Frame>
348  
349  
350 <!-- Portrait Frame -->
351 <Frame name="$parent_PortraitFrame">
352 <Size>
353 <AbsDimension x="60" y="61"/>
354 </Size>
355 <Anchors>
356 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parent_NameFrame">
357 <Offset>
358 <AbsDimension x="5" y="0"/>
359 </Offset>
360 </Anchor>
361 </Anchors>
362 <Scripts>
363 <OnMouseUp>
364 Perl_Party_MouseUp(arg1);
365 </OnMouseUp>
366 </Scripts>
367 <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
368 <EdgeSize>
369 <AbsValue val="16"/>
370 </EdgeSize>
371 <TileSize>
372 <AbsValue val="16"/>
373 </TileSize>
374 <BackgroundInsets>
375 <AbsInset left="5" right="5" top="5" bottom="5"/>
376 </BackgroundInsets>
377 </Backdrop>
378 <Frames>
379 <PlayerModel name="$parent_PartyModel" hidden="true">
380 <Size>
381 <AbsDimension x="50" y="50"/>
382 </Size>
383 <Anchors>
384 <Anchor point="CENTER">
385 <Offset>
386 <AbsDimension x="1" y="-1"/>
387 </Offset>
388 </Anchor>
389 </Anchors>
390 <Scripts>
391 <OnUpdate>
392 this:SetCamera(0);
393 </OnUpdate>
394 </Scripts>
395 </PlayerModel>
396 <Button name="$parent_CastClickOverlay">
397 <Size>
398 <AbsDimension x="60" y="61"/>
399 </Size>
400 <Anchors>
401 <Anchor point="TOPLEFT">
402 <Offset>
403 <AbsDimension x="0" y="0"/>
404 </Offset>
405 </Anchor>
406 </Anchors>
407 <Scripts>
408 <OnLoad>
409 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
410 </OnLoad>
411 <OnClick>
412 Perl_Party_MouseClick(arg1);
413 </OnClick>
414 <OnMouseDown>
415 Perl_Party_MouseDown(arg1);
416 </OnMouseDown>
417 <OnMouseUp>
418 Perl_Party_MouseUp(arg1);
419 </OnMouseUp>
420 </Scripts>
421 </Button>
422 </Frames>
423 <Layers>
424 <!-- Portrait -->
425 <Layer level="ARTWORK">
426 <Texture name="$parent_Portrait">
427 <Size>
428 <AbsDimension x="48" y="48"/>
429 </Size>
430 <Anchors>
431 <Anchor point="TOP" relativePoint="TOP">
432 <Offset>
433 <AbsDimension x="0" y="-6"/>
434 </Offset>
435 </Anchor>
436 </Anchors>
437 </Texture>
438 </Layer>
439 </Layers>
440 </Frame>
441  
442  
443 <!-- Party Stats -->
444 <Frame name="$parent_StatsFrame">
445 <Size>
446 <AbsDimension x="240" y="42"/>
447 </Size>
448 <Anchors>
449 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_NameFrame">
450 <Offset>
451 <AbsDimension x="30" y="5"/>
452 </Offset>
453 </Anchor>
454 </Anchors>
455 <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
456 <EdgeSize>
457 <AbsValue val="16"/>
458 </EdgeSize>
459 <TileSize>
460 <AbsValue val="16"/>
461 </TileSize>
462 <BackgroundInsets>
463 <AbsInset left="5" right="5" top="5" bottom="5"/>
464 </BackgroundInsets>
465 </Backdrop>
466 <Frames>
467 <Button name="$parent_CastClickOverlay">
468 <Size>
469 <AbsDimension x="240" y="42"/>
470 </Size>
471 <Anchors>
472 <Anchor point="TOPLEFT">
473 <Offset>
474 <AbsDimension x="0" y="0"/>
475 </Offset>
476 </Anchor>
477 </Anchors>
478 <Scripts>
479 <OnLoad>
480 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
481 </OnLoad>
482 <OnClick>
483 Perl_Party_MouseClick(arg1);
484 </OnClick>
485 <OnMouseDown>
486 Perl_Party_MouseDown(arg1);
487 </OnMouseDown>
488 <OnMouseUp>
489 Perl_Party_MouseUp(arg1);
490 </OnMouseUp>
491 </Scripts>
492 </Button>
493  
494 <!-- Health Bar -->
495 <StatusBar name="$parent_HealthBar" inherits="TextStatusBar">
496 <Size>
497 <AbsDimension x="150" y="10"/>
498 </Size>
499 <Anchors>
500 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
501 <Offset>
502 <AbsDimension x="10" y="-10"/>
503 </Offset>
504 </Anchor>
505 </Anchors>
506 <BarTexture name="$parent_HealthBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
507 <BarColor r="0" g="0.8" b="0"/>
508 <Layers>
509 <!-- Text -->
510 <Layer level="OVERLAY">
511 <Fontstring name="$parent_HealthBarText" inherits="GameFontNormalSmall" text="Error!">
512 <Anchors>
513 <Anchor point="RIGHT">
514 <Offset>
515 <AbsDimension x="70" y="0"/>
516 </Offset>
517 </Anchor>
518 </Anchors>
519 <Color r="1" g="1" b="1"/>
520 </Fontstring>
521 <Fontstring name="$parent_HealthBarTextPercent" inherits="GameFontNormalSmall" text="Error!">
522 <Anchors>
523 <Anchor point="TOP" relativePoint="TOP">
524 <Offset>
525 <AbsDimension x="0" y="1"/>
526 </Offset>
527 </Anchor>
528 </Anchors>
529 <Color r="1" g="1" b="1"/>
530 </Fontstring>
531 <Fontstring name="$parent_HealthBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
532 <Anchors>
533 <Anchor point="RIGHT" relativePoint="RIGHT">
534 <Offset>
535 <AbsDimension x="35" y="0"/>
536 </Offset>
537 </Anchor>
538 </Anchors>
539 <Color r="1" g="1" b="1"/>
540 </Fontstring>
541 </Layer>
542 </Layers>
543 </StatusBar>
544 <StatusBar name="$parent_HealthBarBG" inherits="TextStatusBar">
545 <Size>
546 <AbsDimension x="150" y="10"/>
547 </Size>
548 <Anchors>
549 <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_HealthBar">
550 <Offset>
551 <AbsDimension x="0" y="0"/>
552 </Offset>
553 </Anchor>
554 </Anchors>
555 <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
556 <BarColor r="0" g="0.8" b="0" a="0.25"/>
557 </StatusBar>
558 <Button name="$parent_HealthBar_CastClickOverlay">
559 <Size>
560 <AbsDimension x="150" y="10"/>
561 </Size>
562 <Anchors>
563 <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_HealthBar">
564 <Offset>
565 <AbsDimension x="0" y="0"/>
566 </Offset>
567 </Anchor>
568 </Anchors>
569 <Scripts>
570 <OnLoad>
571 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
572 </OnLoad>
573 <OnEnter>
574 Perl_Party_HealthShow();
575 </OnEnter>
576 <OnLeave>
577 Perl_Party_HealthHide();
578 </OnLeave>
579 <OnClick>
580 Perl_Party_MouseClick(arg1);
581 </OnClick>
582 <OnMouseDown>
583 Perl_Party_MouseDown(arg1);
584 </OnMouseDown>
585 <OnMouseUp>
586 Perl_Party_MouseUp(arg1);
587 </OnMouseUp>
588 </Scripts>
589 </Button>
590  
591 <!-- Mana Bar -->
592 <StatusBar name="$parent_ManaBar" inherits="TextStatusBar">
593 <Size>
594 <AbsDimension x="150" y="10"/>
595 </Size>
596 <Anchors>
597 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_HealthBar">
598 <Offset>
599 <AbsDimension x="0" y="-2"/>
600 </Offset>
601 </Anchor>
602 </Anchors>
603 <BarTexture name="$parent_ManaBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
604 <BarColor r="0" g="0" b="1"/>
605 <Layers>
606 <!-- Text -->
607 <Layer level="OVERLAY">
608 <Fontstring name="$parent_ManaBarText" inherits="GameFontNormalSmall" text="Error!">
609 <Anchors>
610 <Anchor point="RIGHT">
611 <Offset>
612 <AbsDimension x="70" y="0"/>
613 </Offset>
614 </Anchor>
615 </Anchors>
616 <Color r="1" g="1" b="1"/>
617 </Fontstring>
618 <Fontstring name="$parent_ManaBarTextPercent" inherits="GameFontNormalSmall" text="Error!">
619 <Anchors>
620 <Anchor point="TOP" relativePoint="TOP">
621 <Offset>
622 <AbsDimension x="0" y="1"/>
623 </Offset>
624 </Anchor>
625 </Anchors>
626 <Color r="1" g="1" b="1"/>
627 </Fontstring>
628 <Fontstring name="$parent_ManaBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
629 <Anchors>
630 <Anchor point="RIGHT" relativePoint="RIGHT">
631 <Offset>
632 <AbsDimension x="35" y="0"/>
633 </Offset>
634 </Anchor>
635 </Anchors>
636 <Color r="1" g="1" b="1"/>
637 </Fontstring>
638 </Layer>
639 </Layers>
640 </StatusBar>
641 <StatusBar name="$parent_ManaBarBG" inherits="TextStatusBar">
642 <Size>
643 <AbsDimension x="150" y="10"/>
644 </Size>
645 <Anchors>
646 <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_ManaBar">
647 <Offset>
648 <AbsDimension x="0" y="0"/>
649 </Offset>
650 </Anchor>
651 </Anchors>
652 <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
653 <BarColor r="0" g="0" b="1" a="0.25"/>
654 </StatusBar>
655 <Button name="$parent_ManaBar_CastClickOverlay">
656 <Size>
657 <AbsDimension x="150" y="10"/>
658 </Size>
659 <Anchors>
660 <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_ManaBar">
661 <Offset>
662 <AbsDimension x="0" y="0"/>
663 </Offset>
664 </Anchor>
665 </Anchors>
666 <Scripts>
667 <OnLoad>
668 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
669 </OnLoad>
670 <OnEnter>
671 Perl_Party_ManaShow();
672 </OnEnter>
673 <OnLeave>
674 Perl_Party_ManaHide();
675 </OnLeave>
676 <OnClick>
677 Perl_Party_MouseClick(arg1);
678 </OnClick>
679 <OnMouseDown>
680 Perl_Party_MouseDown(arg1);
681 </OnMouseDown>
682 <OnMouseUp>
683 Perl_Party_MouseUp(arg1);
684 </OnMouseUp>
685 </Scripts>
686 </Button>
687  
688 <!-- Pet Health Bar -->
689 <StatusBar name="$parent_PetHealthBar" inherits="TextStatusBar">
690 <Size>
691 <AbsDimension x="150" y="10"/>
692 </Size>
693 <Anchors>
694 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ManaBar">
695 <Offset>
696 <AbsDimension x="0" y="-2"/>
697 </Offset>
698 </Anchor>
699 </Anchors>
700 <BarTexture name="$parent_PetHealthBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
701 <BarColor r="0" g="0.8" b="0"/>
702 <Layers>
703 <!-- Text -->
704 <Layer level="OVERLAY">
705 <Fontstring name="$parent_PetHealthBarText" inherits="GameFontNormalSmall" text="Error!">
706 <Anchors>
707 <Anchor point="RIGHT">
708 <Offset>
709 <AbsDimension x="70" y="0"/>
710 </Offset>
711 </Anchor>
712 </Anchors>
713 <Color r="1" g="1" b="1"/>
714 </Fontstring>
715 <Fontstring name="$parent_PetHealthBarTextPercent" inherits="GameFontNormalSmall" text="Error!">
716 <Anchors>
717 <Anchor point="TOP" relativePoint="TOP">
718 <Offset>
719 <AbsDimension x="0" y="1"/>
720 </Offset>
721 </Anchor>
722 </Anchors>
723 <Color r="1" g="1" b="1"/>
724 </Fontstring>
725 <Fontstring name="$parent_PetHealthBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
726 <Anchors>
727 <Anchor point="RIGHT" relativePoint="RIGHT">
728 <Offset>
729 <AbsDimension x="35" y="0"/>
730 </Offset>
731 </Anchor>
732 </Anchors>
733 <Color r="1" g="1" b="1"/>
734 </Fontstring>
735 </Layer>
736 </Layers>
737 </StatusBar>
738 <StatusBar name="$parent_PetHealthBarBG" inherits="TextStatusBar">
739 <Size>
740 <AbsDimension x="150" y="10"/>
741 </Size>
742 <Anchors>
743 <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_PetHealthBar">
744 <Offset>
745 <AbsDimension x="0" y="0"/>
746 </Offset>
747 </Anchor>
748 </Anchors>
749 <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
750 <BarColor r="0" g="0.8" b="0" a="0.25"/>
751 </StatusBar>
752 <Button name="$parent_PetHealthBar_CastClickOverlay">
753 <Size>
754 <AbsDimension x="150" y="10"/>
755 </Size>
756 <Anchors>
757 <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent_PetHealthBar">
758 <Offset>
759 <AbsDimension x="0" y="0"/>
760 </Offset>
761 </Anchor>
762 </Anchors>
763 <Scripts>
764 <OnLoad>
765 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
766 </OnLoad>
767 <OnEnter>
768 Perl_Party_Pet_HealthShow();
769 </OnEnter>
770 <OnLeave>
771 Perl_Party_Pet_HealthHide();
772 </OnLeave>
773 <OnClick>
774 Perl_Party_Pet_MouseClick(arg1);
775 </OnClick>
776 <OnMouseDown>
777 Perl_Party_MouseDown(arg1);
778 </OnMouseDown>
779 <OnMouseUp>
780 Perl_Party_MouseUp(arg1);
781 </OnMouseUp>
782 </Scripts>
783 </Button>
784  
785 </Frames>
786 </Frame>
787  
788  
789 <!-- Buffs Frame -->
790 <Frame name="$parent_BuffFrame">
791 <Size>
792 <AbsDimension x="100" y="60"/>
793 </Size>
794 <Anchors>
795 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_StatsFrame">
796 <Offset>
797 <AbsDimension x="-27" y="5"/>
798 </Offset>
799 </Anchor>
800 </Anchors>
801 <Frames>
802 <Button name="$parent_Buff1" inherits="Perl_Party_BuffTemplate" id="1">
803 <Anchors>
804 <Anchor point="TOPLEFT">
805 <Offset>
806 <AbsDimension x="0" y="-5"/>
807 </Offset>
808 </Anchor>
809 </Anchors>
810 </Button>
811  
812 <Button name="$parent_Buff2" inherits="Perl_Party_BuffTemplate" id="2">
813 <Anchors>
814 <Anchor point="TOPLEFT" relativeTo="$parent_Buff1" relativePoint="TOPRIGHT">
815 <Offset>
816 <AbsDimension x="5" y="0"/>
817 </Offset>
818 </Anchor>
819 </Anchors>
820 </Button>
821  
822 <Button name="$parent_Buff3" inherits="Perl_Party_BuffTemplate" id="3">
823 <Anchors>
824 <Anchor point="TOPLEFT" relativeTo="$parent_Buff2" relativePoint="TOPRIGHT">
825 <Offset>
826 <AbsDimension x="5" y="0"/>
827 </Offset>
828 </Anchor>
829 </Anchors>
830 </Button>
831  
832 <Button name="$parent_Buff4" inherits="Perl_Party_BuffTemplate" id="4">
833 <Anchors>
834 <Anchor point="TOPLEFT" relativeTo="$parent_Buff3" relativePoint="TOPRIGHT">
835 <Offset>
836 <AbsDimension x="5" y="0"/>
837 </Offset>
838 </Anchor>
839 </Anchors>
840 </Button>
841  
842 <Button name="$parent_Buff5" inherits="Perl_Party_BuffTemplate" id="5">
843 <Anchors>
844 <Anchor point="TOPLEFT" relativeTo="$parent_Buff4" relativePoint="TOPRIGHT">
845 <Offset>
846 <AbsDimension x="5" y="0"/>
847 </Offset>
848 </Anchor>
849 </Anchors>
850 </Button>
851  
852 <Button name="$parent_Buff6" inherits="Perl_Party_BuffTemplate" id="6">
853 <Anchors>
854 <Anchor point="TOPLEFT" relativeTo="$parent_Buff5" relativePoint="TOPRIGHT">
855 <Offset>
856 <AbsDimension x="5" y="0"/>
857 </Offset>
858 </Anchor>
859 </Anchors>
860 </Button>
861  
862 <Button name="$parent_Buff7" inherits="Perl_Party_BuffTemplate" id="7">
863 <Anchors>
864 <Anchor point="TOPLEFT" relativeTo="$parent_Buff6" relativePoint="TOPRIGHT">
865 <Offset>
866 <AbsDimension x="5" y="0"/>
867 </Offset>
868 </Anchor>
869 </Anchors>
870 </Button>
871  
872 <Button name="$parent_Buff8" inherits="Perl_Party_BuffTemplate" id="8">
873 <Anchors>
874 <Anchor point="TOPLEFT" relativeTo="$parent_Buff7" relativePoint="TOPRIGHT">
875 <Offset>
876 <AbsDimension x="5" y="0"/>
877 </Offset>
878 </Anchor>
879 </Anchors>
880 </Button>
881  
882 <Button name="$parent_Buff9" inherits="Perl_Party_BuffTemplate" id="9">
883 <Anchors>
884 <Anchor point="TOPLEFT" relativeTo="$parent_Buff8" relativePoint="TOPRIGHT">
885 <Offset>
886 <AbsDimension x="5" y="0"/>
887 </Offset>
888 </Anchor>
889 </Anchors>
890 </Button>
891  
892 <Button name="$parent_Buff10" inherits="Perl_Party_BuffTemplate" id="10">
893 <Anchors>
894 <Anchor point="TOPLEFT" relativeTo="$parent_Buff9" relativePoint="TOPRIGHT">
895 <Offset>
896 <AbsDimension x="5" y="0"/>
897 </Offset>
898 </Anchor>
899 </Anchors>
900 </Button>
901  
902 <Button name="$parent_Buff11" inherits="Perl_Party_BuffTemplate" id="11">
903 <Anchors>
904 <Anchor point="TOPLEFT" relativeTo="$parent_Buff10" relativePoint="TOPRIGHT">
905 <Offset>
906 <AbsDimension x="5" y="0"/>
907 </Offset>
908 </Anchor>
909 </Anchors>
910 </Button>
911  
912 <Button name="$parent_Buff12" inherits="Perl_Party_BuffTemplate" id="12">
913 <Anchors>
914 <Anchor point="TOPLEFT" relativeTo="$parent_Buff11" relativePoint="TOPRIGHT">
915 <Offset>
916 <AbsDimension x="5" y="0"/>
917 </Offset>
918 </Anchor>
919 </Anchors>
920 </Button>
921  
922 <Button name="$parent_Buff13" inherits="Perl_Party_BuffTemplate" id="13">
923 <Anchors>
924 <Anchor point="TOPLEFT" relativeTo="$parent_Buff12" relativePoint="TOPRIGHT">
925 <Offset>
926 <AbsDimension x="5" y="0"/>
927 </Offset>
928 </Anchor>
929 </Anchors>
930 </Button>
931  
932 <Button name="$parent_Buff14" inherits="Perl_Party_BuffTemplate" id="14">
933 <Anchors>
934 <Anchor point="TOPLEFT" relativeTo="$parent_Buff13" relativePoint="TOPRIGHT">
935 <Offset>
936 <AbsDimension x="5" y="0"/>
937 </Offset>
938 </Anchor>
939 </Anchors>
940 </Button>
941  
942 <Button name="$parent_Buff15" inherits="Perl_Party_BuffTemplate" id="15">
943 <Anchors>
944 <Anchor point="TOPLEFT" relativeTo="$parent_Buff14" relativePoint="TOPRIGHT">
945 <Offset>
946 <AbsDimension x="5" y="0"/>
947 </Offset>
948 </Anchor>
949 </Anchors>
950 </Button>
951  
952 <Button name="$parent_Buff16" inherits="Perl_Party_BuffTemplate" id="16">
953 <Anchors>
954 <Anchor point="TOPLEFT" relativeTo="$parent_Buff15" relativePoint="TOPRIGHT">
955 <Offset>
956 <AbsDimension x="5" y="0"/>
957 </Offset>
958 </Anchor>
959 </Anchors>
960 </Button>
961  
962 <Button name="$parent_Debuff1" inherits="Perl_Party_BuffTemplate" id="17">
963 <Anchors>
964 <Anchor point="TOPLEFT" relativeTo="$parent_Buff1" relativePoint="BOTTOMLEFT">
965 <Offset>
966 <AbsDimension x="197" y="74"/> <!-- 197, 74 -->
967 </Offset>
968 </Anchor>
969 </Anchors>
970 </Button>
971  
972 <Button name="$parent_Debuff2" inherits="Perl_Party_BuffTemplate" id="18">
973 <Anchors>
974 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff1" relativePoint="TOPRIGHT">
975 <Offset>
976 <AbsDimension x="5" y="0"/>
977 </Offset>
978 </Anchor>
979 </Anchors>
980 </Button>
981  
982 <Button name="$parent_Debuff3" inherits="Perl_Party_BuffTemplate" id="19">
983 <Anchors>
984 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff2" relativePoint="TOPRIGHT">
985 <Offset>
986 <AbsDimension x="5" y="0"/>
987 </Offset>
988 </Anchor>
989 </Anchors>
990 </Button>
991  
992 <Button name="$parent_Debuff4" inherits="Perl_Party_BuffTemplate" id="20">
993 <Anchors>
994 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff3" relativePoint="TOPRIGHT">
995 <Offset>
996 <AbsDimension x="5" y="0"/>
997 </Offset>
998 </Anchor>
999 </Anchors>
1000 </Button>
1001  
1002 <Button name="$parent_Debuff5" inherits="Perl_Party_BuffTemplate" id="21">
1003 <Anchors>
1004 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff4" relativePoint="TOPRIGHT">
1005 <Offset>
1006 <AbsDimension x="5" y="0"/>
1007 </Offset>
1008 </Anchor>
1009 </Anchors>
1010 </Button>
1011  
1012 <Button name="$parent_Debuff6" inherits="Perl_Party_BuffTemplate" id="22">
1013 <Anchors>
1014 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff5" relativePoint="TOPRIGHT">
1015 <Offset>
1016 <AbsDimension x="5" y="0"/>
1017 </Offset>
1018 </Anchor>
1019 </Anchors>
1020 </Button>
1021  
1022 <Button name="$parent_Debuff7" inherits="Perl_Party_BuffTemplate" id="23">
1023 <Anchors>
1024 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff6" relativePoint="TOPRIGHT">
1025 <Offset>
1026 <AbsDimension x="5" y="0"/>
1027 </Offset>
1028 </Anchor>
1029 </Anchors>
1030 </Button>
1031  
1032 <Button name="$parent_Debuff8" inherits="Perl_Party_BuffTemplate" id="24">
1033 <Anchors>
1034 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff7" relativePoint="TOPRIGHT">
1035 <Offset>
1036 <AbsDimension x="5" y="0"/>
1037 </Offset>
1038 </Anchor>
1039 </Anchors>
1040 </Button>
1041  
1042 <Button name="$parent_Debuff9" inherits="Perl_Party_BuffTemplate" id="25">
1043 <Anchors>
1044 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff8" relativePoint="TOPRIGHT">
1045 <Offset>
1046 <AbsDimension x="5" y="0"/>
1047 </Offset>
1048 </Anchor>
1049 </Anchors>
1050 </Button>
1051  
1052 <Button name="$parent_Debuff10" inherits="Perl_Party_BuffTemplate" id="26">
1053 <Anchors>
1054 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff9" relativePoint="TOPRIGHT">
1055 <Offset>
1056 <AbsDimension x="5" y="0"/>
1057 </Offset>
1058 </Anchor>
1059 </Anchors>
1060 </Button>
1061  
1062 <Button name="$parent_Debuff11" inherits="Perl_Party_BuffTemplate" id="27">
1063 <Anchors>
1064 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff10" relativePoint="TOPRIGHT">
1065 <Offset>
1066 <AbsDimension x="5" y="0"/>
1067 </Offset>
1068 </Anchor>
1069 </Anchors>
1070 </Button>
1071  
1072 <Button name="$parent_Debuff12" inherits="Perl_Party_BuffTemplate" id="28">
1073 <Anchors>
1074 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff11" relativePoint="TOPRIGHT">
1075 <Offset>
1076 <AbsDimension x="5" y="0"/>
1077 </Offset>
1078 </Anchor>
1079 </Anchors>
1080 </Button>
1081  
1082 <Button name="$parent_Debuff13" inherits="Perl_Party_BuffTemplate" id="29">
1083 <Anchors>
1084 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff12" relativePoint="TOPRIGHT">
1085 <Offset>
1086 <AbsDimension x="5" y="0"/>
1087 </Offset>
1088 </Anchor>
1089 </Anchors>
1090 </Button>
1091  
1092 <Button name="$parent_Debuff14" inherits="Perl_Party_BuffTemplate" id="30">
1093 <Anchors>
1094 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff13" relativePoint="TOPRIGHT">
1095 <Offset>
1096 <AbsDimension x="5" y="0"/>
1097 </Offset>
1098 </Anchor>
1099 </Anchors>
1100 </Button>
1101  
1102 <Button name="$parent_Debuff15" inherits="Perl_Party_BuffTemplate" id="31">
1103 <Anchors>
1104 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff14" relativePoint="TOPRIGHT">
1105 <Offset>
1106 <AbsDimension x="5" y="0"/>
1107 </Offset>
1108 </Anchor>
1109 </Anchors>
1110 </Button>
1111  
1112 <Button name="$parent_Debuff16" inherits="Perl_Party_BuffTemplate" id="32">
1113 <Anchors>
1114 <Anchor point="TOPLEFT" relativeTo="$parent_Debuff15" relativePoint="TOPRIGHT">
1115 <Offset>
1116 <AbsDimension x="5" y="0"/>
1117 </Offset>
1118 </Anchor>
1119 </Anchors>
1120 </Button>
1121 <!-- End buttons -->
1122 </Frames>
1123 </Frame>
1124 </Frames>
1125 </Frame>
1126  
1127  
1128 <!-- The Real Frames -->
1129 <Frame name="Perl_Party_Frame" movable="true" frameStrata="LOW" parent="UIParent">
1130 <Size>
1131 <AbsDimension x="225" y="42"/>
1132 </Size>
1133 <Anchors>
1134 <Anchor point="TOPLEFT">
1135 <Offset>
1136 <AbsDimension x="-8" y="-187"/>
1137 </Offset>
1138 </Anchor>
1139 </Anchors>
1140 <Frames>
1141 <Frame name="Perl_Party_Background">
1142 <Size>
1143 <AbsDimension x="225" y="42"/>
1144 </Size>
1145 <Anchors>
1146 <Anchor point="TOPLEFT">
1147 <Offset>
1148 <AbsDimension x="0" y="0"/>
1149 </Offset>
1150 </Anchor>
1151 </Anchors>
1152 <!--
1153 <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1154 <EdgeSize>
1155 <AbsValue val="16"/>
1156 </EdgeSize>
1157 <TileSize>
1158 <AbsValue val="16"/>
1159 </TileSize>
1160 <BackgroundInsets>
1161 <AbsInset left="5" right="5" top="5" bottom="5"/>
1162 </BackgroundInsets>
1163 </Backdrop>
1164 -->
1165 </Frame>
1166 <Frame name="Perl_Party_MemberFrame1" inherits="Perl_Party_FrameTemplate" id="1">
1167 <Anchors>
1168 <Anchor point="TOPLEFT" relativeTo="Perl_Party_Frame">
1169 <Offset>
1170 <AbsDimension x="5" y="-5"/>
1171 </Offset>
1172 </Anchor>
1173 </Anchors>
1174 </Frame>
1175 <Frame name="Perl_Party_MemberFrame2" inherits="Perl_Party_FrameTemplate" id="2">
1176 <Anchors>
1177 <Anchor point="TOPLEFT" relativeTo="Perl_Party_MemberFrame1">
1178 <Offset>
1179 <AbsDimension x="0" y="-80"/>
1180 </Offset>
1181 </Anchor>
1182 </Anchors>
1183 </Frame>
1184 <Frame name="Perl_Party_MemberFrame3" inherits="Perl_Party_FrameTemplate" id="3">
1185 <Anchors>
1186 <Anchor point="TOPLEFT" relativeTo="Perl_Party_MemberFrame2">
1187 <Offset>
1188 <AbsDimension x="0" y="-80"/>
1189 </Offset>
1190 </Anchor>
1191 </Anchors>
1192 </Frame>
1193 <Frame name="Perl_Party_MemberFrame4" inherits="Perl_Party_FrameTemplate" id="4">
1194 <Anchors>
1195 <Anchor point="TOPLEFT" relativeTo="Perl_Party_MemberFrame3">
1196 <Offset>
1197 <AbsDimension x="0" y="-80"/>
1198 </Offset>
1199 </Anchor>
1200 </Anchors>
1201 </Frame>
1202 </Frames>
1203 </Frame>
1204  
1205  
1206 <Frame name="Perl_Party_Script_Frame" movable="true" parent="UIParent" hidden="false" enableMouse="true">
1207 <Scripts>
1208 <OnEvent>
1209 Perl_Party_Script_OnEvent(event);
1210 </OnEvent>
1211 <OnLoad>
1212 Perl_Party_Script_OnLoad();
1213 </OnLoad>
1214 </Scripts>
1215 </Frame>
1216 </Ui>