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 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
3 <Script file="BGAssist.lua"/>
4 <Frame name="BGAssist" enableMouse="false" parent="UIParent" >
5 <Scripts>
6 <OnLoad>
7 BGAssist_OnLoad();
8 </OnLoad>
9 <OnEvent>
10 BGAssist_OnEvent(event);
11 </OnEvent>
12 <OnUpdate>
13 BGAssist_OnUpdate(arg1);
14 </OnUpdate>
15 </Scripts>
16 </Frame>
17 <StatusBar name="BGAssist_Timer_Template" inherits="TextStatusBar" hidden="false" virtual="true">
18 <Size>
19 <AbsDimension x="120" y="12"/>
20 </Size>
21 <Scripts>
22 <OnEnter>
23 BGAssist_Timer_SetTooltip();
24 </OnEnter>
25 <OnLeave>
26 BGAssist_Timers.updateTooltip = nil;
27 GameTooltip:Hide();
28 </OnLeave>
29 </Scripts>
30 <Layers>
31 <Layer level="OVERLAY">
32 <FontString name="$parentText" inherits="TextStatusBarText">
33 <Anchors>
34 <Anchor point="CENTER"/>
35 </Anchors>
36 </FontString>
37 </Layer>
38 </Layers>
39 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
40 </StatusBar>
41 <CheckButton name="BGAssist_Item_Template" inherits="ActionButtonTemplate" virtual="true">
42 <Size>
43 <AbsDimension x="36" y="36"/>
44 </Size>
45 <Scripts>
46 <OnEnter>
47 BGAssist_Item_SetTooltip();
48 </OnEnter>
49 <OnLeave>
50 this.updateToolTip = nil;
51 GameTooltip:Hide();
52 </OnLeave>
53 </Scripts>
54 </CheckButton>
55 <Frame name="BGAssist_Timers" toplevel="true" parent="UIParent" enableMouse="true" hidden="true" movable="true">
56 <Size>
57 <AbsDimension x="132" y="72"/>
58 </Size>
59 <Anchors>
60 <Anchor point="CENTER"/>
61 </Anchors>
62 <Scripts>
63 <OnShow>
64 BGAssist_Timers_OnShow();
65 </OnShow>
66 <OnUpdate>
67 BGAssist_Timers_OnUpdate(arg1);
68 </OnUpdate>
69 <OnLeave>
70 this.updateToolTip = nil;
71 GameTooltip:Hide();
72 </OnLeave>
73 </Scripts>
74 <Frames>
75 <Frame name="$parent_Backdrop" frameStrata="BACKGROUND" setAllPoints="true">
76 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
77 <EdgeSize>
78 <AbsValue val="16"/>
79 </EdgeSize>
80 <TileSize>
81 <AbsValue val="16"/>
82 </TileSize>
83 <BackgroundInsets>
84 <AbsInset left="5" right="5" top="5" bottom="5"/>
85 </BackgroundInsets>
86 </Backdrop>
87 <Scripts>
88 <OnLoad>
89 this:SetFrameLevel("1");
90 this:SetBackdropBorderColor(
91 TOOLTIP_DEFAULT_COLOR.r,
92 TOOLTIP_DEFAULT_COLOR.g,
93 TOOLTIP_DEFAULT_COLOR.b);
94 this:SetBackdropColor(
95 TOOLTIP_DEFAULT_BACKGROUND_COLOR.r,
96 TOOLTIP_DEFAULT_BACKGROUND_COLOR.g,
97 TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
98 </OnLoad>
99 </Scripts>
100 </Frame>
101 <Button name="$parent_Title" >
102 <Size>
103 <AbsDimension x="132" y="22"/>
104 </Size>
105 <Anchors>
106 <Anchor point="BOTTOM" relativePoint="TOP">
107 <Offset>
108 <AbsDimension x="0" y="-4"/>
109 </Offset>
110 </Anchor>
111 </Anchors>
112 <Frames>
113 <Frame name="$parent_Backdrop" setAllPoints="true">
114 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
115 <BackgroundInsets>
116 <AbsInset left="5" right="5" top="5" bottom="5"/>
117 </BackgroundInsets>
118 <TileSize>
119 <AbsValue val="16"/>
120 </TileSize>
121 <EdgeSize>
122 <AbsValue val="16"/>
123 </EdgeSize>
124 </Backdrop>
125 <Scripts>
126 <OnLoad>
127 this:SetFrameLevel("1");
128 this:SetBackdropBorderColor(
129 TOOLTIP_DEFAULT_COLOR.r,
130 TOOLTIP_DEFAULT_COLOR.g,
131 TOOLTIP_DEFAULT_COLOR.b);
132 this:SetBackdropColor(
133 TOOLTIP_DEFAULT_BACKGROUND_COLOR.r,
134 TOOLTIP_DEFAULT_BACKGROUND_COLOR.g,
135 TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
136 </OnLoad>
137 </Scripts>
138 </Frame>
139 </Frames>
140 <Layers>
141 <Layer level="BACKGROUND">
142 <FontString name="$parentText" inherits="GameTooltipTextSmall">
143 <Anchors>
144 <Anchor point="CENTER"/>
145 </Anchors>
146 </FontString>
147 </Layer>
148 </Layers>
149 <Scripts>
150 <OnLoad>
151 this:RegisterForClicks("LeftButtonDown", "LeftButtonUp", "RightButtonUp");
152 </OnLoad>
153 <OnClick>
154 BGAssist_TimersTitle_OnClick();
155 </OnClick>
156 </Scripts>
157 </Button>
158  
159 <Frame name="$parent_Menu" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
160 <Size>
161 <AbsDimension x="10" y="10"/>
162 </Size>
163 <Anchors>
164 <Anchor point="TOP">
165 <Offset>
166 <AbsDimension x="-20" y="-10"/>
167 </Offset>
168 </Anchor>
169 </Anchors>
170 </Frame>
171  
172 <StatusBar name="$parent1" inherits="BGAssist_Timer_Template" id="1">
173 <Anchors>
174 <Anchor point="TOPLEFT">
175 <Offset>
176 <AbsDimension x="6" y="-6"/>
177 </Offset>
178 </Anchor>
179 </Anchors>
180 </StatusBar>
181 <StatusBar name="$parent2" inherits="BGAssist_Timer_Template" id="2">
182 <Anchors>
183 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent1">
184 <Offset>
185 <AbsDimension x="0" y="0"/>
186 </Offset>
187 </Anchor>
188 </Anchors>
189 </StatusBar>
190 <StatusBar name="$parent3" inherits="BGAssist_Timer_Template" id="3">
191 <Anchors>
192 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent2">
193 <Offset>
194 <AbsDimension x="0" y="0"/>
195 </Offset>
196 </Anchor>
197 </Anchors>
198 </StatusBar>
199 <StatusBar name="$parent4" inherits="BGAssist_Timer_Template" id="4">
200 <Anchors>
201 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent3">
202 <Offset>
203 <AbsDimension x="0" y="0"/>
204 </Offset>
205 </Anchor>
206 </Anchors>
207 </StatusBar>
208 <StatusBar name="$parent5" inherits="BGAssist_Timer_Template" id="5">
209 <Anchors>
210 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent4">
211 <Offset>
212 <AbsDimension x="0" y="0"/>
213 </Offset>
214 </Anchor>
215 </Anchors>
216 </StatusBar>
217 <StatusBar name="$parent6" inherits="BGAssist_Timer_Template" id="6">
218 <Anchors>
219 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent5">
220 <Offset>
221 <AbsDimension x="0" y="0"/>
222 </Offset>
223 </Anchor>
224 </Anchors>
225 </StatusBar>
226 <CheckButton name="$parent_Icon1" inherits="BGAssist_Item_Template" id="1">
227 <Anchors>
228 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent5">
229 <Offset>
230 <AbsDimension x="0" y="-6"/>
231 </Offset>
232 </Anchor>
233 </Anchors>
234 </CheckButton>
235 <CheckButton name="$parent_Icon2" inherits="BGAssist_Item_Template" id="2">
236 <Anchors>
237 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Icon1"/>
238 </Anchors>
239 </CheckButton>
240 <CheckButton name="$parent_Icon3" inherits="BGAssist_Item_Template" id="3">
241 <Anchors>
242 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Icon2"/>
243 </Anchors>
244 </CheckButton>
245 <CheckButton name="$parent_Icon4" inherits="BGAssist_Item_Template" id="4">
246 <Anchors>
247 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Icon3"/>
248 </Anchors>
249 </CheckButton>
250 <CheckButton name="$parent_Icon5" inherits="BGAssist_Item_Template" id="5">
251 <Anchors>
252 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Icon4"/>
253 </Anchors>
254 </CheckButton>
255 <CheckButton name="$parent_Icon6" inherits="BGAssist_Item_Template" id="6">
256 <Anchors>
257 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_Icon1">
258 <Offset>
259 <AbsDimension x="0" y="-3"/>
260 </Offset>
261 </Anchor>
262 </Anchors>
263 </CheckButton>
264 <CheckButton name="$parent_Icon7" inherits="BGAssist_Item_Template" id="7">
265 <Anchors>
266 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Icon6"/>
267 </Anchors>
268 </CheckButton>
269 <CheckButton name="$parent_Icon8" inherits="BGAssist_Item_Template" id="8">
270 <Anchors>
271 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Icon7"/>
272 </Anchors>
273 </CheckButton>
274 <CheckButton name="$parent_Icon9" inherits="BGAssist_Item_Template" id="9">
275 <Anchors>
276 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Icon8"/>
277 </Anchors>
278 </CheckButton>
279 <CheckButton name="$parent_Icon10" inherits="BGAssist_Item_Template" id="10">
280 <Anchors>
281 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Icon9"/>
282 </Anchors>
283 </CheckButton>
284 </Frames>
285 </Frame>
286 <Button name="BGAssist_FlagsTemplate" enableMouse="false" virtual="true">
287 <Size>
288 <AbsDimension x="75" y="25" />
289 </Size>
290 <Layers>
291 <Layer level="BACKGROUND">
292 <FontString name="$parent_Text" inherits="GameFontNormal" justifyH="LEFT">
293 <Size>
294 <AbsDimension x="90" y="25" />
295 </Size>
296 <Anchors>
297 <Anchor point="LEFT"/>
298 </Anchors>
299 </FontString>
300 </Layer>
301 </Layers>
302 <Scripts>
303 <OnLoad>
304 this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
305 </OnLoad>
306 <OnClick>
307 BGAssist_Flags_OnClick();
308 </OnClick>
309 </Scripts>
310 </Button>
311 <Frame name="BGAssist_Flags" enableMouse="false" parent="UIParent" hidden="true">
312 <Anchors>
313 <Anchor point="TOPLEFT"/>
314 </Anchors>
315 <Frames>
316 <Button name="$parent_Alliance" inherits="BGAssist_FlagsTemplate">
317 <Anchors>
318 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="AlwaysUpFrame1">
319 <Offset>
320 <AbsDimension x="40" y="10"/>
321 </Offset>
322 </Anchor>
323 </Anchors>
324 <Scripts>
325 <OnLoad>
326 this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
327 this.faction = "Alliance";
328 </OnLoad>
329 </Scripts>
330 </Button>
331 <Button name="$parent_Horde" inherits="BGAssist_FlagsTemplate">
332 <Anchors>
333 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="AlwaysUpFrame2">
334 <Offset>
335 <AbsDimension x="40" y="10"/>
336 </Offset>
337 </Anchor>
338 </Anchors>
339 <Scripts>
340 <OnLoad>
341 this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
342 this.faction = "Horde";
343 </OnLoad>
344 </Scripts>
345 </Button>
346 </Frames>
347 <Scripts>
348 <OnShow>
349 BGAssist_WSGFlags_OnShow();
350 </OnShow>
351 </Scripts>
352 </Frame>
353 <Frame name="BGAssist_TargetTemplate" frameStrata="LOW" virtual="true" hidden="false">
354 <Size>
355 <AbsDimension x="90" y="40"/>
356 </Size>
357 <Layers>
358 <Layer level="BACKGROUND">
359 <Texture name="$parent_Class" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
360 <Size>
361 <AbsDimension x="24" y="24"/>
362 </Size>
363 <Anchors>
364 <Anchor point="TOPLEFT">
365 <Offset>
366 <AbsDimension x="4" y="-4"/>
367 </Offset>
368 </Anchor>
369 </Anchors>
370 <TexCoords left="0" right="0.375" top="0" bottom="0.75"/>
371 </Texture>
372 </Layer>
373 <Layer level="OVERLAY">
374 <FontString name="$parent_Text" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontNormalSmall" text="">
375 <Size>
376 <AbsDimension x="55" y="16"/>
377 </Size>
378 <Anchors>
379 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
380 <Offset>
381 <AbsDimension x="32" y="-7"/>
382 </Offset>
383 </Anchor>
384 </Anchors>
385 </FontString>
386 <Texture name="$parent_Background_Health" file="Interface\TargetingFrame\UI-StatusBar">
387 <Size>
388 <AbsDimension x="70" y="6"/>
389 </Size>
390 <Anchors>
391 <Anchor point="TOPLEFT">
392 <Offset>
393 <AbsDimension x="10" y="-22"/>
394 </Offset>
395 </Anchor>
396 </Anchors>
397 </Texture>
398 </Layer>
399 </Layers>
400 <Scripts>
401 <OnLoad>
402 getglobal(this:GetName() .. "_Background_Health"):SetVertexColor(0, 1, 0, 0.2);
403 </OnLoad>
404 </Scripts>
405 <Frames>
406 <Frame name="$parent_Backdrop" frameStrata="BACKGROUND" setAllPoints="true">
407 <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
408 <EdgeSize>
409 <AbsValue val="16"/>
410 </EdgeSize>
411 <TileSize>
412 <AbsValue val="16"/>
413 </TileSize>
414 <BackgroundInsets>
415 <AbsInset left="5" right="5" top="5" bottom="5"/>
416 </BackgroundInsets>
417 </Backdrop>
418 <Scripts>
419 <OnLoad>
420 this:SetFrameLevel("1");
421 this:SetBackdropBorderColor(
422 TOOLTIP_DEFAULT_COLOR.r,
423 TOOLTIP_DEFAULT_COLOR.g,
424 TOOLTIP_DEFAULT_COLOR.b);
425 this:SetBackdropColor(
426 TOOLTIP_DEFAULT_BACKGROUND_COLOR.r,
427 TOOLTIP_DEFAULT_BACKGROUND_COLOR.g,
428 TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
429 </OnLoad>
430 </Scripts>
431 </Frame>
432 <StatusBar name="$parent_Bar_Health" inherits="TextStatusBar">
433 <Size>
434 <AbsDimension x="70" y="6"/>
435 </Size>
436 <Anchors>
437 <Anchor point="TOPLEFT">
438 <Offset>
439 <AbsDimension x="10" y="-22"/>
440 </Offset>
441 </Anchor>
442 </Anchors>
443 <Scripts>
444 <OnLoad>
445 this:SetMinMaxValues(0, 100);
446 this:SetValue(100);
447 </OnLoad>
448 </Scripts>
449 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
450 <BarColor r="0" g="1" b="0"/>
451 </StatusBar>
452 <Button name="$parent_Clickable" hidden="false" frameStrata="HIGH">
453 <Size>
454 <AbsDimension x="90" y="40"/>
455 </Size>
456 <Anchors>
457 <Anchor point="TOPLEFT"/>
458 </Anchors>
459 <Scripts>
460 <OnLoad>
461 this:RegisterForClicks('LeftButtonDown', 'RightButtonDown', 'MiddleButtonDown');
462 </OnLoad>
463 <OnClick>
464 BGAssist_Target_OnClick(arg1);
465 </OnClick>
466 </Scripts>
467 </Button>
468 </Frames>
469 </Frame>
470 <Frame name="BGAssist_Targets" toplevel="true" parent="UIParent" enableMouse="true" hidden="true" movable="true">
471 <Size>
472 <AbsDimension x="90" y="22"/>
473 </Size>
474 <Anchors>
475 <Anchor point="CENTER"/>
476 </Anchors>
477 <Scripts>
478 <OnShow>
479 BGAssist_Targets_OnShow();
480 </OnShow>
481 <OnUpdate>
482 BGAssist_Targets_OnUpdate(arg1);
483 </OnUpdate>
484 </Scripts>
485 <Frames>
486 <Button name="$parent_Title" >
487 <Size>
488 <AbsDimension x="90" y="22"/>
489 </Size>
490 <Anchors>
491 <Anchor point="BOTTOM" relativePoint="TOP">
492 <Offset>
493 <AbsDimension x="0" y="-4"/>
494 </Offset>
495 </Anchor>
496 </Anchors>
497 <Frames>
498 <Frame name="$parent_Backdrop" setAllPoints="true">
499 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
500 <BackgroundInsets>
501 <AbsInset left="5" right="5" top="5" bottom="5"/>
502 </BackgroundInsets>
503 <TileSize>
504 <AbsValue val="16"/>
505 </TileSize>
506 <EdgeSize>
507 <AbsValue val="16"/>
508 </EdgeSize>
509 </Backdrop>
510 <Scripts>
511 <OnLoad>
512 this:SetFrameLevel("1");
513 this:SetBackdropBorderColor(
514 TOOLTIP_DEFAULT_COLOR.r,
515 TOOLTIP_DEFAULT_COLOR.g,
516 TOOLTIP_DEFAULT_COLOR.b);
517 this:SetBackdropColor(
518 TOOLTIP_DEFAULT_BACKGROUND_COLOR.r,
519 TOOLTIP_DEFAULT_BACKGROUND_COLOR.g,
520 TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
521 </OnLoad>
522 </Scripts>
523 </Frame>
524 </Frames>
525 <Layers>
526 <Layer level="BACKGROUND">
527 <FontString name="$parentText" inherits="GameTooltipTextSmall">
528 <Anchors>
529 <Anchor point="CENTER"/>
530 </Anchors>
531 </FontString>
532 </Layer>
533 </Layers>
534 <Scripts>
535 <OnLoad>
536 this:RegisterForClicks("LeftButtonDown", "LeftButtonUp", "RightButtonUp");
537 </OnLoad>
538 <OnClick>
539 BGAssist_TargetsTitle_OnClick();
540 </OnClick>
541 </Scripts>
542 </Button>
543 <Frame name="$parent_Menu" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
544 <Size>
545 <AbsDimension x="10" y="10"/>
546 </Size>
547 <Anchors>
548 <Anchor point="TOP">
549 <Offset>
550 <AbsDimension x="-20" y="-10"/>
551 </Offset>
552 </Anchor>
553 </Anchors>
554 </Frame>
555 <Frame name="$parent1" inherits="BGAssist_TargetTemplate">
556 <Anchors>
557 <Anchor point="TOPLEFT"/>
558 </Anchors>
559 </Frame>
560 <Frame name="$parent2" inherits="BGAssist_TargetTemplate">
561 <Anchors>
562 <Anchor point="TOP" relativeTo="$parent1" relativePoint="BOTTOM">
563 <Offset>
564 <AbsDimension x="0" y="5"/>
565 </Offset>
566 </Anchor>
567 </Anchors>
568 </Frame>
569 <Frame name="$parent3" inherits="BGAssist_TargetTemplate">
570 <Anchors>
571 <Anchor point="TOP" relativeTo="$parent2" relativePoint="BOTTOM">
572 <Offset>
573 <AbsDimension x="0" y="5"/>
574 </Offset>
575 </Anchor>
576 </Anchors>
577 </Frame>
578 <Frame name="$parent4" inherits="BGAssist_TargetTemplate">
579 <Anchors>
580 <Anchor point="TOP" relativeTo="$parent3" relativePoint="BOTTOM">
581 <Offset>
582 <AbsDimension x="0" y="5"/>
583 </Offset>
584 </Anchor>
585 </Anchors>
586 </Frame>
587 <Frame name="$parent5" inherits="BGAssist_TargetTemplate">
588 <Anchors>
589 <Anchor point="TOP" relativeTo="$parent4" relativePoint="BOTTOM">
590 <Offset>
591 <AbsDimension x="0" y="5"/>
592 </Offset>
593 </Anchor>
594 </Anchors>
595 </Frame>
596 <Frame name="$parent6" inherits="BGAssist_TargetTemplate">
597 <Anchors>
598 <Anchor point="TOP" relativeTo="$parent5" relativePoint="BOTTOM">
599 <Offset>
600 <AbsDimension x="0" y="5"/>
601 </Offset>
602 </Anchor>
603 </Anchors>
604 </Frame>
605 <Frame name="$parent7" inherits="BGAssist_TargetTemplate">
606 <Anchors>
607 <Anchor point="TOP" relativeTo="$parent6" relativePoint="BOTTOM">
608 <Offset>
609 <AbsDimension x="0" y="5"/>
610 </Offset>
611 </Anchor>
612 </Anchors>
613 </Frame>
614 <Frame name="$parent8" inherits="BGAssist_TargetTemplate">
615 <Anchors>
616 <Anchor point="TOP" relativeTo="$parent7" relativePoint="BOTTOM">
617 <Offset>
618 <AbsDimension x="0" y="5"/>
619 </Offset>
620 </Anchor>
621 </Anchors>
622 </Frame>
623 <Frame name="$parent9" inherits="BGAssist_TargetTemplate">
624 <Anchors>
625 <Anchor point="TOP" relativeTo="$parent8" relativePoint="BOTTOM">
626 <Offset>
627 <AbsDimension x="0" y="5"/>
628 </Offset>
629 </Anchor>
630 </Anchors>
631 </Frame>
632 <Frame name="$parent10" inherits="BGAssist_TargetTemplate">
633 <Anchors>
634 <Anchor point="TOP" relativeTo="$parent9" relativePoint="BOTTOM">
635 <Offset>
636 <AbsDimension x="0" y="5"/>
637 </Offset>
638 </Anchor>
639 </Anchors>
640 </Frame>
641 </Frames>
642 </Frame>
643 <Frame name="BGAssist_ClassBreakdownTemplate" virtual="true">
644 <Size>
645 <AbsDimension x="150" y="200"/>
646 </Size>
647 <Layers>
648 <Layer level="BACKGROUND">
649 <Texture name="$parent1" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
650 <Size>
651 <AbsDimension x="24" y="24"/>
652 </Size>
653 <Anchors>
654 <Anchor point="TOPLEFT">
655 <Offset>
656 <AbsDimension x="4" y="-4"/>
657 </Offset>
658 </Anchor>
659 </Anchors>
660 <TexCoords left="0" right="0.25" top="0" bottom="0.25"/>
661 </Texture>
662 <Texture name="$parent2" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
663 <Size>
664 <AbsDimension x="24" y="24"/>
665 </Size>
666 <Anchors>
667 <Anchor point="TOP" relativeTo="$parent1" relativePoint="BOTTOM"/>
668 </Anchors>
669 <TexCoords left="0.25" right="0.49609375" top="0" bottom="0.25"/>
670 </Texture>
671 <Texture name="$parent3" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
672 <Size>
673 <AbsDimension x="24" y="24"/>
674 </Size>
675 <Anchors>
676 <Anchor point="TOP" relativeTo="$parent2" relativePoint="BOTTOM"/>
677 </Anchors>
678 <TexCoords left="0.49609375" right="0.7421875" top="0" bottom="0.25"/>
679 </Texture>
680 <Texture name="$parent4" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
681 <Size>
682 <AbsDimension x="24" y="24"/>
683 </Size>
684 <Anchors>
685 <Anchor point="TOP" relativeTo="$parent3" relativePoint="BOTTOM"/>
686 </Anchors>
687 <TexCoords left="0.7421875" right="0.98828125" top="0" bottom="0.25"/>
688 </Texture>
689 <Texture name="$parent5" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
690 <Size>
691 <AbsDimension x="24" y="24"/>
692 </Size>
693 <Anchors>
694 <Anchor point="TOP" relativeTo="$parent4" relativePoint="BOTTOM"/>
695 </Anchors>
696 <TexCoords left="0" right="0.25" top="0.25" bottom="0.5"/>
697 </Texture>
698 <Texture name="$parent6" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
699 <Size>
700 <AbsDimension x="24" y="24"/>
701 </Size>
702 <Anchors>
703 <Anchor point="TOP" relativeTo="$parent5" relativePoint="BOTTOM"/>
704 </Anchors>
705 <TexCoords left="0.49609375" right="0.7421875" top="0.25" bottom="0.5"/>
706 </Texture>
707 <Texture name="$parent7" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
708 <Size>
709 <AbsDimension x="24" y="24"/>
710 </Size>
711 <Anchors>
712 <Anchor point="TOP" relativeTo="$parent6" relativePoint="BOTTOM"/>
713 </Anchors>
714 <TexCoords left="0.7421875" right="0.98828125" top="0.25" bottom="0.5"/>
715 </Texture>
716 <Texture name="$parent8" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
717 <Size>
718 <AbsDimension x="24" y="24"/>
719 </Size>
720 <Anchors>
721 <Anchor point="TOP" relativeTo="$parent7" relativePoint="BOTTOM"/>
722 </Anchors>
723 <TexCoords left="0.25" right="0.49609375" top="0.25" bottom="0.5"/>
724 </Texture>
725 </Layer>
726 <Layer level="OVERLAY">
727 <FontString name="$parent1Text" inherits="GameFontHighlight">
728 <Anchors>
729 <Anchor point="LEFT" relativeTo="$parent1" relativePoint="RIGHT"/>
730 </Anchors>
731 </FontString>
732 <FontString name="$parent2Text" inherits="GameFontHighlight">
733 <Anchors>
734 <Anchor point="LEFT" relativeTo="$parent2" relativePoint="RIGHT"/>
735 </Anchors>
736 </FontString>
737 <FontString name="$parent3Text" inherits="GameFontHighlight">
738 <Anchors>
739 <Anchor point="LEFT" relativeTo="$parent3" relativePoint="RIGHT"/>
740 </Anchors>
741 </FontString>
742 <FontString name="$parent4Text" inherits="GameFontHighlight">
743 <Anchors>
744 <Anchor point="LEFT" relativeTo="$parent4" relativePoint="RIGHT"/>
745 </Anchors>
746 </FontString>
747 <FontString name="$parent5Text" inherits="GameFontHighlight">
748 <Anchors>
749 <Anchor point="LEFT" relativeTo="$parent5" relativePoint="RIGHT"/>
750 </Anchors>
751 </FontString>
752 <FontString name="$parent6Text" inherits="GameFontHighlight">
753 <Anchors>
754 <Anchor point="LEFT" relativeTo="$parent6" relativePoint="RIGHT"/>
755 </Anchors>
756 </FontString>
757 <FontString name="$parent7Text" inherits="GameFontHighlight">
758 <Anchors>
759 <Anchor point="LEFT" relativeTo="$parent7" relativePoint="RIGHT"/>
760 </Anchors>
761 </FontString>
762 <FontString name="$parent8Text" inherits="GameFontHighlight">
763 <Anchors>
764 <Anchor point="LEFT" relativeTo="$parent8" relativePoint="RIGHT"/>
765 </Anchors>
766 </FontString>
767 </Layer>
768 </Layers>
769 <Frames>
770 <Frame name="$parent_Backdrop" frameStrata="BACKGROUND" setAllPoints="true">
771 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
772 <EdgeSize>
773 <AbsValue val="16"/>
774 </EdgeSize>
775 <TileSize>
776 <AbsValue val="16"/>
777 </TileSize>
778 <BackgroundInsets>
779 <AbsInset left="5" right="5" top="5" bottom="5"/>
780 </BackgroundInsets>
781 </Backdrop>
782 <Scripts>
783 <OnLoad>
784 this:SetFrameLevel("1");
785 this:SetBackdropBorderColor(
786 TOOLTIP_DEFAULT_COLOR.r,
787 TOOLTIP_DEFAULT_COLOR.g,
788 TOOLTIP_DEFAULT_COLOR.b);
789 this:SetBackdropColor(
790 TOOLTIP_DEFAULT_BACKGROUND_COLOR.r,
791 TOOLTIP_DEFAULT_BACKGROUND_COLOR.g,
792 TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
793 </OnLoad>
794 </Scripts>
795 </Frame>
796 </Frames>
797 </Frame>
798 <Frame name="WorldStateScoreFrame_Alliance" inherits="BGAssist_ClassBreakdownTemplate" parent="WorldStateScoreFrame">
799 <Anchors>
800 <Anchor point="RIGHT" relativePoint="LEFT">
801 <Offset>
802 <AbsDimension x="15" y="0"/>
803 </Offset>
804 </Anchor>
805 </Anchors>
806 <Scripts>
807 <OnLoad>
808 WorldStateScoreFrame_Alliance1:ClearAllPoints();
809 WorldStateScoreFrame_Alliance1:SetPoint("TOPRIGHT","WorldStateScoreFrame_Alliance","TOPRIGHT",-4,-4);
810 WorldStateScoreFrame_Alliance8:SetTexCoord(0,0.25,0.5,0.75);
811  
812 local i;
813 for i = 1, 8, 1 do
814 getglobal("WorldStateScoreFrame_Alliance"..i.."Text"):ClearAllPoints();
815 getglobal("WorldStateScoreFrame_Alliance"..i.."Text"):SetPoint("RIGHT","WorldStateScoreFrame_Alliance"..i,"LEFT",0,0);
816 end
817 </OnLoad>
818 </Scripts>
819 </Frame>
820 <Frame name="WorldStateScoreFrame_Horde" inherits="BGAssist_ClassBreakdownTemplate" parent="WorldStateScoreFrame">
821 <Anchors>
822 <Anchor point="LEFT" relativePoint="RIGHT">
823 <Offset>
824 <AbsDimension x="-120" y="0"/>
825 </Offset>
826 </Anchor>
827 </Anchors>
828 </Frame>
829 <Button name="BGAssist_AutoInvite" inherits="UIPanelButtonTemplate" parent="WorldStateScoreFrame" text="Invite All">
830 <Size>
831 <AbsDimension x="131" y="21"/>
832 </Size>
833 <Anchors>
834 <Anchor point="BOTTOM" relativePoint="TOP">
835 <Offset>
836 <AbsDimension x="0" y="-15"/>
837 </Offset>
838 </Anchor>
839 </Anchors>
840 <Scripts>
841 <OnClick>
842 BGAssist_AutoInvite_OnClick();
843 </OnClick>
844 </Scripts>
845 </Button>
846 </Ui>