forked from Sonaza/Experiencer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Frame.xml
238 lines (232 loc) · 9.37 KB
/
Frame.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
<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">
<Font name="ExperiencerFont" font="Interface\AddOns\Experiencer2\Media\DORISPP.TTF" outline="NORMAL" virtual="true">
<Shadow>
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
<Color r="0" g="0" b="0" a="0.35"/>
</Shadow>
<FontHeight>
<AbsValue val="10"/>
</FontHeight>
</Font>
<Font name="ExperiencerBigFont" font="Interface\AddOns\Experiencer2\Media\DORISPP.TTF" outline="NORMAL" virtual="true">
<Shadow>
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
<Color r="0" g="0" b="0" a="0.45"/>
</Shadow>
<FontHeight>
<AbsValue val="13"/>
</FontHeight>
</Font>
<StatusBar name="ExperiencerAnimatedBarTemplate" inherits="AnimatedStatusBarTemplate" enableMouse="false" virtual="true">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="2" y="2"/>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-2" y="-2"/>
</Anchors>
<BarTexture file="Interface\AddOns\Experiencer2\Media\BarTexture"/>
<BarColor r="1" g="1" b="1"/>
</StatusBar>
<StatusBar name="ExperiencerBarTemplate" enableMouse="false" virtual="true">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="2" y="2"/>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-2" y="-2"/>
</Anchors>
<BarTexture file="Interface\AddOns\Experiencer2\Media\BarTexture"/>
<BarColor r="1" g="1" b="1"/>
</StatusBar>
<Frame name="ExperiencerModuleBarsTemplate" mixin="ExperiencerModuleBarsMixin" virtual="true">
<Frames>
<StatusBar name="$parentRested" parentKey="rested" inherits="ExperiencerBarTemplate" hidden="true"/>
<StatusBar name="$parentVisualPrimary" parentKey="visualPrimary" inherits="ExperiencerBarTemplate" hidden="true">
<BarTexture file="Interface\AddOns\Experiencer2\Media\BarTextureStriped" horizTile="true" alphaMode="ADD"/>
</StatusBar>
<StatusBar name="$parentVisualSecondary" parentKey="visualSecondary" inherits="ExperiencerBarTemplate" hidden="true">
<BarTexture file="Interface\AddOns\Experiencer2\Media\BarTextureStripedOpposite" horizTile="true" alphaMode="ADD"/>
</StatusBar>
<StatusBar name="$parentChange" parentKey="change" inherits="ExperiencerBarTemplate">
<BarTexture file="Interface\AddOns\Experiencer2\Media\BarTexture" alphaMode="ADD"/>
<Animations>
<AnimationGroup parentKey="fadegain" setToFinalAlpha="true">
<Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" smoothing="IN_OUT"/>
<Alpha fromAlpha="1" toAlpha="0" duration="0.8" order="2" smoothing="IN_OUT"/>
</AnimationGroup>
<AnimationGroup parentKey="fadegain_in" setToFinalAlpha="true">
<Alpha fromAlpha="0" toAlpha="1" duration="0.25" order="1" smoothing="IN_OUT"/>
<Alpha fromAlpha="1" toAlpha="1" duration="1.00" order="2" smoothing="IN_OUT"/>
</AnimationGroup>
<AnimationGroup parentKey="fadegain_out" setToFinalAlpha="true">
<Alpha fromAlpha="1" toAlpha="0" duration="0.8" order="1" smoothing="IN_OUT"/>
</AnimationGroup>
<AnimationGroup parentKey="fadeloss" setToFinalAlpha="true">
<Alpha fromAlpha="1" toAlpha="1" duration="0.15" order="1" smoothing="IN_OUT"/>
<Alpha fromAlpha="1" toAlpha="0" duration="0.8" order="2" smoothing="IN_OUT"/>
</AnimationGroup>
</Animations>
</StatusBar>
<StatusBar name="$parentMain" parentKey="main" inherits="ExperiencerAnimatedBarTemplate">
<BarTexture file="Interface\AddOns\Experiencer2\Media\BarTexture"/>
<Frames>
<Frame name="$parentSpark" parentKey="spark">
<Size x="9" y="24"/>
<Anchors>
<!-- <Anchor center="CENTER" relativePoint="TOPLEFT" relativeTo="$parent" x="500" y="16"/> -->
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture setAllPoints="true" file="Interface\UNITPOWERBARALT\DeathwingBlood_Horizontal_Spark" alphaMode="ADD">
<Color r="1" g="1" b="1"/>
</Texture>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="fade" setToFinalAlpha="true">
<Alpha fromAlpha="0.5" toAlpha="1" duration="0.2" order="1" smoothing="IN"/>
<Alpha fromAlpha="1" toAlpha="1" duration="0.5" order="2" smoothing="IN_OUT"/>
<Alpha fromAlpha="1" toAlpha="0.5" duration="0.5" order="3" smoothing="OUT"/>
</AnimationGroup>
</Animations>
</Frame>
</Frames>
</StatusBar>
<StatusBar name="$parentColor" parentKey="color" inherits="ExperiencerBarTemplate">
<BarTexture file="Interface\AddOns\Experiencer2\Media\BarTexture" alphaMode="ADD"/>
</StatusBar>
<StatusBar name="$parentHighlight" parentKey="highlight" inherits="ExperiencerBarTemplate" hidden="true">
<BarTexture file="Interface\AddOns\Experiencer2\Media\BarTexture" alphaMode="ADD"/>
<Color r="1" g="0.7" b="0"/>
<Animations>
<AnimationGroup parentKey="flash" looping="REPEAT">
<Alpha fromAlpha="0.6" toAlpha="0.1" duration="0.5" smoothing="IN_OUT" order="1"/>
<Alpha fromAlpha="0.1" toAlpha="0.6" duration="0.5" smoothing="IN_OUT" order="2"/>
</AnimationGroup>
<AnimationGroup parentKey="fadein" setToFinalAlpha="true">
<Alpha fromAlpha="0" toAlpha="0.6" duration="0.5" order="1" smoothing="OUT"/>
<Scripts>
<OnPlay>
self:GetParent():Show();
</OnPlay>
<OnFinished>
self:GetParent().flash:Play();
</OnFinished>
</Scripts>
</AnimationGroup>
<AnimationGroup parentKey="fadeout" setToFinalAlpha="true">
<Alpha fromAlpha="0.6" toAlpha="0" duration="0.5" order="1" smoothing="OUT"/>
<Scripts>
<OnFinished>
self:GetParent():Hide();
</OnFinished>
</Scripts>
</AnimationGroup>
</Animations>
</StatusBar>
<Frame name="$parentTextFrame" parentKey="textFrame" hidden="true">
<Size x="1500" y="20"/>
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parent" x="0" y="0"/>
</Anchors>
<Animations>
<AnimationGroup parentKey="fadein" setToFinalAlpha="true">
<Alpha fromAlpha="0" toAlpha="1" duration="0.1" order="1" smoothing="IN_OUT"/>
<Scripts>
<OnPlay>
self:GetParent():Show();
</OnPlay>
</Scripts>
</AnimationGroup>
<AnimationGroup parentKey="fadeout" setToFinalAlpha="true">
<Alpha fromAlpha="1" toAlpha="0" duration="0.2" order="1" smoothing="IN_OUT"/>
<Scripts>
<OnFinished>
self:GetParent():Hide();
</OnFinished>
</Scripts>
</AnimationGroup>
<AnimationGroup parentKey="fadeinHalf" setToFinalAlpha="true">
<Alpha fromAlpha="0.42" toAlpha="1" duration="0.1" order="1" smoothing="IN_OUT"/>
</AnimationGroup>
<AnimationGroup parentKey="fadeoutHalf" setToFinalAlpha="true">
<Alpha fromAlpha="1" toAlpha="0.42" duration="0.2" order="1" smoothing="IN_OUT"/>
</AnimationGroup>
</Animations>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentText" parentKey="text" inherits="ExperiencerFont" justifyH="CENTER" setAllPoints="true">
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
</Frame>
<Frame name="ExperiencerFrame" parent="UIParent" frameStrata="HIGH" enableMouse="true">
<Size y="10"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="-1"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color r="0" g="0" b="0" a="0.5"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="$parentBars" parentKey="bars" setAllPoints="true" hidden="false">
<Frames>
<Frame name="$parentModule1" parentKey="moduleIndex1" inherits="ExperiencerModuleBarsTemplate" id="1"/>
<Frame name="$parentModule2" parentKey="moduleIndex2" inherits="ExperiencerModuleBarsTemplate" id="2"/>
<Frame name="$parentModule3" parentKey="moduleIndex3" inherits="ExperiencerModuleBarsTemplate" id="3"/>
</Frames>
</Frame>
<Frame parentKey="SplitsAlert" inherits="GlowBoxTemplate" enableMouse="true" frameStrata="DIALOG" hidden="true">
<Size x="220" y="100"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT" x="19" y=""/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString parentKey="Text" inherits="GameFontHighlightLeft" justifyV="TOP" text="EXPERIENCER_SPLITS_TIP">
<Size x="188" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" x="16" y="-24"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button parentKey="CloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT" x="6" y="6"/>
</Anchors>
<Scripts>
<OnClick>
self:GetParent():Hide();
ExperiencerSplitsAlertCloseButton_OnClick(self);
</OnClick>
</Scripts>
</Button>
<Frame parentKey="Arrow" inherits="GlowBoxArrowTemplate">
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT" x="34" y="16"/>
</Anchors>
</Frame>
</Frames>
<Scripts>
<OnLoad>
SetClampedTextureRotation(self.Arrow.Arrow, 90);
SetClampedTextureRotation(self.Arrow.Glow, 90);
self.Arrow.Glow:Hide();
</OnLoad>
<OnShow>
self:SetHeight(self.Text:GetHeight()+42);
</OnShow>
</Scripts>
</Frame>
</Frames>
</Frame>
</Ui>