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/ ..\FrameXML\UI.xsd">
2 <Script file="GEM_Players.lua"/>
3  
4 <!-- column header template -->
5 <Button name="GEMPlayersFrameColumnHeaderTemplate" virtual="true">
6 <Size>
7 <AbsDimension x="10" y="24"/>
8 </Size>
9 <Layers>
10 <Layer level="BACKGROUND">
11 <Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
12 <Size>
13 <AbsDimension x="5" y="24"/>
14 </Size>
15 <Anchors>
16 <Anchor point="TOPLEFT"/>
17 </Anchors>
18 <TexCoords left="0" right="0.078125" top="0" bottom="0.75"/>
19 </Texture>
20 <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
21 <Size>
22 <AbsDimension x="53" y="24"/>
23 </Size>
24 <Anchors>
25 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
26 </Anchors>
27 <TexCoords left="0.078125" right="0.90625" top="0" bottom="0.75"/>
28 </Texture>
29 <Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
30 <Size>
31 <AbsDimension x="4" y="24"/>
32 </Size>
33 <Anchors>
34 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
35 </Anchors>
36 <TexCoords left="0.90625" right="0.96875" top="0" bottom="0.75"/>
37 </Texture>
38 </Layer>
39 </Layers>
40 <Scripts>
41 <OnClick>
42 PlaySound("igMainMenuOptionCheckBoxOn");
43 GEMPlayers_SortBy(this.sortType, this.sortDir);
44 this.sortDir = not this.sortDir;
45 </OnClick>
46 </Scripts>
47 <NormalText inherits="GameFontHighlightSmall">
48 <Anchors>
49 <Anchor point="LEFT">
50 <Offset>
51 <AbsDimension x="8" y="0"/>
52 </Offset>
53 </Anchor>
54 </Anchors>
55 </NormalText>
56 </Button>
57  
58 <Button name="GEMPlayerItemTemplate" virtual="true">
59 <Size>
60 <AbsDimension x="465" y="16"/>
61 </Size>
62 <Layers>
63 <Layer level="BORDER">
64 <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
65 <Size>
66 <AbsDimension x="98" y="14"/>
67 </Size>
68 <Anchors>
69 <Anchor point="TOPLEFT">
70 <Offset>
71 <AbsDimension x="2" y="-3"/>
72 </Offset>
73 </Anchor>
74 </Anchors>
75 </FontString>
76 <FontString name="$parentGuild" inherits="GameFontHighlightSmall" justifyH="LEFT">
77 <Size>
78 <AbsDimension x="118" y="14"/>
79 </Size>
80 <Anchors>
81 <Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT">
82 <Offset>
83 <AbsDimension x="0" y="0"/>
84 </Offset>
85 </Anchor>
86 </Anchors>
87 </FontString>
88 <FontString name="$parentLocation" inherits="GameFontHighlightSmall" justifyH="LEFT">
89 <Size>
90 <AbsDimension x="128" y="14"/>
91 </Size>
92 <Anchors>
93 <Anchor point="LEFT" relativeTo="$parentGuild" relativePoint="RIGHT">
94 <Offset>
95 <AbsDimension x="0" y="0"/>
96 </Offset>
97 </Anchor>
98 </Anchors>
99 </FontString>
100 <FontString name="$parentLevel" inherits="GameFontHighlightSmall" justifyH="CENTER">
101 <Size>
102 <AbsDimension x="38" y="14"/>
103 </Size>
104 <Anchors>
105 <Anchor point="LEFT" relativeTo="$parentLocation" relativePoint="RIGHT">
106 <Offset>
107 <AbsDimension x="0" y="0"/>
108 </Offset>
109 </Anchor>
110 </Anchors>
111 </FontString>
112 <FontString name="$parentClass" inherits="GameFontHighlightSmall" justifyH="LEFT">
113 <Size>
114 <AbsDimension x="93" y="14"/>
115 </Size>
116 <Anchors>
117 <Anchor point="LEFT" relativeTo="$parentLevel" relativePoint="RIGHT">
118 <Offset>
119 <AbsDimension x="0" y="0"/>
120 </Offset>
121 </Anchor>
122 </Anchors>
123 </FontString>
124 </Layer>
125 </Layers>
126 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
127 <Size>
128 <AbsDimension x="465" y="16"/>
129 </Size>
130 <Anchors>
131 <Anchor point="TOP">
132 <Offset>
133 <AbsDimension x="0" y="-2"/>
134 </Offset>
135 </Anchor>
136 </Anchors>
137 </HighlightTexture>
138 <Scripts>
139 <OnClick>
140 GEMPlayers_PlayerOnClick();
141 </OnClick>
142 <OnEnter>
143 GEMPlayers_PlayerOnHover();
144 </OnEnter>
145 <OnLeave>
146 GameTooltip:Hide();
147 </OnLeave>
148 </Scripts>
149 </Button>
150  
151 <Frame name="GEMPlayersFrame" parent="GEMMainFrame" inherits="GEMTabFrame">
152 <Layers>
153 <Layer level="BACKGROUND">
154 <FontString name="GEMPlayersFrameSeeOfflineString" inherits="GameFontHighlightSmall" justifyH="LEFT" text="GEM_TEXT_PLAYERS_SEEOFFLINE">
155 <Size>
156 <AbsDimension x="120" y="16"/>
157 </Size>
158 <Anchors>
159 <Anchor point="BOTTOMLEFT" relativeTo="GEMPlayersFrame" relativePoint="BOTTOMLEFT">
160 <Offset>
161 <AbsDimension x="40" y="-37"/>
162 </Offset>
163 </Anchor>
164 </Anchors>
165 </FontString>
166 <FontString name="GEMPlayersFrameCountString" inherits="GameFontNormalSmall" justifyH="LEFT" text="">
167 <Size>
168 <AbsDimension x="140" y="16"/>
169 </Size>
170 <Anchors>
171 <Anchor point="LEFT" relativeTo="GEMPlayersFrameSeeOfflineString" relativePoint="RIGHT">
172 <Offset>
173 <AbsDimension x="10" y="0"/>
174 </Offset>
175 </Anchor>
176 </Anchors>
177 </FontString>
178 </Layer>
179 </Layers>
180 <Frames>
181 <Button name="GEMPlayersFrameColumnHeader1" inherits="GEMPlayersFrameColumnHeaderTemplate" text="GEM_HEADER_PLAYERS_NAME">
182 <Anchors>
183 <Anchor point="TOPLEFT">
184 <Offset>
185 <AbsDimension x="15" y="0"/>
186 </Offset>
187 </Anchor>
188 </Anchors>
189 <Scripts>
190 <OnLoad>
191 GEMSetColumnWidth(100);
192 this.sortDir = true;
193 this.sortType = GEM_PLAYERS_SORTBY_NAME;
194 </OnLoad>
195 </Scripts>
196 </Button>
197 <Button name="GEMPlayersFrameColumnHeader2" inherits="GEMPlayersFrameColumnHeaderTemplate" text="GEM_HEADER_PLAYERS_GUILD">
198 <Anchors>
199 <Anchor point="LEFT" relativeTo="GEMPlayersFrameColumnHeader1" relativePoint="RIGHT">
200 <Offset>
201 <AbsDimension x="-2" y="0"/>
202 </Offset>
203 </Anchor>
204 </Anchors>
205 <Scripts>
206 <OnLoad>
207 GEMSetColumnWidth(120);
208 this.sortDir = true;
209 this.sortType = GEM_PLAYERS_SORTBY_GUILD;
210 </OnLoad>
211 </Scripts>
212 </Button>
213 <Button name="GEMPlayersFrameColumnHeader3" inherits="GEMPlayersFrameColumnHeaderTemplate" text="GEM_HEADER_PLAYERS_LOCATION">
214 <Anchors>
215 <Anchor point="LEFT" relativeTo="GEMPlayersFrameColumnHeader2" relativePoint="RIGHT">
216 <Offset>
217 <AbsDimension x="-2" y="0"/>
218 </Offset>
219 </Anchor>
220 </Anchors>
221 <Scripts>
222 <OnLoad>
223 GEMSetColumnWidth(130);
224 this.sortDir = true;
225 this.sortType = GEM_PLAYERS_SORTBY_LOCATION;
226 </OnLoad>
227 </Scripts>
228 </Button>
229 <Button name="GEMPlayersFrameColumnHeader4" inherits="GEMPlayersFrameColumnHeaderTemplate" text="GEM_HEADER_PLAYERS_LEVEL">
230 <Anchors>
231 <Anchor point="LEFT" relativeTo="GEMPlayersFrameColumnHeader3" relativePoint="RIGHT">
232 <Offset>
233 <AbsDimension x="-2" y="0"/>
234 </Offset>
235 </Anchor>
236 </Anchors>
237 <Scripts>
238 <OnLoad>
239 GEMSetColumnWidth(40);
240 this.sortDir = true;
241 this.sortType = GEM_PLAYERS_SORTBY_LEVEL;
242 </OnLoad>
243 </Scripts>
244 </Button>
245 <Button name="GEMPlayersFrameColumnHeader5" inherits="GEMPlayersFrameColumnHeaderTemplate" text="GEM_HEADER_PLAYERS_CLASS">
246 <Anchors>
247 <Anchor point="LEFT" relativeTo="GEMPlayersFrameColumnHeader4" relativePoint="RIGHT">
248 <Offset>
249 <AbsDimension x="-2" y="0"/>
250 </Offset>
251 </Anchor>
252 </Anchors>
253 <Scripts>
254 <OnLoad>
255 GEMSetColumnWidth(95);
256 this.sortDir = true;
257 this.sortType = GEM_PLAYERS_SORTBY_CLASS;
258 </OnLoad>
259 </Scripts>
260 </Button>
261 <Button name="GEMPlayerItem1" inherits="GEMPlayerItemTemplate" id="1">
262 <Anchors>
263 <Anchor point="TOPLEFT" relativeTo="GEMPlayersFrameColumnHeader1" relativePoint="BOTTOMLEFT">
264 <Offset>
265 <AbsDimension x="0" y="0"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269 </Button>
270 <Button name="GEMPlayerItem2" inherits="GEMPlayerItemTemplate" id="1">
271 <Anchors>
272 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem1" relativePoint="BOTTOMLEFT">
273 <Offset>
274 <AbsDimension x="0" y="0"/>
275 </Offset>
276 </Anchor>
277 </Anchors>
278 </Button>
279 <Button name="GEMPlayerItem3" inherits="GEMPlayerItemTemplate" id="1">
280 <Anchors>
281 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem2" relativePoint="BOTTOMLEFT">
282 <Offset>
283 <AbsDimension x="0" y="0"/>
284 </Offset>
285 </Anchor>
286 </Anchors>
287 </Button>
288 <Button name="GEMPlayerItem4" inherits="GEMPlayerItemTemplate" id="1">
289 <Anchors>
290 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem3" relativePoint="BOTTOMLEFT">
291 <Offset>
292 <AbsDimension x="0" y="0"/>
293 </Offset>
294 </Anchor>
295 </Anchors>
296 </Button>
297 <Button name="GEMPlayerItem5" inherits="GEMPlayerItemTemplate" id="1">
298 <Anchors>
299 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem4" relativePoint="BOTTOMLEFT">
300 <Offset>
301 <AbsDimension x="0" y="0"/>
302 </Offset>
303 </Anchor>
304 </Anchors>
305 </Button>
306 <Button name="GEMPlayerItem6" inherits="GEMPlayerItemTemplate" id="1">
307 <Anchors>
308 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem5" relativePoint="BOTTOMLEFT">
309 <Offset>
310 <AbsDimension x="0" y="0"/>
311 </Offset>
312 </Anchor>
313 </Anchors>
314 </Button>
315 <Button name="GEMPlayerItem7" inherits="GEMPlayerItemTemplate" id="1">
316 <Anchors>
317 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem6" relativePoint="BOTTOMLEFT">
318 <Offset>
319 <AbsDimension x="0" y="0"/>
320 </Offset>
321 </Anchor>
322 </Anchors>
323 </Button>
324 <Button name="GEMPlayerItem8" inherits="GEMPlayerItemTemplate" id="1">
325 <Anchors>
326 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem7" relativePoint="BOTTOMLEFT">
327 <Offset>
328 <AbsDimension x="0" y="0"/>
329 </Offset>
330 </Anchor>
331 </Anchors>
332 </Button>
333 <Button name="GEMPlayerItem9" inherits="GEMPlayerItemTemplate" id="1">
334 <Anchors>
335 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem8" relativePoint="BOTTOMLEFT">
336 <Offset>
337 <AbsDimension x="0" y="0"/>
338 </Offset>
339 </Anchor>
340 </Anchors>
341 </Button>
342 <Button name="GEMPlayerItem10" inherits="GEMPlayerItemTemplate" id="1">
343 <Anchors>
344 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem9" relativePoint="BOTTOMLEFT">
345 <Offset>
346 <AbsDimension x="0" y="0"/>
347 </Offset>
348 </Anchor>
349 </Anchors>
350 </Button>
351 <Button name="GEMPlayerItem11" inherits="GEMPlayerItemTemplate" id="1">
352 <Anchors>
353 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem10" relativePoint="BOTTOMLEFT">
354 <Offset>
355 <AbsDimension x="0" y="0"/>
356 </Offset>
357 </Anchor>
358 </Anchors>
359 </Button>
360 <Button name="GEMPlayerItem12" inherits="GEMPlayerItemTemplate" id="1">
361 <Anchors>
362 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem11" relativePoint="BOTTOMLEFT">
363 <Offset>
364 <AbsDimension x="0" y="0"/>
365 </Offset>
366 </Anchor>
367 </Anchors>
368 </Button>
369 <Button name="GEMPlayerItem13" inherits="GEMPlayerItemTemplate" id="1">
370 <Anchors>
371 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem12" relativePoint="BOTTOMLEFT">
372 <Offset>
373 <AbsDimension x="0" y="0"/>
374 </Offset>
375 </Anchor>
376 </Anchors>
377 </Button>
378 <Button name="GEMPlayerItem14" inherits="GEMPlayerItemTemplate" id="1">
379 <Anchors>
380 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem13" relativePoint="BOTTOMLEFT">
381 <Offset>
382 <AbsDimension x="0" y="0"/>
383 </Offset>
384 </Anchor>
385 </Anchors>
386 </Button>
387 <Button name="GEMPlayerItem15" inherits="GEMPlayerItemTemplate" id="1">
388 <Anchors>
389 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem14" relativePoint="BOTTOMLEFT">
390 <Offset>
391 <AbsDimension x="0" y="0"/>
392 </Offset>
393 </Anchor>
394 </Anchors>
395 </Button>
396 <Button name="GEMPlayerItem16" inherits="GEMPlayerItemTemplate" id="1">
397 <Anchors>
398 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem15" relativePoint="BOTTOMLEFT">
399 <Offset>
400 <AbsDimension x="0" y="0"/>
401 </Offset>
402 </Anchor>
403 </Anchors>
404 </Button>
405 <Button name="GEMPlayerItem17" inherits="GEMPlayerItemTemplate" id="1">
406 <Anchors>
407 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem16" relativePoint="BOTTOMLEFT">
408 <Offset>
409 <AbsDimension x="0" y="0"/>
410 </Offset>
411 </Anchor>
412 </Anchors>
413 </Button>
414 <Button name="GEMPlayerItem18" inherits="GEMPlayerItemTemplate" id="1">
415 <Anchors>
416 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem17" relativePoint="BOTTOMLEFT">
417 <Offset>
418 <AbsDimension x="0" y="0"/>
419 </Offset>
420 </Anchor>
421 </Anchors>
422 </Button>
423 <Button name="GEMPlayerItem19" inherits="GEMPlayerItemTemplate" id="1">
424 <Anchors>
425 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem18" relativePoint="BOTTOMLEFT">
426 <Offset>
427 <AbsDimension x="0" y="0"/>
428 </Offset>
429 </Anchor>
430 </Anchors>
431 </Button>
432 <Button name="GEMPlayerItem20" inherits="GEMPlayerItemTemplate" id="1">
433 <Anchors>
434 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem19" relativePoint="BOTTOMLEFT">
435 <Offset>
436 <AbsDimension x="0" y="0"/>
437 </Offset>
438 </Anchor>
439 </Anchors>
440 </Button>
441 <Button name="GEMPlayerItem21" inherits="GEMPlayerItemTemplate" id="1">
442 <Anchors>
443 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem20" relativePoint="BOTTOMLEFT">
444 <Offset>
445 <AbsDimension x="0" y="0"/>
446 </Offset>
447 </Anchor>
448 </Anchors>
449 </Button>
450 <Button name="GEMPlayerItem22" inherits="GEMPlayerItemTemplate" id="1">
451 <Anchors>
452 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem21" relativePoint="BOTTOMLEFT">
453 <Offset>
454 <AbsDimension x="0" y="0"/>
455 </Offset>
456 </Anchor>
457 </Anchors>
458 </Button>
459 <Button name="GEMPlayerItem23" inherits="GEMPlayerItemTemplate" id="1">
460 <Anchors>
461 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem22" relativePoint="BOTTOMLEFT">
462 <Offset>
463 <AbsDimension x="0" y="0"/>
464 </Offset>
465 </Anchor>
466 </Anchors>
467 </Button>
468 <Button name="GEMPlayerItem24" inherits="GEMPlayerItemTemplate" id="1">
469 <Anchors>
470 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem23" relativePoint="BOTTOMLEFT">
471 <Offset>
472 <AbsDimension x="0" y="0"/>
473 </Offset>
474 </Anchor>
475 </Anchors>
476 </Button>
477 <Button name="GEMPlayerItem25" inherits="GEMPlayerItemTemplate" id="1">
478 <Anchors>
479 <Anchor point="TOPLEFT" relativeTo="GEMPlayerItem24" relativePoint="BOTTOMLEFT">
480 <Offset>
481 <AbsDimension x="0" y="0"/>
482 </Offset>
483 </Anchor>
484 </Anchors>
485 </Button>
486 <ScrollFrame name="GEMPlayerItemScrollFrame" inherits="FauxScrollFrameTemplate">
487 <Size>
488 <AbsDimension x="455" y="400" />
489 </Size>
490 <Anchors>
491 <Anchor point="TOPRIGHT" relativeTo="GEMPlayersFrameColumnHeader5" relativePoint="BOTTOMRIGHT">
492 <Offset>
493 <AbsDimension x="-23" y="-2"/>
494 </Offset>
495 </Anchor>
496 </Anchors>
497 <Scripts>
498 <OnVerticalScroll>
499 FauxScrollFrame_OnVerticalScroll(10, GEMPlayers_UpdatePlayersList);
500 </OnVerticalScroll>
501 </Scripts>
502 </ScrollFrame>
503 <Button name="GEM_Help_PlayersTab_Members" inherits="GEM_HelpTemplate" id="2">
504 <Anchors>
505 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="GEMPlayersFrameColumnHeader5">
506 <Offset>
507 <AbsDimension x="0" y="0"/>
508 </Offset>
509 </Anchor>
510 </Anchors>
511 </Button>
512 <!-- bottom buttons -->
513 <Button name="GEMPlayersFrameWhisper" inherits="UIPanelButtonTemplate" text="WHISPER_MESSAGE">
514 <Size>
515 <AbsDimension x="90" y="21"/>
516 </Size>
517 <Anchors>
518 <Anchor point="BOTTOMRIGHT" relativeTo="GEMPlayersFrame" relativePoint="BOTTOMRIGHT">
519 <Offset>
520 <AbsDimension x="-7" y="-40"/>
521 </Offset>
522 </Anchor>
523 </Anchors>
524 <Scripts>
525 <OnClick>
526 GEMPlayers_WhisperOnClick();
527 </OnClick>
528 </Scripts>
529 </Button>
530  
531 <Button name="GEMPlayersFrameInvite" inherits="UIPanelButtonTemplate" text="GROUP_INVITE">
532 <Size>
533 <AbsDimension x="90" y="21"/>
534 </Size>
535 <Anchors>
536 <Anchor point="RIGHT" relativeTo="GEMPlayersFrameWhisper" relativePoint="LEFT">
537 <Offset>
538 <AbsDimension x="0" y="0"/>
539 </Offset>
540 </Anchor>
541 </Anchors>
542 <Scripts>
543 <OnClick>
544 GEMPlayers_InviteOnClick();
545 </OnClick>
546 </Scripts>
547 </Button>
548 <CheckButton name="GEMPlayersFrameSeeOffline" inherits="OptionsCheckButtonTemplate">
549 <Anchors>
550 <Anchor point="RIGHT" relativeTo="GEMPlayersFrameSeeOfflineString" relativePoint="LEFT">
551 <Offset>
552 <AbsDimension x="0" y="-2"/>
553 </Offset>
554 </Anchor>
555 </Anchors>
556 <HitRectInsets>
557 <AbsInset left="0" right="0" top="0" bottom="0"/>
558 </HitRectInsets>
559 <Size>
560 <AbsDimension x="26" y="26"/>
561 </Size>
562 <Scripts>
563 <OnClick>
564 GEMPlayers_OnSeeOfflineClick();
565 </OnClick>
566 </Scripts>
567 </CheckButton>
568 </Frames>
569 <Scripts>
570 <OnShow>
571 GEMPlayers_OnShow();
572 </OnShow>
573 <OnLoad>
574 GEMPlayers_OnLoad();
575 </OnLoad>
576 </Scripts>
577 </Frame>
578  
579 </Ui>