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 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
3 | <Script file="CT_AssistFrame.lua"/> |
||
4 | <Script file="TargetFrame.lua"/> |
||
5 | <Button name="CT_AssistDebuffButtonTemplate" virtual="true"> |
||
6 | <Size> |
||
7 | <AbsDimension x="17" y="17"/> |
||
8 | </Size> |
||
9 | <Layers> |
||
10 | <Layer level="ARTWORK"> |
||
11 | <Texture name="$parentIcon" setAllPoints="true"/> |
||
12 | </Layer> |
||
13 | <Layer level="OVERLAY"> |
||
14 | <Texture name="$parentBorder" file="Interface\Buttons\UI-Debuff-Overlays"> |
||
15 | <Size> |
||
16 | <AbsDimension x="19" y="19"/> |
||
17 | </Size> |
||
18 | <Anchors> |
||
19 | <Anchor point="CENTER"> |
||
20 | <Offset> |
||
21 | <AbsDimension x="0" y="0"/> |
||
22 | </Offset> |
||
23 | </Anchor> |
||
24 | </Anchors> |
||
25 | <TexCoords left="0.296875" right="0.5703125" top="0" bottom="0.515625"/> |
||
26 | </Texture> |
||
27 | <FontString name="$parentCount" inherits="NumberFontNormalSmall"> |
||
28 | <Anchors> |
||
29 | <Anchor point="BOTTOMRIGHT"> |
||
30 | <Offset> |
||
31 | <AbsDimension x="-1" y="0"/> |
||
32 | </Offset> |
||
33 | </Anchor> |
||
34 | </Anchors> |
||
35 | </FontString> |
||
36 | </Layer> |
||
37 | </Layers> |
||
38 | <Scripts> |
||
39 | <OnEnter> |
||
40 | GameTooltip:SetOwner(this, "ANCHOR_BOTTOMRIGHT", 15, -25); |
||
41 | GameTooltip:SetUnitDebuff("targettarget", this.id); |
||
42 | </OnEnter> |
||
43 | <OnLeave> |
||
44 | GameTooltip:Hide(); |
||
45 | </OnLeave> |
||
46 | </Scripts> |
||
47 | </Button> |
||
48 | <Button name="CT_AssistBuffButtonTemplate" virtual="true"> |
||
49 | <Size> |
||
50 | <AbsDimension x="21" y="21"/> |
||
51 | </Size> |
||
52 | <Layers> |
||
53 | <Layer level="ARTWORK"> |
||
54 | <Texture name="$parentIcon" setAllPoints="true"/> |
||
55 | </Layer> |
||
56 | </Layers> |
||
57 | <Scripts> |
||
58 | <OnEnter> |
||
59 | GameTooltip:SetOwner(this, "ANCHOR_BOTTOMRIGHT", 15, -25); |
||
60 | GameTooltip:SetUnitBuff("targettarget", this.id); |
||
61 | </OnEnter> |
||
62 | <OnLeave> |
||
63 | GameTooltip:Hide(); |
||
64 | </OnLeave> |
||
65 | </Scripts> |
||
66 | </Button> |
||
67 | <Button name="CT_AssistFrame" frameStrata="LOW" toplevel="true" movable="true" parent="UIParent"> |
||
68 | <Size> |
||
69 | <AbsDimension x="232" y="100"/> |
||
70 | </Size> |
||
71 | <Anchors> |
||
72 | <Anchor point="TOPLEFT"> |
||
73 | <Offset> |
||
74 | <AbsDimension x="480" y="-25"/> |
||
75 | </Offset> |
||
76 | </Anchor> |
||
77 | </Anchors> |
||
78 | <HitRectInsets> |
||
79 | <AbsInset left="96" right="6" top="4" bottom="9"/> |
||
80 | </HitRectInsets> |
||
81 | <Layers> |
||
82 | <Layer level="BACKGROUND"> |
||
83 | <Texture name="CT_AssistFrameBackground"> |
||
84 | <Size> |
||
85 | <AbsDimension x="119" y="41"/> |
||
86 | </Size> |
||
87 | <Anchors> |
||
88 | <Anchor point="TOPRIGHT"> |
||
89 | <Offset> |
||
90 | <AbsDimension x="-106" y="-22"/> |
||
91 | </Offset> |
||
92 | </Anchor> |
||
93 | </Anchors> |
||
94 | <Color r="0" g="0" b="0" a="0.5"/> |
||
95 | </Texture> |
||
96 | <Texture name="CT_AssistFrameNameBackground" file="Interface\TargetingFrame\UI-TargetingFrame-LevelBackground"> |
||
97 | <Size> |
||
98 | <AbsDimension x="119" y="19"/> |
||
99 | </Size> |
||
100 | <Anchors> |
||
101 | <Anchor point="TOPRIGHT"> |
||
102 | <Offset> |
||
103 | <AbsDimension x="-106" y="-22"/> |
||
104 | </Offset> |
||
105 | </Anchor> |
||
106 | </Anchors> |
||
107 | </Texture> |
||
108 | </Layer> |
||
109 | <Layer level="BORDER"> |
||
110 | <Texture name="CT_AssistPortrait"> |
||
111 | <Size> |
||
112 | <AbsDimension x="64" y="64"/> |
||
113 | </Size> |
||
114 | <Anchors> |
||
115 | <Anchor point="TOPRIGHT"> |
||
116 | <Offset> |
||
117 | <AbsDimension x="-42" y="-12"/> |
||
118 | </Offset> |
||
119 | </Anchor> |
||
120 | </Anchors> |
||
121 | </Texture> |
||
122 | </Layer> |
||
123 | </Layers> |
||
124 | <Frames> |
||
125 | <Frame setAllPoints="true"> |
||
126 | <Frames> |
||
127 | <Frame setAllPoints="true"> |
||
128 | <Layers> |
||
129 | <Layer level="BACKGROUND"> |
||
130 | <Texture name="CT_AssistFrameTexture" file="Interface\TargetingFrame\UI-TargetingFrame"> |
||
131 | <TexCoords left="0.09375" right="1.0" top="0" bottom="0.78125"/> |
||
132 | </Texture> |
||
133 | <FontString name="CT_AssistName" inherits="GameFontNormalSmall"> |
||
134 | <Size> |
||
135 | <AbsDimension x="100" y="10"/> |
||
136 | </Size> |
||
137 | <Anchors> |
||
138 | <Anchor point="CENTER"> |
||
139 | <Offset> |
||
140 | <AbsDimension x="-50" y="19"/> |
||
141 | </Offset> |
||
142 | </Anchor> |
||
143 | </Anchors> |
||
144 | </FontString> |
||
145 | <FontString name="CT_AssistLevelText" inherits="GameFontNormalSmall"> |
||
146 | <Anchors> |
||
147 | <Anchor point="CENTER"> |
||
148 | <Offset> |
||
149 | <AbsDimension x="63" y="-16"/> |
||
150 | </Offset> |
||
151 | </Anchor> |
||
152 | </Anchors> |
||
153 | </FontString> |
||
154 | <FontString name="CT_AssistDeadText" hidden="true" inherits="GameFontNormalSmall" text="DEAD"> |
||
155 | <Anchors> |
||
156 | <Anchor point="CENTER"> |
||
157 | <Offset> |
||
158 | <AbsDimension x="-50" y="3"/> |
||
159 | </Offset> |
||
160 | </Anchor> |
||
161 | </Anchors> |
||
162 | </FontString> |
||
163 | </Layer> |
||
164 | <Layer level="ARTWORK"> |
||
165 | <Texture name="CT_AssistHighLevelTexture" file="Interface\TargetingFrame\UI-TargetingFrame-Skull"> |
||
166 | <Size> |
||
167 | <AbsDimension x="16" y="16"/> |
||
168 | </Size> |
||
169 | <Anchors> |
||
170 | <Anchor point="CENTER"> |
||
171 | <Offset> |
||
172 | <AbsDimension x="63" y="-16"/> |
||
173 | </Offset> |
||
174 | </Anchor> |
||
175 | </Anchors> |
||
176 | </Texture> |
||
177 | <Texture name="CT_AssistLeaderIcon" file="Interface\GroupFrame\UI-Group-LeaderIcon" hidden="true"> |
||
178 | <Size> |
||
179 | <AbsDimension x="16" y="16"/> |
||
180 | </Size> |
||
181 | <Anchors> |
||
182 | <Anchor point="TOPRIGHT"> |
||
183 | <Offset> |
||
184 | <AbsDimension x="-44" y="-10"/> |
||
185 | </Offset> |
||
186 | </Anchor> |
||
187 | </Anchors> |
||
188 | </Texture> |
||
189 | <Texture name="CT_AssistPVPIcon" hidden="true"> |
||
190 | <Size> |
||
191 | <AbsDimension x="64" y="64"/> |
||
192 | </Size> |
||
193 | <Anchors> |
||
194 | <Anchor point="TOPRIGHT"> |
||
195 | <Offset> |
||
196 | <AbsDimension x="3" y="-20"/> |
||
197 | </Offset> |
||
198 | </Anchor> |
||
199 | </Anchors> |
||
200 | </Texture> |
||
201 | </Layer> |
||
202 | </Layers> |
||
203 | </Frame> |
||
204 | </Frames> |
||
205 | </Frame> |
||
206 | <Frame name="CT_AssistFrameDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
207 | <Size> |
||
208 | <AbsDimension x="10" y="10"/> |
||
209 | </Size> |
||
210 | <Anchors> |
||
211 | <Anchor point="TOP"> |
||
212 | <Offset> |
||
213 | <AbsDimension x="10" y="-60"/> |
||
214 | </Offset> |
||
215 | </Anchor> |
||
216 | </Anchors> |
||
217 | <Scripts> |
||
218 | <OnLoad> |
||
219 | CT_AssistFrameDropDown_OnLoad(); |
||
220 | </OnLoad> |
||
221 | </Scripts> |
||
222 | </Frame> |
||
223 | <StatusBar name="CT_AssistFrameHealthBar" inherits="TextStatusBar"> |
||
224 | <Size> |
||
225 | <AbsDimension x="119" y="12"/> |
||
226 | </Size> |
||
227 | <Anchors> |
||
228 | <Anchor point="TOPRIGHT"> |
||
229 | <Offset> |
||
230 | <AbsDimension x="-106" y="-41"/> |
||
231 | </Offset> |
||
232 | </Anchor> |
||
233 | </Anchors> |
||
234 | <Scripts> |
||
235 | <OnEvent> |
||
236 | UnitFrameHealthBar_Update(this, arg1); |
||
237 | </OnEvent> |
||
238 | <OnValueChanged> |
||
239 | UnitFrameHealthBar_OnValueChanged(arg1); |
||
240 | CT_AssistHealthCheck(); |
||
241 | </OnValueChanged> |
||
242 | </Scripts> |
||
243 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
244 | </StatusBar> |
||
245 | <StatusBar name="CT_AssistFrameManaBar" inherits="TextStatusBar"> |
||
246 | <Size> |
||
247 | <AbsDimension x="119" y="12"/> |
||
248 | </Size> |
||
249 | <Anchors> |
||
250 | <Anchor point="TOPRIGHT"> |
||
251 | <Offset> |
||
252 | <AbsDimension x="-106" y="-51"/> |
||
253 | </Offset> |
||
254 | </Anchor> |
||
255 | </Anchors> |
||
256 | <Scripts> |
||
257 | <OnEvent> |
||
258 | UnitFrameManaBar_Update(this, arg1); |
||
259 | </OnEvent> |
||
260 | </Scripts> |
||
261 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
262 | <BarColor r="0" g="0" b="1.0"/> |
||
263 | </StatusBar> |
||
264 | <Button name="CT_AssistFrameDebuff1" inherits="CT_AssistDebuffButtonTemplate" id="1"> |
||
265 | <Anchors> |
||
266 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
267 | <Offset> |
||
268 | <AbsDimension x="5" y="32"/> |
||
269 | </Offset> |
||
270 | </Anchor> |
||
271 | </Anchors> |
||
272 | </Button> |
||
273 | <Button name="CT_AssistFrameDebuff2" inherits="CT_AssistDebuffButtonTemplate" id="2"> |
||
274 | <Anchors> |
||
275 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff1" relativePoint="RIGHT"> |
||
276 | <Offset> |
||
277 | <AbsDimension x="3" y="0"/> |
||
278 | </Offset> |
||
279 | </Anchor> |
||
280 | </Anchors> |
||
281 | </Button> |
||
282 | <Button name="CT_AssistFrameDebuff3" inherits="CT_AssistDebuffButtonTemplate" id="3"> |
||
283 | <Anchors> |
||
284 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff2" relativePoint="RIGHT"> |
||
285 | <Offset> |
||
286 | <AbsDimension x="3" y="0"/> |
||
287 | </Offset> |
||
288 | </Anchor> |
||
289 | </Anchors> |
||
290 | </Button> |
||
291 | <Button name="CT_AssistFrameDebuff4" inherits="CT_AssistDebuffButtonTemplate" id="4"> |
||
292 | <Anchors> |
||
293 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff3" relativePoint="RIGHT"> |
||
294 | <Offset> |
||
295 | <AbsDimension x="3" y="0"/> |
||
296 | </Offset> |
||
297 | </Anchor> |
||
298 | </Anchors> |
||
299 | </Button> |
||
300 | <Button name="CT_AssistFrameDebuff5" inherits="CT_AssistDebuffButtonTemplate" id="5"> |
||
301 | <Anchors> |
||
302 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff4" relativePoint="RIGHT"> |
||
303 | <Offset> |
||
304 | <AbsDimension x="3" y="0"/> |
||
305 | </Offset> |
||
306 | </Anchor> |
||
307 | </Anchors> |
||
308 | </Button> |
||
309 | <Button name="CT_AssistFrameDebuff6" inherits="CT_AssistDebuffButtonTemplate" id="6"> |
||
310 | <Anchors> |
||
311 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff5" relativePoint="RIGHT"> |
||
312 | <Offset> |
||
313 | <AbsDimension x="3" y="0"/> |
||
314 | </Offset> |
||
315 | </Anchor> |
||
316 | </Anchors> |
||
317 | </Button> |
||
318 | <Button name="CT_AssistFrameDebuff7" inherits="CT_AssistDebuffButtonTemplate" id="7"> |
||
319 | <Anchors> |
||
320 | <Anchor point="TOPLEFT" relativeTo="CT_AssistFrameDebuff1" relativePoint="BOTTOMLEFT"> |
||
321 | <Offset> |
||
322 | <AbsDimension x="0" y="-3"/> |
||
323 | </Offset> |
||
324 | </Anchor> |
||
325 | </Anchors> |
||
326 | </Button> |
||
327 | <Button name="CT_AssistFrameDebuff8" inherits="CT_AssistDebuffButtonTemplate" id="8"> |
||
328 | <Anchors> |
||
329 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff7" relativePoint="RIGHT"> |
||
330 | <Offset> |
||
331 | <AbsDimension x="3" y="0"/> |
||
332 | </Offset> |
||
333 | </Anchor> |
||
334 | </Anchors> |
||
335 | </Button> |
||
336 | <Button name="CT_AssistFrameDebuff9" inherits="CT_AssistDebuffButtonTemplate" id="9"> |
||
337 | <Anchors> |
||
338 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff8" relativePoint="RIGHT"> |
||
339 | <Offset> |
||
340 | <AbsDimension x="3" y="0"/> |
||
341 | </Offset> |
||
342 | </Anchor> |
||
343 | </Anchors> |
||
344 | </Button> |
||
345 | <Button name="CT_AssistFrameDebuff10" inherits="CT_AssistDebuffButtonTemplate" id="10"> |
||
346 | <Anchors> |
||
347 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff9" relativePoint="RIGHT"> |
||
348 | <Offset> |
||
349 | <AbsDimension x="3" y="0"/> |
||
350 | </Offset> |
||
351 | </Anchor> |
||
352 | </Anchors> |
||
353 | </Button> |
||
354 | <Button name="CT_AssistFrameDebuff11" inherits="CT_AssistDebuffButtonTemplate" id="11"> |
||
355 | <Anchors> |
||
356 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff10" relativePoint="RIGHT"> |
||
357 | <Offset> |
||
358 | <AbsDimension x="3" y="0"/> |
||
359 | </Offset> |
||
360 | </Anchor> |
||
361 | </Anchors> |
||
362 | </Button> |
||
363 | <Button name="CT_AssistFrameDebuff12" inherits="CT_AssistDebuffButtonTemplate" id="12"> |
||
364 | <Anchors> |
||
365 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff11" relativePoint="RIGHT"> |
||
366 | <Offset> |
||
367 | <AbsDimension x="3" y="0"/> |
||
368 | </Offset> |
||
369 | </Anchor> |
||
370 | </Anchors> |
||
371 | </Button> |
||
372 | <Button name="CT_AssistFrameDebuff13" inherits="CT_AssistDebuffButtonTemplate" id="13"> |
||
373 | <Anchors> |
||
374 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff12" relativePoint="RIGHT"> |
||
375 | <Offset> |
||
376 | <AbsDimension x="3" y="0"/> |
||
377 | </Offset> |
||
378 | </Anchor> |
||
379 | </Anchors> |
||
380 | </Button> |
||
381 | <Button name="CT_AssistFrameDebuff14" inherits="CT_AssistDebuffButtonTemplate" id="14"> |
||
382 | <Anchors> |
||
383 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff13" relativePoint="RIGHT"> |
||
384 | <Offset> |
||
385 | <AbsDimension x="3" y="0"/> |
||
386 | </Offset> |
||
387 | </Anchor> |
||
388 | </Anchors> |
||
389 | </Button> |
||
390 | <Button name="CT_AssistFrameDebuff15" inherits="CT_AssistDebuffButtonTemplate" id="15"> |
||
391 | <Anchors> |
||
392 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff14" relativePoint="RIGHT"> |
||
393 | <Offset> |
||
394 | <AbsDimension x="3" y="0"/> |
||
395 | </Offset> |
||
396 | </Anchor> |
||
397 | </Anchors> |
||
398 | </Button> |
||
399 | <Button name="CT_AssistFrameDebuff16" inherits="CT_AssistDebuffButtonTemplate" id="16"> |
||
400 | <Anchors> |
||
401 | <Anchor point="LEFT" relativeTo="CT_AssistFrameDebuff15" relativePoint="RIGHT"> |
||
402 | <Offset> |
||
403 | <AbsDimension x="3" y="0"/> |
||
404 | </Offset> |
||
405 | </Anchor> |
||
406 | </Anchors> |
||
407 | </Button> |
||
408 | <Button name="CT_AssistFrameBuff1" inherits="CT_AssistBuffButtonTemplate" id="1"> |
||
409 | <Anchors> |
||
410 | <Anchor point="TOPLEFT" relativeTo="CT_AssistFrameDebuff1" relativePoint="BOTTOMLEFT"> |
||
411 | <Offset> |
||
412 | <AbsDimension x="0" y="-2"/> |
||
413 | </Offset> |
||
414 | </Anchor> |
||
415 | </Anchors> |
||
416 | </Button> |
||
417 | <Button name="CT_AssistFrameBuff2" inherits="CT_AssistBuffButtonTemplate" id="2"> |
||
418 | <Anchors> |
||
419 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff1" relativePoint="RIGHT"> |
||
420 | <Offset> |
||
421 | <AbsDimension x="3" y="0"/> |
||
422 | </Offset> |
||
423 | </Anchor> |
||
424 | </Anchors> |
||
425 | </Button> |
||
426 | <Button name="CT_AssistFrameBuff3" inherits="CT_AssistBuffButtonTemplate" id="3"> |
||
427 | <Anchors> |
||
428 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff2" relativePoint="RIGHT"> |
||
429 | <Offset> |
||
430 | <AbsDimension x="3" y="0"/> |
||
431 | </Offset> |
||
432 | </Anchor> |
||
433 | </Anchors> |
||
434 | </Button> |
||
435 | <Button name="CT_AssistFrameBuff4" inherits="CT_AssistBuffButtonTemplate" id="4"> |
||
436 | <Anchors> |
||
437 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff3" relativePoint="RIGHT"> |
||
438 | <Offset> |
||
439 | <AbsDimension x="3" y="0"/> |
||
440 | </Offset> |
||
441 | </Anchor> |
||
442 | </Anchors> |
||
443 | </Button> |
||
444 | <Button name="CT_AssistFrameBuff5" inherits="CT_AssistBuffButtonTemplate" id="5"> |
||
445 | <Anchors> |
||
446 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff4" relativePoint="RIGHT"> |
||
447 | <Offset> |
||
448 | <AbsDimension x="3" y="0"/> |
||
449 | </Offset> |
||
450 | </Anchor> |
||
451 | </Anchors> |
||
452 | </Button> |
||
453 | <Button name="CT_AssistFrameBuff6" inherits="CT_AssistBuffButtonTemplate" id="6"> |
||
454 | <Anchors> |
||
455 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff5" relativePoint="RIGHT"> |
||
456 | <Offset> |
||
457 | <AbsDimension x="3" y="0"/> |
||
458 | </Offset> |
||
459 | </Anchor> |
||
460 | </Anchors> |
||
461 | </Button> |
||
462 | <Button name="CT_AssistFrameBuff7" inherits="CT_AssistBuffButtonTemplate" id="7"> |
||
463 | <Anchors> |
||
464 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="CT_AssistFrameBuff1"> |
||
465 | <Offset> |
||
466 | <AbsDimension x="0" y="-3"/> |
||
467 | </Offset> |
||
468 | </Anchor> |
||
469 | </Anchors> |
||
470 | </Button> |
||
471 | <Button name="CT_AssistFrameBuff8" inherits="CT_AssistBuffButtonTemplate" id="8"> |
||
472 | <Anchors> |
||
473 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff7" relativePoint="RIGHT"> |
||
474 | <Offset> |
||
475 | <AbsDimension x="3" y="0"/> |
||
476 | </Offset> |
||
477 | </Anchor> |
||
478 | </Anchors> |
||
479 | </Button> |
||
480 | <Button name="CT_AssistFrameBuff9" inherits="CT_AssistBuffButtonTemplate" id="9"> |
||
481 | <Anchors> |
||
482 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff8" relativePoint="RIGHT"> |
||
483 | <Offset> |
||
484 | <AbsDimension x="3" y="0"/> |
||
485 | </Offset> |
||
486 | </Anchor> |
||
487 | </Anchors> |
||
488 | </Button> |
||
489 | <Button name="CT_AssistFrameBuff10" inherits="CT_AssistBuffButtonTemplate" id="10"> |
||
490 | <Anchors> |
||
491 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff9" relativePoint="RIGHT"> |
||
492 | <Offset> |
||
493 | <AbsDimension x="3" y="0"/> |
||
494 | </Offset> |
||
495 | </Anchor> |
||
496 | </Anchors> |
||
497 | </Button> |
||
498 | <Button name="CT_AssistFrameBuff11" inherits="CT_AssistBuffButtonTemplate" id="11"> |
||
499 | <Anchors> |
||
500 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff10" relativePoint="RIGHT"> |
||
501 | <Offset> |
||
502 | <AbsDimension x="3" y="0"/> |
||
503 | </Offset> |
||
504 | </Anchor> |
||
505 | </Anchors> |
||
506 | </Button> |
||
507 | <Button name="CT_AssistFrameBuff12" inherits="CT_AssistBuffButtonTemplate" id="12"> |
||
508 | <Anchors> |
||
509 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff11" relativePoint="RIGHT"> |
||
510 | <Offset> |
||
511 | <AbsDimension x="3" y="0"/> |
||
512 | </Offset> |
||
513 | </Anchor> |
||
514 | </Anchors> |
||
515 | </Button> |
||
516 | <Button name="CT_AssistFrameBuff13" inherits="CT_AssistBuffButtonTemplate" id="13"> |
||
517 | <Anchors> |
||
518 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff12" relativePoint="RIGHT"> |
||
519 | <Offset> |
||
520 | <AbsDimension x="3" y="0"/> |
||
521 | </Offset> |
||
522 | </Anchor> |
||
523 | </Anchors> |
||
524 | </Button> |
||
525 | <Button name="CT_AssistFrameBuff14" inherits="CT_AssistBuffButtonTemplate" id="14"> |
||
526 | <Anchors> |
||
527 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff13" relativePoint="RIGHT"> |
||
528 | <Offset> |
||
529 | <AbsDimension x="3" y="0"/> |
||
530 | </Offset> |
||
531 | </Anchor> |
||
532 | </Anchors> |
||
533 | </Button> |
||
534 | <Button name="CT_AssistFrameBuff15" inherits="CT_AssistBuffButtonTemplate" id="15"> |
||
535 | <Anchors> |
||
536 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff14" relativePoint="RIGHT"> |
||
537 | <Offset> |
||
538 | <AbsDimension x="3" y="0"/> |
||
539 | </Offset> |
||
540 | </Anchor> |
||
541 | </Anchors> |
||
542 | </Button> |
||
543 | <Button name="CT_AssistFrameBuff16" inherits="CT_AssistBuffButtonTemplate" id="16"> |
||
544 | <Anchors> |
||
545 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff15" relativePoint="RIGHT"> |
||
546 | <Offset> |
||
547 | <AbsDimension x="3" y="0"/> |
||
548 | </Offset> |
||
549 | </Anchor> |
||
550 | </Anchors> |
||
551 | </Button> |
||
552 | <Button name="CT_AssistFrameBuff17" inherits="CT_AssistBuffButtonTemplate" id="17"> |
||
553 | <Anchors> |
||
554 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff16" relativePoint="RIGHT"> |
||
555 | <Offset> |
||
556 | <AbsDimension x="3" y="0"/> |
||
557 | </Offset> |
||
558 | </Anchor> |
||
559 | </Anchors> |
||
560 | </Button> |
||
561 | <Button name="CT_AssistFrameBuff18" inherits="CT_AssistBuffButtonTemplate" id="18"> |
||
562 | <Anchors> |
||
563 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff17" relativePoint="RIGHT"> |
||
564 | <Offset> |
||
565 | <AbsDimension x="3" y="0"/> |
||
566 | </Offset> |
||
567 | </Anchor> |
||
568 | </Anchors> |
||
569 | </Button> |
||
570 | <Button name="CT_AssistFrameBuff19" inherits="CT_AssistBuffButtonTemplate" id="19"> |
||
571 | <Anchors> |
||
572 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff18" relativePoint="RIGHT"> |
||
573 | <Offset> |
||
574 | <AbsDimension x="3" y="0"/> |
||
575 | </Offset> |
||
576 | </Anchor> |
||
577 | </Anchors> |
||
578 | </Button> |
||
579 | <Button name="CT_AssistFrameBuff20" inherits="CT_AssistBuffButtonTemplate" id="20"> |
||
580 | <Anchors> |
||
581 | <Anchor point="LEFT" relativeTo="CT_AssistFrameBuff19" relativePoint="RIGHT"> |
||
582 | <Offset> |
||
583 | <AbsDimension x="3" y="0"/> |
||
584 | </Offset> |
||
585 | </Anchor> |
||
586 | </Anchors> |
||
587 | </Button> |
||
588 | <Frame setAllPoints="true"> |
||
589 | <Frames> |
||
590 | <Frame setAllPoints="true"> |
||
591 | <Layers> |
||
592 | <Layer level="OVERLAY"> |
||
593 | <FontString name="CT_AssistHealthBar" inherits="GameFontNormalSmall"> |
||
594 | <Size> |
||
595 | <AbsDimension x="100" y="10" /> |
||
596 | </Size> |
||
597 | <Anchors> |
||
598 | <Anchor point="LEFT" relativeTo="CT_AssistFrame" relativePoint="TOPLEFT"> |
||
599 | <Offset> |
||
600 | <AbsDimension x="18" y="-46"/> |
||
601 | </Offset> |
||
602 | </Anchor> |
||
603 | </Anchors> |
||
604 | </FontString> |
||
605 | <FontString name="CT_AssistManaBar" inherits="GameFontNormalSmall"> |
||
606 | <Size> |
||
607 | <AbsDimension x="100" y="10" /> |
||
608 | </Size> |
||
609 | <Anchors> |
||
610 | <Anchor point="LEFT" relativeTo="CT_AssistFrame" relativePoint="TOPLEFT"> |
||
611 | <Offset> |
||
612 | <AbsDimension x="18" y="-58"/> |
||
613 | </Offset> |
||
614 | </Anchor> |
||
615 | </Anchors> |
||
616 | </FontString> |
||
617 | </Layer> |
||
618 | </Layers> |
||
619 | <Frames> |
||
620 | <Button name="CT_AssistFrame_Drag" frameStrata="LOW" hidden="false" toplevel="true"> |
||
621 | <Size> |
||
622 | <AbsDimension x="100" y="20"/> |
||
623 | </Size> |
||
624 | <Anchors> |
||
625 | <Anchor point="TOPLEFT" relativeTo="CT_AssistFrame" relativePoint="TOPLEFT"> |
||
626 | <Offset> |
||
627 | <AbsDimension x="15" y="-20"/> |
||
628 | </Offset> |
||
629 | </Anchor> |
||
630 | </Anchors> |
||
631 | <Scripts> |
||
632 | <OnEnter> |
||
633 | GameTooltip:SetOwner(this, "ANCHOR_TOPLEFT"); |
||
634 | GameTooltip:SetText("Left-click to drag"); |
||
635 | </OnEnter> |
||
636 | <OnLeave> |
||
637 | GameTooltip:Hide(); |
||
638 | </OnLeave> |
||
639 | <OnMouseDown> |
||
640 | if ( arg1 == "LeftButton" ) then |
||
641 | CT_AssistFrame:StartMoving(); |
||
642 | end |
||
643 | </OnMouseDown> |
||
644 | <OnMouseUp> |
||
645 | CT_AssistFrame:StopMovingOrSizing(); |
||
646 | </OnMouseUp> |
||
647 | </Scripts> |
||
648 | </Button> |
||
649 | </Frames> |
||
650 | </Frame> |
||
651 | </Frames> |
||
652 | </Frame> |
||
653 | </Frames> |
||
654 | <Scripts> |
||
655 | <OnLoad> |
||
656 | UnitFrame_Initialize("targettarget", CT_AssistName, CT_AssistPortrait, |
||
657 | CT_AssistFrameHealthBar, CT_AssistFrameHealthBarText, |
||
658 | CT_AssistFrameManaBar, CT_AssistFrameManaBarText); |
||
659 | CT_AssistFrame_OnLoad(); |
||
660 | </OnLoad> |
||
661 | <OnEvent> |
||
662 | CT_AssistFrame_OnEvent(event); |
||
663 | </OnEvent> |
||
664 | <OnShow> |
||
665 | CT_AssistFrame_OnShow(); |
||
666 | </OnShow> |
||
667 | <OnUpdate> |
||
668 | UnitFrame_OnUpdate(arg1); |
||
669 | CT_AssistFrame_HealthUpdate(arg1); |
||
670 | </OnUpdate> |
||
671 | <OnHide> |
||
672 | CT_AssistFrame_OnHide(); |
||
673 | </OnHide> |
||
674 | <OnEnter> |
||
675 | UnitFrame_OnEnter(); |
||
676 | </OnEnter> |
||
677 | <OnLeave> |
||
678 | UnitFrame_OnLeave(); |
||
679 | </OnLeave> |
||
680 | <OnClick> |
||
681 | CT_AssistFrame_OnClick(arg1); |
||
682 | </OnClick> |
||
683 | <OnUpdate> |
||
684 | CT_AssistFrame_OnUpdate(arg1); |
||
685 | </OnUpdate> |
||
686 | </Scripts> |
||
687 | </Button> |
||
688 | <Frame name="CT_AssistGlobalFrame" parent="UIParent" hidden="false"> |
||
689 | <Scripts> |
||
690 | <OnUpdate> |
||
691 | CT_AssistFrame_OnUpdate(arg1); |
||
692 | </OnUpdate> |
||
693 | <OnLoad> |
||
694 | this.update = 1; |
||
695 | </OnLoad> |
||
696 | </Scripts> |
||
697 | </Frame> |
||
698 | </Ui> |