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="localization.lua"/>
4 <Script file="localization.de.lua"/>
5 <Script file="localization.fr.lua"/>
6 <Script file="CT_ExpenseHistory.lua"/>
7 <GameTooltip name="CT_EHTooltip" inherits="GameTooltipTemplate" parent="WorldFrame">
8 <Scripts>
9 <OnLoad>
10 this:SetOwner(WorldFrame, "ANCHOR_NONE");
11 </OnLoad>
12 </Scripts>
13 </GameTooltip>
14 <Button name="CT_EH_LogTabTemplate" virtual="true">
15 <Layers>
16 <Layer level="BACKGROUND">
17 <Texture name="$parentBackground">
18 <Anchors>
19 <Anchor point="TOPLEFT"/>
20 <Anchor point="BOTTOMRIGHT"/>
21 </Anchors>
22 <Color r="1" g="1" b="1" a="1"/>
23 </Texture>
24 </Layer>
25 </Layers>
26 <Scripts>
27 <OnLoad>
28 getglobal(this:GetName() .. "Background"):SetVertexColor(0, 0, 0, 0.5);
29 </OnLoad>
30 <OnEnter>
31 getglobal(this:GetName() .. "Background"):SetVertexColor(0.5, 0.5, 0.5, 0.5);
32 </OnEnter>
33 <OnLeave>
34 getglobal(this:GetName() .. "Background"):SetVertexColor(0, 0, 0, 0.5);
35 </OnLeave>
36 </Scripts>
37 </Button>
38 <Button name="CT_ExpenseHistoryFrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
39 <Size>
40 <AbsDimension x="115" y="32"/>
41 </Size>
42 <Scripts>
43 <OnLoad>
44 this:SetFrameLevel(2);
45 </OnLoad>
46 <OnClick>
47 CT_EH_Tab_OnClick();
48 </OnClick>
49 </Scripts>
50 </Button>
51 <Frame name="CT_ExpenseHistoryLogLineTemplate" virtual="true" hidden="true">
52 <Size>
53 <AbsDimension x="375" y="20"/>
54 </Size>
55 <Layers>
56 <Layer level="ARTWORK">
57 <FontString name="$parentDate" inherits="ChatFontNormal">
58 <Anchors>
59 <Anchor point="LEFT">
60 <Offset>
61 <AbsDimension x="20" y="0"/>
62 </Offset>
63 </Anchor>
64 </Anchors>
65 </FontString>
66 <FontString name="$parentChar" inherits="ChatFontNormal">
67 <Anchors>
68 <Anchor point="LEFT">
69 <Offset>
70 <AbsDimension x="80" y="0"/>
71 </Offset>
72 </Anchor>
73 </Anchors>
74 </FontString>
75 <FontString name="$parentType" inherits="ChatFontNormal">
76 <Anchors>
77 <Anchor point="LEFT">
78 <Offset>
79 <AbsDimension x="205" y="0"/>
80 </Offset>
81 </Anchor>
82 </Anchors>
83 </FontString>
84 </Layer>
85 </Layers>
86 <Frames>
87 <Frame name="$parentCost" inherits="SmallMoneyFrameTemplate">
88 <Anchors>
89 <Anchor point="RIGHT">
90 <Offset>
91 <AbsDimension x="-20" y="0"/>
92 </Offset>
93 </Anchor>
94 </Anchors>
95 <Scripts>
96 <OnLoad>
97 this:SetAlpha(0.75);
98 this.staticMoney = 0;
99 MoneyFrame_SetType("STATIC");
100 this.info.truncateSmallCoins = 1;
101 MoneyFrame_Update(this:GetName(), 0);
102 </OnLoad>
103 </Scripts>
104 </Frame>
105 </Frames>
106 </Frame>
107 <Frame name="CT_ExpenseHistoryClassTemplate" virtual="true" hidden="true">
108 <Size>
109 <AbsDimension x="32" y="32"/>
110 </Size>
111 <Layers>
112 <Layer level="ARTWORK">
113 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes" name="$parentTexture">
114 <Anchors>
115 <Anchor point="TOPLEFT"/>
116 <Anchor point="BOTTOMRIGHT"/>
117 </Anchors>
118 </Texture>
119 </Layer>
120 </Layers>
121 <Frames>
122 <Frame name="$parentPile">
123 <Size>
124 <AbsDimension x="25" y="1"/>
125 </Size>
126 <Anchors>
127 <Anchor point="BOTTOM">
128 <Offset>
129 <AbsDimension x="0" y="42"/>
130 </Offset>
131 </Anchor>
132 </Anchors>
133 <Layers>
134 <Layer level="ARTWORK">
135 <Texture name="$parentBackground" file="Interface\Tooltips\UI-Tooltip-Background" hidden="false">
136 <Anchors>
137 <Anchor point="TOPLEFT"/>
138 <Anchor point="BOTTOMRIGHT"/>
139 </Anchors>
140 <Color r="1" g="1" b="1" a="0.4"/>
141 </Texture>
142 <FontString name="$parentNumber" text="5" inherits="GameFontNormal">
143 <Anchors>
144 <Anchor point="TOP">
145 <Offset>
146 <AbsDimension x="0" y="15"/>
147 </Offset>
148 </Anchor>
149 </Anchors>
150 </FontString>
151 </Layer>
152 </Layers>
153 </Frame>
154 </Frames>
155 <Scripts>
156 <OnEnter>
157 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
158 GameTooltip:SetText(this.name);
159 </OnEnter>
160 <OnLeave>
161 GameTooltip:Hide();
162 </OnLeave>
163 </Scripts>
164 </Frame>
165 <Frame name="CT_ExpenseHistoryFrame" movable="true" frameStrata="DIALOG" toplevel="true" hidden="true" parent="UIParent">
166 <Size>
167 <AbsDimension x="375" y="535"/>
168 </Size>
169 <Anchors>
170 <Anchor point="CENTER"/>
171 </Anchors>
172 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
173 <BackgroundInsets>
174 <AbsInset left="11" right="12" top="12" bottom="11"/>
175 </BackgroundInsets>
176 <TileSize>
177 <AbsValue val="32"/>
178 </TileSize>
179 <EdgeSize>
180 <AbsValue val="32"/>
181 </EdgeSize>
182 </Backdrop>
183 <Layers>
184 <Layer level="ARTWORK">
185 <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header">
186 <Size>
187 <AbsDimension x="300" y="64"/>
188 </Size>
189 <Anchors>
190 <Anchor point="TOP">
191 <Offset>
192 <AbsDimension x="0" y="12"/>
193 </Offset>
194 </Anchor>
195 </Anchors>
196 </Texture>
197 <FontString name="$parentTitle" inherits="GameFontNormal" text="CT_ExpenseHistory">
198 <Anchors>
199 <Anchor point="TOP" relativeTo="$parentHeaderTexture">
200 <Offset>
201 <AbsDimension x="0" y="-14"/>
202 </Offset>
203 </Anchor>
204 </Anchors>
205 </FontString>
206 <FontString name="$parentRecordingText" inherits="GameFontNormal">
207 <Anchors>
208 <Anchor point="TOP">
209 <Offset>
210 <AbsDimension x="0" y="-505"/>
211 </Offset>
212 </Anchor>
213 </Anchors>
214 </FontString>
215 </Layer>
216 </Layers>
217 <Frames>
218 <Button name="$parentCloseButton" hidden="false">
219 <Size>
220 <AbsDimension x="42" y="42"/>
221 </Size>
222 <Anchors>
223 <Anchor point="TOPRIGHT">
224 <Offset>
225 <AbsDimension x="-5" y="-5"/>
226 </Offset>
227 </Anchor>
228 </Anchors>
229 <Scripts>
230 <OnClick>
231 HideUIPanel(this:GetParent());
232 </OnClick>
233 </Scripts>
234 <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
235 <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
236 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
237 </Button>
238 <Frame name="$parentDrag">
239 <Size>
240 <AbsDimension x="150" y="32"/>
241 </Size>
242 <Anchors>
243 <Anchor point="TOP">
244 <Offset>
245 <AbsDimension x="0" y="12"/>
246 </Offset>
247 </Anchor>
248 </Anchors>
249 <Scripts>
250 <OnMouseDown>
251 if ( arg1 == "LeftButton" ) then
252 this:GetParent():StartMoving();
253 elseif ( arg1 == "RightButton" ) then
254 this:GetParent():ClearAllPoints();
255 this:GetParent():SetPoint("CENTER", "UIParent", "CENTER");
256 end
257 </OnMouseDown>
258 <OnMouseUp>
259 this:GetParent():StopMovingOrSizing();
260 </OnMouseUp>
261 <OnEnter>
262 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
263 GameTooltip:SetText("Left-click to drag\nRight-click to reset");
264 </OnEnter>
265 <OnLeave>
266 GameTooltip:Hide();
267 </OnLeave>
268 </Scripts>
269 </Frame>
270  
271 <Frame name="$parentSummary" hidden="false">
272 <Anchors>
273 <Anchor point="TOPLEFT"/>
274 <Anchor point="BOTTOMRIGHT"/>
275 </Anchors>
276 <Layers>
277 <Layer level="ARTWORK">
278 <FontString name="$parentPlayerDistribution" text="CT_EH_PLAYERDISTRIBUTION" inherits="GameFontNormal">
279 <Anchors>
280 <Anchor point="TOPLEFT">
281 <Offset>
282 <AbsDimension x="25" y="-265"/>
283 </Offset>
284 </Anchor>
285 </Anchors>
286 </FontString>
287 <FontString name="$parentAverageRepair" text="CT_EH_AVERAGEREPAIR" inherits="GameFontNormal">
288 <Anchors>
289 <Anchor point="TOPLEFT">
290 <Offset>
291 <AbsDimension x="25" y="-40"/>
292 </Offset>
293 </Anchor>
294 </Anchors>
295 </FontString>
296 <FontString name="$parentAvgExpensesPerDay" text="CT_EH_AVERAGEEXPENSES" inherits="GameFontNormal">
297 <Anchors>
298 <Anchor point="TOPLEFT">
299 <Offset>
300 <AbsDimension x="25" y="-65"/>
301 </Offset>
302 </Anchor>
303 </Anchors>
304 </FontString>
305 <FontString name="$parentAvgExpensesFlights" text="CT_EH_FLIGHTCOSTS" inherits="ChatFontNormal">
306 <Anchors>
307 <Anchor point="TOPLEFT">
308 <Offset>
309 <AbsDimension x="45" y="-80"/>
310 </Offset>
311 </Anchor>
312 </Anchors>
313 </FontString>
314 <FontString name="$parentAvgExpensesRepairs" text="CT_EH_REPAIRCOSTS" inherits="ChatFontNormal">
315 <Anchors>
316 <Anchor point="TOPLEFT">
317 <Offset>
318 <AbsDimension x="45" y="-95"/>
319 </Offset>
320 </Anchor>
321 </Anchors>
322 </FontString>
323 <FontString name="$parentAvgExpensesReagents" text="CT_EH_REAGENTCOSTS" inherits="ChatFontNormal">
324 <Anchors>
325 <Anchor point="TOPLEFT">
326 <Offset>
327 <AbsDimension x="45" y="-110"/>
328 </Offset>
329 </Anchor>
330 </Anchors>
331 </FontString>
332 <FontString name="$parentAvgExpensesAmmo" text="CT_EH_AMMOCOSTS" inherits="ChatFontNormal">
333 <Anchors>
334 <Anchor point="TOPLEFT">
335 <Offset>
336 <AbsDimension x="45" y="-125"/>
337 </Offset>
338 </Anchor>
339 </Anchors>
340 </FontString>
341 <FontString name="$parentAvgExpensesMail" text="CT_EH_MAILCOSTS" inherits="ChatFontNormal">
342 <Anchors>
343 <Anchor point="TOPLEFT">
344 <Offset>
345 <AbsDimension x="45" y="-140"/>
346 </Offset>
347 </Anchor>
348 </Anchors>
349 </FontString>
350 <FontString name="$parentTotalCost" text="CT_EH_TOTALCOST" inherits="GameFontNormal">
351 <Anchors>
352 <Anchor point="TOPLEFT">
353 <Offset>
354 <AbsDimension x="25" y="-165"/>
355 </Offset>
356 </Anchor>
357 </Anchors>
358 </FontString>
359 <FontString name="$parentTotalCostFlights" text="CT_EH_FLIGHTCOSTS" inherits="ChatFontNormal">
360 <Anchors>
361 <Anchor point="TOPLEFT">
362 <Offset>
363 <AbsDimension x="45" y="-180"/>
364 </Offset>
365 </Anchor>
366 </Anchors>
367 </FontString>
368 <FontString name="$parentTotalCostRepairs" text="CT_EH_REPAIRCOSTS" inherits="ChatFontNormal">
369 <Anchors>
370 <Anchor point="TOPLEFT">
371 <Offset>
372 <AbsDimension x="45" y="-195"/>
373 </Offset>
374 </Anchor>
375 </Anchors>
376 </FontString>
377 <FontString name="$parentTotalCostReagents" text="CT_EH_REAGENTCOSTS" inherits="ChatFontNormal">
378 <Anchors>
379 <Anchor point="TOPLEFT">
380 <Offset>
381 <AbsDimension x="45" y="-210"/>
382 </Offset>
383 </Anchor>
384 </Anchors>
385 </FontString>
386 <FontString name="$parentTotalCostAmmo" text="CT_EH_AMMOCOSTS" inherits="ChatFontNormal">
387 <Anchors>
388 <Anchor point="TOPLEFT">
389 <Offset>
390 <AbsDimension x="45" y="-225"/>
391 </Offset>
392 </Anchor>
393 </Anchors>
394 </FontString>
395 <FontString name="$parentTotalCostMail" text="CT_EH_MAILCOSTS" inherits="ChatFontNormal">
396 <Anchors>
397 <Anchor point="TOPLEFT">
398 <Offset>
399 <AbsDimension x="45" y="-240"/>
400 </Offset>
401 </Anchor>
402 </Anchors>
403 </FontString>
404 </Layer>
405 </Layers>
406 <Frames>
407 <Frame name="$parentAverageRepairMoney" inherits="MoneyFrameTemplate">
408 <Anchors>
409 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentAverageRepair">
410 <Offset>
411 <AbsDimension x="350" y="0"/>
412 </Offset>
413 </Anchor>
414 </Anchors>
415 <Scripts>
416 <OnLoad>
417 this.staticMoney = 0;
418 MoneyFrame_SetType("STATIC");
419 MoneyFrame_Update(this:GetName(), 0);
420 </OnLoad>
421 </Scripts>
422 </Frame>
423 <Frame name="$parentAvgExpensesPerDayMoney" inherits="MoneyFrameTemplate">
424 <Anchors>
425 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentAvgExpensesPerDay">
426 <Offset>
427 <AbsDimension x="350" y="0"/>
428 </Offset>
429 </Anchor>
430 </Anchors>
431 <Scripts>
432 <OnLoad>
433 this.staticMoney = 0;
434 MoneyFrame_SetType("STATIC");
435 MoneyFrame_Update(this:GetName(), 0);
436 </OnLoad>
437 </Scripts>
438 </Frame>
439 <Frame name="$parentTotalCostMoney" inherits="MoneyFrameTemplate">
440 <Anchors>
441 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentTotalCost">
442 <Offset>
443 <AbsDimension x="350" y="0"/>
444 </Offset>
445 </Anchor>
446 </Anchors>
447 <Scripts>
448 <OnLoad>
449 this.staticMoney = 0;
450 MoneyFrame_SetType("STATIC");
451 MoneyFrame_Update(this:GetName(), 0);
452 </OnLoad>
453 </Scripts>
454 </Frame>
455 <Frame name="$parentAvgExpensesFlightsMoney" inherits="SmallMoneyFrameTemplate">
456 <Anchors>
457 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentAvgExpensesFlights">
458 <Offset>
459 <AbsDimension x="330" y="0"/>
460 </Offset>
461 </Anchor>
462 </Anchors>
463 <Scripts>
464 <OnLoad>
465 this:SetAlpha(0.75);
466 this.staticMoney = 0;
467 MoneyFrame_SetType("STATIC");
468 MoneyFrame_Update(this:GetName(), 0);
469 </OnLoad>
470 </Scripts>
471 </Frame>
472 <Frame name="$parentAvgExpensesRepairsMoney" inherits="SmallMoneyFrameTemplate">
473 <Anchors>
474 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentAvgExpensesRepairs">
475 <Offset>
476 <AbsDimension x="330" y="0"/>
477 </Offset>
478 </Anchor>
479 </Anchors>
480 <Scripts>
481 <OnLoad>
482 this:SetAlpha(0.75);
483 this.staticMoney = 0;
484 MoneyFrame_SetType("STATIC");
485 MoneyFrame_Update(this:GetName(), 0);
486 </OnLoad>
487 </Scripts>
488 </Frame>
489 <Frame name="$parentAvgExpensesReagentsMoney" inherits="SmallMoneyFrameTemplate">
490 <Anchors>
491 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentAvgExpensesReagents">
492 <Offset>
493 <AbsDimension x="330" y="0"/>
494 </Offset>
495 </Anchor>
496 </Anchors>
497 <Scripts>
498 <OnLoad>
499 this:SetAlpha(0.75);
500 this.staticMoney = 0;
501 MoneyFrame_SetType("STATIC");
502 MoneyFrame_Update(this:GetName(), 0);
503 </OnLoad>
504 </Scripts>
505 </Frame>
506 <Frame name="$parentAvgExpensesAmmoMoney" inherits="SmallMoneyFrameTemplate">
507 <Anchors>
508 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentAvgExpensesAmmo">
509 <Offset>
510 <AbsDimension x="330" y="0"/>
511 </Offset>
512 </Anchor>
513 </Anchors>
514 <Scripts>
515 <OnLoad>
516 this:SetAlpha(0.75);
517 this.staticMoney = 0;
518 MoneyFrame_SetType("STATIC");
519 MoneyFrame_Update(this:GetName(), 0);
520 </OnLoad>
521 </Scripts>
522 </Frame>
523 <Frame name="$parentAvgExpensesMailMoney" inherits="SmallMoneyFrameTemplate">
524 <Anchors>
525 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentAvgExpensesMail">
526 <Offset>
527 <AbsDimension x="330" y="0"/>
528 </Offset>
529 </Anchor>
530 </Anchors>
531 <Scripts>
532 <OnLoad>
533 this:SetAlpha(0.75);
534 this.staticMoney = 0;
535 MoneyFrame_SetType("STATIC");
536 MoneyFrame_Update(this:GetName(), 0);
537 </OnLoad>
538 </Scripts>
539 </Frame>
540 <Frame name="$parentTotalCostFlightsMoney" inherits="SmallMoneyFrameTemplate">
541 <Anchors>
542 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentTotalCostFlights">
543 <Offset>
544 <AbsDimension x="330" y="0"/>
545 </Offset>
546 </Anchor>
547 </Anchors>
548 <Scripts>
549 <OnLoad>
550 this:SetAlpha(0.75);
551 this.staticMoney = 0;
552 MoneyFrame_SetType("STATIC");
553 MoneyFrame_Update(this:GetName(), 0);
554 </OnLoad>
555 </Scripts>
556 </Frame>
557 <Frame name="$parentTotalCostRepairsMoney" inherits="SmallMoneyFrameTemplate">
558 <Anchors>
559 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentTotalCostRepairs">
560 <Offset>
561 <AbsDimension x="330" y="0"/>
562 </Offset>
563 </Anchor>
564 </Anchors>
565 <Scripts>
566 <OnLoad>
567 this:SetAlpha(0.75);
568 this.staticMoney = 0;
569 MoneyFrame_SetType("STATIC");
570 MoneyFrame_Update(this:GetName(), 0);
571 </OnLoad>
572 </Scripts>
573 </Frame>
574 <Frame name="$parentTotalCostReagentsMoney" inherits="SmallMoneyFrameTemplate">
575 <Anchors>
576 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentTotalCostReagents">
577 <Offset>
578 <AbsDimension x="330" y="0"/>
579 </Offset>
580 </Anchor>
581 </Anchors>
582 <Scripts>
583 <OnLoad>
584 this:SetAlpha(0.75);
585 this.staticMoney = 0;
586 MoneyFrame_SetType("STATIC");
587 MoneyFrame_Update(this:GetName(), 0);
588 </OnLoad>
589 </Scripts>
590 </Frame>
591 <Frame name="$parentTotalCostAmmoMoney" inherits="SmallMoneyFrameTemplate">
592 <Anchors>
593 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentTotalCostAmmo">
594 <Offset>
595 <AbsDimension x="330" y="0"/>
596 </Offset>
597 </Anchor>
598 </Anchors>
599 <Scripts>
600 <OnLoad>
601 this:SetAlpha(0.75);
602 this.staticMoney = 0;
603 MoneyFrame_SetType("STATIC");
604 MoneyFrame_Update(this:GetName(), 0);
605 </OnLoad>
606 </Scripts>
607 </Frame>
608 <Frame name="$parentTotalCostMailMoney" inherits="SmallMoneyFrameTemplate">
609 <Anchors>
610 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentTotalCostMail">
611 <Offset>
612 <AbsDimension x="330" y="0"/>
613 </Offset>
614 </Anchor>
615 </Anchors>
616 <Scripts>
617 <OnLoad>
618 this:SetAlpha(0.75);
619 this.staticMoney = 0;
620 MoneyFrame_SetType("STATIC");
621 MoneyFrame_Update(this:GetName(), 0);
622 </OnLoad>
623 </Scripts>
624 </Frame>
625 <Frame name="$parentDiagram">
626 <Size>
627 <AbsDimension x="350" y="144"/>
628 </Size>
629 <Anchors>
630 <Anchor point="TOPLEFT">
631 <Offset>
632 <AbsDimension x="25" y="-270"/>
633 </Offset>
634 </Anchor>
635 </Anchors>
636 <Frames>
637 <Frame name="$parentClass1" inherits="CT_ExpenseHistoryClassTemplate" id="1">
638 <Anchors>
639 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
640 <Offset>
641 <AbsDimension x="17" y="-20"/>
642 </Offset>
643 </Anchor>
644 </Anchors>
645 </Frame>
646 <Frame name="$parentClass2" inherits="CT_ExpenseHistoryClassTemplate" id="2">
647 <Anchors>
648 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClass1">
649 <Offset>
650 <AbsDimension x="5" y="0"/>
651 </Offset>
652 </Anchor>
653 </Anchors>
654 </Frame>
655 <Frame name="$parentClass3" inherits="CT_ExpenseHistoryClassTemplate" id="3">
656 <Anchors>
657 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClass2">
658 <Offset>
659 <AbsDimension x="5" y="0"/>
660 </Offset>
661 </Anchor>
662 </Anchors>
663 </Frame>
664 <Frame name="$parentClass4" inherits="CT_ExpenseHistoryClassTemplate" id="4">
665 <Anchors>
666 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClass3">
667 <Offset>
668 <AbsDimension x="5" y="0"/>
669 </Offset>
670 </Anchor>
671 </Anchors>
672 </Frame>
673 <Frame name="$parentClass5" inherits="CT_ExpenseHistoryClassTemplate" id="5">
674 <Anchors>
675 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClass4">
676 <Offset>
677 <AbsDimension x="5" y="0"/>
678 </Offset>
679 </Anchor>
680 </Anchors>
681 </Frame>
682 <Frame name="$parentClass6" inherits="CT_ExpenseHistoryClassTemplate" id="6">
683 <Anchors>
684 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClass5">
685 <Offset>
686 <AbsDimension x="5" y="0"/>
687 </Offset>
688 </Anchor>
689 </Anchors>
690 </Frame>
691 <Frame name="$parentClass7" inherits="CT_ExpenseHistoryClassTemplate" id="7">
692 <Anchors>
693 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClass6">
694 <Offset>
695 <AbsDimension x="5" y="0"/>
696 </Offset>
697 </Anchor>
698 </Anchors>
699 </Frame>
700 <Frame name="$parentClass8" inherits="CT_ExpenseHistoryClassTemplate" id="8">
701 <Anchors>
702 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClass7">
703 <Offset>
704 <AbsDimension x="5" y="0"/>
705 </Offset>
706 </Anchor>
707 </Anchors>
708 </Frame>
709 </Frames>
710 </Frame>
711 <Frame name="CT_ExpenseHistoryFrameDropDown" inherits="UIDropDownMenuTemplate" id="1">
712 <Size>
713 <AbsDimension x="125" y="15"/>
714 </Size>
715 <Anchors>
716 <Anchor point="TOP">
717 <Offset>
718 <AbsDimension x="0" y="-475"/>
719 </Offset>
720 </Anchor>
721 </Anchors>
722 <Scripts>
723 <OnLoad>
724 CT_EH_DropDown_OnLoad();
725 </OnLoad>
726 </Scripts>
727 </Frame>
728 </Frames>
729 </Frame>
730 <Frame name="$parentLog" hidden="true">
731 <Anchors>
732 <Anchor point="TOPLEFT"/>
733 <Anchor point="BOTTOMRIGHT"/>
734 </Anchors>
735 <Frames>
736 <Button name="$parentDate" inherits="CT_EH_LogTabTemplate">
737 <Anchors>
738 <Anchor point="TOPLEFT">
739 <Offset>
740 <AbsDimension x="12" y="-35"/>
741 </Offset>
742 </Anchor>
743 </Anchors>
744 <Size>
745 <AbsDimension x="60" y="24"/>
746 </Size>
747 <Scripts>
748 <OnClick>
749 CT_EH_SortLogBy(1);
750 PlaySound("igMainMenuOptionCheckBoxOn");
751 </OnClick>
752 </Scripts>
753 <NormalText inherits="GameFontNormal" text="CT_EH_LOGDATE">
754 <Anchors>
755 <Anchor point="LEFT">
756 <Offset>
757 <AbsDimension x="8" y="0"/>
758 </Offset>
759 </Anchor>
760 </Anchors>
761 </NormalText>
762 </Button>
763 <Button name="$parentChar" inherits="CT_EH_LogTabTemplate">
764 <Anchors>
765 <Anchor point="TOPLEFT">
766 <Offset>
767 <AbsDimension x="72" y="-35"/>
768 </Offset>
769 </Anchor>
770 </Anchors>
771 <Size>
772 <AbsDimension x="125" y="24"/>
773 </Size>
774 <Scripts>
775 <OnClick>
776 CT_EH_SortLogBy(2);
777 PlaySound("igMainMenuOptionCheckBoxOn");
778 </OnClick>
779 </Scripts>
780 <NormalText inherits="GameFontNormal" text="CT_EH_LOGCHAR">
781 <Anchors>
782 <Anchor point="LEFT">
783 <Offset>
784 <AbsDimension x="8" y="0"/>
785 </Offset>
786 </Anchor>
787 </Anchors>
788 </NormalText>
789 </Button>
790 <Button name="$parentType" inherits="CT_EH_LogTabTemplate">
791 <Anchors>
792 <Anchor point="TOPLEFT">
793 <Offset>
794 <AbsDimension x="197" y="-35"/>
795 </Offset>
796 </Anchor>
797 </Anchors>
798 <Size>
799 <AbsDimension x="73" y="24"/>
800 </Size>
801 <Scripts>
802 <OnClick>
803 CT_EH_SortLogBy(3);
804 PlaySound("igMainMenuOptionCheckBoxOn");
805 </OnClick>
806 </Scripts>
807 <NormalText inherits="GameFontNormal" text="CT_EH_LOGTYPE">
808 <Anchors>
809 <Anchor point="LEFT">
810 <Offset>
811 <AbsDimension x="8" y="0"/>
812 </Offset>
813 </Anchor>
814 </Anchors>
815 </NormalText>
816 </Button>
817 <Button name="$parentCost" inherits="CT_EH_LogTabTemplate">
818 <Anchors>
819 <Anchor point="TOPRIGHT">
820 <Offset>
821 <AbsDimension x="-30" y="-35"/>
822 </Offset>
823 </Anchor>
824 </Anchors>
825 <Size>
826 <AbsDimension x="75" y="24"/>
827 </Size>
828 <Scripts>
829 <OnClick>
830 CT_EH_SortLogBy(4);
831 PlaySound("igMainMenuOptionCheckBoxOn");
832 </OnClick>
833 </Scripts>
834 <NormalText inherits="GameFontNormal" text="CT_EH_LOGCOST">
835 <Anchors>
836 <Anchor point="LEFT">
837 <Offset>
838 <AbsDimension x="8" y="0"/>
839 </Offset>
840 </Anchor>
841 </Anchors>
842 </NormalText>
843 </Button>
844 <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate">
845 <Size>
846 <AbsDimension x="320" y="465"/>
847 </Size>
848 <Anchors>
849 <Anchor point="TOPLEFT">
850 <Offset>
851 <AbsDimension x="19" y="-40"/>
852 </Offset>
853 </Anchor>
854 </Anchors>
855 <Scripts>
856 <OnVerticalScroll>
857 FauxScrollFrame_OnVerticalScroll(20, CT_EH_UpdateLog);
858 </OnVerticalScroll>
859 </Scripts>
860 </ScrollFrame>
861 <Frame name="$parentLine1" inherits="CT_ExpenseHistoryLogLineTemplate" id="1">
862 <Anchors>
863 <Anchor point="TOPLEFT">
864 <Offset>
865 <AbsDimension x="0" y="-55"/>
866 </Offset>
867 </Anchor>
868 </Anchors>
869 </Frame>
870 <Frame name="$parentLine2" inherits="CT_ExpenseHistoryLogLineTemplate" id="2">
871 <Anchors>
872 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine1"/>
873 </Anchors>
874 </Frame>
875 <Frame name="$parentLine3" inherits="CT_ExpenseHistoryLogLineTemplate" id="3">
876 <Anchors>
877 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine2"/>
878 </Anchors>
879 </Frame>
880 <Frame name="$parentLine4" inherits="CT_ExpenseHistoryLogLineTemplate" id="4">
881 <Anchors>
882 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine3"/>
883 </Anchors>
884 </Frame>
885 <Frame name="$parentLine5" inherits="CT_ExpenseHistoryLogLineTemplate" id="5">
886 <Anchors>
887 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine4"/>
888 </Anchors>
889 </Frame>
890 <Frame name="$parentLine6" inherits="CT_ExpenseHistoryLogLineTemplate" id="6">
891 <Anchors>
892 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine5"/>
893 </Anchors>
894 </Frame>
895 <Frame name="$parentLine7" inherits="CT_ExpenseHistoryLogLineTemplate" id="7">
896 <Anchors>
897 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine6"/>
898 </Anchors>
899 </Frame>
900 <Frame name="$parentLine8" inherits="CT_ExpenseHistoryLogLineTemplate" id="8">
901 <Anchors>
902 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine7"/>
903 </Anchors>
904 </Frame>
905 <Frame name="$parentLine9" inherits="CT_ExpenseHistoryLogLineTemplate" id="9">
906 <Anchors>
907 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine8"/>
908 </Anchors>
909 </Frame>
910 <Frame name="$parentLine10" inherits="CT_ExpenseHistoryLogLineTemplate" id="10">
911 <Anchors>
912 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine9"/>
913 </Anchors>
914 </Frame>
915 <Frame name="$parentLine11" inherits="CT_ExpenseHistoryLogLineTemplate" id="11">
916 <Anchors>
917 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine10"/>
918 </Anchors>
919 </Frame>
920 <Frame name="$parentLine12" inherits="CT_ExpenseHistoryLogLineTemplate" id="12">
921 <Anchors>
922 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine11"/>
923 </Anchors>
924 </Frame>
925 <Frame name="$parentLine13" inherits="CT_ExpenseHistoryLogLineTemplate" id="13">
926 <Anchors>
927 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine12"/>
928 </Anchors>
929 </Frame>
930 <Frame name="$parentLine14" inherits="CT_ExpenseHistoryLogLineTemplate" id="14">
931 <Anchors>
932 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine13"/>
933 </Anchors>
934 </Frame>
935 <Frame name="$parentLine15" inherits="CT_ExpenseHistoryLogLineTemplate" id="15">
936 <Anchors>
937 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine14"/>
938 </Anchors>
939 </Frame>
940 <Frame name="$parentLine16" inherits="CT_ExpenseHistoryLogLineTemplate" id="16">
941 <Anchors>
942 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine15"/>
943 </Anchors>
944 </Frame>
945 <Frame name="$parentLine17" inherits="CT_ExpenseHistoryLogLineTemplate" id="17">
946 <Anchors>
947 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine16"/>
948 </Anchors>
949 </Frame>
950 <Frame name="$parentLine18" inherits="CT_ExpenseHistoryLogLineTemplate" id="18">
951 <Anchors>
952 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine17"/>
953 </Anchors>
954 </Frame>
955 <Frame name="$parentLine19" inherits="CT_ExpenseHistoryLogLineTemplate" id="19">
956 <Anchors>
957 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine18"/>
958 </Anchors>
959 </Frame>
960 <Frame name="$parentLine20" inherits="CT_ExpenseHistoryLogLineTemplate" id="20">
961 <Anchors>
962 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine19"/>
963 </Anchors>
964 </Frame>
965 <Frame name="$parentLine21" inherits="CT_ExpenseHistoryLogLineTemplate" id="21">
966 <Anchors>
967 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine20"/>
968 </Anchors>
969 </Frame>
970 <Frame name="$parentLine22" inherits="CT_ExpenseHistoryLogLineTemplate" id="22">
971 <Anchors>
972 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentLine21"/>
973 </Anchors>
974 </Frame>
975 </Frames>
976 </Frame>
977 <Button name="$parentTab1" inherits="CT_ExpenseHistoryFrameTabTemplate" id="1" text="CT_EH_SUMMARY">
978 <Anchors>
979 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
980 <Offset>
981 <AbsDimension x="60" y="-8"/>
982 </Offset>
983 </Anchor>
984 </Anchors>
985 </Button>
986 <Button name="$parentTab2" inherits="CT_ExpenseHistoryFrameTabTemplate" id="2" text="CT_EH_LOG">
987 <Anchors>
988 <Anchor point="LEFT" relativeTo="$parentTab1" relativePoint="RIGHT">
989 <Offset>
990 <AbsDimension x="-16" y="0"/>
991 </Offset>
992 </Anchor>
993 </Anchors>
994 </Button>
995 </Frames>
996 <Scripts>
997 <OnLoad>
998 this:RegisterEvent("PLAYER_ENTERING_WORLD");
999 this.elapsed = 0;
1000 PanelTemplates_SetNumTabs(this, 2);
1001 PanelTemplates_SetTab(this, 1);
1002 </OnLoad>
1003 <OnEvent>
1004 CT_EH_OnEvent(event);
1005 </OnEvent>
1006 <OnShow>
1007 CT_EH_OnShow();
1008 </OnShow>
1009 <OnUpdate>
1010 CT_EH_ProcessAnimation(arg1);
1011 </OnUpdate>
1012 <OnHide>
1013 PlaySound("UChatScrollButton");
1014 </OnHide>
1015 </Scripts>
1016 </Frame>
1017 </Ui>