vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui>
2 <Script file="DeathEstimator.lua"/>
3 <Frame name="DeathEstimatorFrame" hidden="false" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
4 <Size>
5 <AbsDimension x="128" y="64"/>
6 </Size>
7 <Anchors>
8 <Anchor point="CENTER">
9 <Offset>
10 <AbsDimension x="0" y="0"/>
11 </Offset>
12 </Anchor>
13 </Anchors>
14 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
15 <BackgroundInsets>
16 <AbsInset left="5" right="5" top="5" bottom="5"/>
17 </BackgroundInsets>
18 <TileSize>
19 <AbsValue val="16"/>
20 </TileSize>
21 <EdgeSize>
22 <AbsValue val="16"/>
23 </EdgeSize>
24 </Backdrop>
25 <Frames>
26 <Button name="DeathEstimatorPlayerButton">
27 <Size>
28 <AbsDimension x="128" y="32"/>
29 </Size>
30 <Anchors>
31 <Anchor point="TOPLEFT">
32 <Offset>
33 <AbsDimension x="2" y="0"/>
34 </Offset>
35 </Anchor>
36 </Anchors>
37 <Layers>
38 <Layer level="BACKGROUND">
39 <FontString name="DeathEstimatorPlayerLabel" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
40 <Size>
41 <AbsDimension x="64" y="12"/>
42 </Size>
43 <Anchors>
44 <Anchor point="LEFT">
45 <Offset>
46 <AbsDimension x="0" y="0"/>
47 </Offset>
48 </Anchor>
49 </Anchors>
50 </FontString>
51 <FontString name="DeathEstimatorPlayerText" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
52 <Size>
53 <AbsDimension x="52" y="12"/>
54 </Size>
55 <Anchors>
56 <Anchor point="LEFT">
57 <Offset>
58 <AbsDimension x="64" y="0"/>
59 </Offset>
60 </Anchor>
61 </Anchors>
62 </FontString>
63 </Layer>
64 </Layers>
65 <Scripts>
66 <OnMouseDown>
67 if ( arg1 == "LeftButton" ) then
68 DeathEstimatorFrame:StartMoving();
69 end
70 </OnMouseDown>
71 <OnMouseUp>
72 if ( arg1 == "LeftButton" ) then
73 DeathEstimatorFrame:StopMovingOrSizing();
74 end
75 </OnMouseUp>
76 </Scripts>
77 </Button>
78 <Button name="DeathEstimatorPetButton">
79 <Size>
80 <AbsDimension x="128" y="32"/>
81 </Size>
82 <Anchors>
83 <Anchor point="TOPLEFT">
84 <Offset>
85 <AbsDimension x="2" y="-16"/>
86 </Offset>
87 </Anchor>
88 </Anchors>
89 <Layers>
90 <Layer level="BACKGROUND">
91 <FontString name="DeathEstimatorPetLabel" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
92 <Size>
93 <AbsDimension x="64" y="12"/>
94 </Size>
95 <Anchors>
96 <Anchor point="LEFT">
97 <Offset>
98 <AbsDimension x="0" y="0"/>
99 </Offset>
100 </Anchor>
101 </Anchors>
102 </FontString>
103 <FontString name="DeathEstimatorPetText" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
104 <Size>
105 <AbsDimension x="52" y="12"/>
106 </Size>
107 <Anchors>
108 <Anchor point="LEFT">
109 <Offset>
110 <AbsDimension x="64" y="0"/>
111 </Offset>
112 </Anchor>
113 </Anchors>
114 </FontString>
115 </Layer>
116 </Layers>
117 <Scripts>
118 <OnMouseDown>
119 if ( arg1 == "LeftButton" ) then
120 DeathEstimatorFrame:StartMoving();
121 end
122 </OnMouseDown>
123 <OnMouseUp>
124 if ( arg1 == "LeftButton" ) then
125 DeathEstimatorFrame:StopMovingOrSizing();
126 end
127 </OnMouseUp>
128 </Scripts>
129 </Button>
130 <Button name="DeathEstimatorTargetButton">
131 <Size>
132 <AbsDimension x="128" y="32"/>
133 </Size>
134 <Anchors>
135 <Anchor point="TOPLEFT">
136 <Offset>
137 <AbsDimension x="2" y="-32"/>
138 </Offset>
139 </Anchor>
140 </Anchors>
141 <Layers>
142 <Layer level="BACKGROUND">
143 <FontString name="DeathEstimatorTargetLabel" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
144 <Size>
145 <AbsDimension x="64" y="12"/>
146 </Size>
147 <Anchors>
148 <Anchor point="LEFT">
149 <Offset>
150 <AbsDimension x="0" y="0"/>
151 </Offset>
152 </Anchor>
153 </Anchors>
154 </FontString>
155 <FontString name="DeathEstimatorTargetText" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
156 <Size>
157 <AbsDimension x="52" y="12"/>
158 </Size>
159 <Anchors>
160 <Anchor point="LEFT">
161 <Offset>
162 <AbsDimension x="64" y="0"/>
163 </Offset>
164 </Anchor>
165 </Anchors>
166 </FontString>
167 </Layer>
168 </Layers>
169 <Scripts>
170 <OnMouseDown>
171 if ( arg1 == "LeftButton" ) then
172 DeathEstimatorFrame:StartMoving();
173 end
174 </OnMouseDown>
175 <OnMouseUp>
176 if ( arg1 == "LeftButton" ) then
177 DeathEstimatorFrame:StopMovingOrSizing();
178 end
179 </OnMouseUp>
180 </Scripts>
181 </Button>
182 </Frames>
183 <Scripts>
184 <OnLoad>
185 DeathEstimator_OnLoad();
186 </OnLoad>
187 <OnEvent>
188 DeathEstimator_OnEvent(event);
189 </OnEvent>
190 <OnUpdate>
191 DeathEstimator_OnUpdate();
192 </OnUpdate>
193 <OnMouseDown>
194 if ( arg1 == "LeftButton" ) then
195 DeathEstimatorFrame:StartMoving();
196 end
197 </OnMouseDown>
198 <OnMouseUp>
199 if ( arg1 == "LeftButton" ) then
200 DeathEstimatorFrame:StopMovingOrSizing();
201 end
202 </OnMouseUp>
203 </Scripts>
204 </Frame>
205 <Frame name="DeathEstimatorPartyFrame" hidden="true" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" parent="DeathEstimatorFrame">
206 <Size>
207 <AbsDimension x="128" y="80"/>
208 </Size>
209 <Anchors>
210 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="DeathEstimatorFrame">
211 <Offset>
212 <AbsDimension x="0" y="0"/>
213 </Offset>
214 </Anchor>
215 </Anchors>
216 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
217 <BackgroundInsets>
218 <AbsInset left="5" right="5" top="5" bottom="5"/>
219 </BackgroundInsets>
220 <TileSize>
221 <AbsValue val="16"/>
222 </TileSize>
223 <EdgeSize>
224 <AbsValue val="16"/>
225 </EdgeSize>
226 </Backdrop>
227 <Frames>
228 <Button name="DeathEstimatorParty1Button">
229 <Size>
230 <AbsDimension x="128" y="32"/>
231 </Size>
232 <Anchors>
233 <Anchor point="TOPLEFT">
234 <Offset>
235 <AbsDimension x="0" y="0"/>
236 </Offset>
237 </Anchor>
238 </Anchors>
239 <Layers>
240 <Layer level="BACKGROUND">
241 <FontString name="DeathEstimatorParty1Label" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
242 <Size>
243 <AbsDimension x="64" y="12"/>
244 </Size>
245 <Anchors>
246 <Anchor point="LEFT">
247 <Offset>
248 <AbsDimension x="0" y="0"/>
249 </Offset>
250 </Anchor>
251 </Anchors>
252 </FontString>
253 <FontString name="DeathEstimatorParty1Text" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
254 <Size>
255 <AbsDimension x="52" y="12"/>
256 </Size>
257 <Anchors>
258 <Anchor point="LEFT">
259 <Offset>
260 <AbsDimension x="64" y="0"/>
261 </Offset>
262 </Anchor>
263 </Anchors>
264 </FontString>
265 </Layer>
266 </Layers>
267 <Scripts>
268 <OnMouseDown>
269 if ( arg1 == "LeftButton" ) then
270 DeathEstimatorFrame:StartMoving();
271 end
272 </OnMouseDown>
273 <OnMouseUp>
274 if ( arg1 == "LeftButton" ) then
275 DeathEstimatorFrame:StopMovingOrSizing();
276 end
277 </OnMouseUp>
278 </Scripts>
279 </Button>
280 <Button name="DeathEstimatorParty2Button">
281 <Size>
282 <AbsDimension x="128" y="32"/>
283 </Size>
284 <Anchors>
285 <Anchor point="TOPLEFT">
286 <Offset>
287 <AbsDimension x="0" y="-16"/>
288 </Offset>
289 </Anchor>
290 </Anchors>
291 <Layers>
292 <Layer level="BACKGROUND">
293 <FontString name="DeathEstimatorParty2Label" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
294 <Size>
295 <AbsDimension x="64" y="12"/>
296 </Size>
297 <Anchors>
298 <Anchor point="LEFT">
299 <Offset>
300 <AbsDimension x="0" y="0"/>
301 </Offset>
302 </Anchor>
303 </Anchors>
304 </FontString>
305 <FontString name="DeathEstimatorParty2Text" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
306 <Size>
307 <AbsDimension x="52" y="12"/>
308 </Size>
309 <Anchors>
310 <Anchor point="LEFT">
311 <Offset>
312 <AbsDimension x="64" y="0"/>
313 </Offset>
314 </Anchor>
315 </Anchors>
316 </FontString>
317 </Layer>
318 </Layers>
319 <Scripts>
320 <OnMouseDown>
321 if ( arg1 == "LeftButton" ) then
322 DeathEstimatorFrame:StartMoving();
323 end
324 </OnMouseDown>
325 <OnMouseUp>
326 if ( arg1 == "LeftButton" ) then
327 DeathEstimatorFrame:StopMovingOrSizing();
328 end
329 </OnMouseUp>
330 </Scripts>
331 </Button>
332 <Button name="DeathEstimatorParty3Button">
333 <Size>
334 <AbsDimension x="128" y="32"/>
335 </Size>
336 <Anchors>
337 <Anchor point="TOPLEFT">
338 <Offset>
339 <AbsDimension x="0" y="-32"/>
340 </Offset>
341 </Anchor>
342 </Anchors>
343 <Layers>
344 <Layer level="BACKGROUND">
345 <FontString name="DeathEstimatorParty3Label" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
346 <Size>
347 <AbsDimension x="64" y="12"/>
348 </Size>
349 <Anchors>
350 <Anchor point="LEFT">
351 <Offset>
352 <AbsDimension x="0" y="0"/>
353 </Offset>
354 </Anchor>
355 </Anchors>
356 </FontString>
357 <FontString name="DeathEstimatorParty3Text" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
358 <Size>
359 <AbsDimension x="52" y="12"/>
360 </Size>
361 <Anchors>
362 <Anchor point="LEFT">
363 <Offset>
364 <AbsDimension x="64" y="0"/>
365 </Offset>
366 </Anchor>
367 </Anchors>
368 </FontString>
369 </Layer>
370 </Layers>
371 <Scripts>
372 <OnMouseDown>
373 if ( arg1 == "LeftButton" ) then
374 DeathEstimatorFrame:StartMoving();
375 end
376 </OnMouseDown>
377 <OnMouseUp>
378 if ( arg1 == "LeftButton" ) then
379 DeathEstimatorFrame:StopMovingOrSizing();
380 end
381 </OnMouseUp>
382 </Scripts>
383 </Button>
384 <Button name="DeathEstimatorParty4Button">
385 <Size>
386 <AbsDimension x="128" y="32"/>
387 </Size>
388 <Anchors>
389 <Anchor point="TOPLEFT">
390 <Offset>
391 <AbsDimension x="0" y="-48"/>
392 </Offset>
393 </Anchor>
394 </Anchors>
395 <Layers>
396 <Layer level="BACKGROUND">
397 <FontString name="DeathEstimatorParty4Label" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
398 <Size>
399 <AbsDimension x="64" y="12"/>
400 </Size>
401 <Anchors>
402 <Anchor point="LEFT">
403 <Offset>
404 <AbsDimension x="0" y="0"/>
405 </Offset>
406 </Anchor>
407 </Anchors>
408 </FontString>
409 <FontString name="DeathEstimatorParty4Text" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
410 <Size>
411 <AbsDimension x="52" y="12"/>
412 </Size>
413 <Anchors>
414 <Anchor point="LEFT">
415 <Offset>
416 <AbsDimension x="64" y="0"/>
417 </Offset>
418 </Anchor>
419 </Anchors>
420 </FontString>
421 </Layer>
422 </Layers>
423 <Scripts>
424 <OnMouseDown>
425 if ( arg1 == "LeftButton" ) then
426 DeathEstimatorFrame:StartMoving();
427 end
428 </OnMouseDown>
429 <OnMouseUp>
430 if ( arg1 == "LeftButton" ) then
431 DeathEstimatorFrame:StopMovingOrSizing();
432 end
433 </OnMouseUp>
434 </Scripts>
435 </Button>
436 </Frames>
437 <Scripts>
438 <OnLoad>
439 DeathEstimator_PartyOnLoad();
440 </OnLoad>
441 <OnEvent>
442 DeathEstimator_OnEvent();
443 </OnEvent>
444 <OnMouseDown>
445 if ( arg1 == "LeftButton" ) then
446 DeathEstimatorFrame:StartMoving();
447 end
448 </OnMouseDown>
449 <OnMouseUp>
450 if ( arg1 == "LeftButton" ) then
451 DeathEstimatorFrame:StopMovingOrSizing();
452 end
453 </OnMouseUp>
454 </Scripts>
455 </Frame>
456 </Ui>