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="XPerl_Check.lua"/> |
||
4 | |||
5 | <Button name="XPerl_CheckButtonTemplate" inherits="XPerl_BasicButton" virtual="true"> |
||
6 | <Size><AbsDimension x="32" y="32"/></Size> |
||
7 | </Button> |
||
8 | |||
9 | <Button name="XPerlNormalListItemTemplate" virtual="true"> |
||
10 | <Size> |
||
11 | <AbsDimension x="250" y="14"/> |
||
12 | </Size> |
||
13 | <Layers> |
||
14 | <Layer level="BORDER"> |
||
15 | <Texture name="$parentIcon" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes" hidden="true"> |
||
16 | <Size> |
||
17 | <AbsDimension x="14" y="14"/> |
||
18 | </Size> |
||
19 | <Anchors> |
||
20 | <Anchor point="TOPLEFT"/> |
||
21 | </Anchors> |
||
22 | </Texture> |
||
23 | <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
24 | <Anchors> |
||
25 | <Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT"/> |
||
26 | <Anchor point="BOTTOMRIGHT"> |
||
27 | <Offset> |
||
28 | <AbsDimension x="0" y="1"/> |
||
29 | </Offset> |
||
30 | </Anchor> |
||
31 | </Anchors> |
||
32 | </FontString> |
||
33 | <FontString name="$parentCount" inherits="GameFontNormal" wraponspaces="false" justifyV="CENTER" justifyH="RIGHT"> |
||
34 | <Size><AbsDimension x="50" y="14"/></Size> |
||
35 | <Anchors> |
||
36 | <Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT"/> |
||
37 | <Anchor point="BOTTOMRIGHT"> |
||
38 | <Offset> |
||
39 | <AbsDimension x="-18" y="1"/> |
||
40 | </Offset> |
||
41 | </Anchor> |
||
42 | </Anchors> |
||
43 | </FontString> |
||
44 | <FontString name="$parentFR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true"> |
||
45 | <Size><AbsDimension x="28" y="14"/></Size> |
||
46 | <Anchors> |
||
47 | <Anchor point="TOPRIGHT" relativePoint="TOP"> |
||
48 | <Offset> |
||
49 | <AbsDimension x="0" y="1"/> |
||
50 | </Offset> |
||
51 | </Anchor> |
||
52 | </Anchors> |
||
53 | <Color r="1" g="0" b="0"/> |
||
54 | </FontString> |
||
55 | <FontString name="$parentNR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true"> |
||
56 | <Size><AbsDimension x="28" y="14"/></Size> |
||
57 | <Anchors> |
||
58 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentFR"/> |
||
59 | </Anchors> |
||
60 | <Color r="0" g="1" b="0"/> |
||
61 | </FontString> |
||
62 | <FontString name="$parentFRR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true"> |
||
63 | <Size><AbsDimension x="28" y="14"/></Size> |
||
64 | <Anchors> |
||
65 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentNR"/> |
||
66 | </Anchors> |
||
67 | <Color r="0" g="0" b="1"/> |
||
68 | </FontString> |
||
69 | <FontString name="$parentSR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true"> |
||
70 | <Size><AbsDimension x="28" y="14"/></Size> |
||
71 | <Anchors> |
||
72 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentFRR"/> |
||
73 | </Anchors> |
||
74 | <Color r="1" g="0" b="1"/> |
||
75 | </FontString> |
||
76 | <FontString name="$parentAR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true"> |
||
77 | <Size><AbsDimension x="28" y="14"/></Size> |
||
78 | <Anchors> |
||
79 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSR"/> |
||
80 | </Anchors> |
||
81 | <Color r="1" g="1" b="1"/> |
||
82 | </FontString> |
||
83 | <Texture name="$parentEquiped" file="Interface\Buttons\UI-CheckBox-Check" hidden="true"> |
||
84 | <Size><AbsDimension x="18" y="18"/></Size> |
||
85 | <Anchors> |
||
86 | <Anchor point="TOP" relativeTo="$parentNR"/> |
||
87 | </Anchors> |
||
88 | </Texture> |
||
89 | </Layer> |
||
90 | </Layers> |
||
91 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
92 | <Scripts> |
||
93 | <OnLoad> |
||
94 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp") |
||
95 | </OnLoad> |
||
96 | <OnClick> |
||
97 | XPerl_Check_PlayerOnClick(arg1) |
||
98 | </OnClick> |
||
99 | </Scripts> |
||
100 | </Button> |
||
101 | |||
102 | <Button name="XPerlCheckListItemTemplate" virtual="true"> |
||
103 | <Size> |
||
104 | <AbsDimension x="206" y="14"/> |
||
105 | </Size> |
||
106 | <Frames> |
||
107 | <CheckButton name="$parentTick" inherits="UICheckButtonTemplate"> |
||
108 | <Size> |
||
109 | <AbsDimension x="18" y="18"/> |
||
110 | </Size> |
||
111 | <Anchors> |
||
112 | <Anchor point="TOPLEFT"> |
||
113 | <Offset> |
||
114 | <AbsDimension x="-3" y="2"/> |
||
115 | </Offset> |
||
116 | </Anchor> |
||
117 | </Anchors> |
||
118 | <Scripts> |
||
119 | <OnClick> |
||
120 | XPerl_Check_OnClickTick() |
||
121 | XPerl_Check_OnClickItem(arg1) |
||
122 | </OnClick> |
||
123 | <OnEnter> |
||
124 | this:GetParent():LockHighlight() |
||
125 | XPerl_Check_OnEnter() |
||
126 | </OnEnter> |
||
127 | <OnLeave> |
||
128 | GameTooltip:Hide() |
||
129 | for k,v in pairs(XPerl_CheckItems) do |
||
130 | if (v.link == getglobal(this:GetParent():GetName().."Name"):GetText()) then |
||
131 | if (not v.selected) then |
||
132 | this:GetParent():UnlockHighlight() |
||
133 | end |
||
134 | end |
||
135 | end |
||
136 | </OnLeave> |
||
137 | </Scripts> |
||
138 | </CheckButton> |
||
139 | </Frames> |
||
140 | <Layers> |
||
141 | <Layer level="BORDER"> |
||
142 | <Texture name="$parentIcon"> |
||
143 | <Size> |
||
144 | <AbsDimension x="14" y="14"/> |
||
145 | </Size> |
||
146 | <Anchors> |
||
147 | <Anchor point="TOPLEFT"> |
||
148 | <Offset> |
||
149 | <AbsDimension x="14" y="0"/> |
||
150 | </Offset> |
||
151 | </Anchor> |
||
152 | </Anchors> |
||
153 | </Texture> |
||
154 | <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
155 | <Anchors> |
||
156 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentIcon"/> |
||
157 | <Anchor point="BOTTOMRIGHT"> |
||
158 | <Offset> |
||
159 | <AbsDimension x="0" y="2"/> |
||
160 | </Offset> |
||
161 | </Anchor> |
||
162 | </Anchors> |
||
163 | </FontString> |
||
164 | <FontString name="$parentCount" inherits="GameFontNormal" wraponspaces="false" justifyH="RIGHT"> |
||
165 | <Size> |
||
166 | <AbsDimension x="20" y="14"/> |
||
167 | </Size> |
||
168 | <Anchor point="TOPRIGHT"> |
||
169 | <Offset> |
||
170 | <AbsDimension x="0" y="2"/> |
||
171 | </Offset> |
||
172 | </Anchor> |
||
173 | </FontString> |
||
174 | </Layer> |
||
175 | <Layer level="BACKGROUND"> |
||
176 | <Texture name="$parentGauge" file="Interface\TargetingFrame\UI-StatusBar" hidden="true"> |
||
177 | <Size> |
||
178 | <AbsDimension x="1" y="12"/> |
||
179 | </Size> |
||
180 | <Anchors> |
||
181 | <Anchor point="TOPLEFT" relativeTo="$parentName"> |
||
182 | <Offset> |
||
183 | <AbsDimension x="1" y="-1"/> |
||
184 | </Offset> |
||
185 | </Anchor> |
||
186 | </Anchors> |
||
187 | <TexCoords left=".8" right="1" top=".8" bottom="1"/> |
||
188 | </Texture> |
||
189 | </Layer> |
||
190 | </Layers> |
||
191 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
192 | <Scripts> |
||
193 | <OnLoad> |
||
194 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp") |
||
195 | </OnLoad> |
||
196 | <OnEnter> |
||
197 | XPerl_Check_OnEnter() |
||
198 | </OnEnter> |
||
199 | <OnLeave> |
||
200 | GameTooltip:Hide() |
||
201 | </OnLeave> |
||
202 | <OnClick> |
||
203 | XPerl_Check_OnClickItem(arg1) |
||
204 | </OnClick> |
||
205 | <OnMouseWheel> |
||
206 | XPerl_CheckMouseWheel("Items", arg1) |
||
207 | XPerl_Check_OnEnter() |
||
208 | </OnMouseWheel> |
||
209 | </Scripts> |
||
210 | </Button> |
||
211 | |||
212 | <Button name="XPerl_NormalListTemplate" virtual="true" enableMouse="true"> |
||
213 | <Size> |
||
214 | <AbsDimension x="260" y="178"/> |
||
215 | </Size> |
||
216 | <Backdrop bgFile="Interface\Addons\XPerl_RaidHelper\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
217 | <EdgeSize> |
||
218 | <AbsValue val="9"/> |
||
219 | </EdgeSize> |
||
220 | <TileSize> |
||
221 | <AbsValue val="16"/> |
||
222 | </TileSize> |
||
223 | <BackgroundInsets> |
||
224 | <AbsInset left="3" right="3" top="3" bottom="3"/> |
||
225 | </BackgroundInsets> |
||
226 | </Backdrop> |
||
227 | <Frames> |
||
228 | <Button name="$parentTitle"> |
||
229 | <Size> |
||
230 | <AbsDimension x="240" y="14"/> |
||
231 | </Size> |
||
232 | <Anchors> |
||
233 | <Anchor point="TOPLEFT"> |
||
234 | <Offset> |
||
235 | <AbsDimension x="5" y="-5"/> |
||
236 | </Offset> |
||
237 | </Anchor> |
||
238 | </Anchors> |
||
239 | <Frames> |
||
240 | <Button name="$parentClass" text="!"> |
||
241 | <Size> |
||
242 | <AbsDimension x="14" y="14"/> |
||
243 | </Size> |
||
244 | <Anchors> |
||
245 | <Anchor point="TOPLEFT"> |
||
246 | <Offset> |
||
247 | <AbsDimension x="0" y="2"/> |
||
248 | </Offset> |
||
249 | </Anchor> |
||
250 | </Anchors> |
||
251 | <ButtonText name="$parentText"> |
||
252 | <Anchors> |
||
253 | <Anchor point="TOPLEFT"/> |
||
254 | <Anchor point="BOTTOMRIGHT"/> |
||
255 | </Anchors> |
||
256 | </ButtonText> |
||
257 | <NormalFont inherits="GameFontNormal"/> |
||
258 | <HighlightFont inherits="GameFontHighlight"/> |
||
259 | <DisabledFont inherits="GameFontDisable"/> |
||
260 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
261 | <Scripts> |
||
262 | <OnClick> |
||
263 | XPerl_Check_Players_Sort("class") |
||
264 | </OnClick> |
||
265 | </Scripts> |
||
266 | </Button> |
||
267 | <Button name="$parentName" text="NAME"> |
||
268 | <Size> |
||
269 | <AbsDimension x="75" y="14"/> |
||
270 | </Size> |
||
271 | <Anchors> |
||
272 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentClass"/> |
||
273 | </Anchors> |
||
274 | <ButtonText name="$parentText"> |
||
275 | <Anchors> |
||
276 | <Anchor point="TOPLEFT"/> |
||
277 | <Anchor point="BOTTOMRIGHT"/> |
||
278 | </Anchors> |
||
279 | </ButtonText> |
||
280 | <NormalFont inherits="GameFontNormal"/> |
||
281 | <HighlightFont inherits="GameFontHighlight"/> |
||
282 | <DisabledFont inherits="GameFontDisable"/> |
||
283 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
284 | <Scripts> |
||
285 | <OnClick> |
||
286 | XPerl_Check_Players_Sort("name") |
||
287 | </OnClick> |
||
288 | </Scripts> |
||
289 | </Button> |
||
290 | <Button name="$parentCount" text="#"> |
||
291 | <Size> |
||
292 | <AbsDimension x="60" y="14"/> |
||
293 | </Size> |
||
294 | <Anchors> |
||
295 | <Anchor point="TOPRIGHT"> |
||
296 | <Offset> |
||
297 | <AbsDimension x="0" y="2"/> |
||
298 | </Offset> |
||
299 | </Anchor> |
||
300 | </Anchors> |
||
301 | <ButtonText name="$parentText"> |
||
302 | <Anchors> |
||
303 | <Anchor point="TOPLEFT"/> |
||
304 | <Anchor point="BOTTOMRIGHT"/> |
||
305 | </Anchors> |
||
306 | </ButtonText> |
||
307 | <NormalFont inherits="GameFontNormal"/> |
||
308 | <HighlightFont inherits="GameFontHighlight"/> |
||
309 | <DisabledFont inherits="GameFontDisable"/> |
||
310 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
311 | <Scripts> |
||
312 | <OnClick> |
||
313 | XPerl_Check_Players_Sort("count") |
||
314 | </OnClick> |
||
315 | </Scripts> |
||
316 | </Button> |
||
317 | <Button name="$parentFR" hidden="true"> |
||
318 | <Size> |
||
319 | <AbsDimension x="28" y="14"/> |
||
320 | </Size> |
||
321 | <Anchors> |
||
322 | <Anchor point="TOP"> |
||
323 | <Offset> |
||
324 | <AbsDimension x="-4" y="2"/> |
||
325 | </Offset> |
||
326 | </Anchor> |
||
327 | </Anchors> |
||
328 | <Layers> |
||
329 | <Layer level="BACKGROUND"> |
||
330 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD"> |
||
331 | <Size> |
||
332 | <AbsDimension x="14" y="14"/> |
||
333 | </Size> |
||
334 | <Anchors> |
||
335 | <Anchor point="TOPLEFT"> |
||
336 | <Offset> |
||
337 | <AbsDimension x="7" y="0"/> |
||
338 | </Offset> |
||
339 | </Anchor> |
||
340 | </Anchors> |
||
341 | <TexCoords left="0.21875" right="0.78125" top="0.0234375" bottom="0.09375"/> |
||
342 | </Texture> |
||
343 | </Layer> |
||
344 | </Layers> |
||
345 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
346 | <Color r="1" g="0" b="0"/> |
||
347 | <Scripts> |
||
348 | <OnClick> |
||
349 | XPerl_Check_Players_Sort("fr") |
||
350 | </OnClick> |
||
351 | </Scripts> |
||
352 | </Button> |
||
353 | <Button name="$parentNR" hidden="true"> |
||
354 | <Size> |
||
355 | <AbsDimension x="28" y="14"/> |
||
356 | </Size> |
||
357 | <Anchors> |
||
358 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentFR"/> |
||
359 | </Anchors> |
||
360 | <Layers> |
||
361 | <Layer level="BACKGROUND"> |
||
362 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD"> |
||
363 | <Size> |
||
364 | <AbsDimension x="14" y="14"/> |
||
365 | </Size> |
||
366 | <Anchors> |
||
367 | <Anchor point="TOPLEFT"> |
||
368 | <Offset> |
||
369 | <AbsDimension x="7" y="0"/> |
||
370 | </Offset> |
||
371 | </Anchor> |
||
372 | </Anchors> |
||
373 | <TexCoords left="0.21875" right="0.78125" top="0.13671875" bottom="0.20703125"/> |
||
374 | </Texture> |
||
375 | </Layer> |
||
376 | </Layers> |
||
377 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
378 | <Color r="0" g="1" b="0"/> |
||
379 | <Scripts> |
||
380 | <OnClick> |
||
381 | XPerl_Check_Players_Sort("nr") |
||
382 | </OnClick> |
||
383 | </Scripts> |
||
384 | </Button> |
||
385 | <Button name="$parentFRR" hidden="true"> |
||
386 | <Size> |
||
387 | <AbsDimension x="28" y="14"/> |
||
388 | </Size> |
||
389 | <Anchors> |
||
390 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentNR"/> |
||
391 | </Anchors> |
||
392 | <Layers> |
||
393 | <Layer level="BACKGROUND"> |
||
394 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD"> |
||
395 | <Size> |
||
396 | <AbsDimension x="14" y="14"/> |
||
397 | </Size> |
||
398 | <Anchors> |
||
399 | <Anchor point="TOPLEFT"> |
||
400 | <Offset> |
||
401 | <AbsDimension x="7" y="0"/> |
||
402 | </Offset> |
||
403 | </Anchor> |
||
404 | </Anchors> |
||
405 | <TexCoords left="0.21875" right="0.78125" top="0.36328125" bottom="0.43359375"/> |
||
406 | </Texture> |
||
407 | </Layer> |
||
408 | </Layers> |
||
409 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
410 | <Color r="0" g="0" b="1"/> |
||
411 | <Scripts> |
||
412 | <OnClick> |
||
413 | XPerl_Check_Players_Sort("frr") |
||
414 | </OnClick> |
||
415 | </Scripts> |
||
416 | </Button> |
||
417 | <Button name="$parentSR" hidden="true"> |
||
418 | <Size> |
||
419 | <AbsDimension x="28" y="14"/> |
||
420 | </Size> |
||
421 | <Anchors> |
||
422 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentFRR"/> |
||
423 | </Anchors> |
||
424 | <Layers> |
||
425 | <Layer level="BACKGROUND"> |
||
426 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD"> |
||
427 | <Size> |
||
428 | <AbsDimension x="14" y="14"/> |
||
429 | </Size> |
||
430 | <Anchors> |
||
431 | <Anchor point="TOPLEFT"> |
||
432 | <Offset> |
||
433 | <AbsDimension x="7" y="0"/> |
||
434 | </Offset> |
||
435 | </Anchor> |
||
436 | </Anchors> |
||
437 | <TexCoords left="0.21875" right="0.78125" top="0.4765625" bottom="0.546875"/> |
||
438 | </Texture> |
||
439 | </Layer> |
||
440 | </Layers> |
||
441 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
442 | <Color r="1" g="0" b="1"/> |
||
443 | <Scripts> |
||
444 | <OnClick> |
||
445 | XPerl_Check_Players_Sort("sr") |
||
446 | </OnClick> |
||
447 | </Scripts> |
||
448 | </Button> |
||
449 | <Button name="$parentAR" hidden="true"> |
||
450 | <Size> |
||
451 | <AbsDimension x="28" y="14"/> |
||
452 | </Size> |
||
453 | <Anchors> |
||
454 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSR"/> |
||
455 | </Anchors> |
||
456 | <Layers> |
||
457 | <Layer level="BACKGROUND"> |
||
458 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD"> |
||
459 | <Size> |
||
460 | <AbsDimension x="14" y="14"/> |
||
461 | </Size> |
||
462 | <Anchors> |
||
463 | <Anchor point="TOPLEFT"> |
||
464 | <Offset> |
||
465 | <AbsDimension x="7" y="0"/> |
||
466 | </Offset> |
||
467 | </Anchor> |
||
468 | </Anchors> |
||
469 | <TexCoords left="0.21875" right="0.78125" top="0.25" bottom="0.3203125"/> |
||
470 | </Texture> |
||
471 | </Layer> |
||
472 | </Layers> |
||
473 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
474 | <Color r="1" g="1" b="1"/> |
||
475 | <Scripts> |
||
476 | <OnClick> |
||
477 | XPerl_Check_Players_Sort("ar") |
||
478 | </OnClick> |
||
479 | </Scripts> |
||
480 | </Button> |
||
481 | <Button name="$parentDur" text="%" hidden="true"> |
||
482 | <Size> |
||
483 | <AbsDimension x="68" y="14"/> |
||
484 | </Size> |
||
485 | <Anchors> |
||
486 | <Anchor point="TOP" relativeTo="$parentNR"> |
||
487 | <Offset> |
||
488 | <AbsDimension x="2" y="0"/> |
||
489 | </Offset> |
||
490 | </Anchor> |
||
491 | </Anchors> |
||
492 | <ButtonText name="$parentText"> |
||
493 | <Anchors> |
||
494 | <Anchor point="TOPLEFT"/> |
||
495 | <Anchor point="BOTTOMRIGHT"/> |
||
496 | </Anchors> |
||
497 | </ButtonText> |
||
498 | <NormalFont inherits="GameFontNormal"/> |
||
499 | <HighlightFont inherits="GameFontHighlight"/> |
||
500 | <DisabledFont inherits="GameFontDisable"/> |
||
501 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
502 | <Scripts> |
||
503 | <OnClick> |
||
504 | XPerl_Check_Players_Sort("dur") |
||
505 | </OnClick> |
||
506 | </Scripts> |
||
507 | </Button> |
||
508 | </Frames> |
||
509 | <Scripts> |
||
510 | <OnLoad> |
||
511 | getglobal(this:GetName().."Name"):SetText(NAME) |
||
512 | getglobal(this:GetName().."Count"):SetText("#") |
||
513 | </OnLoad> |
||
514 | </Scripts> |
||
515 | </Button> |
||
516 | <Button name="$parent1" inherits="XPerlNormalListItemTemplate" id="1"> |
||
517 | <Anchors> |
||
518 | <Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT"/> |
||
519 | </Anchors> |
||
520 | </Button> |
||
521 | <Button name="$parent2" inherits="XPerlNormalListItemTemplate" id="2"> |
||
522 | <Anchors> |
||
523 | <Anchor point="TOPLEFT" relativeTo="$parent1" relativePoint="BOTTOMLEFT"/> |
||
524 | </Anchors> |
||
525 | </Button> |
||
526 | <Button name="$parent3" inherits="XPerlNormalListItemTemplate" id="3"> |
||
527 | <Anchors> |
||
528 | <Anchor point="TOPLEFT" relativeTo="$parent2" relativePoint="BOTTOMLEFT"/> |
||
529 | </Anchors> |
||
530 | </Button> |
||
531 | <Button name="$parent4" inherits="XPerlNormalListItemTemplate" id="4"> |
||
532 | <Anchors> |
||
533 | <Anchor point="TOPLEFT" relativeTo="$parent3" relativePoint="BOTTOMLEFT"/> |
||
534 | </Anchors> |
||
535 | </Button> |
||
536 | <Button name="$parent5" inherits="XPerlNormalListItemTemplate" id="5"> |
||
537 | <Anchors> |
||
538 | <Anchor point="TOPLEFT" relativeTo="$parent4" relativePoint="BOTTOMLEFT"/> |
||
539 | </Anchors> |
||
540 | </Button> |
||
541 | <Button name="$parent6" inherits="XPerlNormalListItemTemplate" id="6"> |
||
542 | <Anchors> |
||
543 | <Anchor point="TOPLEFT" relativeTo="$parent5" relativePoint="BOTTOMLEFT"/> |
||
544 | </Anchors> |
||
545 | </Button> |
||
546 | <Button name="$parent7" inherits="XPerlNormalListItemTemplate" id="7"> |
||
547 | <Anchors> |
||
548 | <Anchor point="TOPLEFT" relativeTo="$parent6" relativePoint="BOTTOMLEFT"/> |
||
549 | </Anchors> |
||
550 | </Button> |
||
551 | <Button name="$parent8" inherits="XPerlNormalListItemTemplate" id="8"> |
||
552 | <Anchors> |
||
553 | <Anchor point="TOPLEFT" relativeTo="$parent7" relativePoint="BOTTOMLEFT"/> |
||
554 | </Anchors> |
||
555 | </Button> |
||
556 | <Button name="$parent9" inherits="XPerlNormalListItemTemplate" id="9"> |
||
557 | <Anchors> |
||
558 | <Anchor point="TOPLEFT" relativeTo="$parent8" relativePoint="BOTTOMLEFT"/> |
||
559 | </Anchors> |
||
560 | </Button> |
||
561 | <Button name="$parent10" inherits="XPerlNormalListItemTemplate" id="10"> |
||
562 | <Anchors> |
||
563 | <Anchor point="TOPLEFT" relativeTo="$parent9" relativePoint="BOTTOMLEFT"/> |
||
564 | </Anchors> |
||
565 | </Button> |
||
566 | <Button name="$parentTotals" inherits="XPerlNormalListItemTemplate" id="99"> |
||
567 | <Anchors> |
||
568 | <Anchor point="TOPLEFT" relativeTo="$parent10" relativePoint="BOTTOMLEFT"> |
||
569 | <Offset> |
||
570 | <AbsDimension x="0" y="-2"/> |
||
571 | </Offset> |
||
572 | </Anchor> |
||
573 | </Anchors> |
||
574 | </Button> |
||
575 | <ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate"> |
||
576 | <Size> |
||
577 | <AbsDimension x="31" y="145"/> |
||
578 | </Size> |
||
579 | <Anchors> |
||
580 | <Anchor point="TOPRIGHT"> |
||
581 | <Offset> |
||
582 | <AbsDimension x="-25" y="-17"/> |
||
583 | </Offset> |
||
584 | </Anchor> |
||
585 | </Anchors> |
||
586 | <Scripts> |
||
587 | <OnVerticalScroll> |
||
588 | FauxScrollFrame_OnVerticalScroll(1, XPerl_Check_UpdatePlayerList) |
||
589 | </OnVerticalScroll> |
||
590 | <OnMouseWheel> |
||
591 | XPerl_CheckMouseWheel("Players", arg1) |
||
592 | </OnMouseWheel> |
||
593 | </Scripts> |
||
594 | </ScrollFrame> |
||
595 | </Frames> |
||
596 | <Layers> |
||
597 | <Layer level="ARTWORK"> |
||
598 | <Texture file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder"> |
||
599 | <Anchors> |
||
600 | <Anchor point="TOPLEFT"> |
||
601 | <Offset> |
||
602 | <AbsDimension x="3" y="-16"/> |
||
603 | </Offset> |
||
604 | </Anchor> |
||
605 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
606 | <Offset> |
||
607 | <AbsDimension x="-3" y="-20"/> |
||
608 | </Offset> |
||
609 | </Anchor> |
||
610 | </Anchors> |
||
611 | <TexCoords left="0.1" right="1.0" top="0" bottom="0.25"/> |
||
612 | </Texture> |
||
613 | <Texture file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder"> |
||
614 | <Anchors> |
||
615 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
616 | <Offset> |
||
617 | <AbsDimension x="3" y="20"/> |
||
618 | </Offset> |
||
619 | </Anchor> |
||
620 | <Anchor point="BOTTOMRIGHT"> |
||
621 | <Offset> |
||
622 | <AbsDimension x="-3" y="16"/> |
||
623 | </Offset> |
||
624 | </Anchor> |
||
625 | </Anchors> |
||
626 | <TexCoords left="0.1" right="1.0" top="0" bottom="0.25"/> |
||
627 | </Texture> |
||
628 | </Layer> |
||
629 | </Layers> |
||
630 | <Scripts> |
||
631 | <OnMouseWheel> |
||
632 | XPerl_CheckMouseWheel("Players", arg1) |
||
633 | </OnMouseWheel> |
||
634 | </Scripts> |
||
635 | </Button> |
||
636 | |||
637 | <Button name="XPerl_CheckListTemplate" virtual="true"> |
||
638 | <Scripts> |
||
639 | <OnLoad> |
||
640 | this:RegisterForClicks("LeftButtonDown", "LeftButtonUp", "RightButtonUp", "RightButtonDown"); |
||
641 | </OnLoad> |
||
642 | <OnClick> |
||
643 | XPerl_Check_OnClickItem(arg1) |
||
644 | </OnClick> |
||
645 | <OnEnter> |
||
646 | XPerl_Check_OnEnter() |
||
647 | </OnEnter> |
||
648 | <OnLeave> |
||
649 | GameTooltip:Hide() |
||
650 | </OnLeave> |
||
651 | <OnMouseWheel> |
||
652 | XPerl_CheckMouseWheel("Items", arg1) |
||
653 | </OnMouseWheel> |
||
654 | </Scripts> |
||
655 | <Size> |
||
656 | <AbsDimension x="230" y="178"/> |
||
657 | </Size> |
||
658 | <Backdrop bgFile="Interface\Addons\XPerl_RaidHelper\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
659 | <EdgeSize> |
||
660 | <AbsValue val="9"/> |
||
661 | </EdgeSize> |
||
662 | <TileSize> |
||
663 | <AbsValue val="16"/> |
||
664 | </TileSize> |
||
665 | <BackgroundInsets> |
||
666 | <AbsInset left="3" right="3" top="3" bottom="3"/> |
||
667 | </BackgroundInsets> |
||
668 | </Backdrop> |
||
669 | <Frames> |
||
670 | <Button name="$parent1" inherits="XPerlCheckListItemTemplate" id="1"> |
||
671 | <Anchors> |
||
672 | <Anchor point="TOPLEFT"> |
||
673 | <Offset> |
||
674 | <AbsDimension x="5" y="-5"/> |
||
675 | </Offset> |
||
676 | </Anchor> |
||
677 | </Anchors> |
||
678 | </Button> |
||
679 | <Button name="$parent2" inherits="XPerlCheckListItemTemplate" id="2"> |
||
680 | <Anchors> |
||
681 | <Anchor point="TOPLEFT" relativeTo="$parent1" relativePoint="BOTTOMLEFT"/> |
||
682 | </Anchors> |
||
683 | </Button> |
||
684 | <Button name="$parent3" inherits="XPerlCheckListItemTemplate" id="3"> |
||
685 | <Anchors> |
||
686 | <Anchor point="TOPLEFT" relativeTo="$parent2" relativePoint="BOTTOMLEFT"/> |
||
687 | </Anchors> |
||
688 | </Button> |
||
689 | <Button name="$parent4" inherits="XPerlCheckListItemTemplate" id="4"> |
||
690 | <Anchors> |
||
691 | <Anchor point="TOPLEFT" relativeTo="$parent3" relativePoint="BOTTOMLEFT"/> |
||
692 | </Anchors> |
||
693 | </Button> |
||
694 | <Button name="$parent5" inherits="XPerlCheckListItemTemplate" id="5"> |
||
695 | <Anchors> |
||
696 | <Anchor point="TOPLEFT" relativeTo="$parent4" relativePoint="BOTTOMLEFT"/> |
||
697 | </Anchors> |
||
698 | </Button> |
||
699 | <Button name="$parent6" inherits="XPerlCheckListItemTemplate" id="6"> |
||
700 | <Anchors> |
||
701 | <Anchor point="TOPLEFT" relativeTo="$parent5" relativePoint="BOTTOMLEFT"/> |
||
702 | </Anchors> |
||
703 | </Button> |
||
704 | <Button name="$parent7" inherits="XPerlCheckListItemTemplate" id="7"> |
||
705 | <Anchors> |
||
706 | <Anchor point="TOPLEFT" relativeTo="$parent6" relativePoint="BOTTOMLEFT"/> |
||
707 | </Anchors> |
||
708 | </Button> |
||
709 | <Button name="$parent8" inherits="XPerlCheckListItemTemplate" id="8"> |
||
710 | <Anchors> |
||
711 | <Anchor point="TOPLEFT" relativeTo="$parent7" relativePoint="BOTTOMLEFT"/> |
||
712 | </Anchors> |
||
713 | </Button> |
||
714 | <Button name="$parent9" inherits="XPerlCheckListItemTemplate" id="9"> |
||
715 | <Anchors> |
||
716 | <Anchor point="TOPLEFT" relativeTo="$parent8" relativePoint="BOTTOMLEFT"/> |
||
717 | </Anchors> |
||
718 | </Button> |
||
719 | <Button name="$parent10" inherits="XPerlCheckListItemTemplate" id="10"> |
||
720 | <Anchors> |
||
721 | <Anchor point="TOPLEFT" relativeTo="$parent9" relativePoint="BOTTOMLEFT"/> |
||
722 | </Anchors> |
||
723 | </Button> |
||
724 | <Button name="$parent11" inherits="XPerlCheckListItemTemplate" id="11"> |
||
725 | <Anchors> |
||
726 | <Anchor point="TOPLEFT" relativeTo="$parent10" relativePoint="BOTTOMLEFT"/> |
||
727 | </Anchors> |
||
728 | </Button> |
||
729 | <Button name="$parent12" inherits="XPerlCheckListItemTemplate" id="12"> |
||
730 | <Anchors> |
||
731 | <Anchor point="TOPLEFT" relativeTo="$parent11" relativePoint="BOTTOMLEFT"/> |
||
732 | </Anchors> |
||
733 | </Button> |
||
734 | <ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate" enableMouse="true"> |
||
735 | <Size> |
||
736 | <AbsDimension x="31" y="173"/> |
||
737 | </Size> |
||
738 | <Anchors> |
||
739 | <Anchor point="TOPRIGHT"> |
||
740 | <Offset> |
||
741 | <AbsDimension x="-25" y="-3"/> |
||
742 | </Offset> |
||
743 | </Anchor> |
||
744 | </Anchors> |
||
745 | <Scripts> |
||
746 | <OnVerticalScroll> |
||
747 | FauxScrollFrame_OnVerticalScroll(1, XPerl_Check_UpdateItemList) |
||
748 | </OnVerticalScroll> |
||
749 | <OnMouseWheel> |
||
750 | XPerl_CheckMouseWheel("Items", arg1) |
||
751 | </OnMouseWheel> |
||
752 | </Scripts> |
||
753 | </ScrollFrame> |
||
754 | </Frames> |
||
755 | </Button> |
||
756 | |||
757 | <Frame name="XPerl_Check" parent="UIParent" movable="true" hidden="true" clampedToScreen="true"> |
||
758 | <Scripts> |
||
759 | <OnLoad> |
||
760 | this:RegisterForDrag("LeftButton") |
||
761 | XPerl_CheckOnLoad() |
||
762 | </OnLoad> |
||
763 | <OnEnter> |
||
764 | XPerl_Check.forcedOpen = nil |
||
765 | </OnEnter> |
||
766 | <OnEvent> |
||
767 | XPerl_CheckOnEvent() |
||
768 | </OnEvent> |
||
769 | <OnDragStart> |
||
770 | if (not XPerl_Admin.CheckPinned or (IsAltKeyDown() and IsControlKeyDown() and IsShiftKeyDown())) then |
||
771 | this:StartMoving() |
||
772 | end |
||
773 | </OnDragStart> |
||
774 | <OnDragStop> |
||
775 | this:StopMovingOrSizing() |
||
776 | </OnDragStop> |
||
777 | </Scripts> |
||
778 | <Size> |
||
779 | <AbsDimension x="130" y="18"/> |
||
780 | </Size> |
||
781 | <Anchors> |
||
782 | <Anchor point="CENTER"/> |
||
783 | </Anchors> |
||
784 | <Backdrop bgFile="Interface\Addons\XPerl_RaidHelper\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
785 | <EdgeSize> |
||
786 | <AbsValue val="9"/> |
||
787 | </EdgeSize> |
||
788 | <TileSize> |
||
789 | <AbsValue val="16"/> |
||
790 | </TileSize> |
||
791 | <BackgroundInsets> |
||
792 | <AbsInset left="3" right="3" top="3" bottom="3"/> |
||
793 | </BackgroundInsets> |
||
794 | </Backdrop> |
||
795 | <Frames> |
||
796 | <Frame name="$parentTitleBar"> |
||
797 | <Scripts> |
||
798 | <OnEnter> |
||
799 | XPerl_Check.forcedOpen = nil |
||
800 | XPerl_Check_Expand() |
||
801 | XPerl_Check_ItemsChanged() |
||
802 | </OnEnter> |
||
803 | <OnLoad> |
||
804 | this:RegisterForDrag("LeftButton") |
||
805 | </OnLoad> |
||
806 | <OnDragStart> |
||
807 | if (not XPerl_Admin.CheckPinned or (IsAltKeyDown() and IsControlKeyDown() and IsShiftKeyDown())) then |
||
808 | XPerl_Check:StartMoving() |
||
809 | end |
||
810 | </OnDragStart> |
||
811 | <OnDragStop> |
||
812 | XPerl_Check:StopMovingOrSizing() |
||
813 | </OnDragStop> |
||
814 | </Scripts> |
||
815 | <Anchors> |
||
816 | <Anchor point="TOPLEFT"> |
||
817 | <Offset> |
||
818 | <AbsDimension x="3" y="-3"/> |
||
819 | </Offset> |
||
820 | </Anchor> |
||
821 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
822 | <Offset> |
||
823 | <AbsDimension x="-3" y="-14"/> |
||
824 | </Offset> |
||
825 | </Anchor> |
||
826 | </Anchors> |
||
827 | <Layers> |
||
828 | <Layer level="ARTWORK"> |
||
829 | <FontString inherits="GameFontNormalSmall" text="XPERL_CHECK_TITLE" justifyH="LEFT"> |
||
830 | <Color r="1" g="1" b="1"/> |
||
831 | <Anchors> |
||
832 | <Anchor point="TOPLEFT"> |
||
833 | <Offset> |
||
834 | <AbsDimension x="2" y="0"/> |
||
835 | </Offset> |
||
836 | </Anchor> |
||
837 | <Anchor point="BOTTOMRIGHT"/> |
||
838 | </Anchors> |
||
839 | </FontString> |
||
840 | </Layer> |
||
841 | </Layers> |
||
842 | <Frames> |
||
843 | <Button name="$parentClose" inherits="UIPanelCloseButton" toplevel="true"> |
||
844 | <Size> |
||
845 | <AbsDimension x="22" y="22"/> |
||
846 | </Size> |
||
847 | <Anchors> |
||
848 | <Anchor point="TOPRIGHT"> |
||
849 | <Offset> |
||
850 | <AbsDimension x="5" y="5"/> |
||
851 | </Offset> |
||
852 | </Anchor> |
||
853 | </Anchors> |
||
854 | <Scripts> |
||
855 | <OnClick> |
||
856 | XPerl_Check:Hide() |
||
857 | </OnClick> |
||
858 | </Scripts> |
||
859 | </Button> |
||
860 | <Button name="$parentPin" inherits="XPerl_BasicButton"> |
||
861 | <Size> |
||
862 | <AbsDimension x="12" y="12"/> |
||
863 | </Size> |
||
864 | <Anchors> |
||
865 | <Anchor point="RIGHT" relativeTo="$parentClose" relativePoint="LEFT"> |
||
866 | <Offset> |
||
867 | <AbsDimension x="3" y="0"/> |
||
868 | </Offset> |
||
869 | </Anchor> |
||
870 | </Anchors> |
||
871 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Pin"> |
||
872 | <TexCoords left="0" right="0.46875" top="0.5" bottom="0.453125"/> |
||
873 | </NormalTexture> |
||
874 | |||
875 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Pin"> |
||
876 | <TexCoords left="0" right="0.46875" top="0.5" bottom="0.953125"/> |
||
877 | </PushedTexture> |
||
878 | |||
879 | <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"> |
||
880 | <TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/> |
||
881 | </HighlightTexture> |
||
882 | |||
883 | <Scripts> |
||
884 | <OnLoad> |
||
885 | this.SetButtonTex = function() |
||
886 | local tex = XPerl_CheckTitleBarPin:GetNormalTexture() |
||
887 | if (XPerl_Admin.CheckPinned) then |
||
888 | tex:SetTexCoord(0.5, 0.96875, 0, 0.453125) |
||
889 | else |
||
890 | tex:SetTexCoord(0, 0.46875, 0, 0.453125) |
||
891 | end |
||
892 | |||
893 | tex = XPerl_CheckTitleBarPin:GetPushedTexture() |
||
894 | if (XPerl_Admin.CheckPinned) then |
||
895 | tex:SetTexCoord(0.5, 0.96875, 0.5, 0.953125) |
||
896 | else |
||
897 | tex:SetTexCoord(0, 0.46875, 0.5, 0.953125) |
||
898 | end |
||
899 | end |
||
900 | this.tooltipText = XPERL_BUTTON_ADMIN_PIN |
||
901 | </OnLoad> |
||
902 | <OnClick> |
||
903 | XPerl_Admin.CheckPinned = not XPerl_Admin.CheckPinned |
||
904 | this:SetButtonTex() |
||
905 | </OnClick> |
||
906 | </Scripts> |
||
907 | </Button> |
||
908 | <Button name="$parentLockOpen" inherits="XPerl_BasicButton"> |
||
909 | <Size> |
||
910 | <AbsDimension x="12" y="12"/> |
||
911 | </Size> |
||
912 | <Anchors> |
||
913 | <Anchor point="RIGHT" relativeTo="$parentPin" relativePoint="LEFT"/> |
||
914 | </Anchors> |
||
915 | <NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits"> |
||
916 | <TexCoords left="0.5" right="0.5703125" top="0.00390625" bottom="0.0703125"/> |
||
917 | </NormalTexture> |
||
918 | |||
919 | <PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits"> |
||
920 | <TexCoords left="0.5" right="0.5703125" top="0.078125" bottom="0.14453125"/> |
||
921 | </PushedTexture> |
||
922 | |||
923 | <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"> |
||
924 | <TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/> |
||
925 | </HighlightTexture> |
||
926 | |||
927 | <Scripts> |
||
928 | <OnLoad> |
||
929 | this.SetButtonTex = function() |
||
930 | local tex = XPerl_CheckTitleBarLockOpen:GetNormalTexture() |
||
931 | if (XPerl_Admin.CheckLockOpen) then |
||
932 | tex:SetTexCoord(0.5, 0.5703125, 0.078125, 0.14453125) |
||
933 | else |
||
934 | tex:SetTexCoord(0.5, 0.5703125, 0.00390625, 0.0703125) |
||
935 | end |
||
936 | end |
||
937 | this.tooltipText = XPERL_BUTTON_ADMIN_LOCKOPEN |
||
938 | </OnLoad> |
||
939 | <OnClick> |
||
940 | XPerl_Admin.CheckLockOpen = not XPerl_Admin.CheckLockOpen |
||
941 | this:SetButtonTex() |
||
942 | </OnClick> |
||
943 | </Scripts> |
||
944 | </Button> |
||
945 | </Frames> |
||
946 | </Frame> |
||
947 | <Frame name="$parentList" hidden="true"> |
||
948 | <Scripts> |
||
949 | <OnShow> |
||
950 | XPerl_Check_UpdateItemList() |
||
951 | XPerl_Check_MakePlayerList() |
||
952 | XPerl_Check_ShowInfo() |
||
953 | </OnShow> |
||
954 | </Scripts> |
||
955 | <Size> |
||
956 | <AbsDimension x="460" y="178"/> |
||
957 | </Size> |
||
958 | <Anchors> |
||
959 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentTitleBar"/> |
||
960 | </Anchors> |
||
961 | <Frames> |
||
962 | <Button name="$parentItems" inherits="XPerl_CheckListTemplate" id="1"> |
||
963 | <Anchors> |
||
964 | <Anchor point="TOPLEFT"/> |
||
965 | </Anchors> |
||
966 | </Button> |
||
967 | <Button name="$parentPlayers" inherits="XPerl_NormalListTemplate" id="2"> |
||
968 | <Anchors> |
||
969 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentItems"/> |
||
970 | </Anchors> |
||
971 | </Button> |
||
972 | </Frames> |
||
973 | </Frame> |
||
974 | <Frame name="$parentButton" hidden="true"> |
||
975 | <Scripts> |
||
976 | <OnUpdate> |
||
977 | XPerl_Check_ShowInfo() |
||
978 | if (not XPerl_Check.forcedOpen and not XPerl_Admin.CheckLockOpen) then |
||
979 | local f = GetMouseFocus() |
||
980 | if (f) then |
||
981 | while (f:GetParent() and f:GetParent() ~= UIParent) do |
||
982 | f = f:GetParent() |
||
983 | end |
||
984 | |||
985 | if (f ~= XPerl_Check) then |
||
986 | XPerl_Check:SetWidth(130) |
||
987 | XPerl_Check:SetHeight(18) |
||
988 | XPerl_CheckList:Hide() |
||
989 | XPerl_CheckButton:Hide() |
||
990 | XPerl_CheckTitleBarLockOpen:Hide() |
||
991 | end |
||
992 | end |
||
993 | end |
||
994 | </OnUpdate> |
||
995 | </Scripts> |
||
996 | <Anchors> |
||
997 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentList"> |
||
998 | <Offset> |
||
999 | <AbsDimension x="0" y="-2"/> |
||
1000 | </Offset> |
||
1001 | </Anchor> |
||
1002 | <Anchor point="BOTTOMRIGHT"> |
||
1003 | <Offset> |
||
1004 | <AbsDimension x="-3" y="3"/> |
||
1005 | </Offset> |
||
1006 | </Anchor> |
||
1007 | </Anchors> |
||
1008 | <Frames> |
||
1009 | <Button name="$parentQuery" inherits="XPerl_CheckButtonTemplate"> |
||
1010 | <Anchors> |
||
1011 | <Anchor point="TOPLEFT"/> |
||
1012 | </Anchors> |
||
1013 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1014 | <TexCoords left="0" right="0.125" top="0" bottom="0.25"/> |
||
1015 | </NormalTexture> |
||
1016 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1017 | <TexCoords left="0.125" right="0.25" top="0" bottom="0.25"/> |
||
1018 | </PushedTexture> |
||
1019 | <DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1020 | <TexCoords left="0.25" right="0.375" top="0" bottom="0.25"/> |
||
1021 | </DisabledTexture> |
||
1022 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1023 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1024 | </HighlightTexture> |
||
1025 | <Scripts> |
||
1026 | <OnLoad> |
||
1027 | this.tooltipText = "XPERL_CHECK_QUERY_DESC" |
||
1028 | </OnLoad> |
||
1029 | <OnClick> |
||
1030 | XPerl_Check_Query() |
||
1031 | </OnClick> |
||
1032 | </Scripts> |
||
1033 | </Button> |
||
1034 | |||
1035 | <Button name="$parentSelectLast" inherits="XPerl_CheckButtonTemplate"> |
||
1036 | <Anchors> |
||
1037 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentQuery"/> |
||
1038 | </Anchors> |
||
1039 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1040 | <TexCoords left="0.375" right="0.5" top="0.25" bottom="0.5"/> |
||
1041 | </NormalTexture> |
||
1042 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1043 | <TexCoords left="0.5" right="0.625" top="0.25" bottom="0.5"/> |
||
1044 | </PushedTexture> |
||
1045 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1046 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1047 | </HighlightTexture> |
||
1048 | <Scripts> |
||
1049 | <OnLoad> |
||
1050 | this.tooltipText = "XPERL_CHECK_LAST_DESC" |
||
1051 | </OnLoad> |
||
1052 | <OnClick> |
||
1053 | XPerl_Check_TickLastResults() |
||
1054 | </OnClick> |
||
1055 | </Scripts> |
||
1056 | </Button> |
||
1057 | |||
1058 | <Button name="$parentSelectAll" inherits="XPerl_CheckButtonTemplate"> |
||
1059 | <Anchors> |
||
1060 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSelectLast"/> |
||
1061 | </Anchors> |
||
1062 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1063 | <TexCoords left="0.5" right="0.625" top="0" bottom="0.25"/> |
||
1064 | </NormalTexture> |
||
1065 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1066 | <TexCoords left="0.625" right="0.75" top="0" bottom="0.25"/> |
||
1067 | </PushedTexture> |
||
1068 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1069 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1070 | </HighlightTexture> |
||
1071 | <Scripts> |
||
1072 | <OnLoad> |
||
1073 | this.tooltipText = "XPERL_CHECK_ALL_DESC" |
||
1074 | </OnLoad> |
||
1075 | <OnClick> |
||
1076 | XPerl_Check_TickAll(true) |
||
1077 | </OnClick> |
||
1078 | </Scripts> |
||
1079 | </Button> |
||
1080 | |||
1081 | <Button name="$parentSelectNone" inherits="XPerl_CheckButtonTemplate"> |
||
1082 | <Anchors> |
||
1083 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSelectAll"/> |
||
1084 | </Anchors> |
||
1085 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1086 | <TexCoords left="0.75" right="0.875" top="0" bottom="0.25"/> |
||
1087 | </NormalTexture> |
||
1088 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1089 | <TexCoords left="0.875" right="1" top="0" bottom="0.25"/> |
||
1090 | </PushedTexture> |
||
1091 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1092 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1093 | </HighlightTexture> |
||
1094 | <Scripts> |
||
1095 | <OnLoad> |
||
1096 | this.tooltipText = "XPERL_CHECK_NONE_DESC" |
||
1097 | </OnLoad> |
||
1098 | <OnClick> |
||
1099 | XPerl_Check_TickAll() |
||
1100 | </OnClick> |
||
1101 | </Scripts> |
||
1102 | </Button> |
||
1103 | |||
1104 | <Button name="$parentDelete" inherits="XPerl_CheckButtonTemplate"> |
||
1105 | <Anchors> |
||
1106 | <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="XPerl_CheckListItems"> |
||
1107 | <Offset> |
||
1108 | <AbsDimension x="0" y="-2"/> |
||
1109 | </Offset> |
||
1110 | </Anchor> |
||
1111 | </Anchors> |
||
1112 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1113 | <TexCoords left="0" right="0.125" top="0.25" bottom="0.5"/> |
||
1114 | </NormalTexture> |
||
1115 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1116 | <TexCoords left="0.125" right="0.25" top="0.25" bottom="0.5"/> |
||
1117 | </PushedTexture> |
||
1118 | <DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1119 | <TexCoords left="0.25" right="0.375" top="0.25" bottom="0.5"/> |
||
1120 | </DisabledTexture> |
||
1121 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1122 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1123 | </HighlightTexture> |
||
1124 | <Scripts> |
||
1125 | <OnLoad> |
||
1126 | this.tooltipText = "XPERL_CHECK_DELETE_DESC" |
||
1127 | </OnLoad> |
||
1128 | <OnClick> |
||
1129 | XPerl_Check_DeleteSelectedItems() |
||
1130 | </OnClick> |
||
1131 | </Scripts> |
||
1132 | </Button> |
||
1133 | |||
1134 | <Button name="$parentEquiped" inherits="XPerl_CheckButtonTemplate"> |
||
1135 | <Anchors> |
||
1136 | <Anchor point="TOPRIGHT"/> |
||
1137 | </Anchors> |
||
1138 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1139 | <TexCoords left="0.375" right="0.5" top="0.5" bottom="0.75"/> |
||
1140 | </NormalTexture> |
||
1141 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1142 | <TexCoords left="0.5" right="0.625" top="0.5" bottom="0.75"/> |
||
1143 | </PushedTexture> |
||
1144 | <DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1145 | <TexCoords left="0.625" right="0.75" top="0.5" bottom="0.75"/> |
||
1146 | </DisabledTexture> |
||
1147 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1148 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1149 | </HighlightTexture> |
||
1150 | <Scripts> |
||
1151 | <OnLoad> |
||
1152 | this.tooltipText = "XPERL_CHECK_SCAN_DESC" |
||
1153 | </OnLoad> |
||
1154 | <OnClick> |
||
1155 | XPerl_Check_StartActiveScan() |
||
1156 | </OnClick> |
||
1157 | </Scripts> |
||
1158 | </Button> |
||
1159 | |||
1160 | <Button name="$parentReportWithout" inherits="XPerl_CheckButtonTemplate"> |
||
1161 | <Anchors> |
||
1162 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentEquiped"/> |
||
1163 | </Anchors> |
||
1164 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1165 | <TexCoords left="0.375" right="0.5" top="0.75" bottom="1"/> |
||
1166 | </NormalTexture> |
||
1167 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1168 | <TexCoords left="0.5" right="0.625" top="0.75" bottom="1"/> |
||
1169 | </PushedTexture> |
||
1170 | <DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1171 | <TexCoords left="0.625" right="0.75" top="0.75" bottom="1"/> |
||
1172 | </DisabledTexture> |
||
1173 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1174 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1175 | </HighlightTexture> |
||
1176 | <Scripts> |
||
1177 | <OnLoad> |
||
1178 | this.tooltipText = "XPERL_CHECK_REPORT_WITHOUT_DESC" |
||
1179 | </OnLoad> |
||
1180 | <OnClick> |
||
1181 | XPerl_Check_Report("without") |
||
1182 | </OnClick> |
||
1183 | </Scripts> |
||
1184 | </Button> |
||
1185 | |||
1186 | <Button name="$parentReportWith" inherits="XPerl_CheckButtonTemplate"> |
||
1187 | <Anchors> |
||
1188 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentReportWithout"/> |
||
1189 | </Anchors> |
||
1190 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1191 | <TexCoords left="0" right="0.125" top="0.75" bottom="1"/> |
||
1192 | </NormalTexture> |
||
1193 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1194 | <TexCoords left="0.125" right="0.25" top="0.75" bottom="1"/> |
||
1195 | </PushedTexture> |
||
1196 | <DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1197 | <TexCoords left="0.25" right="0.375" top="0.75" bottom="1"/> |
||
1198 | </DisabledTexture> |
||
1199 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1200 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1201 | </HighlightTexture> |
||
1202 | <Scripts> |
||
1203 | <OnLoad> |
||
1204 | this.tooltipText = "XPERL_CHECK_REPORT_WITH_DESC" |
||
1205 | </OnLoad> |
||
1206 | <OnClick> |
||
1207 | XPerl_Check_Report("with") |
||
1208 | </OnClick> |
||
1209 | </Scripts> |
||
1210 | </Button> |
||
1211 | |||
1212 | <Button name="$parentReport" inherits="XPerl_CheckButtonTemplate"> |
||
1213 | <Anchors> |
||
1214 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentReportWith"/> |
||
1215 | </Anchors> |
||
1216 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1217 | <TexCoords left="0" right="0.125" top="0.5" bottom="0.75"/> |
||
1218 | </NormalTexture> |
||
1219 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1220 | <TexCoords left="0.125" right="0.25" top="0.5" bottom="0.75"/> |
||
1221 | </PushedTexture> |
||
1222 | <DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1223 | <TexCoords left="0.25" right="0.375" top="0.5" bottom="0.75"/> |
||
1224 | </DisabledTexture> |
||
1225 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1226 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1227 | </HighlightTexture> |
||
1228 | <Scripts> |
||
1229 | <OnLoad> |
||
1230 | this.tooltipText = "XPERL_CHECK_REPORT_DESC" |
||
1231 | </OnLoad> |
||
1232 | <OnClick> |
||
1233 | XPerl_Check_Report() |
||
1234 | </OnClick> |
||
1235 | </Scripts> |
||
1236 | </Button> |
||
1237 | |||
1238 | <Button name="$parentPlayer" inherits="XPerl_CheckButtonTemplate"> |
||
1239 | <Anchors> |
||
1240 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentReport"/> |
||
1241 | </Anchors> |
||
1242 | <NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1243 | <TexCoords left="0.75" right="0.875" top="0.75" bottom="1"/> |
||
1244 | </NormalTexture> |
||
1245 | <PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1246 | <TexCoords left="0.875" right="1" top="0.75" bottom="1"/> |
||
1247 | </PushedTexture> |
||
1248 | <DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check"> |
||
1249 | <TexCoords left="0.875" right="1" top="0.25" bottom="0.5"/> |
||
1250 | </DisabledTexture> |
||
1251 | <HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD"> |
||
1252 | <TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/> |
||
1253 | </HighlightTexture> |
||
1254 | <Layers> |
||
1255 | <Layer level="BACKGROUND"> |
||
1256 | <Texture> |
||
1257 | <Color r="0" g="0" b="0"/> |
||
1258 | <Anchors> |
||
1259 | <Anchor point="TOPLEFT"> |
||
1260 | <Offset> |
||
1261 | <AbsDimension x="4" y="-4"/> |
||
1262 | </Offset> |
||
1263 | </Anchor> |
||
1264 | <Anchor point="BOTTOMRIGHT"> |
||
1265 | <Offset> |
||
1266 | <AbsDimension x="-4" y="4"/> |
||
1267 | </Offset> |
||
1268 | </Anchor> |
||
1269 | </Anchors> |
||
1270 | </Texture> |
||
1271 | </Layer> |
||
1272 | <Layer level="BORDER"> |
||
1273 | <Texture name="$parentPortrait"> |
||
1274 | <Anchors> |
||
1275 | <Anchor point="TOPLEFT"> |
||
1276 | <Offset> |
||
1277 | <AbsDimension x="6" y="-6"/> |
||
1278 | </Offset> |
||
1279 | </Anchor> |
||
1280 | <Anchor point="BOTTOMRIGHT"> |
||
1281 | <Offset> |
||
1282 | <AbsDimension x="-6" y="6"/> |
||
1283 | </Offset> |
||
1284 | </Anchor> |
||
1285 | </Anchors> |
||
1286 | </Texture> |
||
1287 | </Layer> |
||
1288 | </Layers> |
||
1289 | <Scripts> |
||
1290 | <OnLoad> |
||
1291 | this.tooltipText = "XPERL_CHECK_REPORTPLAYER_DESC" |
||
1292 | </OnLoad> |
||
1293 | <OnClick> |
||
1294 | XPerl_Check_Report("player") |
||
1295 | </OnClick> |
||
1296 | <OnMouseDown> |
||
1297 | if (arg1 == "LeftButton" and this:IsEnabled() == 1) then |
||
1298 | getglobal(this:GetName().."Portrait"):SetPoint("TOPLEFT", 7, -7) |
||
1299 | getglobal(this:GetName().."Portrait"):SetPoint("BOTTOMRIGHT", -5, 5) |
||
1300 | end |
||
1301 | </OnMouseDown> |
||
1302 | <OnMouseUp> |
||
1303 | getglobal(this:GetName().."Portrait"):SetPoint("TOPLEFT", 6, -6) |
||
1304 | getglobal(this:GetName().."Portrait"):SetPoint("BOTTOMRIGHT", -6, 6) |
||
1305 | </OnMouseUp> |
||
1306 | </Scripts> |
||
1307 | </Button> |
||
1308 | </Frames> |
||
1309 | <Layers> |
||
1310 | <Layer level="BACKGROUND"> |
||
1311 | <FontString name="$parentInfo" inherits="GameFontNormal" justifyH="LEFT" justifyV="CENTER"> |
||
1312 | <Anchors> |
||
1313 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentReport"/> |
||
1314 | <Anchor point="BOTTOMRIGHT"> |
||
1315 | <Offset> |
||
1316 | <AbsDimension x="-3" y="2"/> |
||
1317 | </Offset> |
||
1318 | </Anchor> |
||
1319 | </Anchors> |
||
1320 | </FontString> |
||
1321 | </Layer> |
||
1322 | </Layers> |
||
1323 | </Frame> |
||
1324 | |||
1325 | <!--Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" id="1"> |
||
1326 | <Anchors> |
||
1327 | <Anchor point="TOP"/> |
||
1328 | </Anchors> |
||
1329 | <Scripts> |
||
1330 | <OnLoad> |
||
1331 | XPerl_Check_PlayerDropDown_OnLoad() |
||
1332 | </OnLoad> |
||
1333 | </Scripts> |
||
1334 | </Frame--> |
||
1335 | </Frames> |
||
1336 | </Frame> |
||
1337 | </Ui> |