vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
2 <!--
3 Version: 3.9.0.1000 (Kangaroo)
4 Revision: $Id: ListTemplate.xml 675 2006-01-05 19:33:38Z mentalpower $
5  
6 License:
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
11  
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16  
17 You should have received a copy of the GNU General Public License
18 along with this program(see GPL.txt); if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 -->
21 <Script file="ListTemplate.lua"/>
22  
23 <Button name="ListSortButtonTemplate" virtual="true">
24 <Layers>
25 <Layer level="BACKGROUND">
26 <Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
27 <Size>
28 <AbsDimension x="5" y="24"/>
29 </Size>
30 <Anchors>
31 <Anchor point="TOPLEFT"/>
32 </Anchors>
33 <TexCoords left="0" right="0.078125" top="0" bottom="0.59375"/>
34 </Texture>
35 <Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
36 <Size>
37 <AbsDimension x="4" y="24"/>
38 </Size>
39 <Anchors>
40 <Anchor point="TOPRIGHT"/>
41 </Anchors>
42 <TexCoords left="0.90625" right="0.96875" top="0" bottom="0.59375"/>
43 </Texture>
44 <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
45 <Size>
46 <AbsDimension x="10" y="24"/>
47 </Size>
48 <Anchors>
49 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
50 <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
51 </Anchors>
52 <TexCoords left="0.078125" right="0.90625" top="0" bottom="0.59375"/>
53 </Texture>
54 </Layer>
55 </Layers>
56 <NormalText name="$parentText" inherits="GameFontHighlightSmall">
57 <Anchors>
58 <Anchor point="LEFT">
59 <Offset>
60 <AbsDimension x="8" y="0"/>
61 </Offset>
62 </Anchor>
63 </Anchors>
64 </NormalText>
65 <NormalTexture name="$parentArrow" hidden="true" file="Interface\Buttons\UI-SortArrow">
66 <Size>
67 <AbsDimension x="9" y="8"/>
68 </Size>
69 <Anchors>
70 <Anchor point="LEFT" relativeTo="$parentText" relativePoint="RIGHT">
71 <Offset>
72 <AbsDimension x="3" y="-2"/>
73 </Offset>
74 </Anchor>
75 </Anchors>
76 <TexCoords left="0" right="0.5625" top="0" bottom="1.0"/>
77 </NormalTexture>
78 <HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
79 <Size>
80 <AbsDimension x="5" y="24"/>
81 </Size>
82 <Anchors>
83 <Anchor point="LEFT">
84 <Offset>
85 <AbsDimension x="0" y="0"/>
86 </Offset>
87 </Anchor>
88 <Anchor point="RIGHT">
89 <Offset>
90 <AbsDimension x="4" y="0"/>
91 </Offset>
92 </Anchor>
93 </Anchors>
94 </HighlightTexture>
95 </Button>
96  
97 <Button name="ListSortDropDownTemplate" virtual="true">
98 <Layers>
99 <Layer level="BACKGROUND">
100 <Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
101 <Size>
102 <AbsDimension x="5" y="24"/>
103 </Size>
104 <Anchors>
105 <Anchor point="TOPLEFT"/>
106 </Anchors>
107 <TexCoords left="0" right="0.078125" top="0" bottom="0.59375"/>
108 </Texture>
109 <Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
110 <Size>
111 <AbsDimension x="4" y="24"/>
112 </Size>
113 <Anchors>
114 <Anchor point="TOPRIGHT"/>
115 </Anchors>
116 <TexCoords left="0.90625" right="0.96875" top="0" bottom="0.59375"/>
117 </Texture>
118 <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
119 <Size>
120 <AbsDimension x="10" y="24"/>
121 </Size>
122 <Anchors>
123 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
124 <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
125 </Anchors>
126 <TexCoords left="0.078125" right="0.90625" top="0" bottom="0.59375"/>
127 </Texture>
128 </Layer>
129 </Layers>
130 <NormalText name="$parentText" inherits="GameFontHighlightSmall">
131 <Anchors>
132 <Anchor point="LEFT">
133 <Offset>
134 <AbsDimension x="12" y="0"/>
135 </Offset>
136 </Anchor>
137 </Anchors>
138 </NormalText>
139 <NormalTexture name="$parentArrow" hidden="true" file="Interface\Buttons\UI-SortArrow">
140 <Size>
141 <AbsDimension x="9" y="8"/>
142 </Size>
143 <Anchors>
144 <Anchor point="LEFT" relativeTo="$parentText" relativePoint="RIGHT">
145 <Offset>
146 <AbsDimension x="3" y="-2"/>
147 </Offset>
148 </Anchor>
149 </Anchors>
150 <TexCoords left="0" right="0.5625" top="0" bottom="1.0"/>
151 </NormalTexture>
152 <HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
153 <Size>
154 <AbsDimension x="5" y="24"/>
155 </Size>
156 <Anchors>
157 <Anchor point="LEFT">
158 <Offset>
159 <AbsDimension x="4" y="0"/>
160 </Offset>
161 </Anchor>
162 <Anchor point="RIGHT">
163 <Offset>
164 <AbsDimension x="-16" y="0"/>
165 </Offset>
166 </Anchor>
167 </Anchors>
168 </HighlightTexture>
169 </Button>
170  
171 <Button name="ListItemTemplate" hidden="true" virtual="true">
172 <Size>
173 <AbsDimension x="605" y="16"/>
174 </Size>
175 <Layers>
176 <Layer level="BORDER">
177 <FontString name="$parentColumn1" inherits="GameFontHighlight" wraponspaces="false" justifyH="LEFT">
178 <Size>
179 <AbsDimension x="100" y="16"/>
180 </Size>
181 <Anchors>
182 <Anchor point="TOPLEFT">
183 <Offset>
184 <AbsDimension x="10" y="0"/>
185 </Offset>
186 </Anchor>
187 </Anchors>
188 </FontString>
189 <FontString name="$parentColumn2" inherits="GameFontHighlight" wraponspaces="false" justifyH="LEFT">
190 <Size>
191 <AbsDimension x="100" y="16"/>
192 </Size>
193 <Anchors>
194 <Anchor point="TOPLEFT" relativeTo="$parentColumn1" relativePoint="TOPRIGHT">
195 <Offset>
196 <AbsDimension x="20" y="0"/>
197 </Offset>
198 </Anchor>
199 </Anchors>
200 </FontString>
201 <FontString name="$parentColumn3" inherits="GameFontHighlight" wraponspaces="false" justifyH="LEFT">
202 <Size>
203 <AbsDimension x="100" y="16"/>
204 </Size>
205 <Anchors>
206 <Anchor point="TOPLEFT" relativeTo="$parentColumn2" relativePoint="TOPRIGHT">
207 <Offset>
208 <AbsDimension x="20" y="0"/>
209 </Offset>
210 </Anchor>
211 </Anchors>
212 </FontString>
213 <FontString name="$parentColumn4" inherits="GameFontHighlight" wraponspaces="false" justifyH="LEFT">
214 <Size>
215 <AbsDimension x="100" y="16"/>
216 </Size>
217 <Anchors>
218 <Anchor point="TOPLEFT" relativeTo="$parentColumn3" relativePoint="TOPRIGHT">
219 <Offset>
220 <AbsDimension x="20" y="0"/>
221 </Offset>
222 </Anchor>
223 </Anchors>
224 </FontString>
225 <FontString name="$parentColumn5" inherits="GameFontHighlight" wraponspaces="false" justifyH="LEFT">
226 <Size>
227 <AbsDimension x="100" y="16"/>
228 </Size>
229 <Anchors>
230 <Anchor point="TOPLEFT" relativeTo="$parentColumn4" relativePoint="TOPRIGHT">
231 <Offset>
232 <AbsDimension x="20" y="0"/>
233 </Offset>
234 </Anchor>
235 </Anchors>
236 </FontString>
237 <FontString name="$parentColumn6" inherits="GameFontHighlight" wraponspaces="false" justifyH="RIGHT">
238 <Size>
239 <AbsDimension x="100" y="16"/>
240 </Size>
241 <Anchors>
242 <Anchor point="TOPLEFT" relativeTo="$parentColumn5" relativePoint="TOPRIGHT">
243 <Offset>
244 <AbsDimension x="20" y="0"/>
245 </Offset>
246 </Anchor>
247 </Anchors>
248 </FontString>
249 </Layer>
250 </Layers>
251 <Frames>
252 <Frame name="$parentColumn3MoneyFrame" inherits="SmallMoneyFrameTemplate">
253 <Anchors>
254 <Anchor point="TOPRIGHT" relativeTo="$parentColumn3" relativePoint="TOPRIGHT">
255 <Offset>
256 <AbsDimension x="10" y="0"/>
257 </Offset>
258 </Anchor>
259 </Anchors>
260 <Scripts>
261 <OnLoad>
262 SmallMoneyFrame_OnLoad();
263 MoneyFrame_SetType("AUCTIONEER");
264 </OnLoad>
265 </Scripts>
266 </Frame>
267 <Frame name="$parentColumn4MoneyFrame" inherits="SmallMoneyFrameTemplate">
268 <Anchors>
269 <Anchor point="TOPRIGHT" relativeTo="$parentColumn4" relativePoint="TOPRIGHT">
270 <Offset>
271 <AbsDimension x="10" y="0"/>
272 </Offset>
273 </Anchor>
274 </Anchors>
275 <Scripts>
276 <OnLoad>
277 SmallMoneyFrame_OnLoad();
278 MoneyFrame_SetType("AUCTIONEER");
279 </OnLoad>
280 </Scripts>
281 </Frame>
282 <Frame name="$parentColumn5MoneyFrame" inherits="SmallMoneyFrameTemplate">
283 <Anchors>
284 <Anchor point="TOPRIGHT" relativeTo="$parentColumn5" relativePoint="TOPRIGHT">
285 <Offset>
286 <AbsDimension x="10" y="0"/>
287 </Offset>
288 </Anchor>
289 </Anchors>
290 <Scripts>
291 <OnLoad>
292 SmallMoneyFrame_OnLoad();
293 MoneyFrame_SetType("AUCTIONEER");
294 </OnLoad>
295 </Scripts>
296 </Frame>
297 <Frame name="$parentColumn6MoneyFrame" inherits="SmallMoneyFrameTemplate">
298 <Anchors>
299 <Anchor point="TOPRIGHT" relativeTo="$parentColumn6" relativePoint="TOPRIGHT">
300 <Offset>
301 <AbsDimension x="10" y="0"/>
302 </Offset>
303 </Anchor>
304 </Anchors>
305 <Scripts>
306 <OnLoad>
307 SmallMoneyFrame_OnLoad();
308 MoneyFrame_SetType("AUCTIONEER");
309 </OnLoad>
310 </Scripts>
311 </Frame>
312 </Frames>
313 </Button>
314  
315 <Frame name="ListTemplate" virtual="true">
316 <Frames>
317 <Button name="$parentColumn1Sort" inherits="ListSortButtonTemplate">
318 <Size>
319 <AbsDimension x="134" y="24"/>
320 </Size>
321 <Anchors>
322 <Anchor point="TOPLEFT">
323 <Offset>
324 <AbsDimension x="0" y="0"/>
325 </Offset>
326 </Anchor>
327 </Anchors>
328 <Scripts>
329 <OnClick>
330 ListTemplate_Sort(this:GetParent(), 1)
331 </OnClick>
332 </Scripts>
333 </Button>
334 <Frame name="$parentColumn1DropDown" inherits="UIDropDownMenuTemplate" id="1">
335 <Anchors>
336 <Anchor point="LEFT" relativeTo="$parentColumn1Sort" relativePoint="LEFT">
337 <Offset>
338 <AbsDimension x="-14" y="-3"/>
339 </Offset>
340 </Anchor>
341 </Anchors>
342 <Scripts>
343 <OnLoad>
344 ListTemplate_DropDown_OnLoad();
345 </OnLoad>
346 </Scripts>
347 </Frame>
348 <Button name="$parentColumn2Sort" inherits="ListSortButtonTemplate">
349 <Size>
350 <AbsDimension x="44" y="24"/>
351 </Size>
352 <Anchors>
353 <Anchor point="LEFT" relativeTo="$parentColumn1Sort" relativePoint="RIGHT">
354 <Offset>
355 <AbsDimension x="-2" y="0"/>
356 </Offset>
357 </Anchor>
358 </Anchors>
359 <Scripts>
360 <OnClick>
361 ListTemplate_Sort(this:GetParent(), 2)
362 </OnClick>
363 </Scripts>
364 </Button>
365 <Frame name="$parentColumn2DropDown" inherits="UIDropDownMenuTemplate" id="2">
366 <Anchors>
367 <Anchor point="LEFT" relativeTo="$parentColumn2Sort" relativePoint="LEFT">
368 <Offset>
369 <AbsDimension x="-14" y="-3"/>
370 </Offset>
371 </Anchor>
372 </Anchors>
373 <Scripts>
374 <OnLoad>
375 ListTemplate_DropDown_OnLoad();
376 </OnLoad>
377 </Scripts>
378 </Frame>
379 <Button name="$parentColumn3Sort" inherits="ListSortButtonTemplate">
380 <Size>
381 <AbsDimension x="174" y="24"/>
382 </Size>
383 <Anchors>
384 <Anchor point="LEFT" relativeTo="$parentColumn2Sort" relativePoint="RIGHT">
385 <Offset>
386 <AbsDimension x="-2" y="0"/>
387 </Offset>
388 </Anchor>
389 </Anchors>
390 <Scripts>
391 <OnClick>
392 ListTemplate_Sort(this:GetParent(), 3)
393 </OnClick>
394 </Scripts>
395 </Button>
396 <Frame name="$parentColumn3DropDown" inherits="UIDropDownMenuTemplate" id="3">
397 <Anchors>
398 <Anchor point="LEFT" relativeTo="$parentColumn3Sort" relativePoint="LEFT">
399 <Offset>
400 <AbsDimension x="-14" y="-3"/>
401 </Offset>
402 </Anchor>
403 </Anchors>
404 <Scripts>
405 <OnLoad>
406 ListTemplate_DropDown_OnLoad();
407 </OnLoad>
408 </Scripts>
409 </Frame>
410 <Button name="$parentColumn4Sort" inherits="ListSortButtonTemplate">
411 <Size>
412 <AbsDimension x="174" y="24"/>
413 </Size>
414 <Anchors>
415 <Anchor point="LEFT" relativeTo="$parentColumn3Sort" relativePoint="RIGHT">
416 <Offset>
417 <AbsDimension x="-2" y="0"/>
418 </Offset>
419 </Anchor>
420 </Anchors>
421 <Scripts>
422 <OnClick>
423 ListTemplate_Sort(this:GetParent(), 4)
424 </OnClick>
425 </Scripts>
426 </Button>
427 <Frame name="$parentColumn4DropDown" inherits="UIDropDownMenuTemplate" id="4">
428 <Anchors>
429 <Anchor point="LEFT" relativeTo="$parentColumn4Sort" relativePoint="LEFT">
430 <Offset>
431 <AbsDimension x="-15" y="-3"/>
432 </Offset>
433 </Anchor>
434 </Anchors>
435 <Scripts>
436 <OnLoad>
437 ListTemplate_DropDown_OnLoad();
438 </OnLoad>
439 </Scripts>
440 </Frame>
441 <Button name="$parentColumn5Sort" inherits="ListSortButtonTemplate">
442 <Size>
443 <AbsDimension x="174" y="24"/>
444 </Size>
445 <Anchors>
446 <Anchor point="LEFT" relativeTo="$parentColumn4Sort" relativePoint="RIGHT">
447 <Offset>
448 <AbsDimension x="-2" y="0"/>
449 </Offset>
450 </Anchor>
451 </Anchors>
452 <Scripts>
453 <OnClick>
454 ListTemplate_Sort(this:GetParent(), 5)
455 </OnClick>
456 </Scripts>
457 </Button>
458 <Frame name="$parentColumn5DropDown" inherits="UIDropDownMenuTemplate" id="5">
459 <Anchors>
460 <Anchor point="LEFT" relativeTo="$parentColumn5Sort" relativePoint="LEFT">
461 <Offset>
462 <AbsDimension x="-14" y="-3"/>
463 </Offset>
464 </Anchor>
465 </Anchors>
466 <Scripts>
467 <OnLoad>
468 ListTemplate_DropDown_OnLoad();
469 </OnLoad>
470 </Scripts>
471 </Frame>
472 <Button name="$parentColumn6Sort" inherits="ListSortButtonTemplate">
473 <Size>
474 <AbsDimension x="174" y="24"/>
475 </Size>
476 <Anchors>
477 <Anchor point="LEFT" relativeTo="$parentColumn5Sort" relativePoint="RIGHT">
478 <Offset>
479 <AbsDimension x="-2" y="0"/>
480 </Offset>
481 </Anchor>
482 </Anchors>
483 <Scripts>
484 <OnClick>
485 ListTemplate_Sort(this:GetParent(), 6)
486 </OnClick>
487 </Scripts>
488 </Button>
489 <Frame name="$parentColumn6DropDown" inherits="UIDropDownMenuTemplate" id="6">
490 <Anchors>
491 <Anchor point="LEFT" relativeTo="$parentColumn6Sort" relativePoint="LEFT">
492 <Offset>
493 <AbsDimension x="-14" y="-3"/>
494 </Offset>
495 </Anchor>
496 </Anchors>
497 <Scripts>
498 <OnLoad>
499 ListTemplate_DropDown_OnLoad();
500 </OnLoad>
501 </Scripts>
502 </Frame>
503 <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate">
504 <Anchors>
505 <Anchor point="TOPLEFT">
506 <Offset>
507 <AbsDimension x="2" y="-28"/>
508 </Offset>
509 </Anchor>
510 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
511 <Offset>
512 <AbsDimension x="0" y="0"/>
513 </Offset>
514 </Anchor>
515 </Anchors>
516 <Layers>
517 <Layer level="ARTWORK">
518 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
519 <Size>
520 <AbsDimension x="31" y="256"/>
521 </Size>
522 <Anchors>
523 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
524 <Offset>
525 <AbsDimension x="-2" y="5"/>
526 </Offset>
527 </Anchor>
528 </Anchors>
529 <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
530 </Texture>
531 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
532 <Size>
533 <AbsDimension x="31" y="106"/>
534 </Size>
535 <Anchors>
536 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
537 <Offset>
538 <AbsDimension x="-2" y="-2"/>
539 </Offset>
540 </Anchor>
541 </Anchors>
542 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
543 </Texture>
544 </Layer>
545 </Layers>
546 <Scripts>
547 <OnVerticalScroll>
548 FauxScrollFrame_OnVerticalScroll(16, ListTemplateScrollFrame_Update)
549 </OnVerticalScroll>
550 </Scripts>
551 </ScrollFrame>
552 </Frames>
553 </Frame>
554  
555 </Ui>