vanilla-wow-addons – Blame information for rev 1
?pathlinks?
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 | <Script file="Carnival_EnemyCastBar.lua"/> |
||
3 | <Script file="localization.lua"/> |
||
4 | <Script file="localization.de.lua"/> |
||
5 | <Script file="localization.fr.lua"/> |
||
6 | <Button name="CarniEnemyCastBarTemplate" virtual="true" hidden="true" movable="true" enableMouse="true"> |
||
7 | <TitleRegion setAllPoints="true"/> |
||
8 | <Size> |
||
9 | <AbsDimension x="206" y="26"/> |
||
10 | </Size> |
||
11 | <!-- Slap it smack in the middle of the screen where it can be seen --> |
||
12 | <Anchors> |
||
13 | <Anchor point="TOP" relativeTo="ZoneTextFrame" relativePoint="BOTTOM"> |
||
14 | <Offset> |
||
15 | <AbsDimension x="0" y="10" /> |
||
16 | </Offset> |
||
17 | </Anchor> |
||
18 | </Anchors> |
||
19 | <Layers> |
||
20 | <Layer level="OVERLAY"> |
||
21 | <FontString name="$parent_Text" inherits="GameFontHighlight"> |
||
22 | <Size> |
||
23 | <AbsDimension x="185" y="14"/> |
||
24 | </Size> |
||
25 | <Anchors> |
||
26 | <Anchor point="TOP"/> |
||
27 | </Anchors> |
||
28 | </FontString> |
||
29 | <FontString name="$parent_CastTimeText" inherits="GameFontHighlight" text=""> |
||
30 | <FontHeight> |
||
31 | <AbsValue val="14"/> |
||
32 | </FontHeight> |
||
33 | <Color r="1.0" g="1.0" b="1.0"/> |
||
34 | <Anchors> |
||
35 | <Anchor point="RIGHT"> |
||
36 | <Offset> |
||
37 | <AbsDimension x="25" y="5"/> |
||
38 | </Offset> |
||
39 | </Anchor> |
||
40 | </Anchors> |
||
41 | </FontString> |
||
42 | <!-- Steal the casting bar's border --> |
||
43 | <Texture file="Interface\Tooltips\UI-StatusBar-Border"> |
||
44 | <Size> |
||
45 | <AbsDimension x="205" y="20"/> |
||
46 | </Size> |
||
47 | <Anchors> |
||
48 | <Anchor point="TOP"> |
||
49 | <Offset> |
||
50 | <AbsDimension x="0" y="2"/> |
||
51 | </Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | </Texture> |
||
55 | </Layer> |
||
56 | </Layers> |
||
57 | <Frames> |
||
58 | <!-- Status bar to update duration visually --> |
||
59 | <StatusBar name="$parent_StatusBar"> |
||
60 | <Size> |
||
61 | <AbsDimension x="195" y="13"/> |
||
62 | </Size> |
||
63 | <Anchors> |
||
64 | <Anchor point="TOP"> |
||
65 | <Offset> |
||
66 | <AbsDimension x="0" y="-2"/> |
||
67 | </Offset> |
||
68 | </Anchor> |
||
69 | </Anchors> |
||
70 | <Layers> |
||
71 | <Layer level="OVERLAY"> |
||
72 | <!-- The "spark" adds pizzaz to the head of the status bar --> |
||
73 | <Texture name="$parent_Spark" alphaMode="ADD" file="Interface\CastingBar\UI-CastingBar-Spark"> |
||
74 | <Size> |
||
75 | <AbsDimension x="32" y="32"/> |
||
76 | </Size> |
||
77 | <Anchors> |
||
78 | <Anchor point="CENTER"/> |
||
79 | </Anchors> |
||
80 | </Texture> |
||
81 | </Layer> |
||
82 | </Layers> |
||
83 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
84 | <BarColor r="1.0" g="0.7" b="0.0"/> |
||
85 | <Scripts> |
||
86 | <OnLoad> |
||
87 | this:SetFrameLevel(this:GetFrameLevel() - 1); |
||
88 | </OnLoad> |
||
89 | </Scripts> |
||
90 | </StatusBar> |
||
91 | </Frames> |
||
92 | <Scripts> |
||
93 | <OnUpdate> Carnival_EnemyCastBar_OnUpdate(); </OnUpdate> |
||
94 | </Scripts> |
||
95 | </Button> |
||
96 | <Frame name="CarniEnemyCastBarFrame" parent="UIParent" frameStrata="HIGH" toplevel="false" movable="false" enableMouse="false"> |
||
97 | <Size> |
||
98 | <AbsDimension x="1" y="1"/> |
||
99 | </Size> |
||
100 | <Anchors> |
||
101 | <Anchor point="BOTTOMLEFT" relativeTo="UIParent" relativePoint="CENTER"> |
||
102 | <Offset> |
||
103 | <AbsDimension x="0" y="0"/> |
||
104 | </Offset> |
||
105 | </Anchor> |
||
106 | </Anchors> |
||
107 | <Frames> |
||
108 | <Button name="Carni_ECB_1" inherits="CarniEnemyCastBarTemplate" id="1"> |
||
109 | <Anchors> |
||
110 | <Anchor point="TOPRIGHT"> |
||
111 | <Offset> |
||
112 | <AbsDimension x="-30" y="0"/> |
||
113 | </Offset> |
||
114 | </Anchor> |
||
115 | </Anchors> |
||
116 | </Button> |
||
117 | <Button name="Carni_ECB_2" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
118 | <Anchors> |
||
119 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_1" relativePoint="TOPLEFT"> |
||
120 | <Offset> |
||
121 | <AbsDimension x="0" y="20"/> |
||
122 | </Offset> |
||
123 | </Anchor> |
||
124 | </Anchors> |
||
125 | </Button> |
||
126 | <Button name="Carni_ECB_3" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
127 | <Anchors> |
||
128 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_2" relativePoint="TOPLEFT"> |
||
129 | <Offset> |
||
130 | <AbsDimension x="0" y="20"/> |
||
131 | </Offset> |
||
132 | </Anchor> |
||
133 | </Anchors> |
||
134 | </Button> |
||
135 | <Button name="Carni_ECB_4" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
136 | <Anchors> |
||
137 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_3" relativePoint="TOPLEFT"> |
||
138 | <Offset> |
||
139 | <AbsDimension x="0" y="20"/> |
||
140 | </Offset> |
||
141 | </Anchor> |
||
142 | </Anchors> |
||
143 | </Button> |
||
144 | <Button name="Carni_ECB_5" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
145 | <Anchors> |
||
146 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_4" relativePoint="TOPLEFT"> |
||
147 | <Offset> |
||
148 | <AbsDimension x="0" y="20"/> |
||
149 | </Offset> |
||
150 | </Anchor> |
||
151 | </Anchors> |
||
152 | </Button> |
||
153 | <Button name="Carni_ECB_6" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
154 | <Anchors> |
||
155 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_5" relativePoint="TOPLEFT"> |
||
156 | <Offset> |
||
157 | <AbsDimension x="0" y="20"/> |
||
158 | </Offset> |
||
159 | </Anchor> |
||
160 | </Anchors> |
||
161 | </Button> |
||
162 | <Button name="Carni_ECB_7" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
163 | <Anchors> |
||
164 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_6" relativePoint="TOPLEFT"> |
||
165 | <Offset> |
||
166 | <AbsDimension x="0" y="20"/> |
||
167 | </Offset> |
||
168 | </Anchor> |
||
169 | </Anchors> |
||
170 | </Button> |
||
171 | <Button name="Carni_ECB_8" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
172 | <Anchors> |
||
173 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_7" relativePoint="TOPLEFT"> |
||
174 | <Offset> |
||
175 | <AbsDimension x="0" y="20"/> |
||
176 | </Offset> |
||
177 | </Anchor> |
||
178 | </Anchors> |
||
179 | </Button> |
||
180 | <Button name="Carni_ECB_9" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
181 | <Anchors> |
||
182 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_8" relativePoint="TOPLEFT"> |
||
183 | <Offset> |
||
184 | <AbsDimension x="0" y="20"/> |
||
185 | </Offset> |
||
186 | </Anchor> |
||
187 | </Anchors> |
||
188 | </Button> |
||
189 | <Button name="Carni_ECB_10" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
190 | <Anchors> |
||
191 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_9" relativePoint="TOPLEFT"> |
||
192 | <Offset> |
||
193 | <AbsDimension x="0" y="20"/> |
||
194 | </Offset> |
||
195 | </Anchor> |
||
196 | </Anchors> |
||
197 | </Button> |
||
198 | <Button name="Carni_ECB_11" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
199 | <Anchors> |
||
200 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_10" relativePoint="TOPLEFT"> |
||
201 | <Offset> |
||
202 | <AbsDimension x="0" y="20"/> |
||
203 | </Offset> |
||
204 | </Anchor> |
||
205 | </Anchors> |
||
206 | </Button> |
||
207 | <Button name="Carni_ECB_12" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
208 | <Anchors> |
||
209 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_11" relativePoint="TOPLEFT"> |
||
210 | <Offset> |
||
211 | <AbsDimension x="0" y="20"/> |
||
212 | </Offset> |
||
213 | </Anchor> |
||
214 | </Anchors> |
||
215 | </Button> |
||
216 | <Button name="Carni_ECB_13" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
217 | <Anchors> |
||
218 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_12" relativePoint="TOPLEFT"> |
||
219 | <Offset> |
||
220 | <AbsDimension x="0" y="20"/> |
||
221 | </Offset> |
||
222 | </Anchor> |
||
223 | </Anchors> |
||
224 | </Button> |
||
225 | <Button name="Carni_ECB_14" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
226 | <Anchors> |
||
227 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_13" relativePoint="TOPLEFT"> |
||
228 | <Offset> |
||
229 | <AbsDimension x="0" y="20"/> |
||
230 | </Offset> |
||
231 | </Anchor> |
||
232 | </Anchors> |
||
233 | </Button> |
||
234 | <Button name="Carni_ECB_15" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
235 | <Anchors> |
||
236 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_14" relativePoint="TOPLEFT"> |
||
237 | <Offset> |
||
238 | <AbsDimension x="0" y="20"/> |
||
239 | </Offset> |
||
240 | </Anchor> |
||
241 | </Anchors> |
||
242 | </Button> |
||
243 | <Button name="Carni_ECB_16" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
244 | <Anchors> |
||
245 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_15" relativePoint="TOPLEFT"> |
||
246 | <Offset> |
||
247 | <AbsDimension x="0" y="20"/> |
||
248 | </Offset> |
||
249 | </Anchor> |
||
250 | </Anchors> |
||
251 | </Button> |
||
252 | <Button name="Carni_ECB_17" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
253 | <Anchors> |
||
254 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_16" relativePoint="TOPLEFT"> |
||
255 | <Offset> |
||
256 | <AbsDimension x="0" y="20"/> |
||
257 | </Offset> |
||
258 | </Anchor> |
||
259 | </Anchors> |
||
260 | </Button> |
||
261 | <Button name="Carni_ECB_18" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
262 | <Anchors> |
||
263 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_17" relativePoint="TOPLEFT"> |
||
264 | <Offset> |
||
265 | <AbsDimension x="0" y="20"/> |
||
266 | </Offset> |
||
267 | </Anchor> |
||
268 | </Anchors> |
||
269 | </Button> |
||
270 | <Button name="Carni_ECB_19" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
271 | <Anchors> |
||
272 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_18" relativePoint="TOPLEFT"> |
||
273 | <Offset> |
||
274 | <AbsDimension x="0" y="20"/> |
||
275 | </Offset> |
||
276 | </Anchor> |
||
277 | </Anchors> |
||
278 | </Button> |
||
279 | <Button name="Carni_ECB_20" inherits="CarniEnemyCastBarTemplate" id="2"> |
||
280 | <Anchors> |
||
281 | <Anchor point="TOPLEFT" relativeTo="Carni_ECB_19" relativePoint="TOPLEFT"> |
||
282 | <Offset> |
||
283 | <AbsDimension x="0" y="20"/> |
||
284 | </Offset> |
||
285 | </Anchor> |
||
286 | </Anchors> |
||
287 | </Button> |
||
288 | </Frames> |
||
289 | <Scripts> |
||
290 | <OnLoad> Carnival_EnemyCastBar_OnLoad(); </OnLoad> |
||
291 | <OnEvent> Carnival_EnemyCastBar_OnEvent(event); </OnEvent> |
||
292 | </Scripts> |
||
293 | </Frame> |
||
294 | |||
295 | </Ui> |