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 | ..\FrameXML\UI.xsd"> |
||
3 | <Script file="Perl_Target_Target.lua"/> |
||
4 | |||
5 | |||
6 | <Frame name="Perl_Target_Target_Frame" movable="true" parent="UIParent" hidden="true" enableMouse="true"> |
||
7 | <Size> |
||
8 | <!-- The size of this frame determines what can be clicked for the menu and moving, hence it is the same size as the name frame. (This is no longer true in 0.48) --> |
||
9 | <AbsDimension x="110" y="24"/> |
||
10 | </Size> |
||
11 | <Anchors> |
||
12 | <Anchor point="TOPLEFT"> |
||
13 | <Offset> |
||
14 | <AbsDimension x="501" y="-43"/> |
||
15 | </Offset> |
||
16 | </Anchor> |
||
17 | </Anchors> |
||
18 | <Frames> |
||
19 | <!-- Frame for the drop down menu. --> |
||
20 | <Frame name="Perl_Target_Target_DropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
21 | <Size> |
||
22 | <AbsDimension x="10" y="10"/> |
||
23 | </Size> |
||
24 | <Anchors> |
||
25 | <Anchor point="TOP"> |
||
26 | <Offset> |
||
27 | <AbsDimension x="0" y="0"/> |
||
28 | </Offset> |
||
29 | </Anchor> |
||
30 | </Anchors> |
||
31 | <Scripts> |
||
32 | <OnLoad> |
||
33 | Perl_TargetTargetDropDown_OnLoad(); |
||
34 | </OnLoad> |
||
35 | </Scripts> |
||
36 | </Frame> |
||
37 | |||
38 | |||
39 | <!-- Target Name --> |
||
40 | <Frame name="Perl_Target_Target_NameFrame"> |
||
41 | <Size> |
||
42 | <AbsDimension x="110" y="24"/> |
||
43 | </Size> |
||
44 | <Anchors> |
||
45 | <Anchor point="TOPLEFT"> |
||
46 | <Offset> |
||
47 | <AbsDimension x="0" y="0"/> |
||
48 | </Offset> |
||
49 | </Anchor> |
||
50 | </Anchors> |
||
51 | <Frames> |
||
52 | <Button name="Perl_Target_Target_NameFrame_CastClickOverlay"> |
||
53 | <Size> |
||
54 | <AbsDimension x="110" y="24"/> |
||
55 | </Size> |
||
56 | <Anchors> |
||
57 | <Anchor point="TOPLEFT"> |
||
58 | <Offset> |
||
59 | <AbsDimension x="0" y="0"/> |
||
60 | </Offset> |
||
61 | </Anchor> |
||
62 | </Anchors> |
||
63 | <Scripts> |
||
64 | <OnLoad> |
||
65 | this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up'); |
||
66 | </OnLoad> |
||
67 | <OnEnter> |
||
68 | Perl_Target_Target_Tip(); |
||
69 | UnitFrame_OnEnter(); |
||
70 | </OnEnter> |
||
71 | <OnLeave> |
||
72 | UnitFrame_OnLeave(); |
||
73 | </OnLeave> |
||
74 | <OnClick> |
||
75 | Perl_Target_Target_MouseClick(arg1); |
||
76 | </OnClick> |
||
77 | <OnMouseDown> |
||
78 | Perl_Target_Target_MouseDown(arg1); |
||
79 | </OnMouseDown> |
||
80 | <OnMouseUp> |
||
81 | Perl_Target_Target_MouseUp(arg1); |
||
82 | </OnMouseUp> |
||
83 | </Scripts> |
||
84 | </Button> |
||
85 | </Frames> |
||
86 | <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
87 | <EdgeSize> |
||
88 | <AbsValue val="16"/> |
||
89 | </EdgeSize> |
||
90 | <TileSize> |
||
91 | <AbsValue val="16"/> |
||
92 | </TileSize> |
||
93 | <BackgroundInsets> |
||
94 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
95 | </BackgroundInsets> |
||
96 | </Backdrop> |
||
97 | <Layers> |
||
98 | <Layer level="OVERLAY"> |
||
99 | <!-- Name Text --> |
||
100 | <Fontstring name="Perl_Target_Target_NameBarText" inherits="GameFontNormal" text="Error!"> |
||
101 | <Anchors> |
||
102 | <Anchor point="LEFT" relativeTo="Perl_Target_Target_NameFrame" relativePoint="LEFT"> |
||
103 | <Offset> |
||
104 | <AbsDimension x="10" y="0"/> |
||
105 | </Offset> |
||
106 | </Anchor> |
||
107 | </Anchors> |
||
108 | </Fontstring> |
||
109 | </Layer> |
||
110 | </Layers> |
||
111 | </Frame> |
||
112 | |||
113 | |||
114 | <!-- Target Stats --> |
||
115 | <Frame name="Perl_Target_Target_StatsFrame"> |
||
116 | <Size> |
||
117 | <AbsDimension x="110" y="42"/> |
||
118 | </Size> |
||
119 | <Anchors> |
||
120 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Target_Target_NameFrame"> |
||
121 | <Offset> |
||
122 | <AbsDimension x="0" y="5"/> |
||
123 | </Offset> |
||
124 | </Anchor> |
||
125 | </Anchors> |
||
126 | <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
127 | <EdgeSize> |
||
128 | <AbsValue val="16"/> |
||
129 | </EdgeSize> |
||
130 | <TileSize> |
||
131 | <AbsValue val="16"/> |
||
132 | </TileSize> |
||
133 | <BackgroundInsets> |
||
134 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
135 | </BackgroundInsets> |
||
136 | </Backdrop> |
||
137 | <Frames> |
||
138 | <!-- 1.10 Click Solution --> |
||
139 | <Button name="Perl_Target_Target_StatsFrame_CastClickOverlay"> |
||
140 | <Size> |
||
141 | <AbsDimension x="110" y="24"/> |
||
142 | </Size> |
||
143 | <Anchors> |
||
144 | <Anchor point="TOPLEFT"> |
||
145 | <Offset> |
||
146 | <AbsDimension x="0" y="0"/> |
||
147 | </Offset> |
||
148 | </Anchor> |
||
149 | </Anchors> |
||
150 | <Scripts> |
||
151 | <OnLoad> |
||
152 | this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up'); |
||
153 | </OnLoad> |
||
154 | <OnClick> |
||
155 | Perl_Target_Target_MouseClick(arg1); |
||
156 | </OnClick> |
||
157 | <OnMouseDown> |
||
158 | Perl_Target_Target_MouseDown(arg1); |
||
159 | </OnMouseDown> |
||
160 | <OnMouseUp> |
||
161 | Perl_Target_Target_MouseUp(arg1); |
||
162 | </OnMouseUp> |
||
163 | </Scripts> |
||
164 | </Button> |
||
165 | |||
166 | <!-- Health Bar --> |
||
167 | <StatusBar name="Perl_Target_Target_HealthBar" inherits="TextStatusBar"> |
||
168 | <Size> |
||
169 | <AbsDimension x="90" y="10"/> |
||
170 | </Size> |
||
171 | <Anchors> |
||
172 | <Anchor point="TOP" relativePoint="TOP"> |
||
173 | <Offset> |
||
174 | <AbsDimension x="0" y="-10"/> |
||
175 | </Offset> |
||
176 | </Anchor> |
||
177 | </Anchors> |
||
178 | <BarTexture name="Perl_Target_Target_HealthBarTex" file="Interface\TargetingFrame\UI-StatusBar"/> |
||
179 | <BarColor r="0" g="0.8" b="0"/> |
||
180 | <Layers> |
||
181 | <!-- Health Text --> |
||
182 | <Layer level="OVERLAY"> |
||
183 | <Fontstring name="Perl_Target_Target_HealthBarText" inherits="GameFontNormalSmall" text="Error!"> |
||
184 | <Anchors> |
||
185 | <Anchor point="TOP" relativePoint="TOP"> |
||
186 | <Offset> |
||
187 | <AbsDimension x="0" y="1"/> |
||
188 | </Offset> |
||
189 | </Anchor> |
||
190 | </Anchors> |
||
191 | </Fontstring> |
||
192 | </Layer> |
||
193 | </Layers> |
||
194 | </StatusBar> |
||
195 | <StatusBar name="Perl_Target_Target_HealthBarBG" inherits="TextStatusBar"> |
||
196 | <Size> |
||
197 | <AbsDimension x="90" y="10"/> |
||
198 | </Size> |
||
199 | <Anchors> |
||
200 | <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_Target_HealthBar"> |
||
201 | <Offset> |
||
202 | <AbsDimension x="0" y="0"/> |
||
203 | </Offset> |
||
204 | </Anchor> |
||
205 | </Anchors> |
||
206 | <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/> |
||
207 | <BarColor r="0" g="0.8" b="0" a="0.25"/> |
||
208 | </StatusBar> |
||
209 | <Button name="Perl_Target_Target_HealthBar_CastClickOverlay"> |
||
210 | <Size> |
||
211 | <AbsDimension x="90" y="10"/> |
||
212 | </Size> |
||
213 | <Anchors> |
||
214 | <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_Target_HealthBar"> |
||
215 | <Offset> |
||
216 | <AbsDimension x="0" y="0"/> |
||
217 | </Offset> |
||
218 | </Anchor> |
||
219 | </Anchors> |
||
220 | <Scripts> |
||
221 | <OnLoad> |
||
222 | this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up'); |
||
223 | </OnLoad> |
||
224 | <OnEnter> |
||
225 | Perl_Target_Target_HealthShow(); |
||
226 | </OnEnter> |
||
227 | <OnLeave> |
||
228 | Perl_Target_Target_HealthHide(); |
||
229 | </OnLeave> |
||
230 | <OnClick> |
||
231 | Perl_Target_Target_MouseClick(arg1); |
||
232 | </OnClick> |
||
233 | <OnMouseDown> |
||
234 | Perl_Target_Target_MouseDown(arg1); |
||
235 | </OnMouseDown> |
||
236 | <OnMouseUp> |
||
237 | Perl_Target_Target_MouseUp(arg1); |
||
238 | </OnMouseUp> |
||
239 | </Scripts> |
||
240 | </Button> |
||
241 | |||
242 | <!-- Mana Bar --> |
||
243 | <StatusBar name="Perl_Target_Target_ManaBar" inherits="TextStatusBar"> |
||
244 | <Size> |
||
245 | <AbsDimension x="90" y="10"/> |
||
246 | </Size> |
||
247 | <Anchors> |
||
248 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="Perl_Target_Target_HealthBar"> |
||
249 | <Offset> |
||
250 | <AbsDimension x="0" y="-2"/> |
||
251 | </Offset> |
||
252 | </Anchor> |
||
253 | </Anchors> |
||
254 | <BarTexture name="Perl_Target_Target_ManaBarTex" file="Interface\TargetingFrame\UI-StatusBar"/> |
||
255 | <BarColor r="0" g="0" b="1"/> |
||
256 | <Layers> |
||
257 | <!-- Mana Text --> |
||
258 | <Layer level="OVERLAY"> |
||
259 | <Fontstring name="Perl_Target_Target_ManaBarText" inherits="GameFontNormalSmall" text="Error!"> |
||
260 | <Anchors> |
||
261 | <Anchor point="TOP" relativePoint="TOP"> |
||
262 | <Offset> |
||
263 | <AbsDimension x="0" y="0"/> |
||
264 | </Offset> |
||
265 | </Anchor> |
||
266 | </Anchors> |
||
267 | </Fontstring> |
||
268 | </Layer> |
||
269 | </Layers> |
||
270 | </StatusBar> |
||
271 | <StatusBar name="Perl_Target_Target_ManaBarBG" inherits="TextStatusBar"> |
||
272 | <Size> |
||
273 | <AbsDimension x="90" y="10"/> |
||
274 | </Size> |
||
275 | <Anchors> |
||
276 | <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_Target_ManaBar"> |
||
277 | <Offset> |
||
278 | <AbsDimension x="0" y="0"/> |
||
279 | </Offset> |
||
280 | </Anchor> |
||
281 | </Anchors> |
||
282 | <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/> |
||
283 | <BarColor r="0" g="0" b="1" a="0.25"/> |
||
284 | </StatusBar> |
||
285 | <Button name="Perl_Target_Target_ManaBar_CastClickOverlay"> |
||
286 | <Size> |
||
287 | <AbsDimension x="90" y="10"/> |
||
288 | </Size> |
||
289 | <Anchors> |
||
290 | <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_Target_ManaBar"> |
||
291 | <Offset> |
||
292 | <AbsDimension x="0" y="0"/> |
||
293 | </Offset> |
||
294 | </Anchor> |
||
295 | </Anchors> |
||
296 | <Scripts> |
||
297 | <OnLoad> |
||
298 | this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up'); |
||
299 | </OnLoad> |
||
300 | <OnEnter> |
||
301 | Perl_Target_Target_ManaShow(); |
||
302 | </OnEnter> |
||
303 | <OnLeave> |
||
304 | Perl_Target_Target_ManaHide(); |
||
305 | </OnLeave> |
||
306 | <OnClick> |
||
307 | Perl_Target_Target_MouseClick(arg1); |
||
308 | </OnClick> |
||
309 | <OnMouseDown> |
||
310 | Perl_Target_Target_MouseDown(arg1); |
||
311 | </OnMouseDown> |
||
312 | <OnMouseUp> |
||
313 | Perl_Target_Target_MouseUp(arg1); |
||
314 | </OnMouseUp> |
||
315 | </Scripts> |
||
316 | </Button> |
||
317 | </Frames> |
||
318 | </Frame> |
||
319 | </Frames> |
||
320 | </Frame> |
||
321 | |||
322 | |||
323 | <Frame name="Perl_Target_Target_Target_Frame" movable="true" parent="UIParent" hidden="true" enableMouse="true"> |
||
324 | <Size> |
||
325 | <!-- The size of this frame determines what can be clicked for the menu and moving, hence it is the same size as the name frame. --> |
||
326 | <AbsDimension x="110" y="24"/> |
||
327 | </Size> |
||
328 | <Anchors> |
||
329 | <Anchor point="TOPLEFT"> |
||
330 | <Offset> |
||
331 | <AbsDimension x="607" y="-43"/> |
||
332 | </Offset> |
||
333 | </Anchor> |
||
334 | </Anchors> |
||
335 | <Frames> |
||
336 | <!-- Frame for the drop down menu. --> |
||
337 | <Frame name="Perl_Target_Target_Target_DropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
338 | <Size> |
||
339 | <AbsDimension x="10" y="10"/> |
||
340 | </Size> |
||
341 | <Anchors> |
||
342 | <Anchor point="TOP"> |
||
343 | <Offset> |
||
344 | <AbsDimension x="0" y="0"/> |
||
345 | </Offset> |
||
346 | </Anchor> |
||
347 | </Anchors> |
||
348 | <Scripts> |
||
349 | <OnLoad> |
||
350 | Perl_TargetTargetTargetDropDown_OnLoad(); |
||
351 | </OnLoad> |
||
352 | </Scripts> |
||
353 | </Frame> |
||
354 | |||
355 | <!-- Target Name --> |
||
356 | <Frame name="Perl_Target_Target_Target_NameFrame"> |
||
357 | <Size> |
||
358 | <AbsDimension x="110" y="24"/> |
||
359 | </Size> |
||
360 | <Anchors> |
||
361 | <Anchor point="TOPLEFT"> |
||
362 | <Offset> |
||
363 | <AbsDimension x="0" y="0"/> |
||
364 | </Offset> |
||
365 | </Anchor> |
||
366 | </Anchors> |
||
367 | <Frames> |
||
368 | <Button name="Perl_Target_Target_Target_NameFrame_CastClickOverlay"> |
||
369 | <Size> |
||
370 | <AbsDimension x="110" y="24"/> |
||
371 | </Size> |
||
372 | <Anchors> |
||
373 | <Anchor point="TOPLEFT"> |
||
374 | <Offset> |
||
375 | <AbsDimension x="0" y="0"/> |
||
376 | </Offset> |
||
377 | </Anchor> |
||
378 | </Anchors> |
||
379 | <Scripts> |
||
380 | <OnLoad> |
||
381 | this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up'); |
||
382 | </OnLoad> |
||
383 | <OnEnter> |
||
384 | Perl_Target_Target_Target_Tip(); |
||
385 | UnitFrame_OnEnter(); |
||
386 | </OnEnter> |
||
387 | <OnLeave> |
||
388 | UnitFrame_OnLeave(); |
||
389 | </OnLeave> |
||
390 | <OnClick> |
||
391 | Perl_Target_Target_Target_MouseClick(arg1); |
||
392 | </OnClick> |
||
393 | <OnMouseDown> |
||
394 | Perl_Target_Target_Target_MouseDown(arg1); |
||
395 | </OnMouseDown> |
||
396 | <OnMouseUp> |
||
397 | Perl_Target_Target_Target_MouseUp(arg1); |
||
398 | </OnMouseUp> |
||
399 | </Scripts> |
||
400 | </Button> |
||
401 | </Frames> |
||
402 | <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
403 | <EdgeSize> |
||
404 | <AbsValue val="16"/> |
||
405 | </EdgeSize> |
||
406 | <TileSize> |
||
407 | <AbsValue val="16"/> |
||
408 | </TileSize> |
||
409 | <BackgroundInsets> |
||
410 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
411 | </BackgroundInsets> |
||
412 | </Backdrop> |
||
413 | <Layers> |
||
414 | <Layer level="OVERLAY"> |
||
415 | <!-- Name Text --> |
||
416 | <Fontstring name="Perl_Target_Target_Target_NameBarText" inherits="GameFontNormal" text="Error!"> |
||
417 | <Anchors> |
||
418 | <Anchor point="LEFT" relativeTo="Perl_Target_Target_Target_NameFrame" relativePoint="LEFT"> |
||
419 | <Offset> |
||
420 | <AbsDimension x="10" y="0"/> |
||
421 | </Offset> |
||
422 | </Anchor> |
||
423 | </Anchors> |
||
424 | </Fontstring> |
||
425 | </Layer> |
||
426 | </Layers> |
||
427 | </Frame> |
||
428 | |||
429 | |||
430 | <!-- Target Stats --> |
||
431 | <Frame name="Perl_Target_Target_Target_StatsFrame"> |
||
432 | <Size> |
||
433 | <AbsDimension x="110" y="42"/> |
||
434 | </Size> |
||
435 | <Anchors> |
||
436 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Target_Target_Target_NameFrame"> |
||
437 | <Offset> |
||
438 | <AbsDimension x="0" y="5"/> |
||
439 | </Offset> |
||
440 | </Anchor> |
||
441 | </Anchors> |
||
442 | <Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
443 | <EdgeSize> |
||
444 | <AbsValue val="16"/> |
||
445 | </EdgeSize> |
||
446 | <TileSize> |
||
447 | <AbsValue val="16"/> |
||
448 | </TileSize> |
||
449 | <BackgroundInsets> |
||
450 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
451 | </BackgroundInsets> |
||
452 | </Backdrop> |
||
453 | <Frames> |
||
454 | <!-- 1.10 Click Solution --> |
||
455 | <Button name="Perl_Target_Target_Target_StatsFrame_CastClickOverlay"> |
||
456 | <Size> |
||
457 | <AbsDimension x="110" y="24"/> |
||
458 | </Size> |
||
459 | <Anchors> |
||
460 | <Anchor point="TOPLEFT"> |
||
461 | <Offset> |
||
462 | <AbsDimension x="0" y="0"/> |
||
463 | </Offset> |
||
464 | </Anchor> |
||
465 | </Anchors> |
||
466 | <Scripts> |
||
467 | <OnLoad> |
||
468 | this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up'); |
||
469 | </OnLoad> |
||
470 | <OnClick> |
||
471 | Perl_Target_Target_Target_MouseClick(arg1); |
||
472 | </OnClick> |
||
473 | <OnMouseDown> |
||
474 | Perl_Target_Target_Target_MouseDown(arg1); |
||
475 | </OnMouseDown> |
||
476 | <OnMouseUp> |
||
477 | Perl_Target_Target_Target_MouseUp(arg1); |
||
478 | </OnMouseUp> |
||
479 | </Scripts> |
||
480 | </Button> |
||
481 | |||
482 | <!-- Health Bar --> |
||
483 | <StatusBar name="Perl_Target_Target_Target_HealthBar" inherits="TextStatusBar"> |
||
484 | <Size> |
||
485 | <AbsDimension x="90" y="10"/> |
||
486 | </Size> |
||
487 | <Anchors> |
||
488 | <Anchor point="TOP" relativePoint="TOP"> |
||
489 | <Offset> |
||
490 | <AbsDimension x="0" y="-10"/> |
||
491 | </Offset> |
||
492 | </Anchor> |
||
493 | </Anchors> |
||
494 | <BarTexture name="Perl_Target_Target_Target_HealthBarTex" file="Interface\TargetingFrame\UI-StatusBar"/> |
||
495 | <BarColor r="0" g="0.8" b="0"/> |
||
496 | <Layers> |
||
497 | <!-- Health Text --> |
||
498 | <Layer level="OVERLAY"> |
||
499 | <Fontstring name="Perl_Target_Target_Target_HealthBarText" inherits="GameFontNormalSmall" text="Error!"> |
||
500 | <Anchors> |
||
501 | <Anchor point="TOP" relativePoint="TOP"> |
||
502 | <Offset> |
||
503 | <AbsDimension x="0" y="1"/> |
||
504 | </Offset> |
||
505 | </Anchor> |
||
506 | </Anchors> |
||
507 | </Fontstring> |
||
508 | </Layer> |
||
509 | </Layers> |
||
510 | </StatusBar> |
||
511 | <StatusBar name="Perl_Target_Target_Target_HealthBarBG" inherits="TextStatusBar"> |
||
512 | <Size> |
||
513 | <AbsDimension x="90" y="10"/> |
||
514 | </Size> |
||
515 | <Anchors> |
||
516 | <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_Target_Target_HealthBar"> |
||
517 | <Offset> |
||
518 | <AbsDimension x="0" y="0"/> |
||
519 | </Offset> |
||
520 | </Anchor> |
||
521 | </Anchors> |
||
522 | <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/> |
||
523 | <BarColor r="0" g="0.8" b="0" a="0.25"/> |
||
524 | </StatusBar> |
||
525 | <Button name="Perl_Target_Target_Target_HealthBar_CastClickOverlay"> |
||
526 | <Size> |
||
527 | <AbsDimension x="90" y="10"/> |
||
528 | </Size> |
||
529 | <Anchors> |
||
530 | <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_Target_Target_HealthBar"> |
||
531 | <Offset> |
||
532 | <AbsDimension x="0" y="0"/> |
||
533 | </Offset> |
||
534 | </Anchor> |
||
535 | </Anchors> |
||
536 | <Scripts> |
||
537 | <OnLoad> |
||
538 | this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up'); |
||
539 | </OnLoad> |
||
540 | <OnEnter> |
||
541 | Perl_Target_Target_Target_HealthShow(); |
||
542 | </OnEnter> |
||
543 | <OnLeave> |
||
544 | Perl_Target_Target_Target_HealthHide(); |
||
545 | </OnLeave> |
||
546 | <OnClick> |
||
547 | Perl_Target_Target_Target_MouseClick(arg1); |
||
548 | </OnClick> |
||
549 | <OnMouseDown> |
||
550 | Perl_Target_Target_Target_MouseDown(arg1); |
||
551 | </OnMouseDown> |
||
552 | <OnMouseUp> |
||
553 | Perl_Target_Target_Target_MouseUp(arg1); |
||
554 | </OnMouseUp> |
||
555 | </Scripts> |
||
556 | </Button> |
||
557 | |||
558 | <!-- Mana Bar --> |
||
559 | <StatusBar name="Perl_Target_Target_Target_ManaBar" inherits="TextStatusBar"> |
||
560 | <Size> |
||
561 | <AbsDimension x="90" y="10"/> |
||
562 | </Size> |
||
563 | <Anchors> |
||
564 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="Perl_Target_Target_Target_HealthBar"> |
||
565 | <Offset> |
||
566 | <AbsDimension x="0" y="-2"/> |
||
567 | </Offset> |
||
568 | </Anchor> |
||
569 | </Anchors> |
||
570 | <BarTexture name="Perl_Target_Target_Target_ManaBarTex" file="Interface\TargetingFrame\UI-StatusBar"/> |
||
571 | <BarColor r="0" g="0" b="1"/> |
||
572 | <Layers> |
||
573 | <!-- Mana Text --> |
||
574 | <Layer level="OVERLAY"> |
||
575 | <Fontstring name="Perl_Target_Target_Target_ManaBarText" inherits="GameFontNormalSmall" text="Error!"> |
||
576 | <Anchors> |
||
577 | <Anchor point="TOP" relativePoint="TOP"> |
||
578 | <Offset> |
||
579 | <AbsDimension x="0" y="0"/> |
||
580 | </Offset> |
||
581 | </Anchor> |
||
582 | </Anchors> |
||
583 | </Fontstring> |
||
584 | </Layer> |
||
585 | </Layers> |
||
586 | </StatusBar> |
||
587 | <StatusBar name="Perl_Target_Target_Target_ManaBarBG" inherits="TextStatusBar"> |
||
588 | <Size> |
||
589 | <AbsDimension x="90" y="10"/> |
||
590 | </Size> |
||
591 | <Anchors> |
||
592 | <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_Target_Target_ManaBar"> |
||
593 | <Offset> |
||
594 | <AbsDimension x="0" y="0"/> |
||
595 | </Offset> |
||
596 | </Anchor> |
||
597 | </Anchors> |
||
598 | <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/> |
||
599 | <BarColor r="0" g="0" b="1" a="0.25"/> |
||
600 | </StatusBar> |
||
601 | <Button name="Perl_Target_Target_Target_ManaBar_CastClickOverlay"> |
||
602 | <Size> |
||
603 | <AbsDimension x="90" y="10"/> |
||
604 | </Size> |
||
605 | <Anchors> |
||
606 | <Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_Target_Target_ManaBar"> |
||
607 | <Offset> |
||
608 | <AbsDimension x="0" y="0"/> |
||
609 | </Offset> |
||
610 | </Anchor> |
||
611 | </Anchors> |
||
612 | <Scripts> |
||
613 | <OnLoad> |
||
614 | this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up'); |
||
615 | </OnLoad> |
||
616 | <OnEnter> |
||
617 | Perl_Target_Target_Target_ManaShow(); |
||
618 | </OnEnter> |
||
619 | <OnLeave> |
||
620 | Perl_Target_Target_Target_ManaHide(); |
||
621 | </OnLeave> |
||
622 | <OnClick> |
||
623 | Perl_Target_Target_Target_MouseClick(arg1); |
||
624 | </OnClick> |
||
625 | <OnMouseDown> |
||
626 | Perl_Target_Target_Target_MouseDown(arg1); |
||
627 | </OnMouseDown> |
||
628 | <OnMouseUp> |
||
629 | Perl_Target_Target_Target_MouseUp(arg1); |
||
630 | </OnMouseUp> |
||
631 | </Scripts> |
||
632 | </Button> |
||
633 | </Frames> |
||
634 | </Frame> |
||
635 | </Frames> |
||
636 | </Frame> |
||
637 | |||
638 | <FontString name="Perl_Target_Target_Font" font="Fonts\ARIALN.TTF" outline="NORMAL" virtual="true"> |
||
639 | <FontHeight> |
||
640 | <AbsValue val="30"/> |
||
641 | </FontHeight> |
||
642 | <Color r="1" g="0.2" b="0"/> |
||
643 | </FontString> |
||
644 | |||
645 | <Frame name="Perl_Target_Target_BigWarning" toplevel="true" parent="UIParent" hidden="false"> |
||
646 | <Size> |
||
647 | <AbsDimension x="800" y="128"/> <!-- 512, 128 --> |
||
648 | </Size> |
||
649 | <Anchors> |
||
650 | <Anchor point="CENTER"> |
||
651 | <Offset> |
||
652 | <AbsDimension x="0" y="284"/> |
||
653 | </Offset> |
||
654 | </Anchor> |
||
655 | </Anchors> |
||
656 | <Layers> |
||
657 | <Layer level="ARTWORK"> |
||
658 | <FontString name="Perl_Target_Target_BigWarning_Text" inherits="Perl_Target_Target_Font" text="Error!"> |
||
659 | <Size> |
||
660 | <AbsDimension x="800" y="128"/> |
||
661 | </Size> |
||
662 | <Anchors> |
||
663 | <Anchor point="CENTER" relativeTo="Perl_Target_Target_BigWarning" relativePoint="CENTER"/> |
||
664 | </Anchors> |
||
665 | </FontString> |
||
666 | </Layer> |
||
667 | </Layers> |
||
668 | <Scripts> |
||
669 | <OnLoad> |
||
670 | Perl_Target_Target_BigWarning_OnLoad(); |
||
671 | </OnLoad> |
||
672 | <OnUpdate> |
||
673 | Perl_Target_Target_BigWarning_OnUpdate(); |
||
674 | </OnUpdate> |
||
675 | </Scripts> |
||
676 | </Frame> |
||
677 | |||
678 | |||
679 | <Frame name="Perl_Target_Target_Script_Frame" movable="true" parent="UIParent" hidden="false" enableMouse="true"> |
||
680 | <Scripts> |
||
681 | <OnEvent> |
||
682 | Perl_Target_Target_OnEvent(event); |
||
683 | </OnEvent> |
||
684 | <OnLoad> |
||
685 | Perl_Target_Target_OnLoad(); |
||
686 | </OnLoad> |
||
687 | <OnUpdate> |
||
688 | Perl_Target_Target_OnUpdate(arg1); |
||
689 | </OnUpdate> |
||
690 | </Scripts> |
||
691 | </Frame> |
||
692 | |||
693 | </Ui> |