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_Player.lua"/>
4  
5  
6 <!-- Real Frames -->
7 <Frame name="Perl_Player_Frame" movable="true" parent="UIParent" hidden="true" enableMouse="true">
8 <Size>
9 <!-- 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) -->
10 <AbsDimension x="200" y="24"/>
11 </Size>
12 <Anchors>
13 <Anchor point="TOPLEFT">
14 <Offset>
15 <AbsDimension x="-3" y="-43"/>
16 </Offset>
17 </Anchor>
18 </Anchors>
19  
20  
21 <!-- Script Events -->
22 <Scripts>
23 <OnLoad>
24 Perl_Player_OnLoad();
25 </OnLoad>
26 <OnEvent>
27 Perl_Player_OnEvent(event);
28 </OnEvent>
29 <OnUpdate>
30 Perl_Player_Portrait_Combat_Text();
31 </OnUpdate>
32 </Scripts>
33  
34  
35 <!-- Main Frames -->
36 <Frames>
37 <!-- Frame for the drop down menu. -->
38 <Frame name="Perl_Player_DropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
39 <Size>
40 <AbsDimension x="10" y="10"/>
41 </Size>
42 <Anchors>
43 <Anchor point="TOP">
44 <Offset>
45 <AbsDimension x="0" y="0"/>
46 </Offset>
47 </Anchor>
48 </Anchors>
49 <Scripts>
50 <OnLoad>
51 Perl_PlayerDropDown_OnLoad();
52 </OnLoad>
53 </Scripts>
54 </Frame>
55  
56  
57 <!-- Player Name -->
58 <Frame name="Perl_Player_NameFrame">
59 <Size>
60 <AbsDimension x="200" y="24"/>
61 </Size>
62 <Anchors>
63 <Anchor point="TOPLEFT">
64 <Offset>
65 <AbsDimension x="0" y="0"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
70 <EdgeSize>
71 <AbsValue val="16"/>
72 </EdgeSize>
73 <TileSize>
74 <AbsValue val="16"/>
75 </TileSize>
76 <BackgroundInsets>
77 <AbsInset left="5" right="5" top="5" bottom="5"/>
78 </BackgroundInsets>
79 </Backdrop>
80 <Layers>
81 <Layer level="OVERLAY">
82 <!-- Rest/Combat Icon -->
83 <Texture name="Perl_Player_ActivityStatus" file="Interface\CharacterFrame\UI-StateIcon">
84 <Size>
85 <AbsDimension x="32" y="31"/>
86 </Size>
87 <Anchors>
88 <Anchor point="RIGHT" relativePoint="RIGHT">
89 <Offset>
90 <AbsDimension x="0" y="0"/>
91 </Offset>
92 </Anchor>
93 </Anchors>
94 </Texture>
95  
96 <!-- PVP Icon -->
97 <Texture name="Perl_Player_PVPStatus" file="Interface\TargetingFrame\UI-PVP-FFA">
98 <Size>
99 <AbsDimension x="32" y="32"/>
100 </Size>
101 <Anchors>
102 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
103 <Offset>
104 <AbsDimension x="2" y="-2"/>
105 </Offset>
106 </Anchor>
107 </Anchors>
108 </Texture>
109  
110 <!-- Leader Icon -->
111 <Texture name="Perl_Player_LeaderIcon" file="Interface\GroupFrame\UI-Group-LeaderIcon" hidden="true">
112 <Size>
113 <AbsDimension x="16" y="16"/>
114 </Size>
115 <Anchors>
116 <Anchor point="TOP">
117 <Offset>
118 <AbsDimension x="0" y="7"/>
119 </Offset>
120 </Anchor>
121 </Anchors>
122 </Texture>
123  
124 <!-- Master Icon -->
125 <Texture name="Perl_Player_MasterIcon" file="Interface\GroupFrame\UI-Group-MasterLooter" hidden="true">
126 <Size>
127 <AbsDimension x="16" y="16"/>
128 </Size>
129 <Anchors>
130 <Anchor point="TOPLEFT">
131 <Offset>
132 <AbsDimension x="65" y="7"/>
133 </Offset>
134 </Anchor>
135 </Anchors>
136 </Texture>
137 </Layer>
138 </Layers>
139 </Frame>
140  
141  
142 <!-- Player Name Frame for ArcaneBar improvement -->
143 <Frame name="Perl_Player_Name">
144 <Size>
145 <AbsDimension x="200" y="24"/>
146 </Size>
147 <Anchors>
148 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Player_NameFrame">
149 <Offset>
150 <AbsDimension x="0" y="0"/>
151 </Offset>
152 </Anchor>
153 </Anchors>
154 <Frames>
155 <Button name="Perl_Player_Name_CastClickOverlay">
156 <Size>
157 <AbsDimension x="200" y="24"/>
158 </Size>
159 <Anchors>
160 <Anchor point="TOPLEFT">
161 <Offset>
162 <AbsDimension x="0" y="0"/>
163 </Offset>
164 </Anchor>
165 </Anchors>
166 <Scripts>
167 <OnLoad>
168 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
169 </OnLoad>
170 <OnClick>
171 Perl_Player_MouseClick(arg1);
172 </OnClick>
173 <OnMouseDown>
174 Perl_Player_MouseDown(arg1);
175 </OnMouseDown>
176 <OnMouseUp>
177 Perl_Player_MouseUp(arg1);
178 </OnMouseUp>
179 </Scripts>
180 </Button>
181 </Frames>
182 <Layers>
183 <Layer level="OVERLAY">
184 <!-- Name Text -->
185 <Fontstring name="Perl_Player_NameBarText" inherits="GameFontNormal" text="Error!">
186 <Anchors>
187 <Anchor point="LEFT" relativeTo="Perl_Player_ClassTexture" relativePoint="RIGHT">
188 <Offset>
189 <AbsDimension x="5" y="0"/>
190 </Offset>
191 </Anchor>
192 </Anchors>
193 <Color r="1" g="1" b="0"/>
194 </Fontstring>
195 </Layer>
196 </Layers>
197 </Frame>
198  
199  
200 <!-- Player Raid Group Number Frame -->
201 <Frame name="Perl_Player_RaidGroupNumberFrame">
202 <Size>
203 <AbsDimension x="65" y="24"/>
204 </Size>
205 <Anchors>
206 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Player_NameFrame">
207 <Offset>
208 <AbsDimension x="0" y="20"/>
209 </Offset>
210 </Anchor>
211 </Anchors>
212 <Frames>
213 <Button name="Perl_Player_RaidGroupNumberFrame_CastClickOverlay">
214 <Size>
215 <AbsDimension x="65" y="24"/>
216 </Size>
217 <Anchors>
218 <Anchor point="TOPLEFT">
219 <Offset>
220 <AbsDimension x="0" y="0"/>
221 </Offset>
222 </Anchor>
223 </Anchors>
224 <Scripts>
225 <OnLoad>
226 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
227 </OnLoad>
228 <OnClick>
229 Perl_Player_MouseClick(arg1);
230 </OnClick>
231 <OnMouseDown>
232 Perl_Player_MouseDown(arg1);
233 </OnMouseDown>
234 <OnMouseUp>
235 Perl_Player_MouseUp(arg1);
236 </OnMouseUp>
237 </Scripts>
238 </Button>
239 </Frames>
240 <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
241 <EdgeSize>
242 <AbsValue val="16"/>
243 </EdgeSize>
244 <TileSize>
245 <AbsValue val="16"/>
246 </TileSize>
247 <BackgroundInsets>
248 <AbsInset left="5" right="5" top="5" bottom="5"/>
249 </BackgroundInsets>
250 </Backdrop>
251 <Layers>
252 <Layer level="OVERLAY">
253 <!-- Raid Group Number Text -->
254 <Fontstring name="Perl_Player_RaidGroupNumberBarText" inherits="GameFontNormal" text="Error!">
255 <Anchors>
256 <Anchor point="TOP">
257 <Offset>
258 <AbsDimension x="0" y="-5"/>
259 </Offset>
260 </Anchor>
261 </Anchors>
262 </Fontstring>
263 </Layer>
264 </Layers>
265 </Frame>
266  
267  
268 <!-- Level Frame -->
269 <Frame name="Perl_Player_LevelFrame">
270 <Size>
271 <AbsDimension x="34" y="42"/>
272 </Size>
273 <Anchors>
274 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Player_NameFrame">
275 <Offset>
276 <AbsDimension x="0" y="5"/>
277 </Offset>
278 </Anchor>
279 </Anchors>
280 <Frames>
281 <Button name="Perl_Player_LevelFrame_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_Player_MouseClick(arg1);
298 </OnClick>
299 <OnMouseDown>
300 Perl_Player_MouseDown(arg1);
301 </OnMouseDown>
302 <OnMouseUp>
303 Perl_Player_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="Perl_Player_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="Perl_Player_LevelFrame_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="Perl_Player_PortraitFrame">
352 <Size>
353 <AbsDimension x="60" y="61"/>
354 </Size>
355 <Anchors>
356 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="Perl_Player_NameFrame">
357 <Offset>
358 <AbsDimension x="5" y="0"/>
359 </Offset>
360 </Anchor>
361 </Anchors>
362 <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
363 <EdgeSize>
364 <AbsValue val="16"/>
365 </EdgeSize>
366 <TileSize>
367 <AbsValue val="16"/>
368 </TileSize>
369 <BackgroundInsets>
370 <AbsInset left="5" right="5" top="5" bottom="5"/>
371 </BackgroundInsets>
372 </Backdrop>
373 <Frames>
374 <Button name="Perl_Player_PortraitFrame_CastClickOverlay">
375 <Size>
376 <AbsDimension x="60" y="61"/>
377 </Size>
378 <Anchors>
379 <Anchor point="TOPLEFT">
380 <Offset>
381 <AbsDimension x="0" y="0"/>
382 </Offset>
383 </Anchor>
384 </Anchors>
385 <Scripts>
386 <OnLoad>
387 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
388 </OnLoad>
389 <OnClick>
390 Perl_Player_MouseClick(arg1);
391 </OnClick>
392 <OnMouseDown>
393 Perl_Player_MouseDown(arg1);
394 </OnMouseDown>
395 <OnMouseUp>
396 Perl_Player_MouseUp(arg1);
397 </OnMouseUp>
398 </Scripts>
399 </Button>
400 <PlayerModel name="$parent_PlayerModel" hidden="true">
401 <Size>
402 <AbsDimension x="50" y="50"/>
403 </Size>
404 <Anchors>
405 <Anchor point="CENTER">
406 <Offset>
407 <AbsDimension x="1" y="-1"/>
408 </Offset>
409 </Anchor>
410 </Anchors>
411 <Scripts>
412 <OnUpdate>
413 this:SetCamera(0);
414 </OnUpdate>
415 </Scripts>
416 </PlayerModel>
417 </Frames>
418 <Layers>
419 <!-- Portrait -->
420 <Layer level="ARTWORK">
421 <Texture name="Perl_Player_Portrait">
422 <Size>
423 <AbsDimension x="48" y="48"/>
424 </Size>
425 <Anchors>
426 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_PortraitFrame">
427 <Offset>
428 <AbsDimension x="0" y="-6"/>
429 </Offset>
430 </Anchor>
431 </Anchors>
432 </Texture>
433 </Layer>
434 </Layers>
435 </Frame>
436  
437  
438 <!-- Portrait Text Frame -->
439 <Frame name="Perl_Player_PortraitTextFrame">
440 <Size>
441 <AbsDimension x="60" y="61"/>
442 </Size>
443 <Anchors>
444 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Player_PortraitFrame">
445 <Offset>
446 <AbsDimension x="0" y="0"/>
447 </Offset>
448 </Anchor>
449 </Anchors>
450 <Layers>
451 <Layer level="OVERLAY">
452 <Fontstring name="Perl_Player_HitIndicator" inherits="NumberFontNormalHuge" hidden="true" text="Error!">
453 <FontHeight>
454 <AbsValue val="30"/>
455 </FontHeight>
456 <Color r="1.0" g="1.0" b="1.0"/>
457 <Anchors>
458 <Anchor point="CENTER" relativePoint="CENTER" relativeTo="Perl_Player_PortraitFrame">
459 <Offset>
460 <AbsDimension x="0" y="0"/>
461 </Offset>
462 </Anchor>
463 </Anchors>
464 </Fontstring>
465 </Layer>
466 </Layers>
467 </Frame>
468  
469  
470 <!-- Player Stats -->
471 <Frame name="Perl_Player_StatsFrame">
472 <Size>
473 <AbsDimension x="240" y="54"/>
474 </Size>
475 <Anchors>
476 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Player_NameFrame">
477 <Offset>
478 <AbsDimension x="30" y="5"/>
479 </Offset>
480 </Anchor>
481 </Anchors>
482 <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
483 <EdgeSize>
484 <AbsValue val="16"/>
485 </EdgeSize>
486 <TileSize>
487 <AbsValue val="16"/>
488 </TileSize>
489 <BackgroundInsets>
490 <AbsInset left="5" right="5" top="5" bottom="5"/>
491 </BackgroundInsets>
492 </Backdrop>
493 <Frames>
494 <!-- 1.10 Click Solution -->
495 <Button name="Perl_Player_StatsFrame_CastClickOverlay">
496 <Size>
497 <AbsDimension x="240" y="54"/>
498 </Size>
499 <Anchors>
500 <Anchor point="TOPLEFT">
501 <Offset>
502 <AbsDimension x="0" y="0"/>
503 </Offset>
504 </Anchor>
505 </Anchors>
506 <Scripts>
507 <OnLoad>
508 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
509 </OnLoad>
510 <OnClick>
511 Perl_Player_MouseClick(arg1);
512 </OnClick>
513 <OnMouseDown>
514 Perl_Player_MouseDown(arg1);
515 </OnMouseDown>
516 <OnMouseUp>
517 Perl_Player_MouseUp(arg1);
518 </OnMouseUp>
519 </Scripts>
520 </Button>
521  
522 <!-- Health Bar -->
523 <StatusBar name="Perl_Player_HealthBar" inherits="TextStatusBar">
524 <Size>
525 <AbsDimension x="150" y="10"/>
526 </Size>
527 <Anchors>
528 <Anchor point="TOPLEFT">
529 <Offset>
530 <AbsDimension x="10" y="-10"/>
531 </Offset>
532 </Anchor>
533 </Anchors>
534 <BarTexture name="Perl_Player_HealthBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
535 <BarColor r="0" g="0.8" b="0"/>
536 <Layers>
537 <!-- Text -->
538 <Layer level="OVERLAY">
539 <Fontstring name="Perl_Player_HealthBarText" inherits="GameFontNormalSmall" text="Error!">
540 <Anchors>
541 <Anchor point="RIGHT" relativePoint="RIGHT">
542 <Offset>
543 <AbsDimension x="70" y="0"/>
544 </Offset>
545 </Anchor>
546 </Anchors>
547 <Color r="1" g="1" b="1"/>
548 </Fontstring>
549 <Fontstring name="Perl_Player_HealthBarTextPercent" inherits="GameFontNormalSmall" text="Error!">
550 <Anchors>
551 <Anchor point="TOP" relativePoint="TOP">
552 <Offset>
553 <AbsDimension x="0" y="1"/>
554 </Offset>
555 </Anchor>
556 </Anchors>
557 <Color r="1" g="1" b="1"/>
558 </Fontstring>
559 <Fontstring name="Perl_Player_HealthBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
560 <Anchors>
561 <Anchor point="RIGHT" relativePoint="RIGHT">
562 <Offset>
563 <AbsDimension x="35" y="0"/>
564 </Offset>
565 </Anchor>
566 </Anchors>
567 <Color r="1" g="1" b="1"/>
568 </Fontstring>
569 </Layer>
570 </Layers>
571 </StatusBar>
572 <StatusBar name="Perl_Player_HealthBarBG" inherits="TextStatusBar">
573 <Size>
574 <AbsDimension x="150" y="10"/>
575 </Size>
576 <Anchors>
577 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_HealthBar">
578 <Offset>
579 <AbsDimension x="0" y="0"/>
580 </Offset>
581 </Anchor>
582 </Anchors>
583 <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
584 <BarColor r="0" g="0.8" b="0" a="0.25"/>
585 </StatusBar>
586 <Button name="Perl_Player_HealthBar_CastClickOverlay">
587 <Size>
588 <AbsDimension x="150" y="10"/>
589 </Size>
590 <Anchors>
591 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_HealthBar">
592 <Offset>
593 <AbsDimension x="0" y="0"/>
594 </Offset>
595 </Anchor>
596 </Anchors>
597 <Scripts>
598 <OnLoad>
599 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
600 </OnLoad>
601 <OnEnter>
602 Perl_Player_HealthShow();
603 </OnEnter>
604 <OnLeave>
605 Perl_Player_HealthHide();
606 </OnLeave>
607 <OnClick>
608 Perl_Player_MouseClick(arg1);
609 </OnClick>
610 <OnMouseDown>
611 Perl_Player_MouseDown(arg1);
612 </OnMouseDown>
613 <OnMouseUp>
614 Perl_Player_MouseUp(arg1);
615 </OnMouseUp>
616 </Scripts>
617 </Button>
618  
619 <!-- Mana Bar -->
620 <StatusBar name="Perl_Player_ManaBar" inherits="TextStatusBar">
621 <Size>
622 <AbsDimension x="150" y="10"/>
623 </Size>
624 <Anchors>
625 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="Perl_Player_HealthBar">
626 <Offset>
627 <AbsDimension x="0" y="-2"/>
628 </Offset>
629 </Anchor>
630 </Anchors>
631 <BarTexture name="Perl_Player_ManaBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
632 <BarColor r="0" g="0" b="1"/>
633 <Layers>
634 <!-- Text -->
635 <Layer level="OVERLAY">
636 <Fontstring name="Perl_Player_ManaBarText" inherits="GameFontNormalSmall" text="Error!">
637 <Anchors>
638 <Anchor point="RIGHT" relativePoint="RIGHT">
639 <Offset>
640 <AbsDimension x="70" y="0"/>
641 </Offset>
642 </Anchor>
643 </Anchors>
644 <Color r="1" g="1" b="1"/>
645 </Fontstring>
646 <Fontstring name="Perl_Player_ManaBarTextPercent" inherits="GameFontNormalSmall" text="Error!">
647 <Anchors>
648 <Anchor point="TOP" relativePoint="TOP">
649 <Offset>
650 <AbsDimension x="0" y="1"/>
651 </Offset>
652 </Anchor>
653 </Anchors>
654 <Color r="1" g="1" b="1"/>
655 </Fontstring>
656 <Fontstring name="Perl_Player_ManaBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
657 <Anchors>
658 <Anchor point="RIGHT" relativePoint="RIGHT">
659 <Offset>
660 <AbsDimension x="35" y="0"/>
661 </Offset>
662 </Anchor>
663 </Anchors>
664 <Color r="1" g="1" b="1"/>
665 </Fontstring>
666 </Layer>
667 </Layers>
668 </StatusBar>
669 <StatusBar name="Perl_Player_ManaBarBG" inherits="TextStatusBar">
670 <Size>
671 <AbsDimension x="150" y="10"/>
672 </Size>
673 <Anchors>
674 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_ManaBar">
675 <Offset>
676 <AbsDimension x="0" y="0"/>
677 </Offset>
678 </Anchor>
679 </Anchors>
680 <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
681 <BarColor r="0" g="0" b="1" a="0.25"/>
682 </StatusBar>
683 <Button name="Perl_Player_ManaBar_CastClickOverlay">
684 <Size>
685 <AbsDimension x="150" y="10"/>
686 </Size>
687 <Anchors>
688 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_ManaBar">
689 <Offset>
690 <AbsDimension x="0" y="0"/>
691 </Offset>
692 </Anchor>
693 </Anchors>
694 <Scripts>
695 <OnLoad>
696 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
697 </OnLoad>
698 <OnEnter>
699 Perl_Player_ManaShow();
700 </OnEnter>
701 <OnLeave>
702 Perl_Player_ManaHide();
703 </OnLeave>
704 <OnClick>
705 Perl_Player_MouseClick(arg1);
706 </OnClick>
707 <OnMouseDown>
708 Perl_Player_MouseDown(arg1);
709 </OnMouseDown>
710 <OnMouseUp>
711 Perl_Player_MouseUp(arg1);
712 </OnMouseUp>
713 </Scripts>
714 </Button>
715  
716 <!-- Druid Mana Bar -->
717 <StatusBar name="Perl_Player_DruidBar" inherits="TextStatusBar">
718 <Size>
719 <AbsDimension x="150" y="10"/>
720 </Size>
721 <Anchors>
722 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="Perl_Player_HealthBar">
723 <Offset>
724 <AbsDimension x="0" y="-2"/>
725 </Offset>
726 </Anchor>
727 </Anchors>
728 <BarTexture name="Perl_Player_DruidBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
729 <BarColor r="0" g="0" b="1"/>
730 <Layers>
731 <!-- Text -->
732 <Layer level="OVERLAY">
733 <Fontstring name="Perl_Player_DruidBarText" inherits="GameFontNormalSmall" text="Error!">
734 <Anchors>
735 <Anchor point="RIGHT" relativePoint="RIGHT">
736 <Offset>
737 <AbsDimension x="70" y="0"/>
738 </Offset>
739 </Anchor>
740 </Anchors>
741 <Color r="1" g="1" b="1"/>
742 </Fontstring>
743 <Fontstring name="Perl_Player_DruidBarTextPercent" inherits="GameFontNormalSmall" text="Error!">
744 <Anchors>
745 <Anchor point="TOP" relativePoint="TOP">
746 <Offset>
747 <AbsDimension x="0" y="1"/>
748 </Offset>
749 </Anchor>
750 </Anchors>
751 <Color r="1" g="1" b="1"/>
752 </Fontstring>
753 <Fontstring name="Perl_Player_DruidBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
754 <Anchors>
755 <Anchor point="RIGHT" relativePoint="RIGHT">
756 <Offset>
757 <AbsDimension x="35" y="0"/>
758 </Offset>
759 </Anchor>
760 </Anchors>
761 <Color r="1" g="1" b="1"/>
762 </Fontstring>
763 </Layer>
764 </Layers>
765 </StatusBar>
766 <StatusBar name="Perl_Player_DruidBarBG" inherits="TextStatusBar">
767 <Size>
768 <AbsDimension x="150" y="10"/>
769 </Size>
770 <Anchors>
771 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_DruidBar">
772 <Offset>
773 <AbsDimension x="0" y="0"/>
774 </Offset>
775 </Anchor>
776 </Anchors>
777 <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
778 <BarColor r="0" g="0" b="1" a="0.25"/>
779 </StatusBar>
780 <Button name="Perl_Player_DruidBar_CastClickOverlay">
781 <Size>
782 <AbsDimension x="150" y="10"/>
783 </Size>
784 <Anchors>
785 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_DruidBar">
786 <Offset>
787 <AbsDimension x="0" y="0"/>
788 </Offset>
789 </Anchor>
790 </Anchors>
791 <Scripts>
792 <OnLoad>
793 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
794 </OnLoad>
795 <OnEnter>
796 Perl_Player_DruidBarManaShow();
797 </OnEnter>
798 <OnLeave>
799 Perl_Player_DruidBarManaHide();
800 </OnLeave>
801 <OnClick>
802 Perl_Player_MouseClick(arg1);
803 </OnClick>
804 <OnMouseDown>
805 Perl_Player_MouseDown(arg1);
806 </OnMouseDown>
807 <OnMouseUp>
808 Perl_Player_MouseUp(arg1);
809 </OnMouseUp>
810 </Scripts>
811 </Button>
812  
813 <!-- XP Bar -->
814 <StatusBar name="Perl_Player_XPBar" inherits="TextStatusBar">
815 <Size>
816 <AbsDimension x="220" y="10"/>
817 </Size>
818 <Anchors>
819 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Player_ManaBar">
820 <Offset>
821 <AbsDimension x="0" y="-2"/>
822 </Offset>
823 </Anchor>
824 </Anchors>
825 <BarTexture name="Perl_Player_XPBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
826 <BarColor r="0" g="0.6" b="0.6"/>
827 <Layers>
828 <!-- Text -->
829 <Layer level="OVERLAY">
830 <Fontstring name="Perl_Player_XPBarText" inherits="GameFontNormalSmall" text="Error!">
831 <Anchors>
832 <Anchor point="TOP" relativePoint="TOP">
833 <Offset>
834 <AbsDimension x="0" y="1"/>
835 </Offset>
836 </Anchor>
837 </Anchors>
838 <Color r="1" g="1" b="1"/>
839 </Fontstring>
840 </Layer>
841 </Layers>
842 </StatusBar>
843 <StatusBar name="Perl_Player_XPBarBG" inherits="TextStatusBar">
844 <Size>
845 <AbsDimension x="220" y="10"/>
846 </Size>
847 <Anchors>
848 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_XPBar">
849 <Offset>
850 <AbsDimension x="0" y="0"/>
851 </Offset>
852 </Anchor>
853 </Anchors>
854 <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
855 <BarColor r="0" g="0.6" b="0.6" a="0.25"/>
856 </StatusBar>
857 <StatusBar name="Perl_Player_XPRestBar" inherits="TextStatusBar">
858 <Size>
859 <AbsDimension x="220" y="10"/>
860 </Size>
861 <Anchors>
862 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_XPBar">
863 <Offset>
864 <AbsDimension x="0" y="0"/>
865 </Offset>
866 </Anchor>
867 </Anchors>
868 <BarTexture name="Perl_Player_XPRestBarTex" file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
869 <BarColor r="0" g="0.6" b="0.6" a="0.5"/>
870 </StatusBar>
871 <Button name="Perl_Player_XPBar_CastClickOverlay">
872 <Size>
873 <AbsDimension x="220" y="10"/>
874 </Size>
875 <Anchors>
876 <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Player_XPBar">
877 <Offset>
878 <AbsDimension x="0" y="0"/>
879 </Offset>
880 </Anchor>
881 </Anchors>
882 <Scripts>
883 <OnLoad>
884 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
885 </OnLoad>
886 <OnEnter>
887 Perl_Player_XPTooltip();
888 </OnEnter>
889 <OnLeave>
890 GameTooltip:Hide();
891 </OnLeave>
892 <OnClick>
893 Perl_Player_MouseClick(arg1);
894 </OnClick>
895 <OnMouseDown>
896 Perl_Player_MouseDown(arg1);
897 </OnMouseDown>
898 <OnMouseUp>
899 Perl_Player_MouseUp(arg1);
900 </OnMouseUp>
901 </Scripts>
902 </Button>
903 </Frames>
904 </Frame>
905 </Frames>
906 </Frame>
907 </Ui>