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  
4 <!-- Load scripts -->
5 <Script file="GathererInfo.lua"/>
6  
7 <!-- Templates -->
8 <Button name="GathererInfo_FrameColumnHeaderTemplate" virtual="true">
9 <Size>
10 <AbsDimension x="10" y="24"/>
11 </Size>
12 <Layers>
13 <Layer level="BACKGROUND">
14 <Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
15 <Size>
16 <AbsDimension x="5" y="24"/>
17 </Size>
18 <Anchors>
19 <Anchor point="TOPLEFT"/>
20 </Anchors>
21 <TexCoords left="0" right="0.078125" top="0" bottom="0.75"/>
22 </Texture>
23 <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
24 <Size>
25 <AbsDimension x="53" y="24"/>
26 </Size>
27 <Anchors>
28 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
29 </Anchors>
30 <TexCoords left="0.078125" right="0.90625" top="0" bottom="0.75"/>
31 </Texture>
32 <Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
33 <Size>
34 <AbsDimension x="4" y="24"/>
35 </Size>
36 <Anchors>
37 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
38 </Anchors>
39 <TexCoords left="0.90625" right="0.96875" top="0" bottom="0.75"/>
40 </Texture>
41 </Layer>
42 </Layers>
43 <Scripts>
44 <OnClick>
45 if ( this.sortType ) then
46 SortGathererInfo(this.sortType, (GathererInfo_LastSortType == this.sortType or GathererInfo_LastSearchSortType == this.sortType), this.search);
47 -- GathererInfo_LastSortType=this.sortType;
48 end
49 PlaySound("igMainMenuOptionCheckBoxOn");
50 </OnClick>
51 </Scripts>
52 <NormalText inherits="GameFontHighlightSmall">
53 <Anchors>
54 <Anchor point="LEFT">
55 <Offset>
56 <AbsDimension x="8" y="0"/>
57 </Offset>
58 </Anchor>
59 </Anchors>
60 </NormalText>
61 </Button>
62  
63 <Button name="GathererInfo_FrameEntryStatusButtonTemplate" virtual="true" id="0">
64 <Size>
65 <AbsDimension x="298" y="16"/>
66 </Size>
67 <Layers>
68 <Layer level="BORDER">
69 <FontString name="$parentType" inherits="GameFontHighlightSmall" justifyH="LEFT">
70 <Size>
71 <AbsDimension x="112" y="14"/>
72 </Size>
73 <Anchors>
74 <Anchor point="TOPLEFT">
75 <Offset>
76 <AbsDimension x="14" y="-3"/>
77 </Offset>
78 </Anchor>
79 </Anchors>
80 </FontString>
81 <Texture name="$parentIcon">
82 <Size>
83 <AbsDimension x="16" y="16"/>
84 </Size>
85 <Anchors>
86 <Anchor point="LEFT" relativeTo="$parentType" relativePoint="RIGHT">
87 <Offset>
88 <AbsDimension x="4" y="0"/>
89 </Offset>
90 </Anchor>
91 </Anchors>
92 </Texture>
93 <FontString name="$parentGatherable" inherits="GameFontNormalSmall" justifyH="LEFT">
94 <Size>
95 <AbsDimension x="230" y="14"/>
96 </Size>
97 <Anchors>
98 <Anchor point="LEFT" relativeTo="$parentIcon" relativePoint="RIGHT">
99 <Offset>
100 <AbsDimension x="2" y="0"/>
101 </Offset>
102 </Anchor>
103 </Anchors>
104 </FontString>
105 <FontString name="$parentNumber" inherits="GameFontHighlightSmall" justifyH="CENTER">
106 <Size>
107 <AbsDimension x="50" y="8"/>
108 </Size>
109 <Anchors>
110 <Anchor point="LEFT" relativeTo="$parentGatherable" relativePoint="RIGHT">
111 <Offset>
112 <AbsDimension x="-4" y="0"/>
113 </Offset>
114 </Anchor>
115 </Anchors>
116 </FontString>
117 <FontString name="$parentTypePercent" inherits="GameFontHighlightSmall" justifyH="CENTER">
118 <Size>
119 <AbsDimension x="70" y="14"/>
120 </Size>
121 <Anchors>
122 <Anchor point="LEFT" relativeTo="$parentNumber" relativePoint="RIGHT">
123 <Offset>
124 <AbsDimension x="0" y="-2"/>
125 </Offset>
126 </Anchor>
127 </Anchors>
128 </FontString>
129 <FontString name="$parentDensityPercent" inherits="GameFontHighlightSmall" justifyH="CENTER">
130 <Size>
131 <AbsDimension x="70" y="14"/>
132 </Size>
133 <Anchors>
134 <Anchor point="LEFT" relativeTo="$parentTypePercent" relativePoint="RIGHT">
135 <Offset>
136 <AbsDimension x="4" y="0"/>
137 </Offset>
138 </Anchor>
139 </Anchors>
140 </FontString>
141 </Layer>
142 </Layers>
143 </Button>
144  
145 <Button name="GathererInfo_FrameTabButtonTemplate" virtual="true">
146 <Size>
147 <AbsDimension x="115" y="32"/>
148 </Size>
149 <Layers>
150 <Layer level="BACKGROUND">
151 <Texture name="$parentLeftDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
152 <Size>
153 <AbsDimension x="20" y="32"/>
154 </Size>
155 <Anchors>
156 <Anchor point="TOPLEFT">
157 <Offset>
158 <AbsDimension x="0" y="5"/>
159 </Offset>
160 </Anchor>
161 </Anchors>
162 <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
163 </Texture>
164 <Texture name="$parentMiddleDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
165 <Size>
166 <AbsDimension x="88" y="32"/>
167 </Size>
168 <Anchors>
169 <Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/>
170 </Anchors>
171 <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
172 </Texture>
173 <Texture name="$parentRightDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
174 <Size>
175 <AbsDimension x="20" y="32"/>
176 </Size>
177 <Anchors>
178 <Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/>
179 </Anchors>
180 <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
181 </Texture>
182 <Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
183 <Size>
184 <AbsDimension x="20" y="32"/>
185 </Size>
186 <Anchors>
187 <Anchor point="TOPLEFT"/>
188 </Anchors>
189 <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
190 </Texture>
191 <Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
192 <Size>
193 <AbsDimension x="88" y="32"/>
194 </Size>
195 <Anchors>
196 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
197 </Anchors>
198 <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
199 </Texture>
200 <Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
201 <Size>
202 <AbsDimension x="20" y="32"/>
203 </Size>
204 <Anchors>
205 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
206 </Anchors>
207 <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
208 </Texture>
209 </Layer>
210 </Layers>
211 <Scripts>
212 <OnLoad>
213 this:SetFrameLevel(this:GetFrameLevel() + 4);
214 </OnLoad>
215 <OnClick>
216 PanelTemplates_Tab_OnClick(GathererInfo_DialogFrame);
217 GathererInfoFrameTab_OnClick();
218 </OnClick>
219 <OnShow>
220 PanelTemplates_TabResize(0);
221 getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 30);
222 </OnShow>
223 </Scripts>
224 <NormalText name="$parentText" inherits="GameFontNormalSmall">
225 <Anchors>
226 <Anchor point="CENTER">
227 <Offset>
228 <AbsDimension x="0" y="2"/>
229 </Offset>
230 </Anchor>
231 </Anchors>
232 </NormalText>
233 <HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall">
234 <Anchors>
235 <Anchor point="CENTER">
236 <Offset>
237 <AbsDimension x="0" y="2"/>
238 </Offset>
239 </Anchor>
240 </Anchors>
241 </HighlightText>
242 <DisabledText name="$parentDisabledText" inherits="GameFontHighlightSmall">
243 <Anchors>
244 <Anchor point="CENTER">
245 <Offset>
246 <AbsDimension x="0" y="2"/>
247 </Offset>
248 </Anchor>
249 </Anchors>
250 </DisabledText>
251 <HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
252 <Anchors>
253 <Anchor point="LEFT">
254 <Offset>
255 <AbsDimension x="10" y="2"/>
256 </Offset>
257 </Anchor>
258 <Anchor point="RIGHT">
259 <Offset>
260 <AbsDimension x="-10" y="2"/>
261 </Offset>
262 </Anchor>
263 </Anchors>
264 </HighlightTexture>
265 </Button>
266  
267 <!-- Main Frame -->
268 <Frame name="GathererInfo_DialogFrame" toplevel="true" parent="UIParent" movable="true" frameStrata="DIALOG" enableMouse="true" hidden="true">
269 <Size>
270 <AbsDimension x="640" y="390"/>
271 </Size>
272 <Anchors>
273 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
274 <Offset>
275 <AbsDimension x="5" y="-200"/>
276 </Offset>
277 </Anchor>
278 </Anchors>
279 <TitleRegion setAllPoints="true"/>
280 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
281 <BackgroundInsets>
282 <AbsInset left="12" right="12" top="12" bottom="12"/>
283 </BackgroundInsets>
284 <TileSize>
285 <AbsValue val="32"/>
286 </TileSize>
287 <EdgeSize>
288 <AbsValue val="32"/>
289 </EdgeSize>
290 </Backdrop>
291 <Layers>
292 <Layer level="ARTWORK">
293 <Texture name="GathererInfo_FrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
294 <Size>
295 <AbsDimension x="336" y="64"/>
296 </Size>
297 <Anchors>
298 <Anchor point="TOP">
299 <Offset>
300 <AbsDimension x="-12" y="12"/>
301 </Offset>
302 </Anchor>
303 </Anchors>
304 </Texture>
305 <FontString inherits="GameFontNormal" text="Gatherer Info">
306 <Size>
307 <AbsDimension x="360" y="0"/>
308 </Size>
309 <Anchors>
310 <Anchor point="TOP" relativeTo="GathererInfo_FrameHeader">
311 <Offset>
312 <AbsDimension x="0" y="-14"/>
313 </Offset>
314 </Anchor>
315 </Anchors>
316 </FontString>
317 </Layer>
318 </Layers>
319 <Frames>
320 <!-- Tab code -->
321 <Button name="GathererInfo_DialogFrameTab1" inherits="GathererInfo_FrameTabButtonTemplate" id="1" text="GATHERER_TEXT_TOGGLE_REPORT">
322 <Anchors>
323 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
324 <Offset>
325 <AbsDimension x="50" y="-10"/>
326 </Offset>
327 </Anchor>
328 </Anchors>
329 <Scripts>
330 <OnEnter>
331 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
332 GameTooltip:SetText(GATHERER_TAB_REPORT_TIP);
333 </OnEnter>
334 <OnLeave>
335 GameTooltip:Hide();
336 </OnLeave>
337 </Scripts>
338 </Button>
339 <Button name="GathererInfo_DialogFrameTab2" inherits="GathererInfo_FrameTabButtonTemplate" id="2" text="GATHERER_TEXT_TOGGLE_SEARCH">
340 <Anchors>
341 <Anchor point="TOPLEFT" relativeTo="GathererInfo_DialogFrameTab1" relativePoint="TOPRIGHT">
342 <Offset>
343 <AbsDimension x="-15" y="0"/>
344 </Offset>
345 </Anchor>
346 </Anchors>
347 <Scripts>
348 <OnEnter>
349 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
350 GameTooltip:SetText(GATHERER_TAB_SEARCH_TIP);
351 </OnEnter>
352 <OnLeave>
353 GameTooltip:Hide();
354 </OnLeave>
355 </Scripts>
356 </Button>
357 <Button name="GathererInfo_FrameHomeCancel" inherits="GameMenuButtonTemplate" text="CLOSE">
358 <Anchors>
359 <Anchor point="BOTTOMRIGHT" relativeTo="GathererInfo_DialogFrame" relativePoint="BOTTOMRIGHT">
360 <Offset>
361 <AbsDimension x="-15" y="15"/>
362 </Offset>
363 </Anchor>
364 </Anchors>
365 <Scripts>
366 <OnClick>
367 GathererInfo_DialogFrame:Hide();
368 </OnClick>
369 </Scripts>
370 </Button>
371 </Frames>
372 <Scripts>
373 <OnLoad>
374 GathererInfo_LoadContinents( GetMapContinents() );
375 -- Tab Handling code
376 PanelTemplates_SetNumTabs(this, 2);
377 PanelTemplates_SetTab(this, 1);
378 </OnLoad>
379 <OnShow>
380 GathererInfo_SetDefaultLocation();
381 </OnShow>
382 </Scripts>
383 </Frame>
384  
385  
386 <Frame name="GathererInfo_ReportFrame" enableMouse="true" parent="GathererInfo_DialogFrame" hidden="true" id="1">
387 <Size>
388 <AbsDimension x="640" y="370"/>
389 </Size>
390 <Anchors>
391 <Anchor point="CENTER" relativeTo="GathererInfo_DialogFrame" relativePoint="CENTER">
392 <Offset>
393 <AbsDimension x="0" y="0"/>
394 </Offset>
395 </Anchor>
396 </Anchors>
397 <!-- Target Information -->
398 <Frames>
399 <!-- Controls and Informational -->
400 <Frame name="GathererInfo_LocContinentDropDown" inherits="UIDropDownMenuTemplate" id="1">
401 <Anchors>
402 <Anchor point="TOPLEFT" relativeTo="GathererInfo_ReportFrame">
403 <Offset>
404 <AbsDimension x="15" y="-40"/>
405 </Offset>
406 </Anchor>
407 </Anchors>
408 <Scripts>
409 <OnLoad>
410 UIDropDownMenu_SetWidth(80);
411 </OnLoad>
412 <OnShow>
413 UIDropDownMenu_Initialize(this, GathererInfo_LocContinentDropDown_Initialize);
414 </OnShow>
415 </Scripts>
416 </Frame>
417 <Frame name="GathererInfo_LocZoneDropDown" inherits="UIDropDownMenuTemplate" id="2">
418 <Anchors>
419 <Anchor point="LEFT" relativeTo="GathererInfo_LocContinentDropDown">
420 <Offset>
421 <AbsDimension x="100" y="0"/>
422 </Offset>
423 </Anchor>
424 </Anchors>
425 <Scripts>
426 <OnLoad>
427 UIDropDownMenu_SetWidth(260);
428 </OnLoad>
429 <OnShow>
430 UIDropDownMenu_Initialize(this, GathererInfo_LocZoneDropDown_Initialize);
431 </OnShow>
432 </Scripts>
433 </Frame>
434  
435 -- Display area
436 <Frame name="GathererInfo_Main" setAllPoints="true" hidden="false">
437 <Layers>
438 <Layer level="ARTWORK">
439 <FontString name="GathererInfo_FrameHomeTitle" inherits="GameFontNormalSmall" justifyH="LEFT" text="GATHERER_REPORT_LOCATION">
440 <Size>
441 <AbsDimension x="550" y="0"/>
442 </Size>
443 <Anchors>
444 <Anchor point="TOPLEFT">
445 <Offset>
446 <AbsDimension x="25" y="-15"/>
447 </Offset>
448 </Anchor>
449 </Anchors>
450 </FontString>
451 <FontString name="GathererInfo_totalcount" inherits="GameFontNormalSmall" justifyH="LEFT">
452 <Size>
453 <AbsDimension x="200" y="16"/>
454 </Size>
455 <Anchors>
456 <Anchor point="TOPRIGHT" relativeTo="GathererInfo_Main" relativePoint="TOPRIGHT">
457 <Offset>
458 <AbsDimension x="-15" y="-10"/>
459 </Offset>
460 </Anchor>
461 </Anchors>
462 </FontString>
463 </Layer>
464 </Layers>
465 <Frames>
466 <!-- headers -->
467 <Button name="GathererInfo_FrameColumnHeader3" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_REPORT_COL_TYPE" justifyH="LEFT">
468 <Anchors>
469 <Anchor point="TOPLEFT">
470 <Offset>
471 <AbsDimension x="17" y="-70"/>
472 </Offset>
473 </Anchor>
474 </Anchors>
475 <Scripts>
476 <OnLoad>
477 WhoFrameColumn_SetWidth(130);
478 this.sortType = "gtype";
479 </OnLoad>
480 </Scripts>
481 </Button>
482 <Button name="GathererInfo_FrameColumnHeader1" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_REPORT_COL_NAME" justifyH="LEFT">
483 <Anchors>
484 <Anchor point="LEFT" relativeTo="GathererInfo_FrameColumnHeader3" relativePoint="RIGHT">
485 <Offset>
486 <AbsDimension x="-2" y="0"/>
487 </Offset>
488 </Anchor>
489 </Anchors>
490 <Scripts>
491 <OnLoad>
492 WhoFrameColumn_SetWidth(244);
493 this.sortType = "name";
494 </OnLoad>
495 </Scripts>
496 </Button>
497 <Button name="GathererInfo_FrameColumnHeader2" inherits="GathererInfo_FrameColumnHeaderTemplate" text=" #" justifyH="CENTER">
498 <Anchors>
499 <Anchor point="LEFT" relativeTo="GathererInfo_FrameColumnHeader1" relativePoint="RIGHT">
500 <Offset>
501 <AbsDimension x="-2" y="0"/>
502 </Offset>
503 </Anchor>
504 </Anchors>
505 <Scripts>
506 <OnLoad>
507 WhoFrameColumn_SetWidth(54);
508 this.sortType = "amount";
509 </OnLoad>
510 </Scripts>
511 </Button>
512 <Button name="GathererInfo_FrameColumnHeader4" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_REPORT_COL_PTYPE" justifyH="CENTER">
513 <Anchors>
514 <Anchor point="LEFT" relativeTo="GathererInfo_FrameColumnHeader2" relativePoint="RIGHT">
515 <Offset>
516 <AbsDimension x="-2" y="0"/>
517 </Offset>
518 </Anchor>
519 </Anchors>
520 <Scripts>
521 <OnLoad>
522 WhoFrameColumn_SetWidth(74);
523 this.sortType = "percent";
524 </OnLoad>
525 </Scripts>
526 </Button>
527 <Button name="GathererInfo_FrameColumnHeader5" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_REPORT_COL_PDENSITY" justifyH="CENTER">
528 <Anchors>
529 <Anchor point="LEFT" relativeTo="GathererInfo_FrameColumnHeader4" relativePoint="RIGHT">
530 <Offset>
531 <AbsDimension x="-2" y="0"/>
532 </Offset>
533 </Anchor>
534 </Anchors>
535 <Scripts>
536 <OnLoad>
537 WhoFrameColumn_SetWidth(74);
538 this.sortType = "density";
539 </OnLoad>
540 </Scripts>
541 </Button>
542  
543 <!-- Display Buttons -->
544 <Button name="GathererInfo_FrameButton1" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="1">
545 <Anchors>
546 <Anchor point="BOTTOMLEFT" relativeTo="GathererInfo_FrameColumnHeader3">
547 <Offset>
548 <AbsDimension x="0" y="-16"/>
549 </Offset>
550 </Anchor>
551 </Anchors>
552 </Button>
553 <Button name="GathererInfo_FrameButton2" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="2">
554 <Anchors>
555 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton1" relativePoint="BOTTOMLEFT">
556 <Offset>
557 <AbsDimension x="0" y="0"/>
558 </Offset>
559 </Anchor>
560 </Anchors>
561 </Button>
562 <Button name="GathererInfo_FrameButton3" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="3">
563 <Anchors>
564 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton2" relativePoint="BOTTOMLEFT">
565 <Offset>
566 <AbsDimension x="0" y="0"/>
567 </Offset>
568 </Anchor>
569 </Anchors>
570 </Button>
571 <Button name="GathererInfo_FrameButton4" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="4">
572 <Anchors>
573 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton3" relativePoint="BOTTOMLEFT">
574 <Offset>
575 <AbsDimension x="0" y="0"/>
576 </Offset>
577 </Anchor>
578 </Anchors>
579 </Button>
580 <Button name="GathererInfo_FrameButton5" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="5">
581 <Anchors>
582 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton4" relativePoint="BOTTOMLEFT">
583 <Offset>
584 <AbsDimension x="0" y="0"/>
585 </Offset>
586 </Anchor>
587 </Anchors>
588 </Button>
589 <Button name="GathererInfo_FrameButton6" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="6">
590 <Anchors>
591 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton5" relativePoint="BOTTOMLEFT">
592 <Offset>
593 <AbsDimension x="0" y="0"/>
594 </Offset>
595 </Anchor>
596 </Anchors>
597 </Button>
598 <Button name="GathererInfo_FrameButton7" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="7">
599 <Anchors>
600 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton6" relativePoint="BOTTOMLEFT">
601 <Offset>
602 <AbsDimension x="0" y="0"/>
603 </Offset>
604 </Anchor>
605 </Anchors>
606 </Button>
607 <Button name="GathererInfo_FrameButton8" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="8">
608 <Anchors>
609 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton7" relativePoint="BOTTOMLEFT">
610 <Offset>
611 <AbsDimension x="0" y="0"/>
612 </Offset>
613 </Anchor>
614 </Anchors>
615 </Button>
616 <Button name="GathererInfo_FrameButton9" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="9">
617 <Anchors>
618 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton8" relativePoint="BOTTOMLEFT">
619 <Offset>
620 <AbsDimension x="0" y="0"/>
621 </Offset>
622 </Anchor>
623 </Anchors>
624 </Button>
625 <Button name="GathererInfo_FrameButton10" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="10">
626 <Anchors>
627 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton9" relativePoint="BOTTOMLEFT">
628 <Offset>
629 <AbsDimension x="0" y="0"/>
630 </Offset>
631 </Anchor>
632 </Anchors>
633 </Button>
634 <Button name="GathererInfo_FrameButton11" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="11">
635 <Anchors>
636 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton10" relativePoint="BOTTOMLEFT">
637 <Offset>
638 <AbsDimension x="0" y="0"/>
639 </Offset>
640 </Anchor>
641 </Anchors>
642 </Button>
643 <Button name="GathererInfo_FrameButton12" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="12">
644 <Anchors>
645 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton11" relativePoint="BOTTOMLEFT">
646 <Offset>
647 <AbsDimension x="0" y="0"/>
648 </Offset>
649 </Anchor>
650 </Anchors>
651 </Button>
652 <Button name="GathererInfo_FrameButton13" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="13">
653 <Anchors>
654 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton12" relativePoint="BOTTOMLEFT">
655 <Offset>
656 <AbsDimension x="0" y="0"/>
657 </Offset>
658 </Anchor>
659 </Anchors>
660 </Button>
661 <Button name="GathererInfo_FrameButton14" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="14">
662 <Anchors>
663 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton13" relativePoint="BOTTOMLEFT">
664 <Offset>
665 <AbsDimension x="0" y="0"/>
666 </Offset>
667 </Anchor>
668 </Anchors>
669 </Button>
670 <Button name="GathererInfo_FrameButton15" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="15">
671 <Anchors>
672 <Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton14" relativePoint="BOTTOMLEFT">
673 <Offset>
674 <AbsDimension x="0" y="0"/>
675 </Offset>
676 </Anchor>
677 </Anchors>
678 </Button>
679 <!-- Scrollbar -->
680 <ScrollFrame name="GathererInfo_ListScrollFrame" inherits="FauxScrollFrameTemplate">
681 <Size>
682 <AbsDimension x="296" y="240"/>
683 </Size>
684 <Anchors>
685 <Anchor point="TOPRIGHT" relativeTo="GathererInfo_ReportFrame" relativePoint="TOPRIGHT">
686 <Offset>
687 <AbsDimension x="-56" y="-96"/>
688 </Offset>
689 </Anchor>
690 </Anchors>
691 <Scripts>
692 <OnVerticalScroll>
693 FauxScrollFrame_OnVerticalScroll(GATHERERINFO_FRAME_HEIGHT, GathererInfo_Update);
694 </OnVerticalScroll>
695 </Scripts>
696 <Layers>
697 <Layer level="BACKGROUND">
698 <Texture name="GathererInfo_ListScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
699 <Size>
700 <AbsDimension x="31" y="246"/>
701 </Size>
702 <Anchors>
703 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
704 <Offset>
705 <AbsDimension x="-2" y="5"/>
706 </Offset>
707 </Anchor>
708 </Anchors>
709 <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
710 </Texture>
711 <Texture name="GathererInfo_ListScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
712 <Size>
713 <AbsDimension x="31" y="106"/>
714 </Size>
715 <Anchors>
716 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
717 <Offset>
718 <AbsDimension x="-2" y="-2"/>
719 </Offset>
720 </Anchor>
721 </Anchors>
722 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
723 </Texture>
724 </Layer>
725 </Layers>
726 </ScrollFrame>
727 </Frames>
728 </Frame>
729 </Frames>
730 </Frame>
731  
732 <Frame name="GathererInfo_SearchFrame" enableMouse="true" parent="GathererInfo_DialogFrame" hidden="true" id="2">
733 <Size>
734 <AbsDimension x="640" y="370"/>
735 </Size>
736 <Anchors>
737 <Anchor point="CENTER" relativeTo="GathererInfo_DialogFrame" relativePoint="CENTER">
738 <Offset>
739 <AbsDimension x="0" y="0"/>
740 </Offset>
741 </Anchor>
742 </Anchors>
743 <!-- Target Information -->
744 <Frames>
745 <!-- Informational -->
746 <Frame name="GathererInfo_GatherTypeDropDown" inherits="UIDropDownMenuTemplate" id="11">
747 <Anchors>
748 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrame">
749 <Offset>
750 <AbsDimension x="15" y="-40"/>
751 </Offset>
752 </Anchor>
753 </Anchors>
754 <Scripts>
755 <OnLoad>
756 UIDropDownMenu_SetWidth(80);
757 </OnLoad>
758 <OnShow>
759 UIDropDownMenu_Initialize(this, GathererInfo_GatherTypeDropDown_Initialize);
760 </OnShow>
761 </Scripts>
762 </Frame>
763 <Frame name="GathererInfo_GatherItemDropDown" inherits="UIDropDownMenuTemplate" id="12">
764 <Anchors>
765 <Anchor point="LEFT" relativeTo="GathererInfo_GatherTypeDropDown">
766 <Offset>
767 <AbsDimension x="100" y="0"/>
768 </Offset>
769 </Anchor>
770 </Anchors>
771 <Scripts>
772 <OnLoad>
773 UIDropDownMenu_SetWidth(260);
774 </OnLoad>
775 <OnShow>
776 UIDropDownMenu_Initialize(this, GathererInfo_GatherItemDropDown_Initialize);
777 </OnShow>
778 </Scripts>
779 </Frame>
780  
781 -- Display area
782 <Frame name="GathererInfo_MainSearch" setAllPoints="true" hidden="false">
783 <Layers>
784 <Layer level="ARTWORK">
785 <FontString name="GathererInfo_SearchFrameHomeTitle" inherits="GameFontNormalSmall" justifyH="LEFT" text="GATHERER_SEARCH_LOCATION">
786 <Size>
787 <AbsDimension x="550" y="0"/>
788 </Size>
789 <Anchors>
790 <Anchor point="TOPLEFT">
791 <Offset>
792 <AbsDimension x="25" y="-15"/>
793 </Offset>
794 </Anchor>
795 </Anchors>
796 </FontString>
797 <FontString name="GathererInfo_Searchtotalcount" inherits="GameFontNormalSmall" justifyH="LEFT">
798 <Size>
799 <AbsDimension x="200" y="16"/>
800 </Size>
801 <Anchors>
802 <Anchor point="TOPRIGHT" relativeTo="GathererInfo_Main" relativePoint="TOPRIGHT">
803 <Offset>
804 <AbsDimension x="-15" y="-10"/>
805 </Offset>
806 </Anchor>
807 </Anchors>
808 </FontString>
809 </Layer>
810 </Layers>
811 <Frames>
812 <!-- headers -->
813 <Button name="GathererInfo_SearchFrameColumnHeader3" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_SEARCH_COL_CONTINENT" justifyH="LEFT">
814 <Anchors>
815 <Anchor point="TOPLEFT">
816 <Offset>
817 <AbsDimension x="17" y="-70"/>
818 </Offset>
819 </Anchor>
820 </Anchors>
821 <Scripts>
822 <OnLoad>
823 WhoFrameColumn_SetWidth(130);
824 this.sortType = "Cname";
825 this.search="Search";
826 </OnLoad>
827 </Scripts>
828 </Button>
829 <Button name="GathererInfo_SearchFrameColumnHeader1" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_SEARCH_COL_ZONE" justifyH="LEFT">
830 <Anchors>
831 <Anchor point="LEFT" relativeTo="GathererInfo_SearchFrameColumnHeader3" relativePoint="RIGHT">
832 <Offset>
833 <AbsDimension x="-2" y="0"/>
834 </Offset>
835 </Anchor>
836 </Anchors>
837 <Scripts>
838 <OnLoad>
839 WhoFrameColumn_SetWidth(244);
840 this.sortType = "Zname";
841 this.search="Search";
842 </OnLoad>
843 </Scripts>
844 </Button>
845 <Button name="GathererInfo_SearchFrameColumnHeader2" inherits="GathererInfo_FrameColumnHeaderTemplate" text=" #" justifyH="CENTER">
846 <Anchors>
847 <Anchor point="LEFT" relativeTo="GathererInfo_SearchFrameColumnHeader1" relativePoint="RIGHT">
848 <Offset>
849 <AbsDimension x="-2" y="0"/>
850 </Offset>
851 </Anchor>
852 </Anchors>
853 <Scripts>
854 <OnLoad>
855 WhoFrameColumn_SetWidth(54);
856 this.search="Search";
857 this.sortType = "Namount";
858 </OnLoad>
859 </Scripts>
860 </Button>
861 <Button name="GathererInfo_SearchFrameColumnHeader4" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_SEARCH_COL_PNODE" justifyH="CENTER">
862 <Anchors>
863 <Anchor point="LEFT" relativeTo="GathererInfo_SearchFrameColumnHeader2" relativePoint="RIGHT">
864 <Offset>
865 <AbsDimension x="-2" y="0"/>
866 </Offset>
867 </Anchor>
868 </Anchors>
869 <Scripts>
870 <OnLoad>
871 WhoFrameColumn_SetWidth(74);
872 this.sortType = "Npercent";
873 this.search="Search";
874 </OnLoad>
875 </Scripts>
876 </Button>
877 <Button name="GathererInfo_SearchFrameColumnHeader5" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_SEARCH_COL_PDENSITY" justifyH="CENTER">
878 <Anchors>
879 <Anchor point="LEFT" relativeTo="GathererInfo_SearchFrameColumnHeader4" relativePoint="RIGHT">
880 <Offset>
881 <AbsDimension x="-2" y="0"/>
882 </Offset>
883 </Anchor>
884 </Anchors>
885 <Scripts>
886 <OnLoad>
887 WhoFrameColumn_SetWidth(74);
888 this.sortType = "Ndensity";
889 this.search="Search";
890 </OnLoad>
891 </Scripts>
892 </Button>
893  
894 <!-- Display Buttons -->
895 <Button name="GathererInfo_SearchFrameButton1" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="1">
896 <Anchors>
897 <Anchor point="BOTTOMLEFT" relativeTo="GathererInfo_SearchFrameColumnHeader3">
898 <Offset>
899 <AbsDimension x="0" y="-16"/>
900 </Offset>
901 </Anchor>
902 </Anchors>
903 </Button>
904 <Button name="GathererInfo_SearchFrameButton2" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="2">
905 <Anchors>
906 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton1" relativePoint="BOTTOMLEFT">
907 <Offset>
908 <AbsDimension x="0" y="0"/>
909 </Offset>
910 </Anchor>
911 </Anchors>
912 </Button>
913 <Button name="GathererInfo_SearchFrameButton3" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="3">
914 <Anchors>
915 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton2" relativePoint="BOTTOMLEFT">
916 <Offset>
917 <AbsDimension x="0" y="0"/>
918 </Offset>
919 </Anchor>
920 </Anchors>
921 </Button>
922 <Button name="GathererInfo_SearchFrameButton4" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="4">
923 <Anchors>
924 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton3" relativePoint="BOTTOMLEFT">
925 <Offset>
926 <AbsDimension x="0" y="0"/>
927 </Offset>
928 </Anchor>
929 </Anchors>
930 </Button>
931 <Button name="GathererInfo_SearchFrameButton5" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="5">
932 <Anchors>
933 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton4" relativePoint="BOTTOMLEFT">
934 <Offset>
935 <AbsDimension x="0" y="0"/>
936 </Offset>
937 </Anchor>
938 </Anchors>
939 </Button>
940 <Button name="GathererInfo_SearchFrameButton6" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="6">
941 <Anchors>
942 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton5" relativePoint="BOTTOMLEFT">
943 <Offset>
944 <AbsDimension x="0" y="0"/>
945 </Offset>
946 </Anchor>
947 </Anchors>
948 </Button>
949 <Button name="GathererInfo_SearchFrameButton7" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="7">
950 <Anchors>
951 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton6" relativePoint="BOTTOMLEFT">
952 <Offset>
953 <AbsDimension x="0" y="0"/>
954 </Offset>
955 </Anchor>
956 </Anchors>
957 </Button>
958 <Button name="GathererInfo_SearchFrameButton8" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="8">
959 <Anchors>
960 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton7" relativePoint="BOTTOMLEFT">
961 <Offset>
962 <AbsDimension x="0" y="0"/>
963 </Offset>
964 </Anchor>
965 </Anchors>
966 </Button>
967 <Button name="GathererInfo_SearchFrameButton9" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="9">
968 <Anchors>
969 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton8" relativePoint="BOTTOMLEFT">
970 <Offset>
971 <AbsDimension x="0" y="0"/>
972 </Offset>
973 </Anchor>
974 </Anchors>
975 </Button>
976 <Button name="GathererInfo_SearchFrameButton10" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="10">
977 <Anchors>
978 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton9" relativePoint="BOTTOMLEFT">
979 <Offset>
980 <AbsDimension x="0" y="0"/>
981 </Offset>
982 </Anchor>
983 </Anchors>
984 </Button>
985 <Button name="GathererInfo_SearchFrameButton11" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="11">
986 <Anchors>
987 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton10" relativePoint="BOTTOMLEFT">
988 <Offset>
989 <AbsDimension x="0" y="0"/>
990 </Offset>
991 </Anchor>
992 </Anchors>
993 </Button>
994 <Button name="GathererInfo_SearchFrameButton12" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="12">
995 <Anchors>
996 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton11" relativePoint="BOTTOMLEFT">
997 <Offset>
998 <AbsDimension x="0" y="0"/>
999 </Offset>
1000 </Anchor>
1001 </Anchors>
1002 </Button>
1003 <Button name="GathererInfo_SearchFrameButton13" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="13">
1004 <Anchors>
1005 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton12" relativePoint="BOTTOMLEFT">
1006 <Offset>
1007 <AbsDimension x="0" y="0"/>
1008 </Offset>
1009 </Anchor>
1010 </Anchors>
1011 </Button>
1012 <Button name="GathererInfo_SearchFrameButton14" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="14">
1013 <Anchors>
1014 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton13" relativePoint="BOTTOMLEFT">
1015 <Offset>
1016 <AbsDimension x="0" y="0"/>
1017 </Offset>
1018 </Anchor>
1019 </Anchors>
1020 </Button>
1021 <Button name="GathererInfo_SearchFrameButton15" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="15">
1022 <Anchors>
1023 <Anchor point="TOPLEFT" relativeTo="GathererInfo_SearchFrameButton14" relativePoint="BOTTOMLEFT">
1024 <Offset>
1025 <AbsDimension x="0" y="0"/>
1026 </Offset>
1027 </Anchor>
1028 </Anchors>
1029 </Button>
1030 <!-- Scrollbar -->
1031 <ScrollFrame name="GathererInfo_SearchListScrollFrame" inherits="FauxScrollFrameTemplate">
1032 <Size>
1033 <AbsDimension x="296" y="240"/>
1034 </Size>
1035 <Anchors>
1036 <Anchor point="TOPRIGHT" relativeTo="GathererInfo_SearchFrame" relativePoint="TOPRIGHT">
1037 <Offset>
1038 <AbsDimension x="-56" y="-96"/>
1039 </Offset>
1040 </Anchor>
1041 </Anchors>
1042 <Scripts>
1043 <OnVerticalScroll>
1044 FauxScrollFrame_OnVerticalScroll(GATHERERINFO_FRAME_HEIGHT, GathererInfo_SearchUpdate);
1045 </OnVerticalScroll>
1046 </Scripts>
1047 <Layers>
1048 <Layer level="BACKGROUND">
1049 <Texture name="GathererInfo_SearchListScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
1050 <Size>
1051 <AbsDimension x="31" y="246"/>
1052 </Size>
1053 <Anchors>
1054 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
1055 <Offset>
1056 <AbsDimension x="-2" y="5"/>
1057 </Offset>
1058 </Anchor>
1059 </Anchors>
1060 <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
1061 </Texture>
1062 <Texture name="GathererInfo_SearchListScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
1063 <Size>
1064 <AbsDimension x="31" y="106"/>
1065 </Size>
1066 <Anchors>
1067 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
1068 <Offset>
1069 <AbsDimension x="-2" y="-2"/>
1070 </Offset>
1071 </Anchor>
1072 </Anchors>
1073 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
1074 </Texture>
1075 </Layer>
1076 </Layers>
1077 </ScrollFrame>
1078 </Frames>
1079 </Frame>
1080 </Frames>
1081 </Frame>
1082  
1083 </Ui>
1084  
1085