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/"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.blizzard.com/wow/ui/FrameXML/UI.xsd">
4  
5 <Frame name="CalendarDropDownTemplate" inherits="UIDropDownMenuTemplate" hidden="false" virtual="true">
6 <Layers>
7 <Layer level="OVERLAY">
8 <FontString name="$parentTitle" inherits="GameFontNormalSmall">
9 <Anchors>
10 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
11 <Offset>
12 <AbsDimension x="14" y="13"/>
13 </Offset>
14 </Anchor>
15 </Anchors>
16 </FontString>
17 </Layer>
18 </Layers>
19 </Frame>
20  
21 <Frame name="CalendarInputFrameTemplate" hidden="false" virtual="true">
22 <Scripts>
23 <OnShow>
24 Calendar_InputFrameSizeChanged(this);
25 </OnShow>
26 <OnSizeChanged>
27 Calendar_InputFrameSizeChanged(this);
28 </OnSizeChanged>
29 </Scripts>
30 <Layers>
31 <Layer level="BACKGROUND">
32 <Texture name="$parentTopLeft" file="Interface\Common\Common-Input-Border">
33 <Anchors>
34 <Anchor point="TOPLEFT">
35 <Offset>
36 <AbsDimension x="0" y="4"/>
37 </Offset>
38 </Anchor>
39 </Anchors>
40 <TexCoords left="0" right="0.046875" top="0" bottom="0.1875"/>
41 </Texture>
42 <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
43 <Anchors>
44 <Anchor point="TOP" relativeTo="$parentTopLeft" relativePoint="BOTTOM"/>
45 </Anchors>
46 <TexCoords left="0" right="0.046875" top="0.1875" bottom="0.4375"/>
47 </Texture>
48 <Texture name="$parentBottomLeft" file="Interface\Common\Common-Input-Border">
49 <Anchors>
50 <Anchor point="TOP" relativeTo="$parentLeft" relativePoint="BOTTOM"/>
51 </Anchors>
52 <TexCoords left="0" right="0.046875" top="0.4375" bottom="0.625"/>
53 </Texture>
54 <Texture name="$parentTop" file="Interface\Common\Common-Input-Border">
55 <Anchors>
56 <Anchor point="LEFT" relativeTo="$parentTopLeft" relativePoint="RIGHT"/>
57 </Anchors>
58 <TexCoords left="0.046875" right="0.953125" top="0" bottom="0.1875"/>
59 </Texture>
60 <Texture name="$parentCenter" file="Interface\Common\Common-Input-Border">
61 <Anchors>
62 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
63 </Anchors>
64 <TexCoords left="0.046875" right="0.953125" top="0.1875" bottom="0.4375"/>
65 </Texture>
66 <Texture name="$parentBottom" file="Interface\Common\Common-Input-Border">
67 <Anchors>
68 <Anchor point="LEFT" relativeTo="$parentBottomLeft" relativePoint="RIGHT"/>
69 </Anchors>
70 <TexCoords left="0.046875" right="0.953125" top="0.4375" bottom="0.625"/>
71 </Texture>
72 <Texture name="$parentTopRight" file="Interface\Common\Common-Input-Border">
73 <Anchors>
74 <Anchor point="TOPLEFT" relativeTo="$parentTop" relativePoint="TOPRIGHT"/>
75 </Anchors>
76 <TexCoords left="0.953125" right="1.0" top="0" bottom="0.1875"/>
77 </Texture>
78 <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
79 <Anchors>
80 <Anchor point="TOPLEFT" relativeTo="$parentTopRight" relativePoint="BOTTOMLEFT"/>
81 </Anchors>
82 <TexCoords left="0.953125" right="1.0" top="0.1875" bottom="0.4375"/>
83 </Texture>
84 <Texture name="$parentBottomRight" file="Interface\Common\Common-Input-Border">
85 <Anchors>
86 <Anchor point="TOPLEFT" relativeTo="$parentRight" relativePoint="BOTTOMLEFT"/>
87 </Anchors>
88 <TexCoords left="0.953125" right="1.0" top="0.4375" bottom="0.625"/>
89 </Texture>
90 </Layer>
91 </Layers>
92 </Frame>
93  
94 <Frame name="CalendarScrollbarTrenchTemplate" virtual="true">
95 <Size>
96 <AbsDimension x="27" y="261"/>
97 </Size>
98 <Layers>
99 <Layer level="OVERLAY">
100 <Texture name="$parentTop" file="Interface\Addons\GroupCalendar\Textures\CalendarScrollbarTrench">
101 <Size>
102 <AbsDimension x="27" y="26"/>
103 </Size>
104 <Anchors>
105 <Anchor point="TOPLEFT"/>
106 </Anchors>
107 <TexCoords left="0" right="0.84375" top="0" bottom="0.1015625"/>
108 </Texture>
109 <Texture name="$parentMiddle" file="Interface\Addons\GroupCalendar\Textures\CalendarScrollbarTrench">
110 <Size>
111 <AbsDimension x="27" y="0"/>
112 </Size>
113 <Anchors>
114 <Anchor point="TOPLEFT" relativeTo="$parentTop" relativePoint="BOTTOMLEFT"/>
115 </Anchors>
116 <TexCoords left="0" right="0.84375" top="0.1015625" bottom="0.90234375"/>
117 </Texture>
118 <Texture name="$parentBottom" file="Interface\Addons\GroupCalendar\Textures\CalendarScrollbarTrench">
119 <Size>
120 <AbsDimension x="27" y="25"/>
121 </Size>
122 <Anchors>
123 <Anchor point="BOTTOMLEFT"/>
124 </Anchors>
125 <TexCoords left="0" right="0.84375" top="0.90234375" bottom="1"/>
126 </Texture>
127 </Layer>
128 </Layers>
129 <Scripts>
130 <OnSizeChanged>
131 CalendarScrollbarTrench_SizeChanged(this);
132 </OnSizeChanged>
133 </Scripts>
134 </Frame>
135  
136 <Button name="CalendarPlayerListItemTemplate" virtual="true">
137 <Size>
138 <AbsDimension x="115" y="15"/>
139 </Size>
140 <Layers>
141 <Layer level="OVERLAY">
142 <FontString name="$parentText" text="playerName" inherits="GameFontHighlightSmallOutline">
143 <Anchors>
144 <Anchor point="BOTTOMLEFT">
145 <Offset>
146 <AbsDimension x="5" y="3"/>
147 </Offset>
148 </Anchor>
149 </Anchors>
150 </FontString>
151 </Layer>
152 </Layers>
153 <Scripts>
154 <OnClick>
155 CalendarPlayerListItem_OnClick(arg1);
156 </OnClick>
157 <OnEnter>
158 local vTextItem = getglobal(this:GetName().."Text");
159  
160 vTextItem:SetTextColor(1.0, 1.0, 1.0);
161 </OnEnter>
162 <OnLeave>
163 local vTextItem = getglobal(this:GetName().."Text");
164  
165 vTextItem:SetTextColor(this.r, this.g, this.b);
166 </OnLeave>
167 </Scripts>
168 </Button>
169  
170 <Frame name="CalendarPlayerListControl" hidden="false" virtual="true" inherits="CalendarInputFrameTemplate">
171 <Size>
172 <AbsDimension x="130" y="81"/>
173 </Size>
174 <Frames>
175 <Frame name="$parentHighlightFrame" hidden="true">
176 <Size>
177 <AbsDimension x="110" y="15"/>
178 </Size>
179 <Anchors>
180 <Anchor point="TOPLEFT"/>
181 </Anchors>
182 <Layers>
183 <Layer level="ARTWORK">
184 <Texture name="$parentTexture" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD"/>
185 </Layer>
186 </Layers>
187 </Frame>
188 <Button name="$parentItem0" inherits="CalendarPlayerListItemTemplate" id="0">
189 <Anchors>
190 <Anchor point="TOPLEFT"/>
191 </Anchors>
192 </Button>
193 <Button name="$parentItem1" inherits="CalendarPlayerListItemTemplate" id="1">
194 <Anchors>
195 <Anchor point="TOPLEFT" relativeTo="$parentItem0" relativePoint="BOTTOMLEFT"/>
196 </Anchors>
197 </Button>
198 <Button name="$parentItem2" inherits="CalendarPlayerListItemTemplate" id="2">
199 <Anchors>
200 <Anchor point="TOPLEFT" relativeTo="$parentItem1" relativePoint="BOTTOMLEFT"/>
201 </Anchors>
202 </Button>
203 <Button name="$parentItem3" inherits="CalendarPlayerListItemTemplate" id="3">
204 <Anchors>
205 <Anchor point="TOPLEFT" relativeTo="$parentItem2" relativePoint="BOTTOMLEFT"/>
206 </Anchors>
207 </Button>
208 <Button name="$parentItem4" inherits="CalendarPlayerListItemTemplate" id="4">
209 <Anchors>
210 <Anchor point="TOPLEFT" relativeTo="$parentItem3" relativePoint="BOTTOMLEFT"/>
211 </Anchors>
212 </Button>
213 <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate">
214 <Size>
215 <AbsDimension x="105" y="75"/>
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 <OnVerticalScroll>
226 gCalendarPlayerList_ActiveList = this:GetParent();
227  
228 FauxScrollFrame_OnVerticalScroll(
229 gCalendarPlayerList_cItemHeight,
230 CalendarPlayerList_ScrollUpdate);
231 </OnVerticalScroll>
232 </Scripts>
233 </ScrollFrame>
234 </Frames>
235 <Scripts>
236 <OnLoad>
237 CalendarPlayerList_OnLoad();
238 </OnLoad>
239 <OnShow>
240 CalendarPlayerList_OnShow();
241 </OnShow>
242 </Scripts>
243 </Frame>
244  
245 <Button name="CalendarFrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
246 <Scripts>
247 <OnClick>
248 PlaySound("igMainMenuOpen");
249 PanelTemplates_Tab_OnClick(GroupCalendarFrame);
250 GroupCalendar_ShowPanel(GroupCalendarFrame.selectedTab);
251 </OnClick>
252 </Scripts>
253 </Button>
254  
255 <Button name="CalendarSmallButtonTemplate" virtual="true">
256 <NormalText name="$parentText" inherits="GameFontNormalSmall"/>
257 <DisabledText inherits="GameFontDisableSmall"/>
258 <HighlightText inherits="GameFontHighlightSmall"/>
259 <NormalTexture inherits="UIPanelButtonUpTexture"/>
260 <PushedTexture inherits="UIPanelButtonDownTexture"/>
261 <DisabledTexture inherits="UIPanelButtonDisabledTexture"/>
262 <HighlightTexture inherits="UIPanelButtonHighlightTexture"/>
263 </Button>
264  
265 <EditBox name="GroupCalendarInputBoxTemplate" inherits="InputBoxTemplate" virtual="true">
266 <Scripts>
267 <OnLoad>
268 CalendarInputBox_OnLoad(0);
269 </OnLoad>
270 <OnTabPressed>
271 CalendarInputBox_TabPressed();
272 </OnTabPressed>
273 </Scripts>
274 </EditBox>
275  
276 <EditBox name="GroupCalendarInputBoxTemplate2" inherits="InputBoxTemplate" virtual="true">
277 <Scripts>
278 <OnLoad>
279 CalendarInputBox_OnLoad(1);
280 </OnLoad>
281 <OnTabPressed>
282 CalendarInputBox_TabPressed();
283 </OnTabPressed>
284 </Scripts>
285 </EditBox>
286  
287 <Button name="CalendarAttendanceMenuTemplate" virtual="true">
288 <Size>
289 <AbsDimension x="20" y="20"/>
290 </Size>
291 <Scripts>
292 <OnClick>
293 ToggleDropDownMenu(nil, nil, this);
294 PlaySound("igMainMenuOptionCheckBoxOn");
295 </OnClick>
296 <OnHide>
297 CloseDropDownMenus();
298 </OnHide>
299 <OnLoad>
300 CalendarAttendanceDropDown_OnLoad();
301 this.ChangedValueFunc = CalendarEventEditor_AttendanceMenuItemSelected;
302 </OnLoad>
303 <OnShow>
304 CalendarAttendanceDropDown_OnLoad();
305 </OnShow>
306 </Scripts>
307 <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
308 <Size>
309 <AbsDimension x="20" y="20"/>
310 </Size>
311 <Anchors>
312 <Anchor point="RIGHT"/>
313 </Anchors>
314 </NormalTexture>
315 <PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
316 <Size>
317 <AbsDimension x="20" y="20"/>
318 </Size>
319 <Anchors>
320 <Anchor point="RIGHT"/>
321 </Anchors>
322 </PushedTexture>
323 <DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled">
324 <Size>
325 <AbsDimension x="20" y="20"/>
326 </Size>
327 <Anchors>
328 <Anchor point="RIGHT"/>
329 </Anchors>
330 </DisabledTexture>
331 <HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
332 <Size>
333 <AbsDimension x="20" y="20"/>
334 </Size>
335 <Anchors>
336 <Anchor point="RIGHT"/>
337 </Anchors>
338 </HighlightTexture>
339 </Button>
340  
341 <CheckButton name="CalendarAttendanceItemTemplate" hidden="true" virtual="true">
342 <Size>
343 <AbsDimension x="218" y="16"/>
344 </Size>
345 <Layers>
346 <Layer level="OVERLAY">
347 <FontString name="$parentCategory" inherits="GameFontNormal" justifyH="LEFT" justifyV="BOTTOM">
348 <Size>
349 <AbsDimension x="190" y="16"/>
350 </Size>
351 <Anchors>
352 <Anchor point="BOTTOMLEFT">
353 <Offset>
354 <AbsDimension x="20" y="3"/>
355 </Offset>
356 </Anchor>
357 </Anchors>
358 <Color r="1" g="1" b="1"/>
359 </FontString>
360 <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="BOTTOM">
361 <Size>
362 <AbsDimension x="128" y="16"/>
363 </Size>
364 <Anchors>
365 <Anchor point="BOTTOMLEFT">
366 <Offset>
367 <AbsDimension x="20" y="5"/>
368 </Offset>
369 </Anchor>
370 </Anchors>
371 </FontString>
372 <FontString name="$parentStatus" inherits="GameFontNormalSmall" justifyH="RIGHT" justifyV="BOTTOM">
373 <Size>
374 <AbsDimension x="112" y="16"/>
375 </Size>
376 <Anchors>
377 <Anchor point="BOTTOMLEFT" relativeTo="$parentName" relativePoint="BOTTOMRIGHT">
378 <Offset>
379 <AbsDimension x="2" y="0"/>
380 </Offset>
381 </Anchor>
382 </Anchors>
383 </FontString>
384 </Layer>
385 </Layers>
386 <Frames>
387 <Button name="$parentAction" inherits="CalendarSmallButtonTemplate" text="GroupCalendar_cClear">
388 <Size>
389 <AbsDimension x="70" y="16"/>
390 </Size>
391 <Anchors>
392 <Anchor point="TOPLEFT" relativeTo="$parentCategory" relativePoint="TOPRIGHT">
393 <Offset>
394 <AbsDimension x="3" y="0"/>
395 </Offset>
396 </Anchor>
397 </Anchors>
398 <Scripts>
399 <OnClick>
400 PlaySound("igMainMenuOptionCheckBoxOn");
401 if this.ActionFunc then
402 this.ActionFunc(this.ActionParam);
403 end
404 </OnClick>
405 </Scripts>
406 </Button>
407 <Button name="$parentMenu" inherits="CalendarAttendanceMenuTemplate" hidden="true">
408 <Anchors>
409 <Anchor point="TOPLEFT" relativeTo="$parentStatus" relativePoint="TOPRIGHT">
410 <Offset>
411 <AbsDimension x="2" y="-1"/>
412 </Offset>
413 </Anchor>
414 </Anchors>
415 </Button>
416 </Frames>
417 <NormalTexture file="Interface\Buttons\UI-MinusButton-Up">
418 <Size>
419 <AbsDimension x="16" y="16"/>
420 </Size>
421 <Anchors>
422 <Anchor point="LEFT">
423 <Offset>
424 <AbsDimension x="3" y="0"/>
425 </Offset>
426 </Anchor>
427 </Anchors>
428 </NormalTexture>
429 <PushedTexture file="Interface\Buttons\UI-MinusButton-Down">
430 <Size>
431 <AbsDimension x="16" y="16"/>
432 </Size>
433 <Anchors>
434 <Anchor point="LEFT">
435 <Offset>
436 <AbsDimension x="3" y="0"/>
437 </Offset>
438 </Anchor>
439 </Anchors>
440 </PushedTexture>
441 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check">
442 <Size>
443 <AbsDimension x="16" y="16"/>
444 </Size>
445 <Anchors>
446 <Anchor point="LEFT">
447 <Offset>
448 <AbsDimension x="3" y="0"/>
449 </Offset>
450 </Anchor>
451 </Anchors>
452 </CheckedTexture>
453 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled">
454 <Size>
455 <AbsDimension x="16" y="16"/>
456 </Size>
457 <Anchors>
458 <Anchor point="LEFT">
459 <Offset>
460 <AbsDimension x="3" y="0"/>
461 </Offset>
462 </Anchor>
463 </Anchors>
464 </DisabledCheckedTexture>
465 <HighlightTexture name="$parentHighlight" file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD">
466 <Size>
467 <AbsDimension x="16" y="16"/>
468 </Size>
469 <Anchors>
470 <Anchor point="LEFT">
471 <Offset>
472 <AbsDimension x="3" y="0"/>
473 </Offset>
474 </Anchor>
475 </Anchors>
476 </HighlightTexture>
477 <Scripts>
478 <OnClick>
479 CalendarAttendanceList_OnClick(this, arg1);
480 </OnClick>
481 <OnEnter>
482 CalendarAttendanceList_OnEnter();
483 </OnEnter>
484 <OnLeave>
485 CalendarAttendanceList_OnLeave();
486 </OnLeave>
487 </Scripts>
488 </CheckButton>
489  
490 <Button name="CalendarExpandAllButton" virtual="true">
491 <Size>
492 <AbsDimension x="16" y="16"/>
493 </Size>
494 <NormalTexture file="Interface\Buttons\UI-MinusButton-UP">
495 <Size>
496 <AbsDimension x="16" y="16"/>
497 </Size>
498 <Anchors>
499 <Anchor point="LEFT">
500 <Offset>
501 <AbsDimension x="3" y="0"/>
502 </Offset>
503 </Anchor>
504 </Anchors>
505 </NormalTexture>
506 <HighlightTexture name="$parentHighlight" file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD">
507 <Size>
508 <AbsDimension x="16" y="16"/>
509 </Size>
510 <Anchors>
511 <Anchor point="LEFT">
512 <Offset>
513 <AbsDimension x="3" y="0"/>
514 </Offset>
515 </Anchor>
516 </Anchors>
517 </HighlightTexture>
518 </Button>
519  
520 <Frame name="CalendarAttendanceListTemplate" virtual="true">
521 <Layers>
522 <Layer level="OVERLAY">
523 <FontString name="$parentTotal" text="" inherits="GameFontNormalSmall">
524 <Anchors>
525 <Anchor point="BOTTOMLEFT">
526 <Offset>
527 <AbsDimension x="25" y="11"/>
528 </Offset>
529 </Anchor>
530 </Anchors>
531 </FontString>
532 </Layer>
533 </Layers>
534  
535 <Frames>
536 <Button name="$parentExpandAllButton" hidden="false" inherits="CalendarExpandAllButton">
537 <Anchors>
538 <Anchor point="TOPLEFT">
539 <Offset>
540 <AbsDimension x="6" y="-42"/>
541 </Offset>
542 </Anchor>
543 </Anchors>
544 <Scripts>
545 <OnClick>
546 CalendarAttendanceList_ToggleExpandAll(this:GetParent());
547 </OnClick>
548 </Scripts>
549 </Button>
550  
551 <Button name="$parentExpandAll" inherits="TabButtonTemplate" text="ALL" id="1">
552 <Anchors>
553 <Anchor point="TOPLEFT">
554 <Offset>
555 <AbsDimension x="25" y="-28"/>
556 </Offset>
557 </Anchor>
558 </Anchors>
559 <Scripts>
560 <OnLoad>
561 PanelTemplates_SelectTab(this);
562 PanelTemplates_TabResize(0);
563 getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 31);
564 </OnLoad>
565 <OnClick>
566 CalendarAttendanceList_ShowPanel(this:GetParent(), "MainView");
567 </OnClick>
568 </Scripts>
569 </Button>
570  
571 <Button name="$parentGroupTab" inherits="TabButtonTemplate" text="Group" id="2">
572 <Anchors>
573 <Anchor point="TOPLEFT" relativeTo="$parentExpandAll" relativePoint="TOPRIGHT"/>
574 </Anchors>
575 <Scripts>
576 <OnLoad>
577 PanelTemplates_DeselectTab(this);
578 PanelTemplates_TabResize(0);
579 getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 31);
580 </OnLoad>
581 <OnClick>
582 CalendarAttendanceList_ShowPanel(this:GetParent(), "GroupView");
583 </OnClick>
584 </Scripts>
585 </Button>
586  
587 <Frame name="$parentViewMenu" inherits="UIDropDownMenuTemplate" hidden="false">
588 <Anchors>
589 <Anchor point="TOPLEFT">
590 <Offset>
591 <AbsDimension x="170" y="-28"/>
592 </Offset>
593 </Anchor>
594 </Anchors>
595 <Scripts>
596 <OnLoad>
597 GroupCalendarViewMenu_OnLoad();
598 this.ChangedValueFunc = CalendarAttendanceList_ListViewItemSelected;
599 this.AttendanceList = this:GetParent();
600 </OnLoad>
601 <OnShow>
602 GroupCalendarViewMenu_OnLoad();
603 </OnShow>
604 </Scripts>
605 </Frame>
606  
607 <Frame name="$parentMainView" setAllPoints="true" hidden="true">
608 <Frames>
609 <Button name="$parentAddButton" inherits="UIPanelButtonTemplate" text="GroupCalendar_cAddPlayerTitle">
610 <Size>
611 <AbsDimension x="90" y="21"/>
612 </Size>
613 <Anchors>
614 <Anchor point="BOTTOMRIGHT">
615 <Offset>
616 <AbsDimension x="-115" y="6"/>
617 </Offset>
618 </Anchor>
619 </Anchors>
620 <Scripts>
621 <OnClick>
622 PlaySound("igMainMenuOptionCheckBoxOn");
623 CalendarAddPlayer_Open();
624 </OnClick>
625 </Scripts>
626 </Button>
627 <Frame name="$parentTotals">
628 <Size>
629 <AbsDimension x="315" y="54"/>
630 </Size>
631 <Anchors>
632 <Anchor point="BOTTOMLEFT">
633 <Offset>
634 <AbsDimension x="0" y="26"/>
635 </Offset>
636 </Anchor>
637 </Anchors>
638 <Layers>
639 <Layer level="BACKGROUND">
640 <Texture setAllPoints="true" file="Interface\Addons\GroupCalendar\Textures\AttendanceSummaryBackground">
641 <TexCoords left="0" right="1" top="0" bottom="0.84375"/>
642 </Texture>
643 </Layer>
644 <Layer level="OVERLAY">
645 <FontString name="$parentDruidsLabel" text="GroupCalendar_cDruidsLabel" inherits="GameFontNormalSmall">
646 <Anchors>
647 <Anchor point="TOPRIGHT" relativePoint="BOTTOMLEFT">
648 <Offset>
649 <AbsDimension x="75" y="47"/>
650 </Offset>
651 </Anchor>
652 </Anchors>
653 </FontString>
654 <FontString name="$parentDruids" text="0" inherits="GameFontNormalSmall">
655 <Anchors>
656 <Anchor point="LEFT" relativeTo="$parentDruidsLabel" relativePoint="RIGHT">
657 <Offset>
658 <AbsDimension x="2" y="0"/>
659 </Offset>
660 </Anchor>
661 </Anchors>
662 </FontString>
663 <FontString name="$parentHuntersLabel" text="GroupCalendar_cHuntersLabel" inherits="GameFontNormalSmall">
664 <Anchors>
665 <Anchor point="TOPRIGHT" relativeTo="$parentDruidsLabel" relativePoint="TOPRIGHT">
666 <Offset>
667 <AbsDimension x="100" y="0"/>
668 </Offset>
669 </Anchor>
670 </Anchors>
671 </FontString>
672 <FontString name="$parentHunters" text="0" inherits="GameFontNormalSmall">
673 <Anchors>
674 <Anchor point="LEFT" relativeTo="$parentHuntersLabel" relativePoint="RIGHT">
675 <Offset>
676 <AbsDimension x="2" y="0"/>
677 </Offset>
678 </Anchor>
679 </Anchors>
680 </FontString>
681 <FontString name="$parentMagesLabel" text="GroupCalendar_cMagesLabel" inherits="GameFontNormalSmall">
682 <Anchors>
683 <Anchor point="TOPRIGHT" relativeTo="$parentHuntersLabel" relativePoint="TOPRIGHT">
684 <Offset>
685 <AbsDimension x="100" y="0"/>
686 </Offset>
687 </Anchor>
688 </Anchors>
689 </FontString>
690 <FontString name="$parentMages" text="0" inherits="GameFontNormalSmall">
691 <Anchors>
692 <Anchor point="LEFT" relativeTo="$parentMagesLabel" relativePoint="RIGHT">
693 <Offset>
694 <AbsDimension x="2" y="0"/>
695 </Offset>
696 </Anchor>
697 </Anchors>
698 </FontString>
699 <FontString name="$parentPaladinsLabel" hidden="true" text="GroupCalendar_cPaladinsLabel" inherits="GameFontNormalSmall">
700 <Anchors>
701 <Anchor point="TOPRIGHT" relativeTo="$parentDruidsLabel" relativePoint="TOPRIGHT">
702 <Offset>
703 <AbsDimension x="0" y="-15"/>
704 </Offset>
705 </Anchor>
706 </Anchors>
707 </FontString>
708 <FontString name="$parentPaladins" hidden="true" text="0" inherits="GameFontNormalSmall">
709 <Anchors>
710 <Anchor point="LEFT" relativeTo="$parentPaladinsLabel" relativePoint="RIGHT">
711 <Offset>
712 <AbsDimension x="2" y="0"/>
713 </Offset>
714 </Anchor>
715 </Anchors>
716 </FontString>
717 <FontString name="$parentShamansLabel" hidden="true" text="GroupCalendar_cShamansLabel" inherits="GameFontNormalSmall">
718 <Anchors>
719 <Anchor point="TOPRIGHT" relativeTo="$parentDruidsLabel" relativePoint="TOPRIGHT">
720 <Offset>
721 <AbsDimension x="0" y="-15"/>
722 </Offset>
723 </Anchor>
724 </Anchors>
725 </FontString>
726 <FontString name="$parentShamans" hidden="true" text="0" inherits="GameFontNormalSmall">
727 <Anchors>
728 <Anchor point="LEFT" relativeTo="$parentShamansLabel" relativePoint="RIGHT">
729 <Offset>
730 <AbsDimension x="2" y="0"/>
731 </Offset>
732 </Anchor>
733 </Anchors>
734 </FontString>
735 <FontString name="$parentPriestsLabel" text="GroupCalendar_cPriestsLabel" inherits="GameFontNormalSmall">
736 <Anchors>
737 <Anchor point="TOPRIGHT" relativeTo="$parentHuntersLabel" relativePoint="TOPRIGHT">
738 <Offset>
739 <AbsDimension x="0" y="-15"/>
740 </Offset>
741 </Anchor>
742 </Anchors>
743 </FontString>
744 <FontString name="$parentPriests" text="0" inherits="GameFontNormalSmall">
745 <Anchors>
746 <Anchor point="LEFT" relativeTo="$parentPriestsLabel" relativePoint="RIGHT">
747 <Offset>
748 <AbsDimension x="2" y="0"/>
749 </Offset>
750 </Anchor>
751 </Anchors>
752 </FontString>
753 <FontString name="$parentRoguesLabel" text="GroupCalendar_cRoguesLabel" inherits="GameFontNormalSmall">
754 <Anchors>
755 <Anchor point="TOPRIGHT" relativeTo="$parentMagesLabel" relativePoint="TOPRIGHT">
756 <Offset>
757 <AbsDimension x="0" y="-15"/>
758 </Offset>
759 </Anchor>
760 </Anchors>
761 </FontString>
762 <FontString name="$parentRogues" text="0" inherits="GameFontNormalSmall">
763 <Anchors>
764 <Anchor point="LEFT" relativeTo="$parentRoguesLabel" relativePoint="RIGHT">
765 <Offset>
766 <AbsDimension x="2" y="0"/>
767 </Offset>
768 </Anchor>
769 </Anchors>
770 </FontString>
771 <FontString name="$parentWarlocksLabel" text="GroupCalendar_cWarlocksLabel" inherits="GameFontNormalSmall">
772 <Anchors>
773 <Anchor point="TOPRIGHT" relativeTo="$parentPriestsLabel" relativePoint="TOPRIGHT">
774 <Offset>
775 <AbsDimension x="0" y="-15"/>
776 </Offset>
777 </Anchor>
778 </Anchors>
779 </FontString>
780 <FontString name="$parentWarlocks" text="0" inherits="GameFontNormalSmall">
781 <Anchors>
782 <Anchor point="LEFT" relativeTo="$parentWarlocksLabel" relativePoint="RIGHT">
783 <Offset>
784 <AbsDimension x="2" y="0"/>
785 </Offset>
786 </Anchor>
787 </Anchors>
788 </FontString>
789 <FontString name="$parentWarriorsLabel" text="GroupCalendar_cWarriorsLabel" inherits="GameFontNormalSmall">
790 <Anchors>
791 <Anchor point="TOPRIGHT" relativeTo="$parentRoguesLabel" relativePoint="TOPRIGHT">
792 <Offset>
793 <AbsDimension x="0" y="-15"/>
794 </Offset>
795 </Anchor>
796 </Anchors>
797 </FontString>
798 <FontString name="$parentWarriors" text="0" inherits="GameFontNormalSmall">
799 <Anchors>
800 <Anchor point="LEFT" relativeTo="$parentWarriorsLabel" relativePoint="RIGHT">
801 <Offset>
802 <AbsDimension x="2" y="0"/>
803 </Offset>
804 </Anchor>
805 </Anchors>
806 </FontString>
807 </Layer>
808 </Layers>
809 <Scripts>
810 <OnShow>
811 CalendarAttendanceTotals_OnShow(this);
812 </OnShow>
813 </Scripts>
814 </Frame>
815  
816 <Frame name="$parentAutoConfirm" hidden="false">
817 <Size>
818 <AbsDimension x="315" y="23"/>
819 </Size>
820 <Anchors>
821 <Anchor point="BOTTOMLEFT" relativeTo="$parentTotals" relativePoint="TOPLEFT"/>
822 </Anchors>
823 <Layers>
824 <Layer level="BACKGROUND">
825 <Texture setAllPoints="true" file="Interface\Addons\GroupCalendar\Textures\AutoConfirmEnableBackground">
826 <TexCoords left="0" right="1" top="0" bottom="0.71875"/>
827 </Texture>
828 </Layer>
829 </Layers>
830 <Frames>
831 <CheckButton name="$parentEnable" inherits="OptionsCheckButtonTemplate">
832 <Size>
833 <AbsDimension x="26" y="26"/>
834 </Size>
835 <Anchors>
836 <Anchor point="BOTTOMLEFT">
837 <Offset>
838 <AbsDimension x="12" y="-3"/>
839 </Offset>
840 </Anchor>
841 </Anchors>
842 <Scripts>
843 <OnLoad>
844 getglobal(this:GetName().."Text"):SetText(GroupCalendar_cEnableAutoConfirm);
845 </OnLoad>
846 <OnClick>
847 local vOptionsButton = getglobal(this:GetParent():GetName().."Options");
848  
849 Calendar_SetButtonEnable(vOptionsButton, this:GetChecked());
850 </OnClick>
851 </Scripts>
852 </CheckButton>
853 <Button name="$parentOptions" inherits="CalendarSmallButtonTemplate" text="GroupCalendar_cAutoConfirmButtonTitle">
854 <Size>
855 <AbsDimension x="90" y="18"/>
856 </Size>
857 <Anchors>
858 <Anchor point="BOTTOMRIGHT">
859 <Offset>
860 <AbsDimension x="-15" y="2"/>
861 </Offset>
862 </Anchor>
863 </Anchors>
864 <Scripts>
865 <OnClick>
866 PlaySound("igMainMenuOptionCheckBoxOn");
867 CalendarClassLimits_Open(gCalendarEventEditor_Event.mLimits, GroupCalendar_cAutoConfirmationTitle, false, CalendarEventEditor_SaveClassLimits);
868 </OnClick>
869 </Scripts>
870 </Button>
871 </Frames>
872 </Frame>
873 </Frames>
874 </Frame>
875  
876 <Frame name="$parentGroupView" hidden="true">
877 <Size>
878 <AbsDimension x="315" y="54"/>
879 </Size>
880 <Anchors>
881 <Anchor point="BOTTOMLEFT">
882 <Offset>
883 <AbsDimension x="0" y="26"/>
884 </Offset>
885 </Anchor>
886 </Anchors>
887 <Layers>
888 <Layer level="BACKGROUND">
889 <Texture setAllPoints="true" file="Interface\Addons\GroupCalendar\Textures\AttendanceSummaryBackground">
890 <TexCoords left="0" right="1" top="0" bottom="0.84375"/>
891 </Texture>
892 </Layer>
893 <Layer level="ARTWORK">
894 <FontString name="$parentSelectionInfo" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="MIDDLE">
895 <Size>
896 <AbsDimension x="150" y="21"/>
897 </Size>
898 <Anchors>
899 <Anchor point="TOPLEFT">
900 <Offset>
901 <AbsDimension x="140" y="-7"/>
902 </Offset>
903 </Anchor>
904 </Anchors>
905 </FontString>
906 <FontString name="$parentStatus" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="MIDDLE">
907 <Size>
908 <AbsDimension x="150" y="21"/>
909 </Size>
910 <Anchors>
911 <Anchor point="TOPLEFT">
912 <Offset>
913 <AbsDimension x="140" y="-29"/>
914 </Offset>
915 </Anchor>
916 </Anchors>
917 </FontString>
918 </Layer>
919 </Layers>
920 <Frames>
921 <Button name="$parentAutoSelect" inherits="CalendarSmallButtonTemplate" text="GroupCalendar_cAutoSelectButtonTitle">
922 <Size>
923 <AbsDimension x="120" y="21"/>
924 </Size>
925 <Anchors>
926 <Anchor point="TOPLEFT">
927 <Offset>
928 <AbsDimension x="10" y="-7"/>
929 </Offset>
930 </Anchor>
931 </Anchors>
932 <Scripts>
933 <OnClick>
934 CalendarGroupInvites_AutoSelectPlayers();
935 </OnClick>
936 </Scripts>
937 </Button>
938 <Button name="$parentInvite" inherits="CalendarSmallButtonTemplate" text="GroupCalendar_cInviteButtonTitle">
939 <Size>
940 <AbsDimension x="120" y="21"/>
941 </Size>
942 <Anchors>
943 <Anchor point="TOPLEFT" relativeTo="$parentAutoSelect" relativePoint="BOTTOMLEFT">
944 <Offset>
945 <AbsDimension x="0" y="-1"/>
946 </Offset>
947 </Anchor>
948 </Anchors>
949 <Scripts>
950 <OnClick>
951 CalendarGroupInvites_InviteSelectedPlayers();
952 </OnClick>
953 </Scripts>
954 </Button>
955 </Frames>
956 </Frame>
957  
958 <Frame name="$parentScrollbarTrench" inherits="CalendarScrollbarTrenchTemplate">
959 <Anchors>
960 <Anchor point="TOPRIGHT">
961 <Offset>
962 <AbsDimension x="-3" y="-58"/>
963 </Offset>
964 </Anchor>
965 </Anchors>
966 </Frame>
967  
968 <CheckButton name="$parentItem0" inherits="CalendarAttendanceItemTemplate" id="0">
969 <Anchors>
970 <Anchor point="TOPLEFT">
971 <Offset>
972 <AbsDimension x="5" y="-63"/>
973 </Offset>
974 </Anchor>
975 </Anchors>
976 </CheckButton>
977 <CheckButton name="$parentItem1" inherits="CalendarAttendanceItemTemplate" id="1">
978 <Anchors>
979 <Anchor point="TOPLEFT" relativeTo="$parentItem0" relativePoint="BOTTOMLEFT">
980 <Offset>
981 <AbsDimension x="0" y="0"/>
982 </Offset>
983 </Anchor>
984 </Anchors>
985 </CheckButton>
986 <CheckButton name="$parentItem2" inherits="CalendarAttendanceItemTemplate" id="2">
987 <Anchors>
988 <Anchor point="TOPLEFT" relativeTo="$parentItem1" relativePoint="BOTTOMLEFT">
989 <Offset>
990 <AbsDimension x="0" y="0"/>
991 </Offset>
992 </Anchor>
993 </Anchors>
994 </CheckButton>
995 <CheckButton name="$parentItem3" inherits="CalendarAttendanceItemTemplate" id="3">
996 <Anchors>
997 <Anchor point="TOPLEFT" relativeTo="$parentItem2" relativePoint="BOTTOMLEFT">
998 <Offset>
999 <AbsDimension x="0" y="0"/>
1000 </Offset>
1001 </Anchor>
1002 </Anchors>
1003 </CheckButton>
1004 <CheckButton name="$parentItem4" inherits="CalendarAttendanceItemTemplate" id="4">
1005 <Anchors>
1006 <Anchor point="TOPLEFT" relativeTo="$parentItem3" relativePoint="BOTTOMLEFT">
1007 <Offset>
1008 <AbsDimension x="0" y="0"/>
1009 </Offset>
1010 </Anchor>
1011 </Anchors>
1012 </CheckButton>
1013 <CheckButton name="$parentItem5" inherits="CalendarAttendanceItemTemplate" id="5">
1014 <Anchors>
1015 <Anchor point="TOPLEFT" relativeTo="$parentItem4" relativePoint="BOTTOMLEFT">
1016 <Offset>
1017 <AbsDimension x="0" y="0"/>
1018 </Offset>
1019 </Anchor>
1020 </Anchors>
1021 </CheckButton>
1022 <CheckButton name="$parentItem6" inherits="CalendarAttendanceItemTemplate" id="6">
1023 <Anchors>
1024 <Anchor point="TOPLEFT" relativeTo="$parentItem5" relativePoint="BOTTOMLEFT">
1025 <Offset>
1026 <AbsDimension x="0" y="0"/>
1027 </Offset>
1028 </Anchor>
1029 </Anchors>
1030 </CheckButton>
1031 <CheckButton name="$parentItem7" inherits="CalendarAttendanceItemTemplate" id="7">
1032 <Anchors>
1033 <Anchor point="TOPLEFT" relativeTo="$parentItem6" relativePoint="BOTTOMLEFT">
1034 <Offset>
1035 <AbsDimension x="0" y="0"/>
1036 </Offset>
1037 </Anchor>
1038 </Anchors>
1039 </CheckButton>
1040 <CheckButton name="$parentItem8" inherits="CalendarAttendanceItemTemplate" id="8">
1041 <Anchors>
1042 <Anchor point="TOPLEFT" relativeTo="$parentItem7" relativePoint="BOTTOMLEFT">
1043 <Offset>
1044 <AbsDimension x="0" y="0"/>
1045 </Offset>
1046 </Anchor>
1047 </Anchors>
1048 </CheckButton>
1049 <CheckButton name="$parentItem9" inherits="CalendarAttendanceItemTemplate" id="9">
1050 <Anchors>
1051 <Anchor point="TOPLEFT" relativeTo="$parentItem8" relativePoint="BOTTOMLEFT">
1052 <Offset>
1053 <AbsDimension x="0" y="0"/>
1054 </Offset>
1055 </Anchor>
1056 </Anchors>
1057 </CheckButton>
1058 <CheckButton name="$parentItem10" inherits="CalendarAttendanceItemTemplate" id="10">
1059 <Anchors>
1060 <Anchor point="TOPLEFT" relativeTo="$parentItem9" relativePoint="BOTTOMLEFT">
1061 <Offset>
1062 <AbsDimension x="0" y="0"/>
1063 </Offset>
1064 </Anchor>
1065 </Anchors>
1066 </CheckButton>
1067 <CheckButton name="$parentItem11" inherits="CalendarAttendanceItemTemplate" id="11">
1068 <Anchors>
1069 <Anchor point="TOPLEFT" relativeTo="$parentItem10" relativePoint="BOTTOMLEFT">
1070 <Offset>
1071 <AbsDimension x="0" y="0"/>
1072 </Offset>
1073 </Anchor>
1074 </Anchors>
1075 </CheckButton>
1076 <CheckButton name="$parentItem12" inherits="CalendarAttendanceItemTemplate" id="12">
1077 <Anchors>
1078 <Anchor point="TOPLEFT" relativeTo="$parentItem11" relativePoint="BOTTOMLEFT">
1079 <Offset>
1080 <AbsDimension x="0" y="0"/>
1081 </Offset>
1082 </Anchor>
1083 </Anchors>
1084 </CheckButton>
1085 <CheckButton name="$parentItem13" inherits="CalendarAttendanceItemTemplate" id="13">
1086 <Anchors>
1087 <Anchor point="TOPLEFT" relativeTo="$parentItem12" relativePoint="BOTTOMLEFT">
1088 <Offset>
1089 <AbsDimension x="0" y="0"/>
1090 </Offset>
1091 </Anchor>
1092 </Anchors>
1093 </CheckButton>
1094 <CheckButton name="$parentItem14" inherits="CalendarAttendanceItemTemplate" id="14">
1095 <Anchors>
1096 <Anchor point="TOPLEFT" relativeTo="$parentItem13" relativePoint="BOTTOMLEFT">
1097 <Offset>
1098 <AbsDimension x="0" y="0"/>
1099 </Offset>
1100 </Anchor>
1101 </Anchors>
1102 </CheckButton>
1103 <CheckButton name="$parentItem15" inherits="CalendarAttendanceItemTemplate" id="15">
1104 <Anchors>
1105 <Anchor point="TOPLEFT" relativeTo="$parentItem14" relativePoint="BOTTOMLEFT">
1106 <Offset>
1107 <AbsDimension x="0" y="0"/>
1108 </Offset>
1109 </Anchor>
1110 </Anchors>
1111 </CheckButton>
1112 <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate">
1113 <Size>
1114 <AbsDimension x="282" y="195"/>
1115 </Size>
1116 <Anchors>
1117 <Anchor point="TOPLEFT">
1118 <Offset>
1119 <AbsDimension x="5" y="-63"/>
1120 </Offset>
1121 </Anchor>
1122 </Anchors>
1123 <Scripts>
1124 <OnVerticalScroll>
1125 gCalendarAttendanceList_VerticalScrollList = this:GetParent();
1126 FauxScrollFrame_OnVerticalScroll(gGroupCalendar_cAttendanceItemHeight, CalendarAttendanceList_OnVerticalScroll);
1127 </OnVerticalScroll>
1128 </Scripts>
1129 </ScrollFrame>
1130 </Frames>
1131 <Scripts>
1132 <OnLoad>
1133 CalendarAttendanceList_OnLoad();
1134 </OnLoad>
1135 <OnShow>
1136 CalendarAttendanceList_OnShow();
1137 </OnShow>
1138 <OnHide>
1139 CalendarAttendanceList_OnHide();
1140 </OnHide>
1141 </Scripts>
1142 </Frame>
1143 </UI>