forked from belazor-wow/WorldQuestTab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WorldQuestTab.xml
1330 lines (1253 loc) · 43.3 KB
/
WorldQuestTab.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<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">
<Script file="Libs\LibStub\LibStub.lua"/>
<Include file="libs\AceAddon-3.0\AceAddon-3.0.xml"/>
<Include file="libs\AceDB-3.0\AceDB-3.0.xml"/>
<Include file="libs\AddonDropDown-2.0\AddonDropDown-2.0.xml"/>
<Script file="Locals.lua"/>
<Script file="Data.lua"/>
<Script file="Profiles.lua"/>
<Include file="Templates.xml"/>
<Script file="Dataprovider.lua"/>
<Script file="WorldQuestTab.lua"/>
<Include file="MapPinProvider.xml"/>
<include file="Callings\CallingsBoard.xml"/>
<!--<Include file="External\External.xml"/>-->
<Include file="Debug.xml"/>
<Button name="WQT_TabTemplate" virtual="true">
<Size x="33" y="35"/>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\PaperDollInfoFrame\PaperDollSidebarTabs" parentKey="TabBg">
<Size x="50" y="42"/>
<Anchors>
<Anchor point="BOTTOMLEFT" x="-9" y="-2"/>
</Anchors>
<TexCoords left="0.01562500" right="0.79687500" top="0.61328125" bottom="0.78125000"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="Icon">
<Size x="19" y="21"/>
<Anchors>
<Anchor point="BOTTOM" x="1" y="4"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="Hider" file="Interface\PaperDollInfoFrame\PaperDollSidebarTabs">
<Size x="32" y="19"/>
<Anchors>
<Anchor point="BOTTOM"/>
</Anchors>
<TexCoords left="0.01562500" right="0.54687500" top="0.11328125" bottom="0.18750000"/>
</Texture>
</Layer>
<Layer level="HIGHLIGHT">
<Texture parentKey="Highlight" file="Interface\PaperDollInfoFrame\PaperDollSidebarTabs">
<Size x="31" y="31"/>
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-4"/>
</Anchors>
<TexCoords left="0.01562500" right="0.50000000" top="0.19531250" bottom="0.31640625"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
WQT_WorldQuestFrame:SelectTab(self, button);
self.Highlight:Hide();
</OnClick>
<OnEnter>
if self.tooltipText then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, true);
GameTooltip:Show();
end
if WQT_WorldQuestFrame.selectedTab == self then
self.Highlight:Hide();
else
self.Highlight:Show();
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnLoad>
self:RegisterForClicks("LeftButtonUp");
</OnLoad>
</Scripts>
</Button>
<Frame name="WQT_RewardTemplate" parentArray="rewardFrames" virtual="true">
<Size x="28" y="29" />
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Icon" file="Interface\ICONS\INV_Misc_QuestionMark">
<Anchors>
<Anchor point="TOPLEFT" x="1" y="-1"/>
<Anchor point="BOTTOMRIGHT" x="-1" y="1"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString parentKey="Amount" inherits="WQT_NumberFontOutline" maxLines="1" justifyH="RIGHT">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="1" y="1"/>
</Anchors>
<Color r="1" g="1" b="1"/>
</FontString>
</Layer>
<Layer level="BORDER">
<Texture parentKey="IconBorder" file="Interface\Common\WhiteIconFrame" hidden="false">
<Size x="28" y="28"/>
</Texture>
<Texture parentKey="ConduitCorners" atlas="conduiticonframe-corners" hidden="true">
<Size x="28" y="28"/>
<!-- Shit's painfully bright yo -->
<Color r="0.9" g="0.9" b="0.9"/>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="WQT_RewardDisplayTemplate" mixin="WQT_RewardDisplayMixin" virtual="true">
<Size x="28" y="28" />
<Frames>
<Frame parentKey="Reward1" inherits="WQT_RewardTemplate" >
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Frame>
<Frame parentKey="Reward2" inherits="WQT_RewardTemplate" >
<Anchors>
<Anchor point="TOPLEFT" x="29"/>
</Anchors>
</Frame>
<Frame parentKey="Reward3" inherits="WQT_RewardTemplate" >
<Anchors>
<Anchor point="TOPLEFT" x="58"/>
</Anchors>
</Frame>
<Frame parentKey="Reward4" inherits="WQT_RewardTemplate" >
<Anchors>
<Anchor point="TOPLEFT" x="87"/>
</Anchors>
</Frame>
</Frames>
<Scripts>
<OnLoad method="OnLoad"/>
</Scripts>
</Frame>
<Button name="WQT_QuestTemplate" mixin="WQT_ListButtonMixin" hidden="true" virtual="true" registerForClicks="LeftButtonUp, RightButtonUp" >
<Size x="260" y="32"/>
<Frames>
<Frame parentKey="Type" hidden="true">
<Size x="28" y="28" />
<Anchors>
<Anchor point="LEFT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture parentKey="Elite" atlas="worldquest-questmarker-dragon"/>
</Layer>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture parentKey="CriteriaGlow">
<Size x="32" y="32" />
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture parentKey="Bg">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="Texture">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame parentKey="Faction">
<Size x="28" y="28" />
<HitRectInsets left="0" right="0" top="-2" bottom="-2"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Type" relativePoint="RIGHT" x="-1"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="Icon">
<Anchors>
<Anchor point="TOPLEFT" x="5" y="-5"/>
<Anchor point="BOTTOMRIGHT" x="-5" y="5"/>
</Anchors>
</Texture>
<MaskTexture parentKey="CircleMask" file="Interface\CharacterFrame\TempPortraitAlphaMask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Icon"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon"/>
</Anchors>
<MaskedTextures>
<MaskedTexture childKey="Icon"/>
</MaskedTextures>
</MaskTexture>
</Layer>
</Layers>
<Layers>
<Layer level="OVERLAY" textureSubLevel="-1">
<Texture parentKey="RingShadow" atlas="azsharawards-fallingglow" useAtlasSize="false">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-0"/>
<Anchor point="BOTTOMRIGHT" x="-0" y="0"/>
</Anchors>
<Color r="0" g="0" b="0" a="0.5"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="Ring" atlas="jailerstower-wayfinder-rewardcircle" useAtlasSize="false" desaturated="true">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-2"/>
<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
</Anchors>
<Color r="0.55" g="0.45" b="0.45"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
self:GetParent():FactionOnEnter(self);
</OnEnter>
<OnLeave>
self:GetParent().Highlight:Hide();
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
<Frame parentKey="Rewards" inherits="WQT_RewardDisplayTemplate">
<Anchors>
<Anchor point="RIGHT" x="-5" y="0"/>
</Anchors>
</Frame>
<Frame parentKey="TrackedBorder" hidden="true" alpha="0.6" >
<Anchors>
<Anchor point="TOPLEFT" />
<Anchor point="BOTTOMRIGHT" />
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="hlLeft" file="Interface\PETBATTLES\PETJOURNAL">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="30"/>
</Anchors>
<TexCoords left="0.498046875" right="0.591796875" top="0.222" bottom="0.265625"/>
</Texture>
<Texture parentKey="hlRight" file="Interface\PETBATTLES\PETJOURNAL">
<Anchors>
<Anchor point="TOPRIGHT"/>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-30"/>
</Anchors>
<TexCoords left="0.814453125" right="0.90625" top="0.222" bottom="0.265625"/>
</Texture>
<Texture parentKey="hlCenter" file="Interface\PETBATTLES\PETJOURNAL">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.hlLeft" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.hlRight" relativePoint="BOTTOMLEFT"/>
</Anchors>
<TexCoords left="0.591796875" right="0.814453125" top="0.222" bottom="0.265625"/>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame parentKey="Highlight" hidden="true" alpha="0.75" >
<Anchors>
<Anchor point="TOPLEFT" />
<Anchor point="BOTTOMRIGHT" />
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="hlLeft" file="Interface\PETBATTLES\PETJOURNAL">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="30"/>
</Anchors>
<TexCoords left="0.498046875" right="0.591796875" top="0.1748046875" bottom="0.2197265625"/>
</Texture>
<Texture parentKey="hlRight" file="Interface\PETBATTLES\PETJOURNAL">
<Anchors>
<Anchor point="TOPRIGHT"/>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-30"/>
</Anchors>
<TexCoords left="0.814453125" right="0.90625" top="0.1748046875" bottom="0.2197265625"/>
</Texture>
<Texture parentKey="hlCenter" file="Interface\PETBATTLES\PETJOURNAL">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.hlLeft" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.hlRight" relativePoint="BOTTOMLEFT"/>
</Anchors>
<TexCoords left="0.591796875" right="0.814453125" top="0.1748046875" bottom="0.2197265625"/>
</Texture>
</Layer>
</Layers>
</Frame>
</Frames>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Bg" file="Interface\QUESTFRAME\UI-QuestLogTitleHighlight" alpha="0.1" alphaMode="ADD">
<Anchors>
<Anchor point="TOPLEFT" y="-1"/>
<Anchor point="BOTTOMRIGHT" y="1"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString parentKey="Title" inherits="GameFontNormalLeft" maxLines="1" justifyV="BOTTOM">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent.Faction" relativePoint="RIGHT" x="5"/>
<Anchor point="RIGHT" relativeKey="$parent.Rewards" relativePoint="LEFT" x="-5"/>
</Anchors>
<Color r="1" g="0.82" b="0" a="1"/>
</FontString>
<FontString parentKey="Time" inherits="GameFontNormalSmall" maxLines="1" justifyH="LEFT">
<Size x="70" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Title" relativePoint="BOTTOMLEFT" x="5" y="-2"/>
</Anchors>
<Color r="0.75" g="0.61" b="0"/>
</FontString>
<FontString parentKey="Extra" inherits="GameFontNormalSmall" maxLines="1" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Time" relativePoint="TOPRIGHT" x="6"/>
<Anchor point="RIGHT" relativeKey="$parent.Rewards" relativePoint="LEFT" x="-5"/>
</Anchors>
<Color r="0.7" g="0.7" b="0.7"/>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick method="OnClick" />
<OnLoad method="OnLoad"/>
<OnUpdate method="OnUpdate" />
<OnEnter method="OnEnter" />
<OnLeave method="OnLeave" />
</Scripts>
</Button>
<Frame name="WQT_BountyCounterTemplate" virtual="true" hidden="false">
<Size x="11" y="11"/>
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="icon" file="Interface\COMMON\ReputationStar" setAllPoints="true">
<TexCoords left="0" right="0.5" top="0.5" bottom="1"/>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="WQT_PoISelectTemplate" hidden="true" flattenRenderLayers="true" virtual="true">
<Size x="40" y="40"/>
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-10">
<Texture parentKey="PingStatic" file="Interface\Addons\WorldQuestTab\Images\PoIPing" alpha="1">
<Anchors>
<Anchor point="TOPLEFT" x="-15" y="16"/>
<Anchor point="BOTTOMRIGHT" x="15" y="-14"/>
</Anchors>
</Texture>
<Texture parentKey="Ping" file="Interface\Addons\WorldQuestTab\Images\PoIPing" alpha="0">
<Anchors>
<Anchor point="TOPLEFT" x="-15" y="16"/>
<Anchor point="BOTTOMRIGHT" x="15" y="-14"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="ringAnim" looPing="REPEAT">
<Alpha parentKey="Ping" childKey="Ping" fromAlpha="0.8" toAlpha="0" smoothing="IN" Duration="1.2" order="1" startDelay=".6" endDelay="0"/>
<Scale parentKey="Ping" childKey="Ping" fromScaleX="1" toScaleX="1.7" smoothing="OUT" fromScaleY="1" toScaleY="1.7" Duration="1" startDelay=".6" order="1" endDelay=".2"/>
</AnimationGroup>
<AnimationGroup parentKey="ringAnim2" looPing="NONE">
<Scale parentKey="PingStatic" childKey="PingStatic" fromScaleX="1.2" toScaleX="1" smoothing="IN" fromScaleY="1.2" toScaleY="1" Duration=".4" order="0"/>
<Alpha parentKey="PingStatic" childKey="PingStatic" fromAlpha="0.5" toAlpha="1" Duration="0.2" order="0"/>
</AnimationGroup>
</Animations>
<Scripts>
<OnShow>
self.ringAnim:Stop();
self.ringAnim:Play();
self.ringAnim2:Stop();
self.ringAnim2:Play();
</OnShow>
<OnHide>
self.ringAnim:Stop();
self.ringAnim2:Stop();
</OnHide>
</Scripts>
</Frame>
<Frame name="WQT_OldTaxiMapContainer" inherits="WQT_ContainerTemplate" hidden="true" parent="TaxiFrame">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="TaxiFrame" relativePoint="BOTTOMRIGHT" x="-6" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background" file="Interface\FrameGeneral\UI-Background-Rock" horizTile="true" vertTile="true">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-2"/>
<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetFrameLevel(TaxiFrame:GetFrameLevel()-1);
</OnLoad>
</Scripts>
</Frame>
<Frame name="WQT_FlightMapContainer" inherits="WQT_ContainerTemplate" hidden="true">
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background" file="Interface\FrameGeneral\UI-Background-Rock" horizTile="true" vertTile="true">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-2"/>
<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="WQT_WorldMapContainer" inherits="WQT_ContainerTemplate" mixin="WQT_ConstrainedChildMixin" parent="WorldMapFrame" hidden="false" enableMouse="true" movable="true">
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background" horizTile="true" vertTile="true">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-2"/>
<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
</Anchors>
<Color r="0.1" g="0.05" b="0" a="0.75" />
</Texture>
</Layer>
</Layers>
<Frames>
<Frame parentKey="DragFrame" enableMouse="true" movable="true">
<HitRectInsets bottom="5" />
<Anchors>
<Anchor point="TOPLEFT" x="3" y="-3"/>
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="-3" y="-20"/>
</Anchors>
<Layers>
<Layer level="HIGHLIGHT">
<Texture file="Interface/ENCOUNTERJOURNAL/UI-EncounterJournalTextures">
<Color r="1" g="1" b="1" a="0.35" />
<TexCoords left="0.55078125" right="0.62109375" top="0.0146015625" bottom="0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterForDrag("LeftButton")
</OnLoad>
<OnDragStart>
self:GetParent():OnDragStart();
GameTooltip:Hide();
</OnDragStart>
<OnDragStop>
self:GetParent():OnDragStop();
</OnDragStop>
<OnUpdate>
self:GetParent():OnUpdate();
</OnUpdate>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_CURSOR_RIGHT");
GameTooltip:SetText(WQT_CONTAINER_DRAG, 1, 1, 1, true);
GameTooltip:AddLine(WQT_CONTAINER_DRAG_TT, nil, nil, nil, true);
GameTooltip:Show();
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
self:SetParent(WorldMapFrame.ScrollContainer);
self:SetPoint("BOTTOMLEFT", WorldMapFrame.ScrollContainer, 0, 0);
self:OnLoad();
</OnLoad>
<OnShow>
WQT_QuestScrollFrame:DisplayQuestList(UpdateBackground);
</OnShow>
</Scripts>
</Frame>
<Button name="WQT_OldTaxiMapContainerButton" inherits="WQT_ContainerButtonTemplate" hidden="false" parent="TaxiFrame">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="TaxiFrame" relativePoint="BOTTOMRIGHT" x="-8" y="8"/>
</Anchors>
<Scripts>
<OnLoad>
self.container = WQT_OldTaxiMapContainer;
</OnLoad>
</Scripts>
</Button>
<Button name="WQT_FlightMapContainerButton" inherits="WQT_ContainerButtonTemplate" hidden="false">
<Scripts>
<OnLoad>
self.container = WQT_FlightMapContainer;
</OnLoad>
</Scripts>
</Button>
<Button name="WQT_WorldMapContainerButton" inherits="WQT_ContainerButtonTemplate" mixin="WQT_ConstrainedChildMixin" hidden="false" movable="true">
<Scripts>
<OnLoad>
self:RegisterForDrag("RightButton")
self.container = WQT_WorldMapContainer;
self:SetParent(WorldMapFrame.ScrollContainer);
self:SetPoint("BOTTOMLEFT", WorldMapFrame.ScrollContainer, 0, 0);
self:SetFrameLevel(WorldMapFrame.ScrollContainer:GetFrameLevel()+10);
self:OnLoad();
</OnLoad>
<OnClick inherit="prepend">
if (InCombatLockdown()) then return end
if (self.isSelected) then
WQT_WorldMapContainer:Show();
else
WQT_WorldMapContainer:Hide();
end
WQT_WorldMapContainer:ConstrainPosition();
</OnClick>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(TRACKER_HEADER_WORLD_QUESTS, 1, 1, 1, true);
GameTooltip:AddLine(WQT_FULLSCREEN_BUTTON_TT, nil, nil, nil, true);
GameTooltip:Show();
</OnEnter>
<OnDragStart method="OnDragStart"/>
<OnDragStop method="OnDragStop"/>
<OnUpdate method="OnUpdate"/>
</Scripts>
</Button>
<!--
Main frame
-->
<Frame name="WQT_WorldQuestFrame" mixin="WQT_CoreMixin" parent="QuestMapFrame" enableMouse="true" hidden="false">
<Size x="287" y="468"/>
<Anchors>
<Anchor point="TOPLEFT" y="-2"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background" atlas="QuestLogBackground" useAtlasSize="true">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="0"/>
<Anchor point="BOTTOMRIGHT" x="1" y="-3"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Cooldown parentKey="ProgressBar" hideCountdownNumbers="true" reverse="true">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<SwipeTexture file="Interface\Addons\WorldQuestTab\Images\PoIRing">
<Color r="1" g="0.82" b="0" a="0.7"/>
</SwipeTexture>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background" file="Interface\Addons\WorldQuestTab\Images\PoIRing" setAllPoints="true">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Color r="0" g="0" b="0" a="0.6"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<!-- Edge highlight of the timer. Custom so it can be colored -->
<Texture parentKey="Pointer" alpha="1" file="Interface\Addons\WorldQuestTab\Images\PoIRingPointer">
<Color r="1" g="0.82" b="0" a="0.7"/>
</Texture>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="fadeInAnim" looping="NONE" setToFinalAlpha="true">
<Alpha parentKey="Alpha" fromAlpha="0" toAlpha="1" duration="0.2" startDelay="0.1"/>
</AnimationGroup>
</Animations>
<Scripts>
<OnShow>
self.fadeInAnim:Play();
</OnShow>
<OnHide>
self.fadeInAnim:Stop();
self:SetAlpha(0);
</OnHide>
</Scripts>
</Cooldown>
<Frame parentKey="FilterBar">
<Size x="259" y="0.1"/>
<Anchors>
<Anchor point="TOPRIGHT" x="-26" y="-1"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\Buttons\UI-Listbox-Highlight2">
<Color r="0.6" g="0.75" b="1.0" a="0.5" />
</Texture>
<FontString parentKey="Text" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Size x="235" y="13"/>
<Anchors>
<Anchor point="LEFT" x="5" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentClearButton" parentKey="ClearButton" hidden="true">
<Size x="17" y="17"/>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\FriendsFrame\ClearBroadcastIcon" alpha="0.5" parentKey="texture">
<Size>
<AbsDimension x="17" y="17"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
self:GetParent():GetParent():FilterClearButtonOnClick();
</OnClick>
<OnEnter>
self.texture:SetAlpha(1.0);
</OnEnter>
<OnLeave>
self.texture:SetAlpha(0.5);
</OnLeave>
<OnMouseDown>
if self:IsEnabled() then
self.texture:SetPoint("TOPLEFT", self, "TOPLEFT", 1, -1);
end
</OnMouseDown>
<OnMouseUp>
self.texture:SetPoint("TOPLEFT", self, "TOPLEFT", 0, 0);
</OnMouseUp>
</Scripts>
</Button>
</Frames>
</Frame>
<ScrollFrame parentKey="ScrollFrame" name="WQT_QuestScrollFrame" mixin="WQT_ScrollListMixin" inherits="HybridScrollFrameTemplate">
<Size x="259" y="462"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.FilterBar" relativePoint="BOTTOM" x="0" y="-2"/>
<Anchor point="BOTTOM" relativeTo="WQT_WorldQuestFrame" x="0" y="0"/>
</Anchors>
<Frames>
<Slider name="$parentScrollBar" inherits="MinimalHybridScrollBarTemplate" parentKey="scrollBar">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="WQT_WorldQuestFrame" x="-1" y="-20"/>
<Anchor point="BOTTOMRIGHT" relativeTo="WQT_WorldQuestFrame" x="-1" y="16"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentScrollUpButton" relativePoint="TOPLEFT" x="-7" y="5"/>
</Anchors>
<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="106"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentScrollDownButton" relativePoint="BOTTOMLEFT" x="-7" y="-2"/>
</Anchors>
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTop" relativePoint="BOTTOMLEFT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottom" relativePoint="TOPRIGHT"/>
</Anchors>
<TexCoords left="0" right="0.484375" top="0.1640625" bottom="1"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnValueChanged>
if (not self:GetParent().scrollLocked) then
HybridScrollFrame_OnValueChanged(self, value);
end
</OnValueChanged>
</Scripts>
</Slider>
<Frame parentKey="DetailFrame" setAllPoints="true">
<Layers>
<Layer level="ARTWORK" textureSubLevel="2">
<Texture parentKey="BottomDetail" atlas="QuestLog_BottomDetail" useAtlasSize="true">
<Anchors>
<Anchor point="BOTTOM" x="0" y="-2"/>
</Anchors>
</Texture>
<Texture parentKey="TopDetail" atlas="QuestLog_TopDetail" useAtlasSize="true">
<Anchors>
<Anchor point="TOP" x="0" y="9"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnLoad method="OnLoad" />
<OnMouseWheel>
if (not self.scrollLocked) then
HybridScrollFrame_OnMouseWheel(self, delta);
end
</OnMouseWheel>
</Scripts>
</ScrollFrame>
<Frame name="WQT_OverlayFrame" parentKey="Blocker" enableMouse="true" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="2"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Bg">
<Color r="0" g="0" b="0" a="0.5"/>
</Texture>
</Layer>
<Layer level="BORDER">
<Texture parentKey="UpdatesBG" file="Interface/Artifacts/ArtifactForge">
<TexCoords left="0" right="0.8984375" top="0" bottom="0.5986328125"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Button parentKey="CloseButton" hidden="false">
<Size x="20" y="20"/>
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-2" y="-4"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\FriendsFrame\ClearBroadcastIcon" alpha="0.5" parentKey="texture">
<TexCoords right="0.9" bottom="0.9" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetFrameLevel(self:GetParent():GetFrameLevel() + 20);
</OnLoad>
<OnClick>
WQT_WorldQuestFrame:HideOverlayFrame();
</OnClick>
<OnEnter>
self.texture:SetAlpha(1.0);
</OnEnter>
<OnLeave>
self.texture:SetAlpha(0.5);
</OnLeave>
<OnMouseDown>
if self:IsEnabled() then
self.texture:SetPoint("TOPLEFT", self, "TOPLEFT", 1, -1);
end
</OnMouseDown>
<OnMouseUp>
self.texture:SetPoint("TOPLEFT", self, "TOPLEFT", 0, 0);
</OnMouseUp>
</Scripts>
</Button>
<Frame parentKey="DetailFrame" setAllPoints="true">
<Layers>
<Layer level="ARTWORK" textureSubLevel="2">
<Texture parentKey="TopDetail" atlas="QuestLog_TopDetail" useAtlasSize="true">
<Anchors>
<Anchor point="TOPLEFT" x="-1" y="6"/>
<Anchor point="TOPRIGHT" x="0" y="6"/>
</Anchors>
</Texture>
<Texture parentKey="BottomDetail" atlas="QuestLog_BottomDetail" useAtlasSize="true">
<Anchors>
<Anchor point="BOTTOMLEFT" x="-1" y="-1"/>
<Anchor point="BOTTOMRIGHT" x="0" y="-1"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetFrameLevel(self:GetParent():GetFrameLevel() + 20);
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
<Button name="$parentSettingsButton" inherits="UIMenuButtonStretchTemplate" parentKey="SettingsButton" >
<Size x="23" y="23"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="-4" y="6"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="Icon" atlas="mechagon-projects" desaturated="true">
<Anchors>
<Anchor point="TOPLEFT" x="3" y="-3"/>
<Anchor point="BOTTOMRIGHT" x="-3" y="3"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="darken" file="Interface\GLUES\Models\UI_MainMenu_Legion\UI_Legion_Shadow" alpha="0.15"/>
</Layer>
</Layers>
<HighlightTexture atlas="mechagon-projects" alphaMode="ADD" alpha="0.35">
<Anchors>
<Anchor point="TOPLEFT" x="3" y="-3"/>
<Anchor point="BOTTOMRIGHT" x="-3" y="3"/>
</Anchors>
</HighlightTexture>
</Button>
<Button name="$parentFilterButton" parentKey="FilterButton" inherits="UIMenuButtonStretchTemplate" text="FILTER">
<Size x="75" y="23"/>
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT" relativeKey="$parent.SettingsButton" x="-2"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="Icon" file="Interface\ChatFrame\ChatFrameExpandArrow">
<Size x="10" y="12"/>
<Anchors>
<Anchor point="RIGHT" relativeKey="$parent.Right" relativePoint="RIGHT" x="-5"/>
</Anchors>
</Texture>
<FontString parentKey="FilteredText" inherits="GameFontNormalSmall" justifyH="CENTER">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="10" y="2"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame parentKey = "Indicator" >
<Size x="10" y="10"/>
<Anchors>
<Anchor point="LEFT" x="7" y="-1"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\DialogFrame\UI-Dialog-Icon-AlertNew"/>
</Layer>
</Layers>
<Scripts>
<OnEnter>
if (self.tooltipTitle and self.tooltipSub) then
GameTooltip:SetOwner(self, "ANCHOR_CURSOR_RIGHT");
GameTooltip:SetText(self.tooltipTitle, 1, 1, 1, 1, true);
GameTooltip:AddLine(self.tooltipSub, 1, 0.82, 0, true);
GameTooltip:Show();
end
WQT_WorldQuestFrame:ShowHighlightOnMapFilters();
</OnEnter>
<OnLeave>
GameTooltip:Hide();
WQT_PoISelectIndicator:Hide();
</OnLeave>
</Scripts>
</Frame>
</Frames>
<HighlightTexture file="Interface\Buttons\UI-Silver-Button-Highlight" alphaMode="ADD" alpha="0.5">
<TexCoords left="0" right="1.0" top="0.03" bottom="0.7175"/>
</HighlightTexture>
<Scripts>
<OnLoad>
local text = _G[self:GetName() .. "Text"];
local a, b, c, x = text:GetPoint(1);
text:SetPoint(a, b, c, x, 0);
</OnLoad>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad method="OnLoad"/>
</Scripts>
</Frame>
<Button name="WQT_TabNormal" inherits="WQT_TabTemplate" parent="QuestMapFrame" enableMouse="true" id="1">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="3" y="4"/>
</Anchors>
<Scripts>
<OnLoad>
self:SetFrameLevel(self:GetParent():GetFrameLevel());
self.Icon:SetTexture("Interface/MINIMAP/TRACKING/OBJECTICONS");
self.Icon:SetTexCoord(0.125, 0.25, 0.5, 1);
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
self.tooltipText = QUEST_LOG;
</OnLoad>
</Scripts>
</Button>
<Button name="WQT_TabWorld" inherits="WQT_TabTemplate" parent="QuestMapFrame" enableMouse="true" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="WQT_TabNormal" relativePoint="RIGHT" x="4"/>
</Anchors>
<Scripts>
<OnLoad>
self:SetFrameLevel(self:GetParent():GetFrameLevel());
self.Icon:SetTexture("Interface/Worldmap/UI-World-Icon");
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
self.tooltipText = TRACKER_HEADER_WORLD_QUESTS;
</OnLoad>
</Scripts>
</Button>
<Button name="WQT_TabDetails" inherits="WQT_TabTemplate" parent="QuestMapFrame" enableMouse="false" id="3" hidden="true">
<Anchors>
<Anchor point="LEFT" relativeTo="WQT_TabWorld" relativePoint="RIGHT"/>
</Anchors>
</Button>
<Frame name="WQT_QuestLogFiller" mixin="WQT_QuestCounterMixin" hidden="false" parent="QuestMapFrame" flattenRenderLayers="true">
<Size x="60" y="22"/>
<Anchors>
<Anchor point="BOTTOM" relativeTo="QuestMapFrame" relativePoint="TOP" x="20" y="4"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="BoxLeft" file="Interface\AUCTIONFRAME\UI-AuctionFrame-ItemSlot">
<Size x="33" y="25"/>
<Anchors>
<Anchor point="BOTTOMLEFT" x="-2" />
</Anchors>
<TexCoords left="0.32421875" right="0.48046875" top="0.15625" bottom="0.84375"/>
</Texture>
<Texture parentKey="BoxRight" file="Interface\AUCTIONFRAME\UI-AuctionFrame-ItemSlot">
<Size x="33" y="25"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.BoxLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.6796875" right="0.83984375" top="0.15625" bottom="0.84375"/>
</Texture>
</Layer>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture parentKey="BoxBG">