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/ ..\FrameXML\UI.xsd">
2 <Script file="HA_BS_localization.lua"/>
3 <Script file="HA_BonusScanner.lua"/>
4 <Script file="HA_plugins.lua"/>
5 <Script file="HA_spells.lua"/>
6 <Script file="gui_localization.lua"/>
7 <Script file="localization.lua"/>
8 <Script file="HA_chronos.lua"/>
9 <Script file="HA_regexpr.lua"/>
10 <Script file="HA_gui.lua"/>
11 <Script file="HA_comm.lua"/>
12 <Script file="HealersAssist.lua"/>
13  
14 <GameTooltip name="HealersAssistTooltip" parent="UIParent" inherits="GameTooltipTemplate" hidden="true"/>
15  
16 <Frame name="HASystemFrame" frameStrata="LOW" enableMouse="false" hidden="false">
17 <Scripts>
18 <OnLoad>
19 HASystem_OnLoad();
20 </OnLoad>
21 <OnUpdate>
22 HASystem_OnUpdate(arg1);
23 </OnUpdate>
24 <OnEvent>
25 HASystem_OnEvent(event);
26 </OnEvent>
27 </Scripts>
28 </Frame>
29  
30 <Button name="HAColumnHeaderTemplate" virtual="true">
31 <Size>
32 <AbsDimension x="10" y="16"/>
33 </Size>
34 <Layers>
35 <Layer level="BACKGROUND">
36 <Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
37 <Size>
38 <AbsDimension x="5" y="16"/>
39 </Size>
40 <Anchors>
41 <Anchor point="TOPLEFT"/>
42 </Anchors>
43 <TexCoords left="0" right="0.078125" top="0" bottom="0.75"/>
44 </Texture>
45 <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
46 <Size>
47 <AbsDimension x="53" y="16"/>
48 </Size>
49 <Anchors>
50 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
51 </Anchors>
52 <TexCoords left="0.078125" right="0.90625" top="0" bottom="0.75"/>
53 </Texture>
54 <Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
55 <Size>
56 <AbsDimension x="4" y="16"/>
57 </Size>
58 <Anchors>
59 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
60 </Anchors>
61 <TexCoords left="0.90625" right="0.96875" top="0" bottom="0.75"/>
62 </Texture>
63 </Layer>
64 </Layers>
65 <Scripts>
66 <OnClick>
67 PlaySound("igMainMenuOptionCheckBoxOn");
68 HAHeader_SortByName(this.sortType);
69 </OnClick>
70 </Scripts>
71 <NormalText inherits="GameFontHighlightSmall">
72 <Anchors>
73 <Anchor point="LEFT">
74 <Offset>
75 <AbsDimension x="8" y="0"/>
76 </Offset>
77 </Anchor>
78 </Anchors>
79 </NormalText>
80 </Button>
81  
82 <Button name="HAItemTemplate" virtual="true">
83 <Size>
84 <AbsDimension x="260" y="16"/>
85 </Size>
86 <Layers>
87 <Layer level="OVERLAY">
88 <FontString name="$parentState" inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="CENTER">
89 <Size>
90 <AbsDimension x="58" y="14"/>
91 </Size>
92 <Anchors>
93 <Anchor point="TOPLEFT">
94 <Offset>
95 <AbsDimension x="71" y="-1"/>
96 </Offset>
97 </Anchor>
98 </Anchors>
99 </FontString>
100 </Layer>
101 </Layers>
102 <Frames>
103 <StatusBar name="$parentMPBar" inherits="TextStatusBar">
104 <Size>
105 <AbsDimension x="68" y="14"/>
106 </Size>
107 <Anchors>
108 <Anchor point="TOPLEFT">
109 <Offset>
110 <AbsDimension x="1" y="-1"/>
111 </Offset>
112 </Anchor>
113 </Anchors>
114 <Scripts>
115 <OnLoad>
116 this:SetMinMaxValues(0, 100);
117 </OnLoad>
118 </Scripts>
119 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
120 <BarColor r="0.1" g="0.1" b="0.9"/>
121 <Layers>
122 <Layer level="OVERLAY">
123 <FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT">
124 <Size>
125 <AbsDimension x="68" y="14"/>
126 </Size>
127 </FontString>
128 </Layer>
129 <Layer level="BACKGROUND">
130 <Texture name="$parentBG" file="Interface\TargetingFrame\UI-StatusBar">
131 <Size>
132 <AbsDimension x="68" y="12"/>
133 </Size>
134 </Texture>
135 </Layer>
136 </Layers>
137 </StatusBar>
138 <StatusBar name="$parentHPBar" inherits="TextStatusBar">
139 <Size>
140 <AbsDimension x="68" y="14"/>
141 </Size>
142 <Anchors>
143 <Anchor point="LEFT" relativeTo="$parentMPBar" relativePoint="RIGHT">
144 <Offset>
145 <AbsDimension x="62" y="0"/>
146 </Offset>
147 </Anchor>
148 </Anchors>
149 <Scripts>
150 <OnLoad>
151 this:SetMinMaxValues(0, 100);
152 </OnLoad>
153 </Scripts>
154 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
155 <BarColor r="0" g="1" b="0"/>
156 <Layers>
157 <Layer level="OVERLAY">
158 <FontString name="$parentText" inherits="GameFontHighlightSmall" justifyH="CENTER">
159 <Size>
160 <AbsDimension x="68" y="14"/>
161 </Size>
162 </FontString>
163 </Layer>
164 <Layer level="BACKGROUND">
165 <Texture name="$parentBG" file="Interface\TargetingFrame\UI-StatusBar">
166 <Size>
167 <AbsDimension x="68" y="12"/>
168 </Size>
169 </Texture>
170 </Layer>
171 </Layers>
172 </StatusBar>
173 <StatusBar name="$parentCTBar" inherits="TextStatusBar">
174 <Size>
175 <AbsDimension x="58" y="10"/>
176 </Size>
177 <Anchors>
178 <Anchor point="LEFT" relativeTo="$parentHPBar" relativePoint="RIGHT">
179 <Offset>
180 <AbsDimension x="2" y="0"/>
181 </Offset>
182 </Anchor>
183 </Anchors>
184 <Scripts>
185 <OnLoad>
186 this:SetMinMaxValues(0, 100);
187 </OnLoad>
188 </Scripts>
189 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
190 <BarColor r="1.0" g="0.7" b="0.2"/>
191 <Layers>
192 <Layer level="OVERLAY">
193 <FontString name="$parentText" inherits="GameFontHighlightSmall" justifyH="CENTER">
194 <Size>
195 <AbsDimension x="58" y="14"/>
196 </Size>
197 </FontString>
198 </Layer>
199 <Layer level="BACKGROUND">
200 <Texture name="$parentBG" file="Interface\TargetingFrame\UI-StatusBar">
201 <Size>
202 <AbsDimension x="58" y="10"/>
203 </Size>
204 </Texture>
205 </Layer>
206 </Layers>
207 </StatusBar>
208 <Button name="$parentClassSpecific1">
209 <Size>
210 <AbsDimension x="14" y="14"/>
211 </Size>
212 <Anchors>
213 <Anchor point="RIGHT" relativeTo="$parentMPBar" relativePoint="LEFT">
214 <Offset>
215 <AbsDimension x="-6" y="-1"/>
216 </Offset>
217 </Anchor>
218 </Anchors>
219 <Layers>
220 <Layer level="OVERLAY">
221 <Texture name="$parentTexture">
222 <Size>
223 <AbsDimension x="14" y="14"/>
224 </Size>
225 </Texture>
226 </Layer>
227 </Layers>
228 <Scripts>
229 <OnClick>
230 if(not this.isdead)
231 then
232 HA_GUI_ClassSpecificClick(this.ispell,this.me,this.cooldown);
233 end
234 </OnClick>
235 <OnEnter>
236 HA_GUI_ClassSpecificTooltip(this.spell,this.from,this.cooldown);
237 </OnEnter>
238 <OnLeave>
239 GameTooltip:Hide();
240 </OnLeave>
241 </Scripts>
242 </Button>
243 <Button name="$parentClassSpecific2">
244 <Size>
245 <AbsDimension x="14" y="14"/>
246 </Size>
247 <Anchors>
248 <Anchor point="RIGHT" relativeTo="$parentClassSpecific1" relativePoint="LEFT">
249 <Offset>
250 <AbsDimension x="-4" y="0"/>
251 </Offset>
252 </Anchor>
253 </Anchors>
254 <Layers>
255 <Layer level="OVERLAY">
256 <Texture name="$parentTexture">
257 <Size>
258 <AbsDimension x="14" y="14"/>
259 </Size>
260 </Texture>
261 </Layer>
262 </Layers>
263 <Scripts>
264 <OnClick>
265 if(not this.isdead)
266 then
267 HA_GUI_ClassSpecificClick(this.ispell,this.me,this.cooldown);
268 end
269 </OnClick>
270 <OnEnter>
271 HA_GUI_ClassSpecificTooltip(this.spell,this.from,this.cooldown);
272 </OnEnter>
273 <OnLeave>
274 GameTooltip:Hide();
275 </OnLeave>
276 </Scripts>
277 </Button>
278 <Frame name="$parentClick" setAllPoints="true">
279 <Size>
280 <AbsDimension x="260" y="16"/>
281 </Size>
282 <Anchors>
283 <Anchor point="TOPLEFT"/>
284 </Anchors>
285 <Frames>
286 <Button name="$parentFrame">
287 <Size>
288 <AbsDimension x="260" y="16"/>
289 </Size>
290 <Anchors>
291 <Anchor point="TOPLEFT"/>
292 </Anchors>
293 <Scripts>
294 <OnLoad>
295 this:RegisterForClicks("LeftButtonDown", "RightButtonDown", "MiddleButtonDown", "Button4Down", "Button5Down");
296 </OnLoad>
297 <OnClick>
298 local stopDefaultBehaviour;
299 if ( type(HA_CustomOnClickFunction) == "function" ) then
300 stopDefaultBehaviour = HA_CustomOnClickFunction(arg1, this.unitid);
301 end
302 if ( not stopDefaultBehaviour ) then
303 if ( SpellIsTargeting() ) then
304 SpellTargetUnit(this.unitid);
305 else
306 TargetUnit(this.unitid);
307 end
308 end
309 </OnClick>
310 </Scripts>
311 </Button>
312 </Frames>
313 </Frame>
314 </Frames>
315 <Scripts>
316 <OnLoad>
317 getglobal(this:GetName() .. "HPBarText"):SetVertexColor(1.0, 1.0, 1.0, 0.8);
318 getglobal(this:GetName() .. "MPBarBG"):SetVertexColor(0, 0, 1, 0.2);
319 getglobal(this:GetName() .. "HPBarBG"):SetVertexColor(0, 1, 0, 0.3);
320 getglobal(this:GetName() .. "CTBarBG"):SetVertexColor(1.0, 0.7, 0.2, 0.3);
321 </OnLoad>
322 </Scripts>
323 </Button>
324  
325 <Button name="HAItemEmergencyTemplate" virtual="true">
326 <Size>
327 <AbsDimension x="260" y="16"/>
328 </Size>
329 <Layers>
330 <Layer level="OVERLAY">
331 <FontString name="$parentName" inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="CENTER">
332 <Size>
333 <AbsDimension x="68" y="14"/>
334 </Size>
335 <Anchors>
336 <Anchor point="TOPLEFT">
337 <Offset>
338 <AbsDimension x="1" y="-1"/>
339 </Offset>
340 </Anchor>
341 </Anchors>
342 </FontString>
343 <FontString name="$parentCount" inherits="GameFontHighlightSmall" justifyH="CENTER" justifyV="CENTER">
344 <Size>
345 <AbsDimension x="58" y="14"/>
346 </Size>
347 <Anchors>
348 <Anchor point="TOPLEFT">
349 <Offset>
350 <AbsDimension x="141" y="0"/>
351 </Offset>
352 </Anchor>
353 </Anchors>
354 </FontString>
355 <FontString name="$parentTotal" inherits="GameFontHighlightSmall" justifyH="CENTER" justifyV="CENTER">
356 <Size>
357 <AbsDimension x="58" y="14"/>
358 </Size>
359 <Anchors>
360 <Anchor point="TOPLEFT">
361 <Offset>
362 <AbsDimension x="201" y="0"/>
363 </Offset>
364 </Anchor>
365 </Anchors>
366 </FontString>
367 </Layer>
368 </Layers>
369 <Frames>
370 <StatusBar name="$parentHPBar" inherits="TextStatusBar">
371 <Size>
372 <AbsDimension x="68" y="14"/>
373 </Size>
374 <Anchors>
375 <Anchor point="TOPLEFT">
376 <Offset>
377 <AbsDimension x="71" y="-1"/>
378 </Offset>
379 </Anchor>
380 </Anchors>
381 <Scripts>
382 <OnLoad>
383 this:SetMinMaxValues(0, 100);
384 </OnLoad>
385 </Scripts>
386 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
387 <BarColor r="0" g="1" b="0"/>
388 <Layers>
389 <Layer level="OVERLAY">
390 <FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="CENTER">
391 <Size>
392 <AbsDimension x="68" y="14"/>
393 </Size>
394 </FontString>
395 </Layer>
396 <Layer level="BACKGROUND">
397 <Texture name="$parentBG" file="Interface\TargetingFrame\UI-StatusBar">
398 <Size>
399 <AbsDimension x="68" y="12"/>
400 </Size>
401 </Texture>
402 </Layer>
403 </Layers>
404 </StatusBar>
405 <Button name="$parentOvertime1">
406 <Size>
407 <AbsDimension x="8" y="8"/>
408 </Size>
409 <Anchors>
410 <Anchor point="RIGHT" relativeTo="$parentName" relativePoint="LEFT">
411 <Offset>
412 <AbsDimension x="-1" y="0"/>
413 </Offset>
414 </Anchor>
415 </Anchors>
416 <Layers>
417 <Layer level="OVERLAY">
418 <Texture name="$parentTexture">
419 <Size>
420 <AbsDimension x="8" y="8"/>
421 </Size>
422 </Texture>
423 </Layer>
424 </Layers>
425 </Button>
426 <Button name="$parentOvertime2">
427 <Size>
428 <AbsDimension x="8" y="8"/>
429 </Size>
430 <Anchors>
431 <Anchor point="RIGHT" relativeTo="$parentOvertime1" relativePoint="LEFT">
432 <Offset>
433 <AbsDimension x="-1" y="0"/>
434 </Offset>
435 </Anchor>
436 </Anchors>
437 <Layers>
438 <Layer level="OVERLAY">
439 <Texture name="$parentTexture">
440 <Size>
441 <AbsDimension x="8" y="8"/>
442 </Size>
443 </Texture>
444 </Layer>
445 </Layers>
446 </Button>
447 <Button name="$parentOvertime3">
448 <Size>
449 <AbsDimension x="8" y="8"/>
450 </Size>
451 <Anchors>
452 <Anchor point="RIGHT" relativeTo="$parentOvertime2" relativePoint="LEFT">
453 <Offset>
454 <AbsDimension x="-1" y="0"/>
455 </Offset>
456 </Anchor>
457 </Anchors>
458 <Layers>
459 <Layer level="OVERLAY">
460 <Texture name="$parentTexture">
461 <Size>
462 <AbsDimension x="8" y="8"/>
463 </Size>
464 </Texture>
465 </Layer>
466 </Layers>
467 </Button>
468 <Button name="$parentOvertime4">
469 <Size>
470 <AbsDimension x="8" y="8"/>
471 </Size>
472 <Anchors>
473 <Anchor point="RIGHT" relativeTo="$parentOvertime3" relativePoint="LEFT">
474 <Offset>
475 <AbsDimension x="-1" y="0"/>
476 </Offset>
477 </Anchor>
478 </Anchors>
479 <Layers>
480 <Layer level="OVERLAY">
481 <Texture name="$parentTexture">
482 <Size>
483 <AbsDimension x="8" y="8"/>
484 </Size>
485 </Texture>
486 </Layer>
487 </Layers>
488 </Button>
489 <Frame name="$parentClick" setAllPoints="true">
490 <Size>
491 <AbsDimension x="260" y="16"/>
492 </Size>
493 <Anchors>
494 <Anchor point="TOPLEFT"/>
495 </Anchors>
496 <Frames>
497 <Button name="$parentFrame">
498 <Size>
499 <AbsDimension x="260" y="16"/>
500 </Size>
501 <Anchors>
502 <Anchor point="TOPLEFT"/>
503 </Anchors>
504 <Scripts>
505 <OnLoad>
506 this:RegisterForClicks("LeftButtonDown", "RightButtonDown", "MiddleButtonDown", "Button4Down", "Button5Down");
507 </OnLoad>
508 <OnClick>
509 local stopDefaultBehaviour;
510 if ( type(HA_CustomOnClickFunction) == "function" ) then
511 stopDefaultBehaviour = HA_CustomOnClickFunction(arg1, this.unitid);
512 end
513 if ( not stopDefaultBehaviour ) then
514 if ( SpellIsTargeting() ) then
515 SpellTargetUnit(this.unitid);
516 else
517 TargetUnit(this.unitid);
518 end
519 end
520 </OnClick>
521 </Scripts>
522 </Button>
523 </Frames>
524 </Frame>
525 </Frames>
526 <Scripts>
527 <OnLoad>
528 getglobal(this:GetName() .. "HPBarText"):SetVertexColor(1.0, 1.0, 1.0, 0.9);
529 getglobal(this:GetName() .. "HPBarBG"):SetVertexColor(0, 1, 0, 0.3);
530 </OnLoad>
531 </Scripts>
532 </Button>
533  
534  
535 <Frame name="HealersAssistMainFrame" frameStrata="MEDIUM" parent="UIParent" hidden="true" toplevel="true" enableMouse="true" movable="true">
536 <Size>
537 <AbsDimension x="330" y="32"/>
538 </Size>
539 <Anchors>
540 <Anchor point="TOPLEFT">
541 <Offset>
542 <AbsDimension x="100" y="-104"/>
543 </Offset>
544 </Anchor>
545 </Anchors>
546 <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
547 <EdgeSize>
548 <AbsValue val="16"/>
549 </EdgeSize>
550 <TileSize>
551 <AbsValue val="16"/>
552 </TileSize>
553 <BackgroundInsets>
554 <AbsInset left="3" right="5" top="3" bottom="5"/>
555 </BackgroundInsets>
556 </Backdrop>
557 <Layers>
558 <Layer level="BACKGROUND">
559 <FontString name="HealersAssistTitle" inherits="GameFontNormal" text="HA title">
560 <Anchors>
561 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
562 <Offset>
563 <AbsDimension x="10" y="-6"/>
564 </Offset>
565 </Anchor>
566 </Anchors>
567 </FontString>
568 </Layer>
569 </Layers>
570 <Frames>
571 <Button name="$parentCloseButton" inherits="UIPanelCloseButton">
572 <Anchors>
573 <Anchor point="TOPRIGHT">
574 <Offset>
575 <AbsDimension x="2" y="2"/>
576 </Offset>
577 </Anchor>
578 </Anchors>
579 </Button>
580 <CheckButton name="$parentCollapseHealers">
581 <Size>
582 <AbsDimension x="16" y="16" />
583 </Size>
584 <Anchors>
585 <Anchor point="TOPRIGHT">
586 <Offset>
587 <AbsDimension x="-90" y="-6" />
588 </Offset>
589 </Anchor>
590 </Anchors>
591 <Layers>
592 <Layer>
593 <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="HA_GUI_COLLAPSE">
594 <Anchors>
595 <Anchor point="LEFT" relativePoint="RIGHT">
596 <Offset>
597 <AbsDimension x="0" y="1" />
598 </Offset>
599 </Anchor>
600 </Anchors>
601 <FontHeight>
602 <AbsValue val="10" />
603 </FontHeight>
604 <Color r="0.8" g="0.8" b="0.8" />
605 <Shadow>
606 <Color r="0" g="0" b="0" />
607 <Offset>
608 <AbsDimension x="1" y="-1" />
609 </Offset>
610 </Shadow>
611 </FontString>
612 </Layer>
613 </Layers>
614 <Scripts>
615 <OnClick>HA_Collapse_Healers_Click(this:GetChecked());</OnClick>
616 </Scripts>
617 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
618 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
619 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
620 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
621 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
622 </CheckButton>
623 <Button name="HAHeaderHealer" inherits="HAColumnHeaderTemplate" text="HA_GUI_HEALERS_HEALER">
624 <Anchors>
625 <Anchor point="TOPLEFT">
626 <Offset>
627 <AbsDimension x="48" y="-25"/>
628 </Offset>
629 </Anchor>
630 </Anchors>
631 <Scripts>
632 <OnLoad>
633 HASetColumnWidth(70);
634 this.sortType = true;
635 </OnLoad>
636 </Scripts>
637 </Button>
638 <Button name="HAHeaderState" inherits="HAColumnHeaderTemplate" text="HA_GUI_HEALERS_SPELL">
639 <Anchors>
640 <Anchor point="LEFT" relativeTo="HAHeaderHealer" relativePoint="RIGHT">
641 <Offset>
642 <AbsDimension x="0" y="0"/>
643 </Offset>
644 </Anchor>
645 </Anchors>
646 <Scripts>
647 <OnLoad>
648 HASetColumnWidth(60);
649 this.sortType = false;
650 </OnLoad>
651 </Scripts>
652 </Button>
653 <Button name="HAHeaderTarget" inherits="HAColumnHeaderTemplate" text="HA_GUI_HEALERS_TARGET">
654 <Anchors>
655 <Anchor point="LEFT" relativeTo="HAHeaderState" relativePoint="RIGHT">
656 <Offset>
657 <AbsDimension x="0" y="0"/>
658 </Offset>
659 </Anchor>
660 </Anchors>
661 <Scripts>
662 <OnLoad>
663 HASetColumnWidth(70);
664 this.sortType = false;
665 </OnLoad>
666 </Scripts>
667 </Button>
668 <Button name="HAHeaderCast" inherits="HAColumnHeaderTemplate" text="HA_GUI_HEALERS_CASTING">
669 <Anchors>
670 <Anchor point="LEFT" relativeTo="HAHeaderTarget" relativePoint="RIGHT">
671 <Offset>
672 <AbsDimension x="0" y="0"/>
673 </Offset>
674 </Anchor>
675 </Anchors>
676 <Scripts>
677 <OnLoad>
678 HASetColumnWidth(60);
679 this.sortType = false;
680 </OnLoad>
681 </Scripts>
682 </Button>
683 <Button name="HAItem_1" inherits="HAItemTemplate" id="1">
684 <Anchors>
685 <Anchor point="TOPLEFT" relativeTo="HAHeaderHealer" relativePoint="BOTTOMLEFT">
686 <Offset>
687 <AbsDimension x="0" y="-2"/>
688 </Offset>
689 </Anchor>
690 </Anchors>
691 </Button>
692 <Button name="HAItem_2" inherits="HAItemTemplate" id="2">
693 <Anchors>
694 <Anchor point="TOPLEFT" relativeTo="HAItem_1" relativePoint="BOTTOMLEFT">
695 <Offset>
696 <AbsDimension x="0" y="0"/>
697 </Offset>
698 </Anchor>
699 </Anchors>
700 </Button>
701 <Button name="HAItem_3" inherits="HAItemTemplate" id="3">
702 <Anchors>
703 <Anchor point="TOPLEFT" relativeTo="HAItem_2" relativePoint="BOTTOMLEFT">
704 <Offset>
705 <AbsDimension x="0" y="0"/>
706 </Offset>
707 </Anchor>
708 </Anchors>
709 </Button>
710 <Button name="HAItem_4" inherits="HAItemTemplate" id="4">
711 <Anchors>
712 <Anchor point="TOPLEFT" relativeTo="HAItem_3" relativePoint="BOTTOMLEFT">
713 <Offset>
714 <AbsDimension x="0" y="0"/>
715 </Offset>
716 </Anchor>
717 </Anchors>
718 </Button>
719 <Button name="HAItem_5" inherits="HAItemTemplate" id="5">
720 <Anchors>
721 <Anchor point="TOPLEFT" relativeTo="HAItem_4" relativePoint="BOTTOMLEFT">
722 <Offset>
723 <AbsDimension x="0" y="0"/>
724 </Offset>
725 </Anchor>
726 </Anchors>
727 </Button>
728 <Button name="HAItem_6" inherits="HAItemTemplate" id="6">
729 <Anchors>
730 <Anchor point="TOPLEFT" relativeTo="HAItem_5" relativePoint="BOTTOMLEFT">
731 <Offset>
732 <AbsDimension x="0" y="0"/>
733 </Offset>
734 </Anchor>
735 </Anchors>
736 </Button>
737 <Button name="HAItem_7" inherits="HAItemTemplate" id="7">
738 <Anchors>
739 <Anchor point="TOPLEFT" relativeTo="HAItem_6" relativePoint="BOTTOMLEFT">
740 <Offset>
741 <AbsDimension x="0" y="0"/>
742 </Offset>
743 </Anchor>
744 </Anchors>
745 </Button>
746 <Button name="HAItem_8" inherits="HAItemTemplate" id="8">
747 <Anchors>
748 <Anchor point="TOPLEFT" relativeTo="HAItem_7" relativePoint="BOTTOMLEFT">
749 <Offset>
750 <AbsDimension x="0" y="0"/>
751 </Offset>
752 </Anchor>
753 </Anchors>
754 </Button>
755 <Button name="HAItem_9" inherits="HAItemTemplate" id="9">
756 <Anchors>
757 <Anchor point="TOPLEFT" relativeTo="HAItem_8" relativePoint="BOTTOMLEFT">
758 <Offset>
759 <AbsDimension x="0" y="0"/>
760 </Offset>
761 </Anchor>
762 </Anchors>
763 </Button>
764 <Button name="HAItem_10" inherits="HAItemTemplate" id="10">
765 <Anchors>
766 <Anchor point="TOPLEFT" relativeTo="HAItem_9" relativePoint="BOTTOMLEFT">
767 <Offset>
768 <AbsDimension x="0" y="0"/>
769 </Offset>
770 </Anchor>
771 </Anchors>
772 </Button>
773 <Button name="HAItem_11" inherits="HAItemTemplate" id="11">
774 <Anchors>
775 <Anchor point="TOPLEFT" relativeTo="HAItem_10" relativePoint="BOTTOMLEFT">
776 <Offset>
777 <AbsDimension x="0" y="0"/>
778 </Offset>
779 </Anchor>
780 </Anchors>
781 </Button>
782 <Button name="HAItem_12" inherits="HAItemTemplate" id="12">
783 <Anchors>
784 <Anchor point="TOPLEFT" relativeTo="HAItem_11" relativePoint="BOTTOMLEFT">
785 <Offset>
786 <AbsDimension x="0" y="0"/>
787 </Offset>
788 </Anchor>
789 </Anchors>
790 </Button>
791 <Button name="HAItem_13" inherits="HAItemTemplate" id="13">
792 <Anchors>
793 <Anchor point="TOPLEFT" relativeTo="HAItem_12" relativePoint="BOTTOMLEFT">
794 <Offset>
795 <AbsDimension x="0" y="0"/>
796 </Offset>
797 </Anchor>
798 </Anchors>
799 </Button>
800 <Button name="HAItem_14" inherits="HAItemTemplate" id="14">
801 <Anchors>
802 <Anchor point="TOPLEFT" relativeTo="HAItem_13" relativePoint="BOTTOMLEFT">
803 <Offset>
804 <AbsDimension x="0" y="0"/>
805 </Offset>
806 </Anchor>
807 </Anchors>
808 </Button>
809 <Button name="HAItem_15" inherits="HAItemTemplate" id="15">
810 <Anchors>
811 <Anchor point="TOPLEFT" relativeTo="HAItem_14" relativePoint="BOTTOMLEFT">
812 <Offset>
813 <AbsDimension x="0" y="0"/>
814 </Offset>
815 </Anchor>
816 </Anchors>
817 </Button>
818 <Button name="HAItem_16" inherits="HAItemTemplate" id="16">
819 <Anchors>
820 <Anchor point="TOPLEFT" relativeTo="HAItem_15" relativePoint="BOTTOMLEFT">
821 <Offset>
822 <AbsDimension x="0" y="0"/>
823 </Offset>
824 </Anchor>
825 </Anchors>
826 </Button>
827 <CheckButton name="$parentSetResting">
828 <Size>
829 <AbsDimension x="16" y="16" />
830 </Size>
831 <Anchors>
832 <Anchor point="TOPRIGHT" relativeTo="HAHeaderHealer" relativePoint="TOPLEFT">
833 <Offset>
834 <AbsDimension x="-29" y="0" />
835 </Offset>
836 </Anchor>
837 </Anchors>
838 <Layers>
839 <Layer>
840 <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="HA_GUI_RESTING">
841 <Anchors>
842 <Anchor point="LEFT" relativePoint="RIGHT">
843 <Offset>
844 <AbsDimension x="-2" y="1" />
845 </Offset>
846 </Anchor>
847 </Anchors>
848 <FontHeight>
849 <AbsValue val="10" />
850 </FontHeight>
851 <Color r="0.8" g="0.8" b="0.8" />
852 <Shadow>
853 <Color r="0" g="0" b="0" />
854 <Offset>
855 <AbsDimension x="1" y="-1" />
856 </Offset>
857 </Shadow>
858 </FontString>
859 </Layer>
860 </Layers>
861 <Scripts>
862 <OnClick>HA_SetRegenMode(this:GetChecked());</OnClick>
863 </Scripts>
864 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
865 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
866 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
867 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
868 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
869 </CheckButton>
870 <ScrollFrame name="HAItemScrollFrame" inherits="FauxScrollFrameTemplate">
871 <Size>
872 <AbsDimension x="280" y="160" />
873 </Size>
874 <Anchors>
875 <Anchor point="TOPRIGHT" relativeTo="HAHeaderCast" relativePoint="BOTTOMRIGHT">
876 <Offset>
877 <AbsDimension x="-5" y="-2"/>
878 </Offset>
879 </Anchor>
880 </Anchors>
881 <Scripts>
882 <OnVerticalScroll>
883 FauxScrollFrame_OnVerticalScroll(1, HA_UpdateList);
884 </OnVerticalScroll>
885 </Scripts>
886 </ScrollFrame>
887  
888 <Frame name="HAEmergencyFrame">
889 <Size>
890 <AbsDimension x="32" y="32"/>
891 </Size>
892 <Anchors>
893 <Anchor point="TOPLEFT" relativeTo="HAItem_16" relativePoint="BOTTOMLEFT">
894 <Offset>
895 <AbsDimension x="0" y="-10"/>
896 </Offset>
897 </Anchor>
898 </Anchors>
899 <Frames>
900 <Button name="HAHeaderEmergencyName" inherits="HAColumnHeaderTemplate" text="HA_GUI_EMERG_NAME">
901 <Anchors>
902 <Anchor point="TOPLEFT">
903 <Offset>
904 <AbsDimension x="0" y="0"/>
905 </Offset>
906 </Anchor>
907 </Anchors>
908 <Scripts>
909 <OnLoad>
910 HASetColumnWidth(70);
911 </OnLoad>
912 </Scripts>
913 </Button>
914 <Button name="HAHeaderEmergencyDeficit" inherits="HAColumnHeaderTemplate" text="HA_GUI_EMERG_DEFICIT">
915 <Anchors>
916 <Anchor point="LEFT" relativeTo="HAHeaderEmergencyName" relativePoint="RIGHT">
917 <Offset>
918 <AbsDimension x="0" y="0"/>
919 </Offset>
920 </Anchor>
921 </Anchors>
922 <Scripts>
923 <OnLoad>
924 HASetColumnWidth(70);
925 </OnLoad>
926 </Scripts>
927 </Button>
928 <Button name="HAHeaderEmergencyCount" inherits="HAColumnHeaderTemplate" text="HA_GUI_EMERG_COUNT">
929 <Anchors>
930 <Anchor point="LEFT" relativeTo="HAHeaderEmergencyDeficit" relativePoint="RIGHT">
931 <Offset>
932 <AbsDimension x="0" y="0"/>
933 </Offset>
934 </Anchor>
935 </Anchors>
936 <Scripts>
937 <OnLoad>
938 HASetColumnWidth(60);
939 </OnLoad>
940 </Scripts>
941 </Button>
942 <Button name="HAHeaderEmergencyIncoming" inherits="HAColumnHeaderTemplate" text="HA_GUI_EMERG_ESTIM">
943 <Anchors>
944 <Anchor point="LEFT" relativeTo="HAHeaderEmergencyCount" relativePoint="RIGHT">
945 <Offset>
946 <AbsDimension x="0" y="0"/>
947 </Offset>
948 </Anchor>
949 </Anchors>
950 <Scripts>
951 <OnLoad>
952 HASetColumnWidth(60);
953 </OnLoad>
954 </Scripts>
955 </Button>
956 <Button name="HAItemEmergency_1" inherits="HAItemEmergencyTemplate" id="1">
957 <Anchors>
958 <Anchor point="TOPLEFT" relativeTo="HAHeaderEmergencyName" relativePoint="BOTTOMLEFT">
959 <Offset>
960 <AbsDimension x="0" y="-2"/>
961 </Offset>
962 </Anchor>
963 </Anchors>
964 </Button>
965 <Button name="HAItemEmergency_2" inherits="HAItemEmergencyTemplate" id="2">
966 <Anchors>
967 <Anchor point="TOPLEFT" relativeTo="HAItemEmergency_1" relativePoint="BOTTOMLEFT">
968 <Offset>
969 <AbsDimension x="0" y="0"/>
970 </Offset>
971 </Anchor>
972 </Anchors>
973 </Button>
974 <Button name="HAItemEmergency_3" inherits="HAItemEmergencyTemplate" id="3">
975 <Anchors>
976 <Anchor point="TOPLEFT" relativeTo="HAItemEmergency_2" relativePoint="BOTTOMLEFT">
977 <Offset>
978 <AbsDimension x="0" y="0"/>
979 </Offset>
980 </Anchor>
981 </Anchors>
982 </Button>
983 <Button name="HAItemEmergency_4" inherits="HAItemEmergencyTemplate" id="4">
984 <Anchors>
985 <Anchor point="TOPLEFT" relativeTo="HAItemEmergency_3" relativePoint="BOTTOMLEFT">
986 <Offset>
987 <AbsDimension x="0" y="0"/>
988 </Offset>
989 </Anchor>
990 </Anchors>
991 </Button>
992 <Button name="HAItemEmergency_5" inherits="HAItemEmergencyTemplate" id="5">
993 <Anchors>
994 <Anchor point="TOPLEFT" relativeTo="HAItemEmergency_4" relativePoint="BOTTOMLEFT">
995 <Offset>
996 <AbsDimension x="0" y="0"/>
997 </Offset>
998 </Anchor>
999 </Anchors>
1000 </Button>
1001 <Button name="HAItemEmergency_6" inherits="HAItemEmergencyTemplate" id="6">
1002 <Anchors>
1003 <Anchor point="TOPLEFT" relativeTo="HAItemEmergency_5" relativePoint="BOTTOMLEFT">
1004 <Offset>
1005 <AbsDimension x="0" y="0"/>
1006 </Offset>
1007 </Anchor>
1008 </Anchors>
1009 </Button>
1010 </Frames>
1011 </Frame>
1012 </Frames>
1013 <Scripts>
1014 <OnUpdate>
1015 HA_OnUpdate(arg1);
1016 </OnUpdate>
1017 <OnLoad>
1018 HA_OnLoad();
1019 </OnLoad>
1020 <OnEvent>
1021 HA_OnEvent();
1022 </OnEvent>
1023 <OnShow>
1024 HA_OnShow();
1025 </OnShow>
1026 <OnMouseUp>
1027 if ( this.isMoving ) then
1028 this:StopMovingOrSizing();
1029 this.isMoving = false;
1030 end
1031 </OnMouseUp>
1032 <OnMouseDown>
1033 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
1034 this:StartMoving();
1035 this.isMoving = true;
1036 end
1037 </OnMouseDown>
1038 <OnHide>
1039 if ( this.isMoving ) then
1040 this:StopMovingOrSizing();
1041 this.isMoving = false;
1042 end
1043 HA_OnHide();
1044 </OnHide>
1045 </Scripts>
1046 </Frame>
1047 </Ui>
1048