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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 ..\FrameXML\UI.xsd">
3 <Script file="localization.lua"/>
4 <Script file="localization.deDE.lua"/>
5 <Script file="localization.zhCN.lua"/>
6 <Script file="XPerl_Config.lua"/>
7 <Script file="XPerl_RaidHelper.lua"/>
8 <Script file="..\XPerl\XPerl_Usage.lua"/>
9  
10 <GameTooltip name="XPerl_BottomTip" frameStrata="LOW" toplevel="true" parent="UIParent" inherits="GameTooltipTemplate"/>
11  
12 <Button name="XPerl_BasicButton" virtual="true">
13 <Scripts>
14 <OnEnter>
15 if (this.tooltipText) then
16 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
17 GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
18 end
19 </OnEnter>
20 <OnLeave>
21 GameTooltip:Hide();
22 </OnLeave>
23 </Scripts>
24 </Button>
25  
26 <Button name="XPerl_DownArrowTemplate" inherits="XPerl_BasicButton" virtual="true">
27 <Size>
28 <AbsDimension x="18" y="12"/>
29 </Size>
30  
31 <NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
32 <TexCoords left="0" right="0.187" top="0" bottom="0.0703125"/>
33 </NormalTexture>
34  
35 <PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
36 <TexCoords left="0" right="0.187" top="0.0703125" bottom="0.140625"/>
37 </PushedTexture>
38  
39 <HighlightTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits" alphaMode="ADD">
40 <TexCoords left="0" right="0.187" top="0.140625" bottom="0.2109375"/>
41 </HighlightTexture>
42 </Button>
43  
44 <Button name="XPerl_UpArrowTemplate" inherits="XPerl_BasicButton" virtual="true">
45 <Size>
46 <AbsDimension x="18" y="12"/>
47 </Size>
48  
49 <NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
50 <TexCoords left="0.19140625" right="0.375" top="0" bottom="0.0703125"/>
51 </NormalTexture>
52  
53 <PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
54 <TexCoords left="0.19140625" right="0.375" top="0.0703125" bottom="0.140625"/>
55 </PushedTexture>
56  
57 <HighlightTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits" alphaMode="ADD">
58 <TexCoords left="0.19140625" right="0.375" top="0.140625" bottom="0.2109375"/>
59 </HighlightTexture>
60 </Button>
61  
62 <Button name="XPerl_UnitTemplate" movable="false" virtual="true" hidden="true">
63 <Scripts>
64 <OnLoad>
65 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
66 XPerl_RegisterBar(getglobal(this:GetName().."_HealthBar"))
67 this:SetScript("OnLoad", nil)
68 </OnLoad>
69 <OnClick>
70 XPerl_OnClick(arg1);
71 </OnClick>
72 <OnEnter>
73 XPerl_OnEnter();
74 </OnEnter>
75 <OnLeave>
76 GameTooltip:Hide();
77 XPerl_BottomTip:Hide();
78 </OnLeave>
79 </Scripts>
80 <Size>
81 <AbsDimension x="100" y="26"/>
82 </Size>
83 <Backdrop bgFile="Interface\AddOns\XPerl_RaidHelper\images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
84 <EdgeSize>
85 <AbsValue val="9"/>
86 </EdgeSize>
87 <TileSize>
88 <AbsValue val="16"/>
89 </TileSize>
90 <BackgroundInsets>
91 <AbsInset left="3" right="3" top="3" bottom="3"/>
92 </BackgroundInsets>
93 </Backdrop>
94 <HighlightTexture file="Interface\Addons\XPerl\images\XPerl_Highlight" alphaMode="ADD">
95 <TexCoords left="0" right="1" top="0.5" bottom="1"/>
96 </HighlightTexture>
97 <Frames>
98 <StatusBar name="$parent_HealthBar" enableMouse="false">
99 <Size>
100 <AbsDimension x="70" y="10"/>
101 </Size>
102 <HitRectInsets>
103 <AbsInset left="70" right="70" top="10" bottom="10"/>
104 </HitRectInsets>
105 <Anchors>
106 <Anchor point="TOPLEFT">
107 <Offset>
108 <AbsDimension x="3" y="-14"/>
109 </Offset>
110 </Anchor>
111 <Anchor point="BOTTOMRIGHT">
112 <Offset>
113 <AbsDimension x="-3" y="2"/>
114 </Offset>
115 </Anchor>
116 </Anchors>
117 <BarTexture name="$parentTex" file="Interface\TargetingFrame\UI-StatusBar"/>
118 <Layers>
119 <Layer level="OVERLAY">
120 <FontString name="$parentText" inherits="GameFontNormalSmall" hidden="tru">
121 <Anchors>
122 <Anchor point="CENTER">
123 <Offset>
124 <AbsDimension x="0" y="1"/>
125 </Offset>
126 </Anchor>
127 </Anchors>
128 <Color r="1" g="1" b="1"/>
129 </FontString>
130 </Layer>
131 <Layer level="BACKGROUND">
132 <Texture name="$parentBG" file="Interface\TargetingFrame\UI-TargetingFrame-BarFill" setAllPoints="true"/>
133 </Layer>
134 </Layers>
135 </StatusBar>
136 </Frames>
137  
138 <Layers>
139 <Layer level="OVERLAY">
140 <!-- Combat Icon -->
141 <Texture name="$parent_Combat" file="Interface\CharacterFrame\UI-StateIcon" hidden="true" topLevel="true">
142 <Size>
143 <AbsDimension x="24" y="24"/>
144 </Size>
145 <Anchors>
146 <Anchor point="TOPRIGHT">
147 <Offset>
148 <AbsDimension x="4" y="4"/>
149 </Offset>
150 </Anchor>
151 </Anchors>
152 <TexCoords left="0.5" right = "1.0" top="0.0" bottom="0.5"/>
153 </Texture>
154  
155 <!-- Raid Target Icon -->
156 <Texture name="$parent_RaidIcon" file="Interface\TargetingFrame\UI-RaidTargetingIcons" hidden="true">
157 <Size>
158 <AbsDimension x="10" y="10"/>
159 </Size>
160 <Anchors>
161 <Anchor point="CENTER" relativePoint="TOPRIGHT">
162 <Offset>
163 <AbsDimension x="-4" y="-4"/>
164 </Offset>
165 </Anchor>
166 </Anchors>
167 <TexCoords left="0" right="0.25" top="0" bottom="0.25" />
168 </Texture>
169  
170 <!-- Warning Icon -->
171 <Texture name="$parent_Warning" file="Interface\Minimap\Ping\ping6" alphaMode="ADD" hidden="true" topLevel="true">
172 <Size>
173 <AbsDimension x="24" y="24"/>
174 </Size>
175 <Anchors>
176 <Anchor point="TOP">
177 <Offset>
178 <AbsDimension x="0" y="3"/>
179 </Offset>
180 </Anchor>
181 </Anchors>
182 </Texture>
183  
184 <FontString name="$parent_Name" inherits="GameFontNormalSmall" text="-" justifyH="LEFT" justifyV="TOP">
185 <FontHeight>
186 <AbsValue val="10"/>
187 </FontHeight>
188 <Anchors>
189 <Anchor point="TOPLEFT">
190 <Offset>
191 <AbsDimension x="2" y="-2"/>
192 </Offset>
193 </Anchor>
194 <Anchor point="BOTTOMRIGHT">
195 <Offset>
196 <AbsDimension x="-2" y="1"/>
197 </Offset>
198 </Anchor>
199 </Anchors>
200 </FontString>
201  
202 <FontString name="$parent_Label" inherits="GameFontNormalSmall" hidden="true" justifyH="RIGHT" justifyV="TOP">
203 <Size>
204 <AbsDimension x="24" y="12"/>
205 </Size>
206 <Anchors>
207 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parent_Name">
208 <Offset>
209 <AbsDimension x="-1" y="0"/>
210 </Offset>
211 </Anchor>
212 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Name">
213 <Offset>
214 <AbsDimension x="-20" y="0"/>
215 </Offset>
216 </Anchor>
217 </Anchors>
218 </FontString>
219 </Layer>
220 </Layers>
221 </Button>
222  
223 <Frame name="XPerl_Frame" parent="UIParent" movable="true" hidden="true" clampedToScreen="true">
224 <Scripts>
225 <OnLoad>
226 this:RegisterForDrag("LeftButton")
227 XPerl_OnLoad()
228 </OnLoad>
229 <OnEvent>
230 XPerl_OnEvent()
231 </OnEvent>
232 <OnDragStart>
233 if (not XPerlConfigHelper or not XPerlConfigHelper.Pinned or (IsAltKeyDown() and IsControlKeyDown() and IsShiftKeyDown())) then
234 this:StartMoving();
235 end
236 </OnDragStart>
237 <OnDragStop>
238 this:StopMovingOrSizing();
239 </OnDragStop>
240 </Scripts>
241 <Size>
242 <AbsDimension x="206" y="80"/>
243 </Size>
244 <Anchors>
245 <Anchor point="CENTER"/>
246 </Anchors>
247 <Backdrop bgFile="Interface\AddOns\XPerl_RaidHelper\images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
248 <EdgeSize>
249 <AbsValue val="9"/>
250 </EdgeSize>
251 <TileSize>
252 <AbsValue val="16"/>
253 </TileSize>
254 <BackgroundInsets>
255 <AbsInset left="3" right="3" top="3" bottom="3"/>
256 </BackgroundInsets>
257 </Backdrop>
258 <Frames>
259 <Frame name="$parent_TitleBar">
260 <Size>
261 <AbsDimension x="160" y="12"/>
262 </Size>
263 <Anchors>
264 <Anchor point="TOPLEFT">
265 <Offset>
266 <AbsDimension x="3" y="-3"/>
267 </Offset>
268 </Anchor>
269 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
270 <Offset>
271 <AbsDimension x="-3" y="-13"/>
272 </Offset>
273 </Anchor>
274 </Anchors>
275 <Frames>
276 <Button name="XPerl_Frame_StatsToggle" inherits="XPerl_UpArrowTemplate">
277 <HitRectInsets>
278 <AbsInset left="-10" right="-10" top="-5" bottom="-5"/>
279 </HitRectInsets>
280 <Anchors>
281 <Anchor point="TOPLEFT">
282 <Offset>
283 <AbsDimension x="1" y="2"/>
284 </Offset>
285 </Anchor>
286 </Anchors>
287 <Scripts>
288 <OnLoad>
289 this.tooltipText = XPERL_BUTTON_TOGGLE_STATS_DESC;
290 </OnLoad>
291 <OnClick>
292 XPerl_Toggle_Stats();
293 </OnClick>
294 </Scripts>
295 </Button>
296  
297 <Button name="XPerl_Frame_CloseButton" inherits="UIPanelCloseButton" toplevel="true">
298 <Size>
299 <AbsDimension x="20" y="20"/>
300 </Size>
301 <Anchors>
302 <Anchor point="TOPRIGHT">
303 <Offset>
304 <AbsDimension x="5" y="5"/>
305 </Offset>
306 </Anchor>
307 </Anchors>
308 <Scripts>
309 <OnClick>
310 XPerlConfigHelper.RaidHelper = 0;
311 XPerl_EnableDisable();
312 </OnClick>
313 </Scripts>
314 </Button>
315  
316 <Button name="XPerl_Frame_Pin" inherits="XPerl_BasicButton" toplevel="true">
317 <Size>
318 <AbsDimension x="11" y="11"/>
319 </Size>
320 <Anchors>
321 <Anchor point="RIGHT" relativeTo="XPerl_Frame_CloseButton" relativePoint="LEFT">
322 <Offset>
323 <AbsDimension x="4" y="0"/>
324 </Offset>
325 </Anchor>
326 </Anchors>
327 <NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Pin">
328 <TexCoords left="0" right="0.46875" top="0" bottom="0.453125"/>
329 </NormalTexture>
330  
331 <PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Pin">
332 <TexCoords left="0" right="0.46875" top="0.5" bottom="0.953125"/>
333 </PushedTexture>
334  
335 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD">
336 <TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/>
337 </HighlightTexture>
338  
339 <Scripts>
340 <OnLoad>
341 this.SetButtonTex = function()
342 local tex = XPerl_Frame_Pin:GetNormalTexture()
343 if (XPerlConfigHelper.Pinned) then
344 tex:SetTexCoord(0.5, 0.96875, 0, 0.453125)
345 else
346 tex:SetTexCoord(0, 0.46875, 0, 0.453125)
347 end
348  
349 tex = XPerl_Frame_Pin:GetPushedTexture()
350 if (XPerlConfigHelper.Pinned) then
351 tex:SetTexCoord(0.5, 0.96875, 0.5, 0.953125)
352 else
353 tex:SetTexCoord(0, 0.46875, 0.5, 0.953125)
354 end
355 end
356 this.tooltipText = XPERL_BUTTON_HELPER_PIN
357 </OnLoad>
358 <OnClick>
359 XPerlConfigHelper.Pinned = not XPerlConfigHelper.Pinned
360 this:SetButtonTex()
361 </OnClick>
362 </Scripts>
363 </Button>
364  
365 <Button name="XPerl_Frame_ExpandLock" inherits="XPerl_BasicButton" toplevel="true">
366 <Size>
367 <AbsDimension x="11" y="11"/>
368 </Size>
369 <Anchors>
370 <Anchor point="RIGHT" relativeTo="XPerl_Frame_Pin" relativePoint="LEFT"/>
371 </Anchors>
372 <NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
373 <TexCoords left="0.5" right="0.5703125" top="0.00390625" bottom="0.0703125"/>
374 </NormalTexture>
375  
376 <PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
377 <TexCoords left="0.5" right="0.5703125" top="0.078125" bottom="0.14453125"/>
378 </PushedTexture>
379  
380 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD">
381 <TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/>
382 </HighlightTexture>
383  
384 <Scripts>
385 <OnLoad>
386 this.SetButtonTex = function()
387 local tex = XPerl_Frame_ExpandLock:GetNormalTexture();
388 if (XPerlConfigHelper.ExpandLock == 1) then
389 tex:SetTexCoord(0.5, 0.5703125, 0.078125, 0.14453125);
390 else
391 tex:SetTexCoord(0.5, 0.5703125, 0.00390625, 0.0703125);
392 end
393 end
394 </OnLoad>
395 <OnEnter>
396 local s = XPERL_BUTTON_EXPAND_LOCK;
397  
398 local key = GetBindingText(GetBindingKey("TARGETFIRSTOTHER"), "KEY_");
399 if (not key) then
400 key = XPERL_KEYHELP1;
401 else
402 key = "|c0000FF00"..key.."|r";
403 end
404 s = s.."\r\r"..key..XPERL_KEYHELP2;
405  
406 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
407 GameTooltip:SetText(s, nil, nil, nil, nil, 1);
408 </OnEnter>
409 <OnClick>
410 XPerl_Toggle_ExpandLock();
411 </OnClick>
412 </Scripts>
413 </Button>
414  
415 <Button name="XPerl_Frame_ToggleLabels" inherits="XPerl_BasicButton" toplevel="true">
416 <Size>
417 <AbsDimension x="11" y="11"/>
418 </Size>
419 <Anchors>
420 <Anchor point="RIGHT" relativeTo="XPerl_Frame_ExpandLock" relativePoint="LEFT"/>
421 </Anchors>
422 <NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
423 <TexCoords left="0.5859375" right="0.65625" top="0.00390625" bottom="0.0703125"/>
424 </NormalTexture>
425  
426 <PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
427 <TexCoords left="0.5859375" right="0.65625" top="0.078125" bottom="0.14453125"/>
428 </PushedTexture>
429  
430 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD">
431 <TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/>
432 </HighlightTexture>
433  
434 <Scripts>
435 <OnLoad>
436 this.tooltipText = XPERL_BUTTON_TOGGLE_LABELS;
437 this.SetButtonTex = function()
438 local tex = XPerl_Frame_ToggleLabels:GetNormalTexture();
439 if (XPerlConfigHelper.MTLabels == 1) then
440 tex:SetTexCoord(0.5859375, 0.65625, 0.078125, 0.14453125);
441 else
442 tex:SetTexCoord(0.5859375, 0.65625, 0.00390625, 0.0703125);
443 end
444 end
445 </OnLoad>
446 <OnClick>
447 XPerl_Toggle_ToggleLabels();
448 </OnClick>
449 </Scripts>
450 </Button>
451  
452 <Button name="XPerl_Frame_ToggleTargets" inherits="XPerl_BasicButton" toplevel="true">
453 <Size>
454 <AbsDimension x="11" y="11"/>
455 </Size>
456 <Anchors>
457 <Anchor point="RIGHT" relativeTo="XPerl_Frame_ToggleLabels" relativePoint="LEFT"/>
458 </Anchors>
459 <NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
460 <TexCoords left="0.671875" right="0.7421875" top="0.00390625" bottom="0.0703125"/>
461 </NormalTexture>
462  
463 <PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
464 <TexCoords left="0.671875" right="0.7421875" top="0.078125" bottom="0.14453125"/>
465 </PushedTexture>
466  
467 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD">
468 <TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/>
469 </HighlightTexture>
470  
471 <Scripts>
472 <OnLoad>
473 this.tooltipText = XPERL_BUTTON_TOGGLE_TARGETS;
474 this.SetButtonTex = function()
475 local tex = XPerl_Frame_ToggleTargets:GetNormalTexture();
476  
477 if (XPerlConfigHelper.OtherTargetTargets == 1) then
478 tex:SetTexCoord(0.671875, 0.7421875, 0.078125, 0.14453125);
479 else
480 tex:SetTexCoord(0.671875, 0.7421875, 0.00390625, 0.0703125);
481 end
482 end
483 </OnLoad>
484 <OnClick>
485 XPerl_Toggle_OtherTargets();
486 </OnClick>
487 </Scripts>
488 </Button>
489  
490 <Button name="XPerl_Frame_ToggleMTTargets" inherits="XPerl_BasicButton" toplevel="true">
491 <Size>
492 <AbsDimension x="11" y="11"/>
493 </Size>
494 <Anchors>
495 <Anchor point="RIGHT" relativeTo="XPerl_Frame_ToggleTargets" relativePoint="LEFT"/>
496 </Anchors>
497 <NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
498 <TexCoords left="0.7578125" right="0.828125" top="0.00390625" bottom="0.0703125"/>
499 </NormalTexture>
500  
501 <PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
502 <TexCoords left="0.7578125" right="0.828125" top="0.078125" bottom="0.14453125"/>
503 </PushedTexture>
504  
505 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD">
506 <TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/>
507 </HighlightTexture>
508  
509 <Scripts>
510 <OnLoad>
511 this.tooltipText = XPERL_BUTTON_TOGGLE_MTTARGETS;
512 this.SetButtonTex = function()
513 local tex = XPerl_Frame_ToggleMTTargets:GetNormalTexture();
514  
515 if (XPerlConfigHelper.MTTargetTargets == 1) then
516 tex:SetTexCoord(0.7578125, 0.828125, 0.078125, 0.14453125);
517 else
518 tex:SetTexCoord(0.7578125, 0.828125, 0.00390625, 0.0703125);
519 end
520 end
521 </OnLoad>
522 <OnClick>
523 XPerl_Toggle_MTTargets();
524 </OnClick>
525 </Scripts>
526 </Button>
527  
528 <Button name="XPerl_Frame_ToggleShowMT" inherits="XPerl_BasicButton" toplevel="true">
529 <Size>
530 <AbsDimension x="11" y="11"/>
531 </Size>
532 <Anchors>
533 <Anchor point="RIGHT" relativeTo="XPerl_Frame_ToggleMTTargets" relativePoint="LEFT"/>
534 </Anchors>
535 <NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
536 <TexCoords left="0.84375" right="0.9140625" top="0.00390625" bottom="0.0703125"/>
537 </NormalTexture>
538  
539 <PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
540 <TexCoords left="0.84375" right="0.9140625" top="0.078125" bottom="0.14453125"/>
541 </PushedTexture>
542  
543 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD">
544 <TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/>
545 </HighlightTexture>
546  
547 <Scripts>
548 <OnLoad>
549 this.tooltipText = XPERL_BUTTON_TOGGLE_SHOWMT;
550 this.SetButtonTex = function()
551 local tex = XPerl_Frame_ToggleShowMT:GetNormalTexture();
552  
553 if (XPerlConfigHelper.ShowMT == 1) then
554 tex:SetTexCoord(0.84375, 0.9140625, 0.078125, 0.14453125);
555 else
556 tex:SetTexCoord(0.84375, 0.9140625, 0.00390625, 0.0703125);
557 end
558 end
559 </OnLoad>
560 <OnClick>
561 XPerl_Toggle_ShowMT();
562 </OnClick>
563 </Scripts>
564 </Button>
565 </Frames>
566 <Layers>
567 <Layer level="ARTWORK">
568 <FontString name="XPerl_Frame_Title" inherits="GameFontNormalSmall" text="MT Targets" justifyH="LEFT">
569 <Color r="1" g="1" b="1"/>
570 <Anchors>
571 <Anchor point="TOPLEFT">
572 <Offset>
573 <AbsDimension x="20" y="0"/>
574 </Offset>
575 </Anchor>
576 <Anchor point="BOTTOMRIGHT"/>
577 </Anchors>
578 </FontString>
579 </Layer>
580 </Layers>
581 </Frame>
582  
583 <Frame name="XPerl_MTTargets">
584 <Size>
585 <AbsDimension x="160" y="26"/>
586 </Size>
587 <Anchors>
588 <Anchor point="TOPLEFT">
589 <Offset>
590 <AbsDimension x="3" y="-13"/>
591 </Offset>
592 </Anchor>
593 </Anchors>
594 <Layers>
595 <Layer level="OVERLAY">
596 <Texture name="XPerl_MainAssist" file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits" hidden="true">
597 <Size>
598 <AbsDimension x="8" y="8"/>
599 </Size>
600 <Anchors>
601 <Anchor point="RIGHT" relativePoint="LEFT">
602 <Offset>
603 <AbsDimension x="-100" y="0"/>
604 </Offset>
605 </Anchor>
606 </Anchors>
607 <TexCoords left="0" right="0.125" top="0.25" bottom="0.359375"/>
608 </Texture>
609 <Texture name="XPerl_MyTarget" file="Interface\Minimap\Ping\ping5" hidden="true" alphaMode="ADD">
610 <Size>
611 <AbsDimension x="16" y="12"/>
612 </Size>
613 <Anchors>
614 <Anchor point="RIGHT" relativePoint="LEFT">
615 <Offset>
616 <AbsDimension x="-100" y="0"/>
617 </Offset>
618 </Anchor>
619 </Anchors>
620 <TexCoords left="0" right="0.23" top="0.35" bottom="0.65"/>
621 </Texture>
622 </Layer>
623 </Layers>
624 </Frame>
625  
626 <Frame name="XPerl_OtherTargets">
627 <Anchors>
628 <Anchor point="TOPLEFT" relativeTo="XPerl_MTTargets" relativePoint="BOTTOMLEFT">
629 <Offset>
630 <AbsDimension x="0" y="-10"/>
631 </Offset>
632 </Anchor>
633 <Anchor point="BOTTOMRIGHT">
634 <Offset>
635 <AbsDimension x="-3" y="3"/>
636 </Offset>
637 </Anchor>
638 </Anchors>
639 <Scripts>
640 <OnEnter>
641 XPerl_ExpandOthers();
642 </OnEnter>
643 <OnLoad>
644 XPerl_OtherTargets_TitleOther:SetText(XPERL_TITLE_OTHERS)
645 </OnLoad>
646 </Scripts>
647 <Layers>
648 <Layer>
649 <FontString name="$parent_TitleOther" inherits="GameFontNormalSmall" justifyH="LEFT">
650 <Size>
651 <AbsDimension x="100" y="11"/>
652 </Size>
653 <Color r="1" g="0" b="0"/>
654 <Anchors>
655 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
656 <Offset>
657 <AbsDimension x="20" y="0"/>
658 </Offset>
659 </Anchor>
660 </Anchors>
661 </FontString>
662  
663 <FontString name="$parent_Key" inherits="GameFontNormalSmall" text="0">
664 <Color r="0.5" g="0.5" b="0.5"/>
665 <Anchors>
666 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
667 <Offset>
668 <AbsDimension x="-3" y="0"/>
669 </Offset>
670 </Anchor>
671 </Anchors>
672 </FontString>
673 </Layer>
674 </Layers>
675 </Frame>
676  
677 <Frame name="XPerl_ExpandArrowFrame" hidden="true">
678 <Size>
679 <AbsDimension x="206" y="10"/>
680 </Size>
681 <Anchors>
682 <Anchor point="BOTTOMLEFT">
683 <Offset>
684 <AbsDimension x="0" y="3"/>
685 </Offset>
686 </Anchor>
687 </Anchors>
688 <Frames>
689 <Button name="XPerl_ExpandArrow" inherits="XPerl_DownArrowTemplate">
690 <Anchors>
691 <Anchor point="BOTTOM"/>
692 </Anchors>
693 <Scripts>
694 <OnLoad>
695 this.tooltipText = XPERL_BUTTON_EXPAND_DESC;
696 </OnLoad>
697 <OnClick>
698 XPerl_ExpandOthers();
699 </OnClick>
700 </Scripts>
701 </Button>
702 </Frames>
703 <Layers>
704 <Layer level="ARTWORK">
705 <FontString name="$parent_Stats" inherits="GameFontNormalSmall" text="0">
706 <Color r="1" g="0.4" b="0.4"/>
707 <Anchors>
708 <Anchor point="BOTTOMLEFT">
709 <Offset>
710 <AbsDimension x="3" y="2"/>
711 </Offset>
712 </Anchor>
713 </Anchors>
714 </FontString>
715 </Layer>
716 </Layers>
717 <Scripts>
718 <OnEnter>
719 XPerl_ExpandOthers();
720 </OnEnter>
721 </Scripts>
722 </Frame>
723 </Frames>
724 </Frame>
725  
726 <Button name="XPerl_StatsItemTemplate" virtual="true">
727 <Size>
728 <AbsDimension x="160" y="10"/>
729 </Size>
730 <NormalText name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT">
731 <Anchors>
732 <Anchor point="LEFT">
733 <Offset>
734 <AbsDimension x="4" y="0"/>
735 </Offset>
736 </Anchor>
737 </Anchors>
738 </NormalText>
739 <HighlightTexture inherits="UIPanelButtonHighlightTexture"/>
740 <Scripts>
741 <OnClick>
742 XPerl_SetStatDetails(this:GetID());
743 </OnClick>
744 </Scripts>
745 </Button>
746  
747 <Frame name="XPerl_Threat" parent="XPerl_Frame" hidden="true">
748 <Size>
749 <AbsDimension x="100" y="12"/>
750 </Size>
751 <Anchors>
752 <Anchor point="BOTTOMLEFT" relativeTo="XPerl_Frame" relativePoint="TOPLEFT">
753 <Offset>
754 <AbsDimension x="0" y="-2"/>
755 </Offset>
756 </Anchor>
757 </Anchors>
758 <Backdrop bgFile="Interface\AddOns\XPerl_RaidHelper\images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
759 <EdgeSize>
760 <AbsValue val="9"/>
761 </EdgeSize>
762 <TileSize>
763 <AbsValue val="16"/>
764 </TileSize>
765 <BackgroundInsets>
766 <AbsInset left="3" right="3" top="3" bottom="3"/>
767 </BackgroundInsets>
768 </Backdrop>
769 <Frames>
770 <StatusBar name="XPerl_MyThreat">
771 <HitRectInsets>
772 <AbsInset left="70" right="70" top="10" bottom="10"/>
773 </HitRectInsets>
774 <Anchors>
775 <Anchor point="TOPLEFT">
776 <Offset>
777 <AbsDimension x="3" y="-3"/>
778 </Offset>
779 </Anchor>
780 <Anchor point="BOTTOMRIGHT">
781 <Offset>
782 <AbsDimension x="-3" y="3"/>
783 </Offset>
784 </Anchor>
785 </Anchors>
786 <BarTexture name="$parentTex" file="Interface\TargetingFrame\UI-StatusBar"/>
787 <Layers>
788 <Layer level="OVERLAY">
789 <FontString name="$parentText" inherits="GameFontNormalSmall">
790 <Anchors>
791 <Anchor point="TOPLEFT"/>
792 <Anchor point="BOTTOMRIGHT">
793 <Offset>
794 <AbsDimension x="0" y="1"/>
795 </Offset>
796 </Anchor>
797 </Anchors>
798 <Color r="1" g="1" b="1"/>
799 </FontString>
800 </Layer>
801 <Layer level="BACKGROUND">
802 <Texture name="$parentBG" file="Interface\TargetingFrame\UI-TargetingFrame-BarFill" setAllPoints="true"/>
803 </Layer>
804 </Layers>
805 </StatusBar>
806 </Frames>
807 </Frame>
808  
809 <Frame name="XPerl_Stats" parent="XPerl_Frame" hidden="true">
810 <Size>
811 <AbsDimension x="170" y="80"/>
812 </Size>
813 <Anchors>
814 <Anchor point="BOTTOMLEFT" relativeTo="XPerl_Threat" relativePoint="TOPLEFT">
815 <Offset>
816 <AbsDimension x="0" y="-2"/>
817 </Offset>
818 </Anchor>
819 </Anchors>
820 <Backdrop bgFile="Interface\AddOns\XPerl_RaidHelper\images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
821 <EdgeSize>
822 <AbsValue val="9"/>
823 </EdgeSize>
824 <TileSize>
825 <AbsValue val="16"/>
826 </TileSize>
827 <BackgroundInsets>
828 <AbsInset left="3" right="3" top="3" bottom="3"/>
829 </BackgroundInsets>
830 </Backdrop>
831 <Scripts>
832 <OnLoad>
833 XPerl_Stats_Title:SetText(XPERL_TARGET_STATISTICS)
834 </OnLoad>
835 </Scripts>
836 <Layers>
837 <Layer level="BACKGROUND">
838 <FontString name="$parent_Title" inherits="GameFontNormalSmall">
839 <Color r="1" g="1" b="1"/>
840 <Anchors>
841 <Anchor point="TOP">
842 <Offset>
843 <AbsDimension x="0" y="-2"/>
844 </Offset>
845 </Anchor>
846 </Anchors>
847 </FontString>
848 </Layer>
849 </Layers>
850 <Frames>
851 <Button name="$parent1" inherits="XPerl_StatsItemTemplate" id="1">
852 <Anchors>
853 <Anchor point="TOPLEFT">
854 <Offset>
855 <AbsDimension x="5" y="-13"/>
856 </Offset>
857 </Anchor>
858 </Anchors>
859 </Button>
860 <Button name="$parent2" inherits="XPerl_StatsItemTemplate" id="2">
861 <Anchors>
862 <Anchor point="TOPLEFT" relativeTo="$parent1" relativePoint="BOTTOMLEFT"/>
863 </Anchors>
864 </Button>
865 <Button name="$parent3" inherits="XPerl_StatsItemTemplate" id="3">
866 <Anchors>
867 <Anchor point="TOPLEFT" relativeTo="$parent2" relativePoint="BOTTOMLEFT"/>
868 </Anchors>
869 </Button>
870 <Button name="$parent4" inherits="XPerl_StatsItemTemplate" id="4">
871 <Anchors>
872 <Anchor point="TOPLEFT" relativeTo="$parent3" relativePoint="BOTTOMLEFT"/>
873 </Anchors>
874 </Button>
875 <Button name="$parent5" inherits="XPerl_StatsItemTemplate" id="5">
876 <Anchors>
877 <Anchor point="TOPLEFT" relativeTo="$parent4" relativePoint="BOTTOMLEFT"/>
878 </Anchors>
879 </Button>
880 <Button name="$parent6" inherits="XPerl_StatsItemTemplate" id="6">
881 <Anchors>
882 <Anchor point="TOPLEFT" relativeTo="$parent5" relativePoint="BOTTOMLEFT"/>
883 </Anchors>
884 </Button>
885 </Frames>
886 </Frame>
887  
888 <Frame name="XPerl_Stats_List" parent="XPerl_Stats" hidden="true">
889 <Scripts>
890 <OnLoad>
891 this.shownStats = 0;
892 </OnLoad>
893 <OnEnter>
894 this:SetHeight(160);
895 </OnEnter>
896 <OnShow>
897 this:SetHeight(80);
898 </OnShow>
899 <OnLeave>
900 this:SetHeight(80);
901 </OnLeave>
902 </Scripts>
903 <Size>
904 <AbsDimension x="120" y="80"/>
905 </Size>
906 <Anchors>
907 <Anchor point="TOPRIGHT" relativeTo="XPerl_Stats" relativePoint="TOPLEFT">
908 <Offset>
909 <AbsDimension x="1" y="0"/>
910 </Offset>
911 </Anchor>
912 </Anchors>
913 <Backdrop bgFile="Interface\AddOns\XPerl_RaidHelper\images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
914 <EdgeSize>
915 <AbsValue val="9"/>
916 </EdgeSize>
917 <TileSize>
918 <AbsValue val="16"/>
919 </TileSize>
920 <BackgroundInsets>
921 <AbsInset left="3" right="3" top="3" bottom="3"/>
922 </BackgroundInsets>
923 </Backdrop>
924 <Layers>
925 <Layer level="BACKGROUND">
926 <FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="TOP">
927 <Anchors>
928 <Anchor point="TOPLEFT">
929 <Offset>
930 <AbsDimension x="4" y="-4"/>
931 </Offset>
932 </Anchor>
933 <Anchor point="BOTTOMRIGHT">
934 <Offset>
935 <AbsDimension x="-4" y="4"/>
936 </Offset>
937 </Anchor>
938 </Anchors>
939 </FontString>
940 </Layer>
941 </Layers>
942 </Frame>
943 </Ui>