vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 ..\FrameXML\UI.xsd">
3 <Script file="UI_localization.lua"/>
4 <Script file="GathererUI_Lang.lua"/>
5 <Script file="GathererUI.lua"/>
6  
7 <!-- event catcher and init GUI frame -->
8 <Frame name="GathererUI">
9 <Scripts>
10 <OnLoad>
11 GathererUI_OnLoad();
12 this:RegisterEvent("VARIABLES_LOADED");
13 this:RegisterEvent("UNIT_NAME_UPDATE");
14 </OnLoad>
15 <OnEvent>
16 GathererUI_OnEvent();
17 </OnEvent>
18 <OnUpdate>
19 GathererUI_OnUpdate(arg1);
20 </OnUpdate>
21 </Scripts>
22 </Frame>
23  
24 <!-- Templates -->
25 <Button name="GathererUI_FrameTabButtonTemplate" virtual="true">
26 <Size>
27 <AbsDimension x="115" y="32"/>
28 </Size>
29 <Layers>
30 <Layer level="BACKGROUND">
31 <Texture name="$parentLeftDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
32 <Size>
33 <AbsDimension x="20" y="32"/>
34 </Size>
35 <Anchors>
36 <Anchor point="TOPLEFT">
37 <Offset>
38 <AbsDimension x="0" y="5"/>
39 </Offset>
40 </Anchor>
41 </Anchors>
42 <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
43 </Texture>
44 <Texture name="$parentMiddleDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
45 <Size>
46 <AbsDimension x="88" y="32"/>
47 </Size>
48 <Anchors>
49 <Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/>
50 </Anchors>
51 <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
52 </Texture>
53 <Texture name="$parentRightDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
54 <Size>
55 <AbsDimension x="20" y="32"/>
56 </Size>
57 <Anchors>
58 <Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/>
59 </Anchors>
60 <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
61 </Texture>
62 <Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
63 <Size>
64 <AbsDimension x="20" y="32"/>
65 </Size>
66 <Anchors>
67 <Anchor point="TOPLEFT"/>
68 </Anchors>
69 <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
70 </Texture>
71 <Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
72 <Size>
73 <AbsDimension x="88" y="32"/>
74 </Size>
75 <Anchors>
76 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
77 </Anchors>
78 <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
79 </Texture>
80 <Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
81 <Size>
82 <AbsDimension x="20" y="32"/>
83 </Size>
84 <Anchors>
85 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
86 </Anchors>
87 <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
88 </Texture>
89 </Layer>
90 </Layers>
91 <Scripts>
92 <OnLoad>
93 this:SetFrameLevel(this:GetFrameLevel() + 4);
94 </OnLoad>
95 <OnClick>
96 PanelTemplates_Tab_OnClick(GathererUI_DialogFrame);
97 GathererUIFrameTab_OnClick();
98 </OnClick>
99 <OnShow>
100 PanelTemplates_TabResize(0);
101 getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 30);
102 </OnShow>
103 </Scripts>
104 <NormalText name="$parentText" inherits="GameFontNormalSmall">
105 <Anchors>
106 <Anchor point="CENTER">
107 <Offset>
108 <AbsDimension x="0" y="2"/>
109 </Offset>
110 </Anchor>
111 </Anchors>
112 </NormalText>
113 <HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall">
114 <Anchors>
115 <Anchor point="CENTER">
116 <Offset>
117 <AbsDimension x="0" y="2"/>
118 </Offset>
119 </Anchor>
120 </Anchors>
121 </HighlightText>
122 <DisabledText name="$parentDisabledText" inherits="GameFontHighlightSmall">
123 <Anchors>
124 <Anchor point="CENTER">
125 <Offset>
126 <AbsDimension x="0" y="2"/>
127 </Offset>
128 </Anchor>
129 </Anchors>
130 </DisabledText>
131 <HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
132 <Anchors>
133 <Anchor point="LEFT">
134 <Offset>
135 <AbsDimension x="10" y="2"/>
136 </Offset>
137 </Anchor>
138 <Anchor point="RIGHT">
139 <Offset>
140 <AbsDimension x="-10" y="2"/>
141 </Offset>
142 </Anchor>
143 </Anchors>
144 </HighlightTexture>
145 </Button>
146  
147 <!-- Minimap Icon frame -->
148 <Frame name="GathererUI_IconFrame" enableMouse="true" hidden="true" parent="Minimap" frameStrata="MEDIUM">
149 <Size>
150 <AbsDimension x="33" y="33"/>
151 </Size>
152 <Layers>
153 <Layer level="ARTWORK">
154 <Texture name="GathererUI_IconTexture" file="Interface\Addons\Gatherer\Skin\GatherOrb">
155 <Size>
156 <AbsDimension x="17" y="17"/>
157 </Size>
158 <Anchors>
159 <Anchor point="TOPLEFT">
160 <Offset>
161 <AbsDimension x="7" y="-6"/>
162 </Offset>
163 </Anchor>
164 </Anchors>
165 </Texture>
166 </Layer>
167 <Layer level="OVERLAY">
168 <Texture file="Interface\Minimap\MiniMap-TrackingBorder">
169 <Size>
170 <AbsDimension x="52" y="52"/>
171 </Size>
172 <Anchors>
173 <Anchor point="TOPLEFT"/>
174 </Anchors>
175 </Texture>
176 </Layer>
177 </Layers>
178 <Scripts>
179 <OnEnter>
180 GathererUI_IconFrameOnEnter();
181 </OnEnter>
182 <OnMouseUp>
183 GathererUI_IconFrameOnClick();
184 </OnMouseUp>
185 </Scripts>
186 </Frame>
187  
188 <!-- Quickmenu button template -->
189 <Button name="GathererUI_PopupButtonTemplate" virtual="true">
190 <Size>
191 <AbsDimension x="64" y="12"/>
192 </Size>
193 <Scripts>
194 <OnClick>
195 GathererUI_ButtonClick();
196 </OnClick>
197 </Scripts>
198 <NormalText inherits="GameFontNormal" justifyH="LEFT"/>
199 <HighlightText inherits="GameFontHighlight" justifyH="LEFT"/>
200 <DisabledText inherits="GameFontDisable" justifyH="LEFT"/>
201 </Button>
202  
203 <!-- Quickmenu frame -->
204 <Frame name="GathererUI_Popup" frameStrata="DIALOG" hidden="true" parent="UIParent">
205 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
206 <BackgroundInsets>
207 <AbsInset left="11" right="12" top="12" bottom="11"/>
208 </BackgroundInsets>
209 <TileSize>
210 <AbsValue val="32"/>
211 </TileSize>
212 <EdgeSize>
213 <AbsValue val="32"/>
214 </EdgeSize>
215 </Backdrop>
216 <Frames>
217 <Button name="GathererUI_TitleButton" inherits="GathererUI_PopupButtonTemplate" text="GATHERER_TEXT_TITLE_BUTTON">
218 <Anchors>
219 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
220 <Offset>
221 <AbsDimension x="0" y="-16"/>
222 </Offset>
223 </Anchor>
224 </Anchors>
225 <Scripts>
226 <OnLoad>
227 this:SetWidth(this:GetTextWidth() + 2 * GathererUI_BORDER_WIDTH);
228 this.tooltipText=GATHERER_MENUTITLE_TIP;
229 </OnLoad>
230 <OnClick>
231 GathererUI_ShowOptions();
232 </OnClick>
233 <OnEnter>
234 GameTooltip:SetOwner(GathererUI_Popup, "ANCHOR_LEFT");
235 GameTooltip:SetText(this.tooltipText);
236 GameTooltip:Show();
237 </OnEnter>
238 <OnLeave>
239 GameTooltip:Hide();
240 </OnLeave>
241 </Scripts>
242 <NormalText inherits="GameFontGreen"/>
243 <HighlightText inherits="GameFontRed"/>
244 <DisabledText inherits="GameFontDisable"/>
245 </Button>
246 <Button name="GathererUI_PopupButton1" inherits="GathererUI_PopupButtonTemplate" id="10">
247 <Anchors>
248 <Anchor point="TOP" relativeTo="GathererUI_TitleButton" relativePoint="BOTTOM">
249 <Offset>
250 <AbsDimension x="0" y="-8"/>
251 </Offset>
252 </Anchor>
253 </Anchors>
254 </Button>
255 <Button name="GathererUI_PopupButton2" inherits="GathererUI_PopupButtonTemplate" id="11">
256 <Anchors>
257 <Anchor point="TOP" relativeTo="GathererUI_PopupButton1" relativePoint="BOTTOM"/>
258 </Anchors>
259 </Button>
260 <Button name="GathererUI_PopupButton3" inherits="GathererUI_PopupButtonTemplate" id="12">
261 <Anchors>
262 <Anchor point="TOP" relativeTo="GathererUI_PopupButton2" relativePoint="BOTTOM"/>
263 </Anchors>
264 </Button>
265 <Button name="GathererUI_PopupButton4" inherits="GathererUI_PopupButtonTemplate" id="13">
266 <Anchors>
267 <Anchor point="TOP" relativeTo="GathererUI_PopupButton3" relativePoint="BOTTOM"/>
268 </Anchors>
269 </Button>
270 <Button name="GathererUI_PopupButton5" inherits="GathererUI_PopupButtonTemplate" id="14">
271 <Anchors>
272 <Anchor point="TOP" relativeTo="GathererUI_PopupButton4" relativePoint="BOTTOM"/>
273 </Anchors>
274 </Button>
275 <Button name="GathererUI_PopupButton6" inherits="GathererUI_PopupButtonTemplate" id="15">
276 <Anchors>
277 <Anchor point="TOP" relativeTo="GathererUI_PopupButton5" relativePoint="BOTTOM"/>
278 </Anchors>
279 </Button>
280 <Button name="GathererUI_PopupButton7" inherits="GathererUI_PopupButtonTemplate" id="16">
281 <Anchors>
282 <Anchor point="TOP" relativeTo="GathererUI_PopupButton6" relativePoint="BOTTOM"/>
283 </Anchors>
284 </Button>
285 </Frames>
286 <Scripts>
287 <OnShow>
288 PlaySound("UChatScrollButton");
289 GathererUI_InitializeMenu();
290 </OnShow>
291 </Scripts>
292 </Frame>
293  
294 <!-- Gatherer Options Dialog frame -->
295 <Frame name="GathererUI_DialogFrame" toplevel="true" movable="true" enableMouse="true" frameStrata="DIALOG" hidden="true" parent="UIParent">
296 <Size>
297 <AbsDimension x="440" y="315"/>
298 </Size>
299 <Anchors>
300 <Anchor point="TOP" relativeTo="UIParent" relativePoint="TOP">
301 <Offset>
302 <AbsDimension x="0" y="-40"/>
303 </Offset>
304 </Anchor>
305 </Anchors>
306 <TitleRegion setAllPoints="true"/>
307 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
308 <BackgroundInsets>
309 <AbsInset left="11" right="12" top="12" bottom="11"/>
310 </BackgroundInsets>
311 <TileSize>
312 <AbsValue val="32"/>
313 </TileSize>
314 <EdgeSize>
315 <AbsValue val="32"/>
316 </EdgeSize>
317 </Backdrop>
318 <Layers>
319 <Layer level="ARTWORK">
320 <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
321 <Size>
322 <AbsDimension x="375" y="64"/>
323 </Size>
324 <Anchors>
325 <Anchor point="TOP">
326 <Offset>
327 <AbsDimension x="1" y="12"/>
328 </Offset>
329 </Anchor>
330 </Anchors>
331 </Texture>
332 <FontString inherits="GameFontNormal" text="GATHERER_TEXT_CONFIG_TITLE" nonspacewrap="true">
333 <Anchors>
334 <Anchor point="TOP" relativeTo="$parentHeader">
335 <Offset>
336 <AbsDimension x="0" y="-13"/>
337 </Offset>
338 </Anchor>
339 </Anchors>
340 </FontString>
341 </Layer>
342 <Layer level="ARTWORK">
343 <Texture name="GathererUI_OptionIconTexture" file="Interface\Addons\Gatherer\Skin\GatherOrb">
344 <Size>
345 <AbsDimension x="26" y="26"/>
346 </Size>
347 <Anchors>
348 <Anchor point="TOPLEFT">
349 <Offset>
350 <AbsDimension x="0" y="1"/>
351 </Offset>
352 </Anchor>
353 </Anchors>
354 </Texture>
355 </Layer>
356 <Layer level="OVERLAY">
357 <Texture file="Interface\Minimap\MiniMap-TrackingBorder">
358 <Size>
359 <AbsDimension x="64" y="64"/>
360 </Size>
361 <Anchors>
362 <Anchor point="TOPLEFT">
363 <Offset>
364 <AbsDimension x="-7" y="7"/>
365 </Offset>
366 </Anchor>
367 </Anchors>
368 </Texture>
369 </Layer>
370 </Layers>
371 <Frames>
372 <!-- Tabs -->
373 <Button name="GathererUI_DialogFrameTab1" inherits="GathererUI_FrameTabButtonTemplate" id="1" text="GATHERER_TAB_FILTERS_TEXT">
374 <Anchors>
375 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
376 <Offset>
377 <AbsDimension x="50" y="-10"/>
378 </Offset>
379 </Anchor>
380 </Anchors>
381 <Scripts>
382 <OnEnter>
383 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
384 GameTooltip:SetText(GATHERER_TAB_FILTERS_TEXT_TIP);
385 </OnEnter>
386 <OnLeave>
387 GameTooltip:Hide();
388 </OnLeave>
389 </Scripts>
390 </Button>
391 <Button name="GathererUI_DialogFrameTab2" inherits="GathererUI_FrameTabButtonTemplate" id="2" text="GATHERER_TAB_GLOBALS_TEXT">
392 <Anchors>
393 <Anchor point="TOPLEFT" relativeTo="GathererUI_DialogFrameTab1" relativePoint="TOPRIGHT">
394 <Offset>
395 <AbsDimension x="-15" y="0"/>
396 </Offset>
397 </Anchor>
398 </Anchors>
399 <Scripts>
400 <OnEnter>
401 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
402 GameTooltip:SetText(GATHERER_TAB_GLOBALS_TEXT_TIP);
403 </OnEnter>
404 <OnLeave>
405 GameTooltip:Hide();
406 </OnLeave>
407 </Scripts>
408 </Button>
409 <Button name="GathererUI_DialogFrameTab3" inherits="GathererUI_FrameTabButtonTemplate" id="3" text="GATHERER_TAB_MENU_TEXT">
410 <Anchors>
411 <Anchor point="TOPLEFT" relativeTo="GathererUI_DialogFrameTab2" relativePoint="TOPRIGHT">
412 <Offset>
413 <AbsDimension x="-15" y="0"/>
414 </Offset>
415 </Anchor>
416 </Anchors>
417 <Scripts>
418 <OnEnter>
419 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
420 GameTooltip:SetText(GATHERER_TAB_MENU_TEXT_TIP);
421 </OnEnter>
422 <OnLeave>
423 GameTooltip:Hide();
424 </OnLeave>
425 </Scripts>
426 </Button>
427  
428 <!-- Frame handling buttons -->
429 <Button name="GathererUI_CallHelpButton">
430 <Size>
431 <AbsDimension x="24" y="30" />
432 </Size>
433 <Anchors>
434 <Anchor point="TOPRIGHT">
435 <Offset>
436 <AbsDimension x="-7" y="3"/>
437 </Offset>
438 </Anchor>
439 </Anchors>
440 <Scripts>
441 <OnClick>
442 GathererUI_HelpFrame_Update();
443 if ( GathererUI_HelpFrame:IsShown() ) then
444 GathererUI_HelpFrame:Hide();
445 else
446 GathererUI_HelpFrame:Show();
447 end
448 </OnClick>
449 </Scripts>
450 <NormalTexture file="Interface\Buttons\UI-MicroButton-Help-Up" />
451 <PushedTexture file="Interface\Buttons\UI-MicroButton-Help-Down" />
452 <HighlightTexture file="Interface\Buttons\UI-MicroButton-Hilight" alphaMode="ADD" />
453 </Button>
454  
455 <Button name="GathererUI_CloseButton" text="CLOSE" inherits="UIPanelButtonTemplate">
456 <Size>
457 <AbsDimension x="100" y="25"/>
458 </Size>
459 <Anchors>
460 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
461 <Offset>
462 <AbsDimension x="-15" y="15"/>
463 </Offset>
464 </Anchor>
465 </Anchors>
466 <Scripts>
467 <OnClick>
468 GathererUI_HideOptions();
469 </OnClick>
470 </Scripts>
471 </Button>
472  
473 <Button name="GathererUI_ZoneRematchButton" text="Zone Match" inherits="UIPanelButtonTemplate">
474 <Size>
475 <AbsDimension x="100" y="25"/>
476 </Size>
477 <Anchors>
478 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
479 <Offset>
480 <AbsDimension x="15" y="15"/>
481 </Offset>
482 </Anchor>
483 </Anchors>
484 <Scripts>
485 <OnLoad>
486 this.tooltipText = GATHERER_ZMBUTTON_TIP;
487 </OnLoad>
488 <OnClick>
489 GathererUI_ShowRematchDialog();
490 </OnClick>
491 <OnEnter>
492 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
493 GameTooltip:SetText(this.tooltipText);
494 GameTooltip:Show();
495 </OnEnter>
496 <OnLeave>
497 GameTooltip:Hide();
498 </OnLeave>
499 </Scripts>
500 </Button>
501 <Button name="GathererUI_ReportButton" text="GATHERER_TEXT_TOGGLE_REPORT" inherits="UIPanelButtonTemplate">
502 <Size>
503 <AbsDimension x="100" y="25"/>
504 </Size>
505 <Anchors>
506 <Anchor point="TOPLEFT" relativeTo="GathererUI_ZoneRematchButton" relativePoint="TOPRIGHT">
507 <Offset>
508 <AbsDimension x="5" y="0"/>
509 </Offset>
510 </Anchor>
511 </Anchors>
512 <Scripts>
513 <OnLoad>
514 this.tooltipText = GATHERER_REPORT_TIP;
515 </OnLoad>
516 <OnClick>
517 showGathererInfo(1);
518 </OnClick>
519 <OnEnter>
520 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
521 GameTooltip:SetText(this.tooltipText);
522 GameTooltip:Show();
523 </OnEnter>
524 <OnLeave>
525 GameTooltip:Hide();
526 </OnLeave>
527 </Scripts>
528 </Button>
529 <Button name="GathererUI_SearchtButton" text="GATHERER_TEXT_TOGGLE_SEARCH" inherits="UIPanelButtonTemplate">
530 <Size>
531 <AbsDimension x="100" y="25"/>
532 </Size>
533 <Anchors>
534 <Anchor point="TOPRIGHT" relativeTo="GathererUI_CloseButton" relativePoint="TOPLEFT">
535 <Offset>
536 <AbsDimension x="-5" y="0"/>
537 </Offset>
538 </Anchor>
539 </Anchors>
540 <Scripts>
541 <OnLoad>
542 this.tooltipText = GATHERER_SEARCH_TIP;
543 </OnLoad>
544 <OnClick>
545 showGathererInfo(2);
546 </OnClick>
547 <OnEnter>
548 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
549 GameTooltip:SetText(this.tooltipText);
550 GameTooltip:Show();
551 </OnEnter>
552 <OnLeave>
553 GameTooltip:Hide();
554 </OnLeave>
555 </Scripts>
556 </Button>
557  
558 </Frames>
559 <Scripts>
560 <OnLoad>
561 -- Tab Handling code
562 PanelTemplates_SetNumTabs(this, 3);
563 PanelTemplates_SetTab(this, 1);
564 </OnLoad>
565 <OnShow>
566 PlaySound("UChatScrollButton");
567 ToggleGathererUI_Dialog(GATHERERUI_SUBFRAMES[PanelTemplates_GetSelectedTab(GathererUI_DialogFrame)]);
568 </OnShow>
569 <OnHide>
570 -- Check if the options frame was opened by myAddOns
571 if (MYADDONS_ACTIVE_OPTIONSFRAME == this) then
572 ShowUIPanel(myAddOnsFrame);
573 end
574 </OnHide>
575 </Scripts>
576 </Frame>
577  
578 <!-- Filtering DropDown menus and skill level editboxes -->
579 <Frame name="GathererUI_FiltersOptionsBorderFrame" parent="GathererUI_DialogFrame" inherits="OptionFrameBoxTemplate" hidden="true" id="1">
580 <Size>
581 <AbsDimension x="410" y="250"/>
582 </Size>
583 <Anchors>
584 <Anchor point="TOPLEFT" relativeTo="GathererUI_DialogFrame" relativePoint="TOPLEFT">
585 <Offset>
586 <AbsDimension x="16" y="-25"/>
587 </Offset>
588 </Anchor>
589 </Anchors>
590 <Scripts>
591 <OnLoad>
592 this:SetBackdropColor(0,0,0)
593 </OnLoad>
594 </Scripts>
595 <Frames>
596 <Frame name="GathererUI_DropDownHerbs" inherits="UIDropDownMenuTemplate" id="2">
597 <Anchors>
598 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
599 <Offset>
600 <AbsDimension x="0" y="-22"/>
601 </Offset>
602 </Anchor>
603 </Anchors>
604 <Scripts>
605 <OnLoad>
606 UIDropDownMenu_SetWidth(100);
607 this.tooltipText=GATHERER_HERBDDM_TIP;
608 </OnLoad>
609 <OnShow>
610 UIDropDownMenu_ClearAll(this);
611 UIDropDownMenu_Initialize(this, GathererUIDropDownHerbs_Initialize);
612 </OnShow>
613 <OnEnter>
614 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
615 GameTooltip:SetText(this.tooltipText);
616 GameTooltip:Show();
617 </OnEnter>
618 <OnLeave>
619 GameTooltip:Hide();
620 </OnLeave>
621 </Scripts>
622 <Layers>
623 <Layer level="ARTWORK">
624 <FontString inherits="GameFontNormalSmall" text="GATHERER_TEXT_FILTER_HERBS" nonspacewrap="true">
625 <Anchors>
626 <Anchor point="TOPLEFT" relativeTo="GathererUI_DropDownHerbs" relativePoint="TOPLEFT">
627 <Offset>
628 <AbsDimension x="15" y="15"/>
629 </Offset>
630 </Anchor>
631 </Anchors>
632 </FontString>
633 </Layer>
634 </Layers>
635 </Frame>
636 <EditBox name="GathererUI_HerbSkillEditBox" letters="3" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
637 <Size>
638 <AbsDimension x="45" y="16"/>
639 </Size>
640 <Anchors>
641 <Anchor point="TOPRIGHT" relativeTo="GathererUI_DropDownHerbs" relativePoint="TOPRIGHT">
642 <Offset>
643 <AbsDimension x="-7" y="15"/>
644 </Offset>
645 </Anchor>
646 </Anchors>
647 <Scripts>
648 <OnLoad>
649 this.tooltipText=GATHERER_HERBSKLEB_TIP;
650 </OnLoad>
651 <OnEnterPressed>
652 GathererUI_OnEnterPressed_HerbSkillEditBox();
653 this:ClearFocus();
654 </OnEnterPressed>
655 <OnShow>
656 if ( Gatherer_Settings.minSetHerbSkill ) then
657 this:SetNumber(Gatherer_Settings.minSetHerbSkill);
658 else
659 this:SetNumber(0);
660 end
661 </OnShow>
662 <OnEnter>
663 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
664 GameTooltip:SetText(this.tooltipText);
665 GameTooltip:Show();
666 </OnEnter>
667 <OnLeave>
668 GameTooltip:Hide();
669 </OnLeave>
670 </Scripts>
671 </EditBox>
672  
673 <Frame name="GathererUI_DropDownOre" inherits="UIDropDownMenuTemplate" id="3">
674 <Anchors>
675 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
676 <Offset>
677 <AbsDimension x="135" y="-22"/>
678 </Offset>
679 </Anchor>
680 </Anchors>
681 <Scripts>
682 <OnLoad>
683 UIDropDownMenu_SetWidth(100);
684 this.tooltipText=GATHERER_OREDDM_TIP;
685 </OnLoad>
686 <OnShow>
687 UIDropDownMenu_ClearAll(this);
688 UIDropDownMenu_Initialize(this, GathererUIDropDownOre_Initialize);
689 </OnShow>
690 <OnEnter>
691 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
692 GameTooltip:SetText(this.tooltipText);
693 GameTooltip:Show();
694 </OnEnter>
695 <OnLeave>
696 GameTooltip:Hide();
697 </OnLeave>
698 </Scripts>
699 <Layers>
700 <Layer level="ARTWORK">
701 <FontString inherits="GameFontNormalSmall" text="GATHERER_TEXT_FILTER_ORE" nonspacewrap="true">
702 <Anchors>
703 <Anchor point="TOPLEFT" relativeTo="GathererUI_DropDownOre" relativePoint="TOPLEFT">
704 <Offset>
705 <AbsDimension x="15" y="15"/>
706 </Offset>
707 </Anchor>
708 </Anchors>
709 </FontString>
710 </Layer>
711 </Layers>
712 </Frame>
713 <EditBox name="GathererUI_OreSkillEditBox" letters="3" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
714 <Size>
715 <AbsDimension x="45" y="16"/>
716 </Size>
717 <Anchors>
718 <Anchor point="TOPRIGHT" relativeTo="GathererUI_DropDownOre" relativePoint="TOPRIGHT">
719 <Offset>
720 <AbsDimension x="-7" y="15"/>
721 </Offset>
722 </Anchor>
723 </Anchors>
724 <Scripts>
725 <OnLoad>
726 this.tooltipText=GATHERER_ORESKLEB_TIP;
727 </OnLoad>
728 <OnEnterPressed>
729 GathererUI_OnEnterPressed_OreSkillEditBox();
730 this:ClearFocus();
731 </OnEnterPressed>
732 <OnShow>
733 if ( Gatherer_Settings.minSetOreSkill ) then
734 this:SetNumber(Gatherer_Settings.minSetOreSkill);
735 else
736 this:SetNumber(0);
737 end
738 </OnShow>
739 <OnEnter>
740 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
741 GameTooltip:SetText(this.tooltipText);
742 GameTooltip:Show();
743 </OnEnter>
744 <OnLeave>
745 GameTooltip:Hide();
746 </OnLeave>
747 </Scripts>
748 </EditBox>
749  
750 <Frame name="GathererUI_DropDownTreasure" inherits="UIDropDownMenuTemplate" id="4">
751 <Anchors>
752 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
753 <Offset>
754 <AbsDimension x="265" y="-22"/>
755 </Offset>
756 </Anchor>
757 </Anchors>
758 <Scripts>
759 <OnLoad>
760 UIDropDownMenu_SetWidth(100);
761 this.tooltipText= GATHERER_TREASUREDDM_TIP;
762 </OnLoad>
763 <OnShow>
764 UIDropDownMenu_ClearAll(this);
765 UIDropDownMenu_Initialize(this, GathererUIDropDownTreasure_Initialize);
766 </OnShow>
767 <OnEnter>
768 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
769 GameTooltip:SetText(this.tooltipText);
770 GameTooltip:Show();
771 </OnEnter>
772 <OnLeave>
773 GameTooltip:Hide();
774 </OnLeave>
775 </Scripts>
776 <Layers>
777 <Layer level="ARTWORK">
778 <FontString inherits="GameFontNormalSmall" text="GATHERER_TEXT_FILTER_TREASURE" nonspacewrap="true">
779 <Anchors>
780 <Anchor point="TOPLEFT" relativeTo="GathererUI_DropDownTreasure" relativePoint="TOPLEFT">
781 <Offset>
782 <AbsDimension x="15" y="15"/>
783 </Offset>
784 </Anchor>
785 </Anchors>
786 </FontString>
787 </Layer>
788 </Layers>
789 </Frame>
790  
791 <CheckButton name="GathererUI_CheckHerbRecord" inherits="OptionsCheckButtonTemplate">
792 <Anchors>
793 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
794 <Offset>
795 <AbsDimension x="15" y="-48"/>
796 </Offset>
797 </Anchor>
798 </Anchors>
799 <Scripts>
800 <OnLoad>
801 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_LINKRECORD);
802 this.tooltipText = GATHERER_TEXT_LINKRECORD_TIP;
803 </OnLoad>
804 <OnClick>
805 if (this:GetChecked()) then
806 Gatherer_Settings.filterRecording[1] = 1;
807 else
808 Gatherer_Settings.filterRecording[1] = nil;
809 GathererUI_CheckHerbRecord:SetChecked(Gatherer_Settings.filterRecording[1]);
810 end
811 </OnClick>
812 <OnEnter>
813 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
814 GameTooltip:SetText(this.tooltipText);
815 GameTooltip:Show();
816 </OnEnter>
817 <OnLeave>
818 GameTooltip:Hide();
819 </OnLeave>
820 </Scripts>
821 </CheckButton>
822 <CheckButton name="GathererUI_CheckOreRecord" inherits="OptionsCheckButtonTemplate">
823 <Anchors>
824 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
825 <Offset>
826 <AbsDimension x="150" y="-48"/>
827 </Offset>
828 </Anchor>
829 </Anchors>
830 <Scripts>
831 <OnLoad>
832 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_LINKRECORD);
833 this.tooltipText = GATHERER_TEXT_LINKRECORD_TIP;
834 </OnLoad>
835 <OnClick>
836 if (this:GetChecked()) then
837 Gatherer_Settings.filterRecording[2] = 1;
838 else
839 Gatherer_Settings.filterRecording[2] = nil;
840 GathererUI_CheckHerbRecord:SetChecked(Gatherer_Settings.filterRecording[2]);
841 end
842 </OnClick>
843 <OnEnter>
844 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
845 GameTooltip:SetText(this.tooltipText);
846 GameTooltip:Show();
847 </OnEnter>
848 <OnLeave>
849 GameTooltip:Hide();
850 </OnLeave>
851 </Scripts>
852 </CheckButton>
853 <CheckButton name="GathererUI_CheckTreasureRecord" inherits="OptionsCheckButtonTemplate">
854 <Anchors>
855 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
856 <Offset>
857 <AbsDimension x="280" y="-48"/>
858 </Offset>
859 </Anchor>
860 </Anchors>
861 <Scripts>
862 <OnLoad>
863 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_LINKRECORD);
864 this.tooltipText = GATHERER_TEXT_LINKRECORD_TIP;
865 </OnLoad>
866 <OnClick>
867 if (this:GetChecked()) then
868 Gatherer_Settings.filterRecording[0] = 1;
869 else
870 Gatherer_Settings.filterRecording[0] = nil;
871 GathererUI_CheckHerbRecord:SetChecked(Gatherer_Settings.filterRecording[0]);
872 end
873 </OnClick>
874 <OnEnter>
875 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
876 GameTooltip:SetText(this.tooltipText);
877 GameTooltip:Show();
878 </OnEnter>
879 <OnLeave>
880 GameTooltip:Hide();
881 </OnLeave>
882 </Scripts>
883 </CheckButton>
884  
885 <Button name="GathererUI_ButtonResetHerb" text="Reset" inherits="UIPanelButtonTemplate">
886 <Size>
887 <AbsDimension x="100" y="25"/>
888 </Size>
889 <Anchors>
890 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckHerbRecord" relativePoint="BOTTOMLEFT">
891 <Offset>
892 <AbsDimension x="0" y="0"/>
893 </Offset>
894 </Anchor>
895 </Anchors>
896 <Scripts>
897 <OnClick>
898 if ( Gatherer_Settings.interested ) then
899 if ( Gatherer_Settings.interested[1] ) then
900 local i;
901 for i in Gatherer_Settings.interested[1] do
902 Gatherer_Settings.interested[1][i] = true;
903 end
904 end
905 end
906 </OnClick>
907 </Scripts>
908 </Button>
909 <Button name="GathererUI_ButtonResetOre" text="Reset" inherits="UIPanelButtonTemplate">
910 <Size>
911 <AbsDimension x="100" y="25"/>
912 </Size>
913 <Anchors>
914 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckOreRecord" relativePoint="BOTTOMLEFT">
915 <Offset>
916 <AbsDimension x="0" y="0"/>
917 </Offset>
918 </Anchor>
919 </Anchors>
920 <Scripts>
921 <OnClick>
922 if ( Gatherer_Settings.interested ) then
923 if ( Gatherer_Settings.interested[2] ) then
924 local i;
925 for i in Gatherer_Settings.interested[2] do
926 Gatherer_Settings.interested[2][i] = true;
927 end
928 end
929 end
930 </OnClick>
931 </Scripts>
932 </Button>
933 <Button name="GathererUI_ButtonResetTreasure" text="Reset" inherits="UIPanelButtonTemplate">
934 <Size>
935 <AbsDimension x="100" y="25"/>
936 </Size>
937 <Anchors>
938 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckTreasureRecord" relativePoint="BOTTOMLEFT">
939 <Offset>
940 <AbsDimension x="0" y="0"/>
941 </Offset>
942 </Anchor>
943 </Anchors>
944 <Scripts>
945 <OnClick>
946 if ( Gatherer_Settings.interested ) then
947 if ( Gatherer_Settings.interested[0] ) then
948 local i;
949 for i in Gatherer_Settings.interested[0] do
950 Gatherer_Settings.interested[0][i] = true;
951 end
952 end
953 end
954 </OnClick>
955 </Scripts>
956 </Button>
957  
958 <CheckButton name="GathererUI_CheckToggleWorldFilters" inherits="OptionsCheckButtonTemplate">
959 <Anchors>
960 <Anchor point="TOPLEFT" relativeTo="GathererUI_ButtonResetHerb" relativePoint="BOTTOMLEFT">
961 <Offset>
962 <AbsDimension x="0" y="0"/>
963 </Offset>
964 </Anchor>
965 </Anchors>
966 <Scripts>
967 <OnLoad>
968 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_WMFILTERS);
969 this.tooltipText = GATHERER_TEXT_WMFILTERS_TIP;
970 </OnLoad>
971 <OnClick>
972 if (this:GetChecked()) then
973 Gatherer_Settings.showWorldMapFilters = 1;
974 GathererWD_DropDownFilters:Show();
975 else
976 Gatherer_Settings.showWorldMapFilters = 0;
977 GathererWD_DropDownFilters:Hide();
978 end
979 </OnClick>
980 <OnEnter>
981 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
982 GameTooltip:SetText(this.tooltipText);
983 GameTooltip:Show();
984 </OnEnter>
985 <OnLeave>
986 GameTooltip:Hide();
987 </OnLeave>
988 </Scripts>
989 </CheckButton>
990  
991 <CheckButton name="GathererUI_CheckDisableWMFix" inherits="OptionsCheckButtonTemplate">
992 <Anchors>
993 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckToggleWorldFilters" relativePoint="TOPRIGHT">
994 <Offset>
995 <AbsDimension x="150" y="0"/>
996 </Offset>
997 </Anchor>
998 </Anchors>
999 <Scripts>
1000 <OnLoad>
1001 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_DISABLEWMFIX);
1002 this.tooltipText = GATHERER_TEXT_DISABLEWMFIX_TIP;
1003 </OnLoad>
1004 <OnClick>
1005 if (this:GetChecked()) then
1006 Gatherer_Settings.disableWMFreezeWorkaround = 1;
1007 Gatherer_WorldMapDisplay:Show()
1008 else
1009 Gatherer_Settings.disableWMFreezeWorkaround = 0;
1010 Gatherer_WorldMapDisplay:Hide()
1011 end
1012 </OnClick>
1013 <OnEnter>
1014 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1015 GameTooltip:SetText(this.tooltipText);
1016 GameTooltip:Show();
1017 </OnEnter>
1018 <OnLeave>
1019 GameTooltip:Hide();
1020 </OnLeave>
1021 </Scripts>
1022 </CheckButton>
1023  
1024 </Frames>
1025 </Frame>
1026  
1027  
1028 <!-- Gatherer specific options -->
1029 <Frame name="GathererUI_GathererOptionsBorderFrame" parent="GathererUI_DialogFrame" inherits="OptionFrameBoxTemplate" hidden="true" id="2">
1030 <Size>
1031 <AbsDimension x="410" y="250"/>
1032 </Size>
1033 <Anchors>
1034 <Anchor point="TOPLEFT" relativeTo="GathererUI_DialogFrame" relativePoint="TOPLEFT">
1035 <Offset>
1036 <AbsDimension x="16" y="-25"/>
1037 </Offset>
1038 </Anchor>
1039 </Anchors>
1040 <Scripts>
1041 <OnLoad>
1042 this:SetBackdropColor(0,0,0)
1043 </OnLoad>
1044 </Scripts>
1045 <Frames>
1046 <!-- Map Minder options -->
1047 <CheckButton name="GathererUI_CheckMapMinder" inherits="OptionsCheckButtonTemplate">
1048 <Anchors>
1049 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
1050 <Offset>
1051 <AbsDimension x="5" y="-5"/>
1052 </Offset>
1053 </Anchor>
1054 </Anchors>
1055 <Scripts>
1056 <OnLoad>
1057 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_MAPMINDER);
1058 this.tooltipText=GATHERER_MAPMINDER_TIP;
1059 </OnLoad>
1060 <OnShow>
1061 if ( Gatherer_Settings.mapMinder ~= nil ) then
1062 this:SetChecked(Gatherer_Settings.mapMinder)
1063 end
1064 </OnShow>
1065 <OnClick>
1066 if (this:GetChecked()) then
1067 Gatherer_Settings.mapMinder = true;
1068 else
1069 Gatherer_Settings.mapMinder = false;
1070 end
1071 </OnClick>
1072 <OnEnter>
1073 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1074 GameTooltip:SetText(this.tooltipText);
1075 GameTooltip:Show();
1076 </OnEnter>
1077 <OnLeave>
1078 GameTooltip:Hide();
1079 </OnLeave>
1080 </Scripts>
1081 </CheckButton>
1082 <Slider name="GathererUI_SliderMapMinder" inherits="OptionsSliderTemplate">
1083 <Size>
1084 <AbsDimension x="160" y="17"/>
1085 </Size>
1086 <Anchors>
1087 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
1088 <Offset>
1089 <AbsDimension x="215" y="-17"/>
1090 </Offset>
1091 </Anchor>
1092 </Anchors>
1093 <Scripts>
1094 <OnLoad>
1095 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_MAPMINDER_VALUE);
1096 getglobal(this:GetName().."High"):SetText();
1097 getglobal(this:GetName().."Low"):SetText();
1098 this:SetMinMaxValues(0, 30);
1099 this:SetValueStep(1);
1100 this.tooltipText = GATHERER_TEXT_MAPMINDER_TIP;
1101 </OnLoad>
1102 <OnShow>
1103 if (Gatherer_Settings.minderTime) then
1104 this:SetValue(Gatherer_Settings.minderTime);
1105 end
1106 </OnShow>
1107 <OnValueChanged>
1108 Gatherer_Settings.minderTime = this:GetValue();
1109 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_MAPMINDER_VALUE.." : "..this:GetValue().."s");
1110 </OnValueChanged>
1111 <OnEnter>
1112 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1113 GameTooltip:SetText(this.tooltipText);
1114 GameTooltip:Show();
1115 </OnEnter>
1116 <OnLeave>
1117 GameTooltip:Hide();
1118 </OnLeave>
1119 </Scripts>
1120 </Slider>
1121  
1122 <!-- Display Options -->
1123 <Slider name="GathererUI_SliderFadePercent" inherits="OptionsSliderTemplate">
1124 <Size>
1125 <AbsDimension x="160" y="17"/>
1126 </Size>
1127 <Anchors>
1128 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckMapMinder" relativePoint="BOTTOMLEFT">
1129 <Offset>
1130 <AbsDimension x="15" y="-12"/>
1131 </Offset>
1132 </Anchor>
1133 </Anchors>
1134 <Scripts>
1135 <OnLoad>
1136 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_FADEPERC);
1137 getglobal(this:GetName().."High"):SetText();
1138 getglobal(this:GetName().."Low"):SetText();
1139 this:SetMinMaxValues(0, 100);
1140 this:SetValueStep(1);
1141 this.tooltipText = GATHERER_TEXT_FADEPERC_TIP;
1142 </OnLoad>
1143 <OnShow>
1144 if (Gatherer_Settings.fadePerc) then
1145 this:SetValue(Gatherer_Settings.fadePerc);
1146 end
1147 </OnShow>
1148 <OnValueChanged>
1149 Gatherer_Settings.fadePerc = this:GetValue();
1150 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_FADEPERC.." : "..this:GetValue().."%");
1151 </OnValueChanged>
1152 <OnEnter>
1153 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1154 GameTooltip:SetText(this.tooltipText);
1155 GameTooltip:Show();
1156 </OnEnter>
1157 <OnLeave>
1158 GameTooltip:Hide();
1159 </OnLeave>
1160 </Scripts>
1161 </Slider>
1162 <Slider name="GathererUI_SliderFadeDist" inherits="OptionsSliderTemplate">
1163 <Size>
1164 <AbsDimension x="160" y="17"/>
1165 </Size>
1166 <Anchors>
1167 <Anchor point="TOPLEFT" relativeTo="GathererUI_SliderMapMinder" relativePoint="BOTTOMLEFT">
1168 <Offset>
1169 <AbsDimension x="0" y="-17"/>
1170 </Offset>
1171 </Anchor>
1172 </Anchors>
1173 <Scripts>
1174 <OnLoad>
1175 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_FADEDIST);
1176 getglobal(this:GetName().."High"):SetText();
1177 getglobal(this:GetName().."Low"):SetText();
1178 this:SetMinMaxValues(10, 60);
1179 this:SetValueStep(1);
1180 this.tooltipText = GATHERER_TEXT_FADEDIST_TIP;
1181 </OnLoad>
1182 <OnShow>
1183 if (Gatherer_Settings.fadeDist) then
1184 this:SetValue(Gatherer_Settings.fadeDist);
1185 end
1186 </OnShow>
1187 <OnValueChanged>
1188 Gatherer_Settings.fadeDist = this:GetValue();
1189 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_FADEDIST.." : "..this:GetValue()..".");
1190 </OnValueChanged>
1191 <OnEnter>
1192 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1193 GameTooltip:SetText(this.tooltipText);
1194 GameTooltip:Show();
1195 </OnEnter>
1196 <OnLeave>
1197 GameTooltip:Hide();
1198 </OnLeave>
1199 </Scripts>
1200 </Slider>
1201 <Frame name="GathererUI_DropDownTheme" inherits="UIDropDownMenuTemplate" id="1">
1202 <Anchors>
1203 <Anchor point="TOPLEFT" relativeTo="GathererUI_SliderFadePercent" relativePoint="BOTTOMLEFT">
1204 <Offset>
1205 <AbsDimension x="40" y="-4"/>
1206 </Offset>
1207 </Anchor>
1208 </Anchors>
1209 <Scripts>
1210 <OnLoad>
1211 UIDropDownMenu_SetWidth(90);
1212 this.tooltipText= GATHERER_THEME_TIP;
1213 </OnLoad>
1214 <OnShow>
1215 UIDropDownMenu_Initialize(this, GathererUIDropDownTheme_Initialize);
1216 </OnShow>
1217 <OnEvent>
1218 <!--LocationDropDown_OnEvent();-->
1219 </OnEvent>
1220 <OnEnter>
1221 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1222 GameTooltip:SetText(this.tooltipText);
1223 GameTooltip:Show();
1224 </OnEnter>
1225 <OnLeave>
1226 GameTooltip:Hide();
1227 </OnLeave>
1228 </Scripts>
1229 <Layers>
1230 <Layer level="ARTWORK">
1231 <FontString inherits="GameFontNormal" text="GATHERER_TEXT_THEME" nonspacewrap="true">
1232 <Anchors>
1233 <Anchor point="TOPLEFT" relativeTo="GathererUI_SliderFadePercent" relativePoint="BOTTOMLEFT">
1234 <Offset>
1235 <AbsDimension x="0" y="-10"/>
1236 </Offset>
1237 </Anchor>
1238 </Anchors>
1239 </FontString>
1240 </Layer>
1241 </Layers>
1242 </Frame>
1243  
1244 <Slider name="GathererUI_SliderNumber" inherits="OptionsSliderTemplate">
1245 <Size>
1246 <AbsDimension x="160" y="17"/>
1247 </Size>
1248 <Anchors>
1249 <Anchor point="TOPLEFT" relativeTo="GathererUI_SliderFadeDist" relativePoint="BOTTOMLEFT">
1250 <Offset>
1251 <AbsDimension x="0" y="-17"/>
1252 </Offset>
1253 </Anchor>
1254 </Anchors>
1255 <Scripts>
1256 <OnLoad>
1257 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_NUMBER);
1258 getglobal(this:GetName().."High"):SetText();
1259 getglobal(this:GetName().."Low"):SetText();
1260 this:SetMinMaxValues(5, 25);
1261 this:SetValueStep(1);
1262 this.tooltipText = GATHERER_TEXT_NUMBER_TIP;
1263 </OnLoad>
1264 <OnShow>
1265 if (Gatherer_Settings.number) then
1266 this:SetValue(Gatherer_Settings.number);
1267 end
1268 </OnShow>
1269 <OnValueChanged>
1270 Gatherer_Settings.number = this:GetValue();
1271 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_NUMBER.." : "..this:GetValue()..".");
1272 </OnValueChanged>
1273 <OnEnter>
1274 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1275 GameTooltip:SetText(this.tooltipText);
1276 GameTooltip:Show();
1277 </OnEnter>
1278 <OnLeave>
1279 GameTooltip:Hide();
1280 </OnLeave>
1281 </Scripts>
1282 </Slider>
1283  
1284 <Slider name="GathererUI_SliderMiniIconDist" inherits="OptionsSliderTemplate">
1285 <Size>
1286 <AbsDimension x="160" y="17"/>
1287 </Size>
1288 <Anchors>
1289 <Anchor point="TOPLEFT" relativeTo="GathererUI_DropDownTheme" relativePoint="BOTTOMLEFT">
1290 <Offset>
1291 <AbsDimension x="-40" y="-16"/>
1292 </Offset>
1293 </Anchor>
1294 </Anchors>
1295 <Scripts>
1296 <OnLoad>
1297 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_MINIIDIST);
1298 getglobal(this:GetName().."High"):SetText();
1299 getglobal(this:GetName().."Low"):SetText();
1300 this:SetMinMaxValues(0, 60);
1301 this:SetValueStep(1);
1302 this.tooltipText = GATHERER_TEXT_MINIIDIST_TIP;
1303 </OnLoad>
1304 <OnShow>
1305 if (Gatherer_Settings.miniIconDist) then
1306 this:SetValue(Gatherer_Settings.miniIconDist);
1307 end
1308 </OnShow>
1309 <OnValueChanged>
1310 Gatherer_Settings.miniIconDist = this:GetValue();
1311 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_MINIIDIST.." : "..this:GetValue()..".");
1312 </OnValueChanged>
1313 <OnEnter>
1314 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1315 GameTooltip:SetText(this.tooltipText);
1316 GameTooltip:Show();
1317 </OnEnter>
1318 <OnLeave>
1319 GameTooltip:Hide();
1320 </OnLeave>
1321 </Scripts>
1322 </Slider>
1323  
1324 <Slider name="GathererUI_SliderMaxDist" inherits="OptionsSliderTemplate">
1325 <Size>
1326 <AbsDimension x="160" y="17"/>
1327 </Size>
1328 <Anchors>
1329 <Anchor point="TOPLEFT" relativeTo="GathererUI_SliderNumber" relativePoint="BOTTOMLEFT">
1330 <Offset>
1331 <AbsDimension x="0" y="-17"/>
1332 </Offset>
1333 </Anchor>
1334 </Anchors>
1335 <Scripts>
1336 <OnLoad>
1337 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_MAXDIST);
1338 getglobal(this:GetName().."High"):SetText();
1339 getglobal(this:GetName().."Low"):SetText();
1340 this:SetMinMaxValues(0, 100);
1341 this:SetValueStep(1);
1342 this.tooltipText = GATHERER_TEXT_MAXDIST_TIP;
1343 </OnLoad>
1344 <OnShow>
1345 if (Gatherer_Settings.maxDist) then
1346 this:SetValue(Gatherer_Settings.maxDist);
1347 end
1348 </OnShow>
1349 <OnValueChanged>
1350 Gatherer_Settings.maxDist = this:GetValue();
1351 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_MAXDIST.." : "..this:GetValue()..".");
1352 </OnValueChanged>
1353 <OnEnter>
1354 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1355 GameTooltip:SetText(this.tooltipText);
1356 GameTooltip:Show();
1357 </OnEnter>
1358 <OnLeave>
1359 GameTooltip:Hide();
1360 </OnLeave>
1361 </Scripts>
1362 </Slider>
1363  
1364 <CheckButton name="GathererUI_CheckNoMinIcon" inherits="OptionsCheckButtonTemplate">
1365 <Anchors>
1366 <Anchor point="TOPLEFT" relativeTo="GathererUI_SliderMiniIconDist" relativePoint="BOTTOMLEFT">
1367 <Offset>
1368 <AbsDimension x="-15" y="0"/>
1369 </Offset>
1370 </Anchor>
1371 </Anchors>
1372 <Scripts>
1373 <OnLoad>
1374 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_NO_MINICONDIST);
1375 this.tooltipText = GATHERER_NOMINIICONDIST_TIP
1376 </OnLoad>
1377 <OnClick>
1378 if (this:GetChecked()) then
1379 Gatherer_Settings.NoIconOnMinDist = 1;
1380 else
1381 Gatherer_Settings.NoIconOnMinDist = 0;
1382 end
1383 Gatherer_OnUpdate(0, true);
1384 </OnClick>
1385 <OnEnter>
1386 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1387 GameTooltip:SetText(this.tooltipText);
1388 GameTooltip:Show();
1389 </OnEnter>
1390 <OnLeave>
1391 GameTooltip:Hide();
1392 </OnLeave>
1393 </Scripts>
1394 </CheckButton>
1395  
1396  
1397 <CheckButton name="GathererUI_CheckRareOre" inherits="OptionsCheckButtonTemplate">
1398 <Anchors>
1399 <Anchor point="TOPLEFT" relativeTo="GathererUI_SliderMaxDist" relativePoint="BOTTOMLEFT">
1400 <Offset>
1401 <AbsDimension x="-15" y="0"/>
1402 </Offset>
1403 </Anchor>
1404 </Anchors>
1405 <Scripts>
1406 <OnLoad>
1407 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_RAREORE);
1408 this.tooltipText= GATHERER_RAREORE_TIP;
1409 </OnLoad>
1410 <OnClick>
1411 if (this:GetChecked()) then
1412 Gatherer_Settings.rareOre = 1;
1413 else
1414 Gatherer_Settings.rareOre = 0;
1415 end
1416 </OnClick>
1417 <OnEnter>
1418 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1419 GameTooltip:SetText(this.tooltipText);
1420 GameTooltip:Show();
1421 </OnEnter>
1422 <OnLeave>
1423 GameTooltip:Hide();
1424 </OnLeave>
1425 </Scripts>
1426 </CheckButton>
1427  
1428 <CheckButton name="GathererUI_CheckHideMiniNotes" inherits="OptionsCheckButtonTemplate">
1429 <Anchors>
1430 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckNoMinIcon" relativePoint="BOTTOMLEFT">
1431 <Offset>
1432 <AbsDimension x="0" y="5"/>
1433 </Offset>
1434 </Anchor>
1435 </Anchors>
1436 <Scripts>
1437 <OnLoad>
1438 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_HIDEMININOTES);
1439 this.tooltipText = GATHERER_HIDEMININOTES_TIP;
1440 </OnLoad>
1441 <OnClick>
1442 if (this:GetChecked()) then
1443 Gatherer_Settings.HideMiniNotes = 1;
1444 else
1445 Gatherer_Settings.HideMiniNotes = 0;
1446 end
1447 </OnClick>
1448 <OnEnter>
1449 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1450 GameTooltip:SetText(this.tooltipText);
1451 GameTooltip:Show();
1452 </OnEnter>
1453 <OnLeave>
1454 GameTooltip:Hide();
1455 </OnLeave>
1456 </Scripts>
1457 </CheckButton>
1458  
1459 <CheckButton name="GathererUI_CheckToggleWorldNotes" inherits="OptionsCheckButtonTemplate">
1460 <Anchors>
1461 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckRareOre" relativePoint="BOTTOMLEFT">
1462 <Offset>
1463 <AbsDimension x="0" y="5"/>
1464 </Offset>
1465 </Anchor>
1466 </Anchors>
1467 <Scripts>
1468 <OnLoad>
1469 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_TOGGLEWORLDNOTES);
1470 this.tooltipText = GATHERER_TOGGLEWORLDNOTES_TIP;
1471 </OnLoad>
1472 <OnClick>
1473 if (this:GetChecked()) then
1474 Gatherer_Settings.ToggleWorldNotes = 1;
1475 else
1476 Gatherer_Settings.ToggleWorldNotes = 0;
1477 end
1478 </OnClick>
1479 <OnEnter>
1480 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1481 GameTooltip:SetText(this.tooltipText);
1482 GameTooltip:Show();
1483 </OnEnter>
1484 <OnLeave>
1485 GameTooltip:Hide();
1486 </OnLeave>
1487 </Scripts>
1488 </CheckButton>
1489  
1490 <EditBox name="GathererUI_WorldMapIconSize" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
1491 <Size>
1492 <AbsDimension x="30" y="16"/>
1493 </Size>
1494 <Anchors>
1495 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckHideMiniNotes" relativePoint="BOTTOMLEFT">
1496 <Offset>
1497 <AbsDimension x="165" y="0"/>
1498 </Offset>
1499 </Anchor>
1500 </Anchors>
1501 <Layers>
1502 <Layer level="ARTWORK">
1503 <FontString inherits="GameFontNormalSmall" text="GATHERER_TEXT_WMICONSIZEEB" nonspacewrap="true">
1504 <Anchors>
1505 <Anchor point="TOPLEFT" relativeTo="GathererUI_WorldMapIconSize" relativePoint="TOPLEFT">
1506 <Offset>
1507 <AbsDimension x="-160" y="-2"/>
1508 </Offset>
1509 </Anchor>
1510 </Anchors>
1511 </FontString>
1512 </Layer>
1513 </Layers>
1514 <Scripts>
1515 <OnLoad>
1516 this.tooltipText=GATHERER_WMICONSIZEEB_TIP;
1517 </OnLoad>
1518 <OnEnterPressed>
1519 GathererUI_OnEnterPressed_IconSizeEditBox();
1520 this:ClearFocus();
1521 </OnEnterPressed>
1522 <OnShow>
1523 if ( Gatherer_Settings.IconSize ) then
1524 this:SetNumber(Gatherer_Settings.IconSize);
1525 else
1526 this:SetNumber(12);
1527 end
1528 </OnShow>
1529 <OnEnter>
1530 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1531 GameTooltip:SetText(this.tooltipText);
1532 GameTooltip:Show();
1533 </OnEnter>
1534 <OnLeave>
1535 GameTooltip:Hide();
1536 </OnLeave>
1537 </Scripts>
1538 </EditBox>
1539 <EditBox name="GathererUI_WorldMapIconAlpha" letters="3" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
1540 <Size>
1541 <AbsDimension x="32" y="16"/>
1542 </Size>
1543 <Anchors>
1544 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckToggleWorldNotes" relativePoint="BOTTOMLEFT">
1545 <Offset>
1546 <AbsDimension x="165" y="0"/>
1547 </Offset>
1548 </Anchor>
1549 </Anchors>
1550 <Layers>
1551 <Layer level="ARTWORK">
1552 <FontString inherits="GameFontNormalSmall" text="GATHERER_TEXT_WMICONALPHAEB" nonspacewrap="true">
1553 <Anchors>
1554 <Anchor point="TOPLEFT" relativeTo="GathererUI_WorldMapIconAlpha" relativePoint="TOPLEFT">
1555 <Offset>
1556 <AbsDimension x="-160" y="-2"/>
1557 </Offset>
1558 </Anchor>
1559 </Anchors>
1560 </FontString>
1561 </Layer>
1562 </Layers>
1563 <Scripts>
1564 <OnLoad>
1565 this.tooltipText=GATHERER_WMICONALPHAEB_TIP;
1566 </OnLoad>
1567 <OnEnterPressed>
1568 GathererUI_OnEnterPressed_IconAlphaEditBox();
1569 this:ClearFocus();
1570 </OnEnterPressed>
1571 <OnShow>
1572 if ( Gatherer_Settings.IconAlpha ) then
1573 this:SetNumber(Gatherer_Settings.IconAlpha);
1574 else
1575 this:SetNumber(80);
1576 end
1577 </OnShow>
1578 <OnEnter>
1579 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1580 GameTooltip:SetText(this.tooltipText);
1581 GameTooltip:Show();
1582 </OnEnter>
1583 <OnLeave>
1584 GameTooltip:Hide();
1585 </OnLeave>
1586 </Scripts>
1587 </EditBox>
1588  
1589 <Slider name="GathererUI_SliderAlphaUnderMinIcon" inherits="OptionsSliderTemplate">
1590 <Size>
1591 <AbsDimension x="160" y="17"/>
1592 </Size>
1593 <Anchors>
1594 <Anchor point="TOPLEFT" relativeTo="GathererUI_WorldMapIconSize" relativePoint="BOTTOMLEFT">
1595 <Offset>
1596 <AbsDimension x="-150" y="-17"/>
1597 </Offset>
1598 </Anchor>
1599 </Anchors>
1600 <Scripts>
1601 <OnLoad>
1602 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_ALPHAUNDER_MINICON);
1603 getglobal(this:GetName().."High"):SetText();
1604 getglobal(this:GetName().."Low"):SetText();
1605 this:SetMinMaxValues(35, 100);
1606 this:SetValueStep(1);
1607 this.tooltipText = GATHERER_TEXT_ALPHAUNDER_MINICON_TIP;
1608 </OnLoad>
1609 <OnShow>
1610 if (Gatherer_Settings.alphaUnderMinIcon) then
1611 this:SetValue(Gatherer_Settings.alphaUnderMinIcon);
1612 else
1613 this:SetValue(100);
1614 end
1615 </OnShow>
1616 <OnValueChanged>
1617 Gatherer_Settings.alphaUnderMinIcon = this:GetValue();
1618 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_ALPHAUNDER_MINICON.." : "..this:GetValue()..".");
1619 </OnValueChanged>
1620 <OnEnter>
1621 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1622 GameTooltip:SetText(this.tooltipText);
1623 GameTooltip:Show();
1624 </OnEnter>
1625 <OnLeave>
1626 GameTooltip:Hide();
1627 </OnLeave>
1628 </Scripts>
1629 </Slider>
1630  
1631 </Frames>
1632 </Frame>
1633  
1634 <!-- UI config options -->
1635 <Frame name="GathererUI_DisplayOptionsBorderFrame" parent="GathererUI_DialogFrame" inherits="OptionFrameBoxTemplate" hidden="true" id="3">
1636 <Size>
1637 <AbsDimension x="410" y="250"/>
1638 </Size>
1639 <Anchors>
1640 <Anchor point="TOPLEFT" relativeTo="GathererUI_DialogFrame" relativePoint="TOPLEFT">
1641 <Offset>
1642 <AbsDimension x="16" y="-25"/>
1643 </Offset>
1644 </Anchor>
1645 </Anchors>
1646 <Scripts>
1647 <OnLoad>
1648 this:SetBackdropColor(0,0,0)
1649 </OnLoad>
1650 </Scripts>
1651 <Frames>
1652 <CheckButton name="GathererUI_CheckShowOnMouse" inherits="OptionsCheckButtonTemplate">
1653 <Anchors>
1654 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
1655 <Offset>
1656 <AbsDimension x="5" y="-5"/>
1657 </Offset>
1658 </Anchor>
1659 </Anchors>
1660 <Scripts>
1661 <OnLoad>
1662 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_SHOWONMOUSE);
1663 this.tooltipText = GATHERER_SHOWONMOUSE_TIP;
1664 </OnLoad>
1665 <OnClick>
1666 if (this:GetChecked()) then
1667 Gatherer_Settings.ShowOnMouse = 1;
1668 Gatherer_Settings.ShowOnClick = 0;
1669 GathererUI_CheckShowOnClick:SetChecked(Gatherer_Settings.ShowOnClick);
1670 else
1671 Gatherer_Settings.ShowOnMouse = 0;
1672 Gatherer_Settings.ShowOnClick = 1;
1673 GathererUI_CheckShowOnClick:SetChecked(Gatherer_Settings.ShowOnClick);
1674 end
1675 </OnClick>
1676 <OnEnter>
1677 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1678 GameTooltip:SetText(this.tooltipText);
1679 GameTooltip:Show();
1680 </OnEnter>
1681 <OnLeave>
1682 GameTooltip:Hide();
1683 </OnLeave>
1684 </Scripts>
1685 </CheckButton>
1686 <CheckButton name="GathererUI_CheckHideOnMouse" inherits="OptionsCheckButtonTemplate">
1687 <Anchors>
1688 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
1689 <Offset>
1690 <AbsDimension x="200" y="-5"/>
1691 </Offset>
1692 </Anchor>
1693 </Anchors>
1694 <Scripts>
1695 <OnLoad>
1696 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_HIDEONMOUSE);
1697 this.tooltipText= GATHERER_HIDEONMOUSE_TIP;
1698 </OnLoad>
1699 <OnClick>
1700 if (this:GetChecked()) then
1701 Gatherer_Settings.HideOnMouse = 1;
1702 Gatherer_Settings.HideOnClick = 0;
1703 GathererUI_CheckHideOnClick:SetChecked(Gatherer_Settings.HideOnClick);
1704 else
1705 Gatherer_Settings.HideOnMouse = 0;
1706 Gatherer_Settings.HideOnClick = 1;
1707 GathererUI_CheckHideOnClick:SetChecked(Gatherer_Settings.HideOnClick);
1708 end
1709 </OnClick>
1710 <OnEnter>
1711 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1712 GameTooltip:SetText(this.tooltipText);
1713 GameTooltip:Show();
1714 </OnEnter>
1715 <OnLeave>
1716 GameTooltip:Hide();
1717 </OnLeave>
1718 </Scripts>
1719 </CheckButton>
1720 <CheckButton name="GathererUI_CheckHideOnClick" inherits="OptionsCheckButtonTemplate">
1721 <Anchors>
1722 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckHideOnMouse" relativePoint="BOTTOMLEFT">
1723 <Offset>
1724 <AbsDimension x="0" y="5"/>
1725 </Offset>
1726 </Anchor>
1727 </Anchors>
1728 <Scripts>
1729 <OnLoad>
1730 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_HIDEONCLICK);
1731 this.tooltipText = GATHERER_HIDEONCLICK_TIP;
1732 </OnLoad>
1733 <OnClick>
1734 if (this:GetChecked()) then
1735 Gatherer_Settings.HideOnClick = 1;
1736 Gatherer_Settings.HideOnMouse = 0;
1737 GathererUI_CheckHideOnMouse:SetChecked(Gatherer_Settings.HideOnMouse);
1738 else
1739 Gatherer_Settings.HideOnClick = 0;
1740 Gatherer_Settings.HideOnMouse = 1;
1741 GathererUI_CheckHideOnMouse:SetChecked(Gatherer_Settings.HideOnMouse);
1742 end
1743 </OnClick>
1744 <OnEnter>
1745 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1746 GameTooltip:SetText(this.tooltipText);
1747 GameTooltip:Show();
1748 </OnEnter>
1749 <OnLeave>
1750 GameTooltip:Hide();
1751 </OnLeave>
1752 </Scripts>
1753 </CheckButton>
1754 <CheckButton name="GathererUI_CheckHideOnButton" inherits="OptionsCheckButtonTemplate">
1755 <Anchors>
1756 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckHideOnClick" relativePoint="BOTTOMLEFT">
1757 <Offset>
1758 <AbsDimension x="0" y="5"/>
1759 </Offset>
1760 </Anchor>
1761 </Anchors>
1762 <Scripts>
1763 <OnLoad>
1764 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_HIDEONBUTTON);
1765 this.tooltipText= GATHERER_HIDEONBUTTON_TIP;
1766 </OnLoad>
1767 <OnClick>
1768 if (this:GetChecked()) then
1769 Gatherer_Settings.HideOnButton = 1;
1770 else
1771 Gatherer_Settings.HideOnButton = 0;
1772 end
1773 </OnClick>
1774 <OnEnter>
1775 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1776 GameTooltip:SetText(this.tooltipText);
1777 GameTooltip:Show();
1778 </OnEnter>
1779 <OnLeave>
1780 GameTooltip:Hide();
1781 </OnLeave>
1782 </Scripts>
1783 </CheckButton>
1784  
1785 <CheckButton name="GathererUI_CheckShowOnClick" inherits="OptionsCheckButtonTemplate">
1786 <Anchors>
1787 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckShowOnMouse" relativePoint="BOTTOMLEFT">
1788 <Offset>
1789 <AbsDimension x="0" y="5"/>
1790 </Offset>
1791 </Anchor>
1792 </Anchors>
1793 <Scripts>
1794 <OnLoad>
1795 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_SHOWONCLICK);
1796 this.tooltipText = GATHERER_SHOWONCLICK_TIP;
1797 </OnLoad>
1798 <OnClick>
1799 if (this:GetChecked()) then
1800 Gatherer_Settings.ShowOnClick = 1;
1801 Gatherer_Settings.ShowOnMouse = 0;
1802 GathererUI_CheckShowOnMouse:SetChecked(Gatherer_Settings.ShowOnMouse);
1803 else
1804 Gatherer_Settings.ShowOnClick = 0;
1805 Gatherer_Settings.ShowOnMouse = 1;
1806 GathererUI_CheckShowOnMouse:SetChecked(Gatherer_Settings.ShowOnMouse);
1807 end
1808 </OnClick>
1809 <OnEnter>
1810 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1811 GameTooltip:SetText(this.tooltipText);
1812 GameTooltip:Show();
1813 </OnEnter>
1814 <OnLeave>
1815 GameTooltip:Hide();
1816 </OnLeave>
1817 </Scripts>
1818 </CheckButton>
1819  
1820 <CheckButton name="GathererUI_CheckHideIcon" inherits="OptionsCheckButtonTemplate">
1821 <Anchors>
1822 <Anchor point="TOPLEFT" relativeTo="GathererUI_CheckShowOnClick" relativePoint="BOTTOMLEFT">
1823 <Offset>
1824 <AbsDimension x="0" y="5"/>
1825 </Offset>
1826 </Anchor>
1827 </Anchors>
1828 <Scripts>
1829 <OnLoad>
1830 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_HIDEICON);
1831 this.tooltipText = GATHERER_HIDEICON_TIP;
1832 </OnLoad>
1833 <OnClick>
1834 if (this:GetChecked()) then
1835 Gatherer_Settings.HideIcon = tonumber("1");
1836 GathererUI_IconFrame:Hide();
1837 else
1838 Gatherer_Settings.HideIcon = tonumber("0");
1839 GathererUI_IconFrame:Show();
1840 end
1841 </OnClick>
1842 <OnEnter>
1843 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1844 GameTooltip:SetText(this.tooltipText);
1845 GameTooltip:Show();
1846 </OnEnter>
1847 <OnLeave>
1848 GameTooltip:Hide();
1849 </OnLeave>
1850 </Scripts>
1851 </CheckButton>
1852  
1853 <Slider name="GathererUI_SliderPosition" inherits="OptionsSliderTemplate">
1854 <Size>
1855 <AbsDimension x="360" y="17"/>
1856 </Size>
1857 <Anchors>
1858 <Anchor point="BOTTOMLEFT" relativeTo="GathererUI_CheckHideIcon" relativePoint="BOTTOMLEFT">
1859 <Offset>
1860 <AbsDimension x="20" y="-22"/>
1861 </Offset>
1862 </Anchor>
1863 </Anchors>
1864 <Scripts>
1865 <OnLoad>
1866 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_POSITION);
1867 getglobal(this:GetName().."High"):SetText();
1868 getglobal(this:GetName().."Low"):SetText();
1869 this:SetMinMaxValues(0, 360);
1870 this:SetValueStep(1);
1871 this.tooltipText = GATHERER_TEXT_POSITION_TIP;
1872 </OnLoad>
1873 <OnShow>
1874 if (Gatherer_Settings.Position) then
1875 this:SetValue(Gatherer_Settings.Position);
1876 end
1877 </OnShow>
1878 <OnValueChanged>
1879 Gatherer_Settings.Position = this:GetValue();
1880 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_POSITION.." : "..this:GetValue().."\194\176");
1881 GathererUI_IconFrame:SetPoint("TOPLEFT", "Minimap", "TOPLEFT", 52 - (GathererUI_SliderRadius:GetValue() * cos(this:GetValue())), (GathererUI_SliderRadius:GetValue() * sin(this:GetValue())) - 52);
1882 </OnValueChanged>
1883 <OnEnter>
1884 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1885 GameTooltip:SetText(this.tooltipText);
1886 GameTooltip:Show();
1887 </OnEnter>
1888 <OnLeave>
1889 GameTooltip:Hide();
1890 </OnLeave>
1891 </Scripts>
1892 </Slider>
1893 <Slider name="GathererUI_SliderRadius" inherits="OptionsSliderTemplate">
1894 <Size>
1895 <AbsDimension x="360" y="17"/>
1896 </Size>
1897 <Anchors>
1898 <Anchor point="BOTTOMLEFT" relativeTo="GathererUI_SliderPosition" relativePoint="BOTTOMLEFT">
1899 <Offset>
1900 <AbsDimension x="0" y="-40"/>
1901 </Offset>
1902 </Anchor>
1903 </Anchors>
1904 <Scripts>
1905 <OnLoad>
1906 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_RADIUS);
1907 getglobal(this:GetName().."High"):SetText();
1908 getglobal(this:GetName().."Low"):SetText();
1909 this:SetMinMaxValues(75, 130);
1910 this:SetValueStep(1);
1911 this.tooltipText = GATHERER_TEXT_RADIUS_TIP;
1912 </OnLoad>
1913 <OnShow>
1914 if (Gatherer_Settings.Radius) then
1915 this:SetValue(Gatherer_Settings.Radius);
1916 end
1917 </OnShow>
1918 <OnValueChanged>
1919 Gatherer_Settings.Radius = this:GetValue();
1920 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_RADIUS.." : "..this:GetValue().."\194\176");
1921 GathererUI_IconFrame:SetPoint("TOPLEFT", "Minimap", "TOPLEFT", 52 - (this:GetValue() * cos(GathererUI_SliderPosition:GetValue())), (this:GetValue() * sin(GathererUI_SliderPosition:GetValue())) - 52);
1922 </OnValueChanged>
1923 <OnEnter>
1924 GameTooltip:SetOwner(GathererUI_DialogFrame, "ANCHOR_TOPLEFT");
1925 GameTooltip:SetText(this.tooltipText);
1926 GameTooltip:Show();
1927 </OnEnter>
1928 <OnLeave>
1929 GameTooltip:Hide();
1930 </OnLeave>
1931 </Scripts>
1932 </Slider>
1933  
1934 </Frames>
1935 </Frame>
1936  
1937 <!-- Dialog for zone rematch facility -->
1938 <Frame name="GathererUI_ZoneRematchDialog" toplevel="true" movable="true" enableMouse="true" frameStrata="DIALOG" hidden="true" parent="UIParent">
1939 <Size>
1940 <AbsDimension x="250" y="200"/>
1941 </Size>
1942 <Anchors>
1943 <Anchor point="CENTER" relativeTo="UIParent" relativePoint="LEFT">
1944 <Offset>
1945 <AbsDimension x="125" y="0"/>
1946 </Offset>
1947 </Anchor>
1948 </Anchors>
1949 <TitleRegion setAllPoints="true"/>
1950 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
1951 <BackgroundInsets>
1952 <AbsInset left="11" right="12" top="12" bottom="11"/>
1953 </BackgroundInsets>
1954 <TileSize>
1955 <AbsValue val="32"/>
1956 </TileSize>
1957 <EdgeSize>
1958 <AbsValue val="32"/>
1959 </EdgeSize>
1960 </Backdrop>
1961 <Layers>
1962 <Layer level="ARTWORK">
1963 <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
1964 <Size>
1965 <AbsDimension x="200" y="64"/>
1966 </Size>
1967 <Anchors>
1968 <Anchor point="TOP">
1969 <Offset>
1970 <AbsDimension x="1" y="12"/>
1971 </Offset>
1972 </Anchor>
1973 </Anchors>
1974 </Texture>
1975 <FontString inherits="GameFontNormal" text="GATHERER_TEXT_REMATCH_TITLE" nonspacewrap="true">
1976 <Anchors>
1977 <Anchor point="TOP" relativeTo="$parentHeader">
1978 <Offset>
1979 <AbsDimension x="0" y="-13"/>
1980 </Offset>
1981 </Anchor>
1982 </Anchors>
1983 </FontString>
1984 </Layer>
1985 </Layers>
1986 <Frames>
1987 <Frame name="GathererUI_DataBuildStatus" id="19">
1988 <Size>
1989 <AbsDimension x="200" y="32"/>
1990 </Size>
1991 <Anchors>
1992 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
1993 <Offset>
1994 <AbsDimension x="0" y="-35"/>
1995 </Offset>
1996 </Anchor>
1997 </Anchors>
1998 <Layers>
1999 <Layer level="ARTWORK">
2000 <FontString inherits="GameFontNormalSmall" text="GATHERER_TEXT_LASTMATCH" nonspacewrap="true">
2001 <Anchors>
2002 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
2003 <Offset>
2004 <AbsDimension x="15" y="0"/>
2005 </Offset>
2006 </Anchor>
2007 </Anchors>
2008 </FontString>
2009 <FontString name="GathererUI_DataBuildStatusText" inherits="GameFontNormalSmall" nonspacewrap="true">
2010 <Anchors>
2011 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT">
2012 <Offset>
2013 <AbsDimension x="-15" y="0"/>
2014 </Offset>
2015 </Anchor>
2016 </Anchors>
2017 </FontString>
2018 </Layer>
2019 </Layers>
2020 <Scripts>
2021 <OnShow>
2022 if ( Gatherer_Settings.DataBuild ) then
2023 GathererUI_DataBuildStatusText:SetText(Gatherer_Settings.DataBuild);
2024 else
2025 GathererUI_DataBuildStatusText:SetText(GATHERER_TEXT_LASTMATCH_NONE);
2026 end
2027 </OnShow>
2028 </Scripts>
2029 </Frame>
2030  
2031 <Frame name="GathererUI_SourceZoneDropDown" inherits="UIDropDownMenuTemplate" id="20">
2032 <Anchors>
2033 <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
2034 <Offset>
2035 <AbsDimension x="-5" y="-50"/>
2036 </Offset>
2037 </Anchor>
2038 </Anchors>
2039 <Scripts>
2040 <OnLoad>
2041 UIDropDownMenu_SetWidth(70);
2042 this.tooltipText= GATHERER_ZM_SRCDDM_TIP;
2043 </OnLoad>
2044 <OnShow>
2045 UIDropDownMenu_ClearAll(this);
2046 UIDropDownMenu_Initialize(this, GathererUIDropDownSourceZone_Initialize);
2047 </OnShow>
2048 <OnEnter>
2049 GameTooltip:SetOwner(GathererUI_ZoneRematchDialog, "ANCHOR_TOPLEFT");
2050 GameTooltip:SetText(this.tooltipText);
2051 GameTooltip:Show();
2052 </OnEnter>
2053 <OnLeave>
2054 GameTooltip:Hide();
2055 </OnLeave>
2056 </Scripts>
2057 <Layers>
2058 <Layer level="ARTWORK">
2059 <FontString inherits="GameFontNormalSmall" text="Zones Source:" nonspacewrap="true">
2060 <Anchors>
2061 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
2062 <Offset>
2063 <AbsDimension x="-110" y="-10"/>
2064 </Offset>
2065 </Anchor>
2066 </Anchors>
2067 </FontString>
2068 </Layer>
2069 </Layers>
2070 </Frame>
2071  
2072 <Frame name="GathererUI_DestinationZoneDropDown" inherits="UIDropDownMenuTemplate" id="21">
2073 <Anchors>
2074 <Anchor point="TOPRIGHT" relativeTo="GathererUI_SourceZoneDropDown" relativePoint="TOPRIGHT">
2075 <Offset>
2076 <AbsDimension x="0" y="-30"/>
2077 </Offset>
2078 </Anchor>
2079 </Anchors>
2080 <Scripts>
2081 <OnLoad>
2082 UIDropDownMenu_SetWidth(70);
2083 this.tooltipText= GATHERER_ZM_DESTDDM_TIP;
2084 this:Hide();
2085 </OnLoad>
2086 <OnShow>
2087 UIDropDownMenu_ClearAll(this);
2088 UIDropDownMenu_Initialize(this, GathererUIDropDownDestionationZone_Initialize);
2089 </OnShow>
2090 <OnEnter>
2091 GameTooltip:SetOwner(GathererUI_ZoneRematchDialog, "ANCHOR_TOPLEFT");
2092 GameTooltip:SetText(this.tooltipText);
2093 GameTooltip:Show();
2094 </OnEnter>
2095 <OnLeave>
2096 GameTooltip:Hide();
2097 </OnLeave>
2098 </Scripts>
2099 <Layers>
2100 <Layer level="ARTWORK">
2101 <FontString inherits="GameFontNormalSmall" text="Zones Destination:" nonspacewrap="true">
2102 <Anchors>
2103 <Anchor point="TOPLEFT" relativeTo="GathererUI_SourceZoneDropDown" relativePoint="TOPLEFT">
2104 <Offset>
2105 <AbsDimension x="-110" y="-40"/>
2106 </Offset>
2107 </Anchor>
2108 </Anchors>
2109 </FontString>
2110 </Layer>
2111 </Layers>
2112 </Frame>
2113 <CheckButton name="GathererUI_CheckFixItems" inherits="OptionsCheckButtonTemplate">
2114 <Anchors>
2115 <Anchor point="TOPLEFT" relativeTo="GathererUI_DestinationZoneDropDown" relativePoint="BOTTOMLEFT">
2116 <Offset>
2117 <AbsDimension x="-110" y="0"/>
2118 </Offset>
2119 </Anchor>
2120 </Anchors>
2121 <Scripts>
2122 <OnLoad>
2123 getglobal(this:GetName().."Text"):SetText(GATHERER_TEXT_FIXITEMS);
2124 this.tooltipText = GATHERER_ZM_FIXITEM_TIP;
2125 </OnLoad>
2126 <OnClick>
2127 if (this:GetChecked()) then
2128 gathererFixItems = 1;
2129 else
2130 gathererFixItems = 0;
2131 end
2132 </OnClick>
2133 <OnEnter>
2134 GameTooltip:SetOwner(GathererUI_ZoneRematchDialog, "ANCHOR_TOPLEFT");
2135 GameTooltip:SetText(this.tooltipText);
2136 GameTooltip:Show();
2137 </OnEnter>
2138 <OnLeave>
2139 GameTooltip:Hide();
2140 </OnLeave>
2141 </Scripts>
2142 </CheckButton>
2143  
2144 <!-- Frame handling buttons -->
2145 <Button name="GathererUI_RematchCancelButton" text="CANCEL" inherits="UIPanelButtonTemplate">
2146 <Size>
2147 <AbsDimension x="80" y="25"/>
2148 </Size>
2149 <Anchors>
2150 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
2151 <Offset>
2152 <AbsDimension x="-20" y="15"/>
2153 </Offset>
2154 </Anchor>
2155 </Anchors>
2156 <Scripts>
2157 <OnClick>
2158 GathererUI_ZoneRematchDialog:Hide();
2159 GathererUI_DestinationZoneDropDown:Hide();
2160 </OnClick>
2161 </Scripts>
2162 </Button>
2163  
2164 <Button name="GathererUI_RematchApplyButton" text="ACCEPT" inherits="UIPanelButtonTemplate">
2165 <Size>
2166 <AbsDimension x="80" y="25"/>
2167 </Size>
2168 <Anchors>
2169 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
2170 <Offset>
2171 <AbsDimension x="20" y="15"/>
2172 </Offset>
2173 </Anchor>
2174 </Anchors>
2175 <Scripts>
2176 <OnClick>
2177 GathererUI_ShowRematchDialogApply();
2178 </OnClick>
2179 </Scripts>
2180 </Button>
2181 </Frames>
2182 <Scripts>
2183 <OnLoad>
2184 UIPanelWindows["GathererUI_ZoneRematch"] = {area = "left", pushable = 1};
2185 </OnLoad>
2186 </Scripts>
2187 </Frame>
2188  
2189 <!-- World Map filters -->
2190 <Frame name="GathererWD_DropDownFilters" inherits="UIDropDownMenuTemplate" parent="WorldMapFrame" toplevel="true" id="2">
2191 <Anchors>
2192 <Anchor point="BOTTOMLEFT" relativeTo="WorldMapPositioningGuide" relativePoint="BOTTOMLEFT">
2193 <Offset>
2194 <AbsDimension x="110" y="-2"/>
2195 </Offset>
2196 </Anchor>
2197 </Anchors>
2198 <Scripts>
2199 <OnLoad>
2200 UIDropDownMenu_SetWidth(100);
2201 this.tooltipText=GATHERER_FILTERDM_TIP;
2202 this:Hide();
2203 </OnLoad>
2204 <OnShow>
2205 if ( Gatherer_Settings.useMainmap and Gatherer_Settings.showWorldMapFilters and Gatherer_Settings.showWorldMapFilters == 1 )
2206 then
2207 UIDropDownMenu_ClearAll(this);
2208 UIDropDownMenu_Initialize(this, Gatherer_WorldMapFilter_Load);
2209 this:SetScale(this:GetParent():GetEffectiveScale() - 0.2);
2210 else
2211 this:Hide();
2212 end
2213 </OnShow>
2214 </Scripts>
2215 </Frame>
2216  
2217 <!-- Help Frame -->
2218 <Frame name="GathererUI_HelpFrame" hidden="true">
2219 <Size>
2220 <AbsDimension x="340" y="335"/>
2221 </Size>
2222 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
2223 <BackgroundInsets>
2224 <AbsInset left="11" right="12" top="12" bottom="11"/>
2225 </BackgroundInsets>
2226 <TileSize>
2227 <AbsValue val="32"/>
2228 </TileSize>
2229 <EdgeSize>
2230 <AbsValue val="32"/>
2231 </EdgeSize>
2232 </Backdrop>
2233 <Anchors>
2234 <Anchor point="TOPLEFT">
2235 <Offset>
2236 <AbsDimension x="256" y="-74"/>
2237 </Offset>
2238 </Anchor>
2239 </Anchors>
2240 <Layers>
2241 <Layer level="ARTWORK">
2242 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomLeft">
2243 <Size>
2244 <AbsDimension x="256" y="12"/>
2245 </Size>
2246 <Anchors>
2247 <Anchor point="TOPLEFT">
2248 <Offset>
2249 <AbsDimension x="11" y="-34"/>
2250 </Offset>
2251 </Anchor>
2252 </Anchors>
2253 <TexCoords left="0" right="1.0" top="0.125" bottom="0.21875"/>
2254 </Texture>
2255 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomRight">
2256 <Size>
2257 <AbsDimension x="128" y="12"/>
2258 </Size>
2259 <Anchors>
2260 <Anchor point="TOPLEFT">
2261 <Offset>
2262 <AbsDimension x="264" y="-34"/>
2263 </Offset>
2264 </Anchor>
2265 </Anchors>
2266 <TexCoords left="0" right="1.0" top="0.125" bottom="0.21875"/>
2267 </Texture>
2268 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomLeft">
2269 <Size>
2270 <AbsDimension x="11" y="56"/>
2271 </Size>
2272 <Anchors>
2273 <Anchor point="TOPLEFT">
2274 <Offset>
2275 <AbsDimension x="11" y="-46"/>
2276 </Offset>
2277 </Anchor>
2278 </Anchors>
2279 <TexCoords left="0" right="0.042968" top="0.21875" bottom="0.65625"/>
2280 </Texture>
2281 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomRight">
2282 <Size>
2283 <AbsDimension x="74" y="56"/>
2284 </Size>
2285 <Anchors>
2286 <Anchor point="TOPLEFT">
2287 <Offset>
2288 <AbsDimension x="318" y="-46"/>
2289 </Offset>
2290 </Anchor>
2291 </Anchors>
2292 <TexCoords left="0.421875" right="1.0" top="0.21875" bottom="0.65625"/>
2293 </Texture>
2294 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomLeft">
2295 <Size>
2296 <AbsDimension x="11" y="52"/>
2297 </Size>
2298 <Anchors>
2299 <Anchor point="TOPLEFT">
2300 <Offset>
2301 <AbsDimension x="11" y="-102"/>
2302 </Offset>
2303 </Anchor>
2304 </Anchors>
2305 <TexCoords left="0" right="0.042968" top="0.25" bottom="0.65625"/>
2306 </Texture>
2307 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomRight">
2308 <Size>
2309 <AbsDimension x="74" y="52"/>
2310 </Size>
2311 <Anchors>
2312 <Anchor point="TOPLEFT">
2313 <Offset>
2314 <AbsDimension x="318" y="-102"/>
2315 </Offset>
2316 </Anchor>
2317 </Anchors>
2318 <TexCoords left="0.421875" right="1.0" top="0.65625" bottom="0.25"/>
2319 </Texture>
2320 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomLeft">
2321 <Size>
2322 <AbsDimension x="11" y="52"/>
2323 </Size>
2324 <Anchors>
2325 <Anchor point="TOPLEFT">
2326 <Offset>
2327 <AbsDimension x="11" y="-154"/>
2328 </Offset>
2329 </Anchor>
2330 </Anchors>
2331 <TexCoords left="0" right="0.042968" top="0.25" bottom="0.65625"/>
2332 </Texture>
2333 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomRight">
2334 <Size>
2335 <AbsDimension x="74" y="52"/>
2336 </Size>
2337 <Anchors>
2338 <Anchor point="TOPLEFT">
2339 <Offset>
2340 <AbsDimension x="318" y="-154"/>
2341 </Offset>
2342 </Anchor>
2343 </Anchors>
2344 <TexCoords left="0.421875" right="1.0" top="0.25" bottom="0.65625"/>
2345 </Texture>
2346 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomLeft">
2347 <Size>
2348 <AbsDimension x="11" y="52"/>
2349 </Size>
2350 <Anchors>
2351 <Anchor point="TOPLEFT">
2352 <Offset>
2353 <AbsDimension x="11" y="-206"/>
2354 </Offset>
2355 </Anchor>
2356 </Anchors>
2357 <TexCoords left="0" right="0.042968" top="0.25" bottom="0.65625"/>
2358 </Texture>
2359 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomRight">
2360 <Size>
2361 <AbsDimension x="74" y="52"/>
2362 </Size>
2363 <Anchors>
2364 <Anchor point="TOPLEFT">
2365 <Offset>
2366 <AbsDimension x="318" y="-206"/>
2367 </Offset>
2368 </Anchor>
2369 </Anchors>
2370 <TexCoords left="0.421875" right="1.0" top="0.65625" bottom="0.25"/>
2371 </Texture>
2372 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomLeft">
2373 <Size>
2374 <AbsDimension x="11" y="52"/>
2375 </Size>
2376 <Anchors>
2377 <Anchor point="TOPLEFT">
2378 <Offset>
2379 <AbsDimension x="11" y="-258"/>
2380 </Offset>
2381 </Anchor>
2382 </Anchors>
2383 <TexCoords left="0" right="0.042968" top="0.25" bottom="0.65625"/>
2384 </Texture>
2385 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomRight">
2386 <Size>
2387 <AbsDimension x="74" y="52"/>
2388 </Size>
2389 <Anchors>
2390 <Anchor point="TOPLEFT">
2391 <Offset>
2392 <AbsDimension x="318" y="-258"/>
2393 </Offset>
2394 </Anchor>
2395 </Anchors>
2396 <TexCoords left="0.421875" right="1.0" top="0.25" bottom="0.65625"/>
2397 </Texture>
2398 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomLeft">
2399 <Size>
2400 <AbsDimension x="256" y="44"/>
2401 </Size>
2402 <Anchors>
2403 <Anchor point="TOPLEFT">
2404 <Offset>
2405 <AbsDimension x="11" y="-310"/>
2406 </Offset>
2407 </Anchor>
2408 </Anchors>
2409 <TexCoords left="0" right="1.0" top="0.65625" bottom="1.0"/>
2410 </Texture>
2411 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomRight">
2412 <Size>
2413 <AbsDimension x="128" y="44"/>
2414 </Size>
2415 <Anchors>
2416 <Anchor point="TOPLEFT">
2417 <Offset>
2418 <AbsDimension x="264" y="-310"/>
2419 </Offset>
2420 </Anchor>
2421 </Anchors>
2422 <TexCoords left="0" right="1.0" top="0.65625" bottom="1.0"/>
2423 </Texture>
2424 <FontString name="GathererUI_HelpFrameName" inherits="GameFontNormal">
2425 <Size>
2426 <AbsDimension x="256" y="12"/>
2427 </Size>
2428 <Anchors>
2429 <Anchor point="TOP">
2430 <Offset>
2431 <AbsDimension x="0" y="-9"/>
2432 </Offset>
2433 </Anchor>
2434 </Anchors>
2435 </FontString>
2436 <FontString name="GathererUI_HelpFrameHelp" inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="TOP" spacewrap="true" maxLines = "23">
2437 <Size>
2438 <AbsDimension x="290" y="230"/>
2439 </Size>
2440 <Anchors>
2441 <Anchor point="TOPLEFT">
2442 <Offset>
2443 <AbsDimension x="26" y="-47"/>
2444 </Offset>
2445 </Anchor>
2446 </Anchors>
2447 </FontString>
2448 <FontString name="GathererUI_HelpFramePage" inherits="GameFontNormalSmall">
2449 <Size>
2450 <AbsDimension x="102" y="0"/>
2451 </Size>
2452 <Anchors>
2453 <Anchor point="BOTTOM">
2454 <Offset>
2455 <AbsDimension x="0" y="30"/>
2456 </Offset>
2457 </Anchor>
2458 </Anchors>
2459 </FontString>
2460 </Layer>
2461 </Layers>
2462 <Frames>
2463 <Button name="GathererUI_CloseHelpButton" inherits="UIPanelCloseButton">
2464 <Anchors>
2465 <Anchor point="TOPRIGHT">
2466 <Offset>
2467 <AbsDimension x="-5" y="-5"/>
2468 </Offset>
2469 </Anchor>
2470 </Anchors>
2471 </Button>
2472 <Button name="GathererUI_HelpFramePrevPageButton">
2473 <Size>
2474 <AbsDimension x="24" y="24"/>
2475 </Size>
2476 <Anchors>
2477 <Anchor point="CENTER" relativeTo="GathererUI_HelpFrame" relativePoint="BOTTOMLEFT">
2478 <Offset>
2479 <AbsDimension x="38" y="35"/>
2480 </Offset>
2481 </Anchor>
2482 </Anchors>
2483 <Layers>
2484 <Layer level="BACKGROUND">
2485 <FontString inherits="GameFontNormalSmall" justifyH="LEFT" text="PREV">
2486 <Anchors>
2487 <Anchor point="LEFT" relativeTo="GathererUI_HelpFramePrevPageButton" relativePoint="RIGHT"/>
2488 </Anchors>
2489 </FontString>
2490 </Layer>
2491 </Layers>
2492 <Scripts>
2493 <OnClick>
2494 GathererUI_HelpFramePrevPageButton_OnClick();
2495 </OnClick>
2496 </Scripts>
2497 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
2498 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
2499 <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
2500 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
2501 </Button>
2502 <Button name="GathererUI_HelpFrameNextPageButton">
2503 <Size>
2504 <AbsDimension x="24" y="24"/>
2505 </Size>
2506 <Anchors>
2507 <Anchor point="CENTER" relativeTo="GathererUI_HelpFrame" relativePoint="BOTTOMLEFT">
2508 <Offset>
2509 <AbsDimension x="302" y="35"/>
2510 </Offset>
2511 </Anchor>
2512 </Anchors>
2513 <Layers>
2514 <Layer level="BACKGROUND">
2515 <FontString inherits="GameFontNormalSmall" justifyH="RIGHT" text="NEXT">
2516 <Anchors>
2517 <Anchor point="RIGHT" relativeTo="GathererUI_HelpFrameNextPageButton" relativePoint="LEFT"/>
2518 </Anchors>
2519 </FontString>
2520 </Layer>
2521 </Layers>
2522 <Scripts>
2523 <OnClick>
2524 GathererUI_HelpFrameNextPageButton_OnClick();
2525 </OnClick>
2526 </Scripts>
2527 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
2528 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
2529 <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
2530 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
2531 </Button>
2532 </Frames>
2533 </Frame>
2534 </Ui>