forked from belazor-wow/WorldQuestTab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MapPinProvider.xml
144 lines (131 loc) · 5.48 KB
/
MapPinProvider.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
<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="MapPinProvider.lua"/>
<Button name="WQT_PinTemplate" mixin="WQT_PinMixin" flattenRenderLayers="true" virtual="true" frameStrata="MEDIUM">
<Size x="25" y="25" />
<HitRectInsets left="3" right="3" top="3" bottom="3"/>
<Layers>
<Layer level="BACKGROUND" textureSubLevel="3">
<Texture parentKey="CustomUnderlay" atlas="worldquest-questmarker-dragon" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="-5" y="4"/>
<Anchor point="BOTTOMRIGHT" x="5" y="-5"/>
</Anchors>
</Texture>
<Texture parentKey="Icon">
<Size x="21" y="21" />
<Anchors>
<Anchor point="CENTER"/>
</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>
<Layer level="BACKGROUND" textureSubLevel="5">
<Texture parentKey="CustomTypeIcon">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
<Texture parentKey="CustomBountyRing" atlas="worldquest-emissary-ring" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="1" y="-2"/>
<Anchor point="BOTTOMRIGHT" x="-1" y="0"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BACKGROUND" textureSubLevel="6">
<Texture parentKey="CustomSelectedGlow" alphaMode="ADD" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-2"/>
<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
</Anchors>
</Texture>
<Texture parentKey="InnerGlow" file="Interface\Addons\WorldQuestTab\Images\PoIRing" alphaMode="ADD" hidden="false">
<Anchors>
<Anchor point="TOPLEFT" x="3" y="-3"/>
<Anchor point="BOTTOMRIGHT" x="-3" y="3"/>
</Anchors>
<Color r="0" g=".5" b="1"/>
</Texture>
</Layer>
<Layer level="ARTWORK" textureSubLevel="-1">
<!-- This serves as a background for the timer -->
<Texture parentKey="RingBG" alpha="1" file="Interface\Addons\WorldQuestTab\Images\PoIRing" />
</Layer>
<Layer level="ARTWORK" textureSubLevel="2" >
<!-- Edge highlight of the timer. Custom so it can be colored -->
<Texture parentKey="Pointer" alpha="1" file="Interface\Addons\WorldQuestTab\Images\PoIRingPointer"/>
</Layer>
<Layer level="ARTWORK" textureSubLevel="5">
<FontString parentKey="Time" inherits="WQT_NumberFontOutline" maxLines="1" justifyV="MIDDLE" text="Uh oh" hidden="true">
<size y="18"/>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" x="2" y="2"/>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK" textureSubLevel="4">
<Texture parentKey="TimeBG" file="Interface/COMMON/NameShadow" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Time" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Time" x="-2" y="4" />
</Anchors>
<TexCoords left="0.05" right="0.95" top="0.8" bottom="0"/>
</Texture>
</Layer>
</Layers>
<Layers>
<Layer level="BACKGROUND" textureSubLevel="4">
<Texture parentKey="PingStatic" file="Interface\Addons\WorldQuestTab\Images\PoIPing" alpha="0" hidden="true" alphaMode="BLEND">
<Anchors>
<Anchor point="TOPLEFT" x="-3" y="3"/>
<Anchor point="BOTTOMRIGHT" x="3" y="-3"/>
</Anchors>
</Texture>
<Texture parentKey="Ping" file="Interface\Addons\WorldQuestTab\Images\PoIPing" alpha="0" hidden="true" alphaMode="BLEND">
<Anchors>
<Anchor point="TOPLEFT" x="-3" y="3"/>
<Anchor point="BOTTOMRIGHT" x="3" y="-3"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Cooldown parentKey="Ring" useParentLevel="true" setAllPoints="true" hideCountdownNumbers="true">
<SwipeTexture file="Interface\Addons\WorldQuestTab\Images\PoIRing"/>
</Cooldown>
</Frames>
<Animations>
<AnimationGroup parentKey="ringAnim" looPing="REPEAT">
<Alpha parentKey="Ping" childKey="Ping" fromAlpha="0.9" 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" setToFinalAlpha="true">
<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>
<AnimationGroup parentKey="fadeOutAnim" looPing="NONE" setToFinalAlpha="true">
<Alpha parentKey="Alpha" Duration="0.1" toAlpha="0.5"/>
</AnimationGroup>
<AnimationGroup parentKey="fadeInAnim" looPing="NONE" setToFinalAlpha="true">
<Alpha parentKey="Alpha" Duration="0.1"/>
</AnimationGroup>
</Animations>
<Scripts>
<OnLoad method="OnLoad"/>
<OnUpdate method="OnUpdate"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnClick method="OnClick"/>
</Scripts>
</Button>
</Ui>