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/"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.blizzard.com/wow/ui/
4 ..\..\..\FrameXML\UI.xsd">
5 <Script file="CCWatch.lua"/>
6 <Script file="CCWatch_Globals.lua"/>
7 <Script file="Interface\AddOns\CCWatch\Config\CCWatch_ConfigCC.lua"/>
8 <Script file="Interface\AddOns\CCWatch\Config\CCWatch_ConfigDebuff.lua"/>
9 <Script file="Interface\AddOns\CCWatch\Config\CCWatch_ConfigBuff.lua"/>
10 <Script file="localization.lua"/>
11 <Script file="localization.fr.lua"/>
12 <Script file="localization.de.lua"/>
13  
14 <Frame name="CCWatchBarTemplate" virtual="true" hidden="true">
15 <Size>
16 <AbsDimension x="170" y="20" />
17 </Size>
18 <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" bgFile="Interface\Tooltips\UI-Tooltip-Background" tile="true">
19 <EdgeSize>
20 <AbsValue val="16" />
21 </EdgeSize>
22 <TileSize>
23 <AbsValue val="16" />
24 </TileSize>
25 <BackgroundInsets>
26 <AbsInset left="5" right="5" top="5" bottom="5" />
27 </BackgroundInsets>
28 </Backdrop>
29 <Layers>
30 <Layer level="OVERLAY">
31 <FontString name="$parentText" inherits="GameFontHighlight">
32 <Size>
33 <AbsDimension x="160" y="10"/>
34 </Size>
35 <Anchors>
36 <Anchor point="TOP">
37 <Offset>
38 <AbsDimension x="0" y="-3"/>
39 </Offset>
40 </Anchor>
41 </Anchors>
42 </FontString>
43 </Layer>
44 </Layers>
45 <Frames>
46 <StatusBar name="$parentStatusBar">
47 <Size>
48 <AbsDimension x="160" y="10"/>
49 </Size>
50 <Anchors>
51 <Anchor point="CENTER" relativeto="$parent">
52 <Offset>
53 <AbsDimension x="0" y="0"/>
54 </Offset>
55 </Anchor>
56 </Anchors>
57 <Layers>
58 <Layer level="ARTWORK">
59 <FontString name="$parentText" font="Fonts\ARIALN.TTF" outline="NORMAL">
60 <FontHeight>
61 <AbsValue val="14"/>
62 </FontHeight>
63 <Color r="1.0" g="1.0" b="1.0"/>
64 <Size>
65 <AbsDimension x="48" y="32"/>
66 </Size>
67 <Anchors>
68 <Anchor point="LEFT">
69 <Offset>
70 <AbsDimension x="-48" y="0"/>
71 </Offset>
72 </Anchor>
73 </Anchors>
74 </FontString>
75 </Layer>
76 <Layer level="OVERLAY">
77 <Texture name="$parentSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
78 <Size>
79 <AbsDimension x="32" y="32"/>
80 </Size>
81 <Anchors>
82 <Anchor point="CENTER">
83 <Offset>
84 <AbsDimension x="0" y="0"/>
85 </Offset>
86 </Anchor>
87 </Anchors>
88 </Texture>
89 </Layer>
90 </Layers>
91 <Scripts>
92 <OnLoad>
93 this:SetFrameLevel(this:GetFrameLevel() - 1)
94 </OnLoad>
95 </Scripts>
96 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
97 <BarColor r="1.0" g="1.0" b="0.0"/>
98 </StatusBar>
99 </Frames>
100 </Frame>
101  
102 <Frame name="CCWatchMovableTemplate" virtual="true">
103 <Size>
104 <AbsDimension x="170" y="100" />
105 </Size>
106 <Scripts>
107 <OnLoad>
108 this:EnableMouse(0)
109 </OnLoad>
110 <OnMouseDown>
111 if ( arg1 == "LeftButton" and CCWATCH.STATUS == 2) then
112 this:StartMoving();
113 end
114 </OnMouseDown>
115 <OnMouseUp>
116 if ( arg1 == "LeftButton" ) then
117 this:StopMovingOrSizing();
118 end
119 </OnMouseUp>
120 </Scripts>
121 </Frame>
122  
123 <Frame name="CCWatchCC" movable="true" inherits="CCWatchMovableTemplate" parent="UIParent">
124 <Anchors>
125 <Anchor point="CENTER">
126 <Offset>
127 <AbsDimension x="0" y="80" />
128 </Offset>
129 </Anchor>
130 </Anchors>
131 <Scripts>
132 <OnLoad>
133 CCWatch_OnLoad()
134 </OnLoad>
135 <OnUpdate>
136 CCWatch_OnUpdate()
137 </OnUpdate>
138 <OnEvent>
139 CCWatch_OnEvent(event)
140 </OnEvent>
141 </Scripts>
142 </Frame>
143  
144 <Frame name="CCWatchDebuff" movable="true" inherits="CCWatchMovableTemplate" parent="UIParent">
145 <Anchors>
146 <Anchor point="CENTER">
147 <Offset>
148 <AbsDimension x="-210" y="80" />
149 </Offset>
150 </Anchor>
151 </Anchors>
152 </Frame>
153  
154 <Frame name="CCWatchBuff" movable="true" inherits="CCWatchMovableTemplate" parent="UIParent">
155 <Anchors>
156 <Anchor point="CENTER">
157 <Offset>
158 <AbsDimension x="210" y="80" />
159 </Offset>
160 </Anchor>
161 </Anchors>
162 </Frame>
163  
164  
165 <Frame name="CCWatchBarCC1" parent="CCWatchCC" inherits="CCWatchBarTemplate">
166 <Anchors>
167 <Anchor point="TOPLEFT">
168 <Offset>
169 <AbsDimension x="0" y="-80" />
170 </Offset>
171 </Anchor>
172 </Anchors>
173 <Scripts>
174 <OnShow>
175 CCWatchBarCC1_OnShow()
176 </OnShow>
177 </Scripts>
178 </Frame>
179 <Frame name="CCWatchBarCC2" parent="CCWatchCC" inherits="CCWatchBarTemplate">
180 <Anchors>
181 <Anchor point="TOPLEFT">
182 <Offset>
183 <AbsDimension x="0" y="-60" />
184 </Offset>
185 </Anchor>
186 </Anchors>
187 <Scripts>
188 <OnShow>
189 CCWatchBarCC2_OnShow()
190 </OnShow>
191 </Scripts>
192 </Frame>
193  
194 <Frame name="CCWatchBarCC3" parent="CCWatchCC" inherits="CCWatchBarTemplate">
195 <Anchors>
196 <Anchor point="TOPLEFT">
197 <Offset>
198 <AbsDimension x="0" y="-40" />
199 </Offset>
200 </Anchor>
201 </Anchors>
202 <Scripts>
203 <OnShow>
204 CCWatchBarCC3_OnShow()
205 </OnShow>
206 </Scripts>
207 </Frame>
208  
209 <Frame name="CCWatchBarCC4" parent="CCWatchCC" inherits="CCWatchBarTemplate">
210 <Anchors>
211 <Anchor point="TOPLEFT">
212 <Offset>
213 <AbsDimension x="0" y="-20" />
214 </Offset>
215 </Anchor>
216 </Anchors>
217 <Scripts>
218 <OnShow>
219 CCWatchBarCC4_OnShow()
220 </OnShow>
221 </Scripts>
222 </Frame>
223  
224 <Frame name="CCWatchBarCC5" parent="CCWatchCC" inherits="CCWatchBarTemplate">
225 <Anchors>
226 <Anchor point="TOPLEFT">
227 <Offset>
228 <AbsDimension x="0" y="0" />
229 </Offset>
230 </Anchor>
231 </Anchors>
232 <Scripts>
233 <OnShow>
234 CCWatchBarCC5_OnShow()
235 </OnShow>
236 </Scripts>
237 </Frame>
238  
239  
240 <Frame name="CCWatchBarDebuff1" parent="CCWatchDebuff" inherits="CCWatchBarTemplate">
241 <Anchors>
242 <Anchor point="TOPLEFT">
243 <Offset>
244 <AbsDimension x="0" y="-80" />
245 </Offset>
246 </Anchor>
247 </Anchors>
248 <Scripts>
249 <OnShow>
250 CCWatchBarDebuff1_OnShow()
251 </OnShow>
252 </Scripts>
253 </Frame>
254 <Frame name="CCWatchBarDebuff2" parent="CCWatchDebuff" inherits="CCWatchBarTemplate">
255 <Anchors>
256 <Anchor point="TOPLEFT">
257 <Offset>
258 <AbsDimension x="0" y="-60" />
259 </Offset>
260 </Anchor>
261 </Anchors>
262 <Scripts>
263 <OnShow>
264 CCWatchBarDebuff2_OnShow()
265 </OnShow>
266 </Scripts>
267 </Frame>
268  
269 <Frame name="CCWatchBarDebuff3" parent="CCWatchDebuff" inherits="CCWatchBarTemplate">
270 <Anchors>
271 <Anchor point="TOPLEFT">
272 <Offset>
273 <AbsDimension x="0" y="-40" />
274 </Offset>
275 </Anchor>
276 </Anchors>
277 <Scripts>
278 <OnShow>
279 CCWatchBarDebuff3_OnShow()
280 </OnShow>
281 </Scripts>
282 </Frame>
283  
284 <Frame name="CCWatchBarDebuff4" parent="CCWatchDebuff" inherits="CCWatchBarTemplate">
285 <Anchors>
286 <Anchor point="TOPLEFT">
287 <Offset>
288 <AbsDimension x="0" y="-20" />
289 </Offset>
290 </Anchor>
291 </Anchors>
292 <Scripts>
293 <OnShow>
294 CCWatchBarDebuff4_OnShow()
295 </OnShow>
296 </Scripts>
297 </Frame>
298  
299 <Frame name="CCWatchBarDebuff5" parent="CCWatchDebuff" inherits="CCWatchBarTemplate">
300 <Anchors>
301 <Anchor point="TOPLEFT">
302 <Offset>
303 <AbsDimension x="0" y="0" />
304 </Offset>
305 </Anchor>
306 </Anchors>
307 <Scripts>
308 <OnShow>
309 CCWatchBarDebuff5_OnShow()
310 </OnShow>
311 </Scripts>
312 </Frame>
313  
314  
315 <Frame name="CCWatchBarBuff1" parent="CCWatchBuff" inherits="CCWatchBarTemplate">
316 <Anchors>
317 <Anchor point="TOPLEFT">
318 <Offset>
319 <AbsDimension x="0" y="-80" />
320 </Offset>
321 </Anchor>
322 </Anchors>
323 <Scripts>
324 <OnShow>
325 CCWatchBarBuff1_OnShow()
326 </OnShow>
327 </Scripts>
328 </Frame>
329 <Frame name="CCWatchBarBuff2" parent="CCWatchBuff" inherits="CCWatchBarTemplate">
330 <Anchors>
331 <Anchor point="TOPLEFT">
332 <Offset>
333 <AbsDimension x="0" y="-60" />
334 </Offset>
335 </Anchor>
336 </Anchors>
337 <Scripts>
338 <OnShow>
339 CCWatchBarBuff2_OnShow()
340 </OnShow>
341 </Scripts>
342 </Frame>
343  
344 <Frame name="CCWatchBarBuff3" parent="CCWatchBuff" inherits="CCWatchBarTemplate">
345 <Anchors>
346 <Anchor point="TOPLEFT">
347 <Offset>
348 <AbsDimension x="0" y="-40" />
349 </Offset>
350 </Anchor>
351 </Anchors>
352 <Scripts>
353 <OnShow>
354 CCWatchBarBuff3_OnShow()
355 </OnShow>
356 </Scripts>
357 </Frame>
358  
359 <Frame name="CCWatchBarBuff4" parent="CCWatchBuff" inherits="CCWatchBarTemplate">
360 <Anchors>
361 <Anchor point="TOPLEFT">
362 <Offset>
363 <AbsDimension x="0" y="-20" />
364 </Offset>
365 </Anchor>
366 </Anchors>
367 <Scripts>
368 <OnShow>
369 CCWatchBarBuff4_OnShow()
370 </OnShow>
371 </Scripts>
372 </Frame>
373  
374 <Frame name="CCWatchBarBuff5" parent="CCWatchBuff" inherits="CCWatchBarTemplate">
375 <Anchors>
376 <Anchor point="TOPLEFT">
377 <Offset>
378 <AbsDimension x="0" y="0" />
379 </Offset>
380 </Anchor>
381 </Anchors>
382 <Scripts>
383 <OnShow>
384 CCWatchBarBuff5_OnShow()
385 </OnShow>
386 </Scripts>
387 </Frame>
388  
389  
390 <!-- original SW hack for initialization due to lack of working GetTalentInfo() in the VARIABLE_LOADED, PLAYER_LOGIN, PLAYER_ENTERING_WORLD events -->
391 <Frame name="CCWatch_Variable_Frame" hidden="false">
392 <Scripts>
393 <OnUpdate>
394 CCWatch_LoadVariablesOnUpdate(arg1)
395 </OnUpdate>
396 </Scripts>
397 </Frame>
398 </Ui>