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="localisation.lua"/>
4 <Script file="localisation.fr.lua"/>
5 <Script file="localisation.de.lua"/>
6 <Script file="localisation.es.lua"/>
7 <Script file="MetaMapConstants.lua"/>
8 <Script file="MetaMap.lua"/>
9  
10 <FontString name="MetaMap_FontStringTemplate" font="Fonts\FRIZQT__.TTF" virtual="true">
11 <FontHeight>
12 <AbsValue val="13"/>
13 </FontHeight>
14 </FontString>
15  
16 <Button name="MetaMapMenu_ButtonTemplate" virtual="true">
17 <Size>
18 <AbsDimension x="145" y="METAMAPMENU_BUTTON_HEIGHT"/>
19 </Size>
20 <Layers>
21 <Layer level="BACKGROUND">
22 <Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true"/>
23 </Layer>
24 <Layer level="ARTWORK">
25 <FontString name="$parentText" inherits="GameFontGreen" text="">
26 <Anchors>
27 <Anchor point="LEFT">
28 <Offset>
29 <AbsDimension x="-20" y="0"/>
30 </Offset>
31 </Anchor>
32 </Anchors>
33 </FontString>
34 <Texture name="$parentCheck" file="Interface\Buttons\UI-CheckBox-Check">
35 <Size>
36 <AbsDimension x="20" y="20"/>
37 </Size>
38 <Anchors>
39 <Anchor point="LEFT">
40 <Offset><AbsDimension x="-25" y="0"/></Offset>
41 </Anchor>
42 </Anchors>
43 </Texture>
44 <Texture name="$parentShade" file="Interface\AddOns\MetaMap\Images\Color1">
45 <Size>
46 <AbsDimension x="8" y="8"/>
47 </Size>
48 <Anchors>
49 <Anchor point="LEFT">
50 <Offset><AbsDimension x="-20" y="0"/></Offset>
51 </Anchor>
52 </Anchors>
53 </Texture>
54 </Layer>
55 </Layers>
56 <Frames>
57 <Button name="$parentColorSwatch" hidden="true">
58 <Size>
59 <AbsDimension x="16" y="16"/>
60 </Size>
61 <Anchors>
62 <Anchor point="LEFT">
63 <Offset><AbsDimension x="-6" y="0"/></Offset>
64 </Anchor>
65 </Anchors>
66 <Layers>
67 <Layer level="BACKGROUND">
68 <Texture name="$parentSwatchBg">
69 <Size>
70 <AbsDimension x="14" y="14"/>
71 </Size>
72 <Anchors>
73 <Anchor point="LEFT">
74 <Offset><AbsDimension x="0" y="0"/></Offset>
75 </Anchor>
76 </Anchors>
77 <Color r="1.0" g="1.0" b="1.0"/>
78 </Texture>
79 </Layer>
80 </Layers>
81 <Scripts>
82 <OnEnter>
83 getglobal(this:GetName().."SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
84 </OnEnter>
85 <OnLeave>
86 getglobal(this:GetName().."SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
87 </OnLeave>
88 </Scripts>
89 <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
90 </Button>
91 </Frames>
92 <Scripts>
93 <OnClick>
94 MetaMapMenu_Select(this:GetID());
95 </OnClick>
96 <OnEnter>
97 getglobal(this:GetName().."Highlight"):Show();
98 </OnEnter>
99 <OnLeave>
100 getglobal(this:GetName().."Highlight"):Hide();
101 </OnLeave>
102 </Scripts>
103 <NormalFont name="$parentNormalText" justifyH="LEFT" inherits="GameFontNormalSmall"/>
104 <HighlightFont name="$parentHighlightText" justifyH="LEFT" inherits="GameFontHighlightSmall"/>
105 <DisabledFont name="$parentDisabledText" justifyH="LEFT" inherits="GameFontDisableSmall"/>
106 </Button>
107  
108 <Button name="MetaMap_FrameTabButtonTemplate" virtual="true">
109 <Size>
110 <AbsDimension x="110" y="22"/>
111 </Size>
112 <Layers>
113 <Layer level="BACKGROUND">
114 <Texture name="$parentLeftDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
115 <Size>
116 <AbsDimension x="20" y="32"/>
117 </Size>
118 <Anchors>
119 <Anchor point="TOPLEFT">
120 <Offset>
121 <AbsDimension x="0" y="2"/>
122 </Offset>
123 </Anchor>
124 </Anchors>
125 <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
126 </Texture>
127 <Texture name="$parentMiddleDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
128 <Size>
129 <AbsDimension x="88" y="32"/>
130 </Size>
131 <Anchors>
132 <Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/>
133 </Anchors>
134 <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
135 </Texture>
136 <Texture name="$parentRightDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
137 <Size>
138 <AbsDimension x="20" y="32"/>
139 </Size>
140 <Anchors>
141 <Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/>
142 </Anchors>
143 <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
144 </Texture>
145 <Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
146 <Size>
147 <AbsDimension x="20" y="32"/>
148 </Size>
149 <Anchors>
150 <Anchor point="TOPLEFT"/>
151 </Anchors>
152 <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
153 </Texture>
154 <Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
155 <Size>
156 <AbsDimension x="88" y="32"/>
157 </Size>
158 <Anchors>
159 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
160 </Anchors>
161 <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
162 </Texture>
163 <Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
164 <Size>
165 <AbsDimension x="20" y="32"/>
166 </Size>
167 <Anchors>
168 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
169 </Anchors>
170 <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
171 </Texture>
172 </Layer>
173 </Layers>
174 <Scripts>
175 <OnLoad>
176 this:SetFrameLevel(this:GetFrameLevel() + 4);
177 </OnLoad>
178 <OnClick>
179 PanelTemplates_Tab_OnClick(MetaMap_DialogFrame);
180 MetaMap_OptionsTab_OnClick();
181 </OnClick>
182 <OnShow>
183 PanelTemplates_TabResize(0);
184 </OnShow>
185 </Scripts>
186 <NormalText name="$parentText" inherits="GameFontNormalSmall">
187 <Anchors>
188 <Anchor point="CENTER">
189 <Offset>
190 <AbsDimension x="0" y="0"/>
191 </Offset>
192 </Anchor>
193 </Anchors>
194 </NormalText>
195 <HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall">
196 <Anchors>
197 <Anchor point="CENTER">
198 <Offset>
199 <AbsDimension x="0" y="0"/>
200 </Offset>
201 </Anchor>
202 </Anchors>
203 </HighlightText>
204 <DisabledText name="$parentDisabledText" inherits="GameFontGreenSmall">
205 <Anchors>
206 <Anchor point="CENTER">
207 <Offset>
208 <AbsDimension x="0" y="0"/>
209 </Offset>
210 </Anchor>
211 </Anchors>
212 </DisabledText>
213 </Button>
214  
215 <Button name="MetaMapNotes_NoteTemplate" hidden="true" virtual="true">
216 <Size>
217 <AbsDimension x="16" y="16"/>
218 </Size>
219 <Anchors>
220 <Anchor point="CENTER"/>
221 </Anchors>
222 <Layers>
223 <Layer level="ARTWORK">
224 <Texture name="$parentTexture" setAllPoints="true"/>
225 </Layer>
226 <Layer level="BACKGROUND">
227 <Texture name="$parentHighlight" setAllPoints="true"/>
228 </Layer>
229 </Layers>
230 <Scripts>
231 <OnLoad>
232 this:SetFrameLevel(this:GetFrameLevel() +1);
233 this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
234 </OnLoad>
235 <OnEnter>
236 MetaMapNotes_OnEnter(this:GetID());
237 </OnEnter>
238 <OnLeave>
239 WorldMapTooltip:Hide()
240 </OnLeave>
241 <OnClick>
242 MetaMapNotes_Note_OnClick(arg1, this:GetID());
243 </OnClick>
244 </Scripts>
245 </Button>
246  
247 <Button name="WorldMapMetaMapNotesMiscTemplate" hidden="true" virtual="true">
248 <Size>
249 <AbsDimension x="16" y="16"/>
250 </Size>
251 <Anchors>
252 <Anchor point="CENTER"/>
253 </Anchors>
254 <Layers>
255 <Layer level="ARTWORK">
256 <Texture name="$parentTexture" file="Interface\AddOns\MetaMap\Icons\Icontloc" setAllPoints="true"/>
257 </Layer>
258 <Layer level="BACKGROUND">
259 <Texture name="$parentHighlight" setAllPoints="true"/>
260 </Layer>
261 </Layers>
262 <Scripts>
263 <OnLoad>
264 this:SetFrameLevel(this:GetFrameLevel() + 3)
265 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
266 if this:GetID() == 1 then
267 MetaMapNotesPOIpartyTexture:SetTexture("Interface\\AddOns\\MetaMap\\POIIcons\\Iconparty")
268 end
269 </OnLoad>
270 <OnEnter>
271 if(this:GetID() == 0) then
272 MetaMapNotes_OnEnter(0);
273 elseif(this:GetID() == 1) then
274 MetaMapNotes_OnEnter(-1);
275 end
276 </OnEnter>
277 <OnLeave>
278 WorldMapTooltip:Hide()
279 </OnLeave>
280 <OnClick>
281 MetaMapNotes_Misc_OnClick(arg1)
282 </OnClick>
283 </Scripts>
284 </Button>
285  
286 <CheckButton name="MetaMap_FilterCheckboxTemplate" inherits="UICheckButtonTemplate" virtual="true">
287 <Size>
288 <AbsDimension x="20" y="20"/>
289 </Size>
290 <Layers>
291 <Layer level="ARTWORK">
292 <Texture name="$parentTexture">
293 <Size>
294 <AbsDimension x="16" y="16"/>
295 </Size>
296 <Anchors>
297 <Anchor point="LEFT" relativePoint="RIGHT">
298 <Offset><AbsDimension x="0" y="-1"/></Offset>
299 </Anchor>
300 </Anchors>
301 </Texture>
302 </Layer>
303 </Layers>
304 <Scripts>
305 <OnClick>
306 MetaMap_FilterNotes();
307 </OnClick>
308 </Scripts>
309 </CheckButton>
310  
311 <Button name="MetaMapList_ScrollFrameButtonTemplate" virtual="true">
312 <Size><AbsDimension x="170" y="20"/></Size>
313 <Layers>
314 <Layer level="BACKGROUND">
315 <Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true"/>
316 </Layer>
317 </Layers>
318 <Layers>
319 <Layer level="ARTWORK">
320 <FontString name="$parentName" inherits="GameFontNormal" text="" justifyH="LEFT">
321 <Size>
322 <AbsDimension x="170" y="12"/>
323 </Size>
324 <Anchors>
325 <Anchor point="LEFT">
326 <Offset><AbsDimension x="0" y="0"/></Offset>
327 </Anchor>
328 </Anchors>
329 </FontString>
330 <FontString name="$parentNoteID" inherits="GameFontNormal" hidden="true" text=""/>
331 </Layer>
332 </Layers>
333 <Scripts>
334 <OnLoad>
335 this:SetFrameLevel(this:GetParent():GetFrameLevel()+3);
336 this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
337 </OnLoad>
338 <OnClick>
339 MetaMapList_OnClick(arg1, tonumber(getglobal(this:GetName().."NoteID"):GetText()));
340 </OnClick>
341 <OnEnter>
342 getglobal(this:GetName().."Highlight"):Show();
343 MetaMapNotes_OnEnter(tonumber(getglobal(this:GetName().."NoteID"):GetText()));
344 </OnEnter>
345 <OnLeave>
346 getglobal(this:GetName().."Highlight"):Hide();
347 WorldMapTooltip:Hide();
348 </OnLeave>
349 </Scripts>
350 <NormalFont name="$parentNormalText" inherits="GameFontNormal" justifyH="LEFT"/>
351 </Button>
352  
353 <Model name="MetaMapPing" file="Interface\MiniMap\Ping\MinimapPing.mdx" scale="0.45" hidden="true" parent="WorldMapButton">
354 <Size>
355 <AbsDimension x="60" y="60"/>
356 </Size>
357 <Anchors>
358 <Anchor point="CENTER" relativeTo="WorldMapButton"/>
359 </Anchors>
360 <Scripts>
361 <OnLoad>
362 this:SetFrameLevel(this:GetFrameLevel() + 4)
363 MetaMapPing.timer = MetaMap_PingTime;
364 </OnLoad>
365 <OnUpdate>
366 MetaMapPing_OnUpdate(arg1);
367 </OnUpdate>
368 </Scripts>
369 </Model>
370  
371 <CheckButton name="MetaMap_CheckButtonTemplate" inherits="UICheckButtonTemplate" virtual="true">
372 <Size><AbsDimension x="22" y="22"/></Size>
373 <Layers>
374 <Layer level="ARTWORK">
375 <FontString name="$parentText" inherits="GameFontNormalSmall">
376 <Anchors>
377 <Anchor point="LEFT">
378 <Offset>
379 <AbsDimension x="5" y="1"/>
380 </Offset>
381 </Anchor>
382 </Anchors>
383 </FontString>
384 </Layer>
385 </Layers>
386 <Scripts>
387 <OnLeave>
388 GameTooltip:Hide();
389 </OnLeave>
390 </Scripts>
391 </CheckButton>
392  
393 <Frame name="MetaMap_DialogFrame" toplevel="true" movable="true" enableMouse="true" frameStrata="FULLSCREEN" hidden="true" parent="UIParent">
394 <Size>
395 <AbsDimension x="575" y="350"/>
396 </Size>
397 <Anchors>
398 <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER">
399 <Offset>
400 <AbsDimension x="0" y="0"/>
401 </Offset>
402 </Anchor>
403 </Anchors>
404 <TitleRegion setAllPoints="true"/>
405 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
406 <BackgroundInsets>
407 <AbsInset left="11" right="12" top="12" bottom="11"/>
408 </BackgroundInsets>
409 <TileSize>
410 <AbsValue val="32"/>
411 </TileSize>
412 <EdgeSize>
413 <AbsValue val="32"/>
414 </EdgeSize>
415 </Backdrop>
416 <Layers>
417 <Layer level="ARTWORK">
418 <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
419 <Size>
420 <AbsDimension x="375" y="64"/>
421 </Size>
422 <Anchors>
423 <Anchor point="TOP">
424 <Offset>
425 <AbsDimension x="1" y="12"/>
426 </Offset>
427 </Anchor>
428 </Anchors>
429 </Texture>
430 <FontString inherits="GameFontNormal" text="METAMAP_OPTIONS_EXT" nonspacewrap="true">
431 <Anchors>
432 <Anchor point="TOP" relativeTo="$parentHeader">
433 <Offset>
434 <AbsDimension x="0" y="-13"/>
435 </Offset>
436 </Anchor>
437 </Anchors>
438 </FontString>
439 </Layer>
440 </Layers>
441 <Frames>
442 <Button name="MetaMap_DialogFrameTab1" inherits="MetaMap_FrameTabButtonTemplate" id="1" text="General">
443 <Anchors>
444 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
445 <Offset>
446 <AbsDimension x="55" y="-2"/>
447 </Offset>
448 </Anchor>
449 </Anchors>
450 </Button>
451 <Button name="MetaMap_DialogFrameTab2" inherits="MetaMap_FrameTabButtonTemplate" id="2" text="MetaNotes">
452 <Anchors>
453 <Anchor point="TOPLEFT" relativeTo="MetaMap_DialogFrameTab1" relativePoint="TOPRIGHT">
454 <Offset>
455 <AbsDimension x="-15" y="0"/>
456 </Offset>
457 </Anchor>
458 </Anchors>
459 </Button>
460 <Button name="MetaMap_DialogFrameTab3" inherits="MetaMap_FrameTabButtonTemplate" id="3" text="MetaKB">
461 <Anchors>
462 <Anchor point="TOPLEFT" relativeTo="MetaMap_DialogFrameTab2" relativePoint="TOPRIGHT">
463 <Offset>
464 <AbsDimension x="-15" y="0"/>
465 </Offset>
466 </Anchor>
467 </Anchors>
468 </Button>
469 <Button name="MetaMap_DialogFrameTab4" inherits="MetaMap_FrameTabButtonTemplate" id="4" text="MetaFWM">
470 <Anchors>
471 <Anchor point="TOPLEFT" relativeTo="MetaMap_DialogFrameTab3" relativePoint="TOPRIGHT">
472 <Offset>
473 <AbsDimension x="-15" y="0"/>
474 </Offset>
475 </Anchor>
476 </Anchors>
477 </Button>
478 <Button name="MetaMap_DialogFrameTab5" inherits="MetaMap_FrameTabButtonTemplate" id="5" text="Imports">
479 <Anchors>
480 <Anchor point="TOPLEFT" relativeTo="MetaMap_DialogFrameTab4" relativePoint="TOPRIGHT">
481 <Offset>
482 <AbsDimension x="-15" y="0"/>
483 </Offset>
484 </Anchor>
485 </Anchors>
486 </Button>
487 <Button name="MetaMap_DialogFrameTab6" inherits="MetaMap_FrameTabButtonTemplate" id="6" text="ZoneShift">
488 <Anchors>
489 <Anchor point="TOPLEFT" relativeTo="MetaMap_DialogFrameTab5" relativePoint="TOPRIGHT">
490 <Offset>
491 <AbsDimension x="-15" y="0"/>
492 </Offset>
493 </Anchor>
494 </Anchors>
495 </Button>
496 <Button name="MetaMap_CloseButton" text="METAMAP_CLOSE_BUTTON" inherits="UIPanelButtonTemplate">
497 <Size>
498 <AbsDimension x="70" y="26"/>
499 </Size>
500 <Anchors>
501 <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
502 <Offset>
503 <AbsDimension x="-8" y="8"/>
504 </Offset>
505 </Anchor>
506 </Anchors>
507 <Scripts>
508 <OnClick>
509 MetaMapExtOptions_Toggle();
510 </OnClick>
511 </Scripts>
512 </Button>
513 </Frames>
514 <Scripts>
515 <OnLoad>
516 PanelTemplates_SetNumTabs(this, 6);
517 </OnLoad>
518 <OnShow>
519 PlaySound("UChatScrollButton");
520 PanelTemplates_SetTab(this, 1);
521 MetaMap_ToggleDialog("MetaMap_GeneralDialog");
522 MetaMapBKP_NoLoad:Hide();
523 </OnShow>
524 <OnHide>
525 this:SetParent("UIParent");
526 this:SetFrameStrata("FULLSCREEN");
527 </OnHide>
528 </Scripts>
529 </Frame>
530  
531 <Frame name="MetaMap_GeneralDialog" parent="MetaMap_DialogFrame" hidden="true">
532 <Size><AbsDimension x="480" y="280" /></Size>
533 <Anchors>
534 <Anchor point="CENTER"/>
535 </Anchors>
536 <Layers>
537 <Layer level="ARTWORK">
538 <FontString name="MetaMapBKP_NoLoad" inherits="GameFontHighlight" hidden="true" text="METAMAPBKP_NO_LOAD">
539 <Anchors>
540 <Anchor point="TOP">
541 <Offset><AbsDimension x="0" y="-25"/></Offset>
542 </Anchor>
543 </Anchors>
544 </FontString>
545 </Layer>
546 </Layers>
547 <Frames>
548 <CheckButton name="MetaMap_MenuModeCheckButton" inherits="MetaMap_CheckButtonTemplate">
549 <Anchors>
550 <Anchor point="TOPLEFT">
551 <Offset><AbsDimension x="40" y="-45"/></Offset>
552 </Anchor>
553 </Anchors>
554 <Scripts>
555 <OnLoad>
556 getglobal(this:GetName().."Text"):SetText(" "..METAMAP_MENU_MODE);
557 </OnLoad>
558 <OnClick>
559 MetaMapOptions.MenuMode = not MetaMapOptions.MenuMode;
560 </OnClick>
561 </Scripts>
562 </CheckButton>
563 <CheckButton name="MetaMap_TTWrapCheckButton" inherits="MetaMap_CheckButtonTemplate">
564 <Anchors>
565 <Anchor point="TOPLEFT">
566 <Offset><AbsDimension x="40" y="-75"/></Offset>
567 </Anchor>
568 </Anchors>
569 <Scripts>
570 <OnLoad>
571 getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_AUTOSEL)
572 </OnLoad>
573 <OnClick>
574 MetaMapOptions.TooltipWrap = not MetaMapOptions.TooltipWrap;
575 </OnClick>
576 </Scripts>
577 </CheckButton>
578 <CheckButton name="MetaMap_MiniButtonCheckButton" inherits="MetaMap_CheckButtonTemplate">
579 <Anchors>
580 <Anchor point="TOPLEFT">
581 <Offset><AbsDimension x="40" y="-105" /></Offset>
582 </Anchor>
583 </Anchors>
584 <Scripts>
585 <OnLoad>
586 getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_SHOWBUT)
587 </OnLoad>
588 <OnClick>
589 MetaMapOptions.MetaMapButtonShown = not MetaMapOptions.MetaMapButtonShown;
590 MetaMapOptions_Init();
591 </OnClick>
592 </Scripts>
593 </CheckButton>
594 <CheckButton name="MetaMap_ZoneHeaderButton" inherits="MetaMap_CheckButtonTemplate">
595 <Anchors>
596 <Anchor point="TOPLEFT">
597 <Offset><AbsDimension x="40" y="-135" /></Offset>
598 </Anchor>
599 </Anchors>
600 <Scripts>
601 <OnLoad>
602 getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_ZONEHEADER)
603 </OnLoad>
604 <OnClick>
605 MetaMapOptions.ZoneHeader = not MetaMapOptions.ZoneHeader;
606 MetaMap_ZoneHeader();
607 </OnClick>
608 </Scripts>
609 </CheckButton>
610 <CheckButton name="MetaMap_ListColorsButton" inherits="MetaMap_CheckButtonTemplate">
611 <Anchors>
612 <Anchor point="TOPLEFT">
613 <Offset><AbsDimension x="40" y="-165" /></Offset>
614 </Anchor>
615 </Anchors>
616 <Scripts>
617 <OnLoad>
618 getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_LISTCOLORS)
619 </OnLoad>
620 <OnClick>
621 MetaMapOptions.ListColors = not MetaMapOptions.ListColors;
622 MetaMapList_Init();
623 </OnClick>
624 </Scripts>
625 </CheckButton>
626 <CheckButton name="MetaMap_POICheckButton" inherits="MetaMap_CheckButtonTemplate">
627 <Anchors>
628 <Anchor point="TOPLEFT">
629 <Offset><AbsDimension x="40" y="-195" /></Offset>
630 </Anchor>
631 </Anchors>
632 <Scripts>
633 <OnLoad>
634 getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_POI)
635 </OnLoad>
636 <OnClick>
637 MetaMapOptions.usePOI = not MetaMapOptions.usePOI;
638 </OnClick>
639 </Scripts>
640 </CheckButton>
641 <Button name="MetaMap_LoadBKPButton" inherits="UIPanelButtonTemplate2" text="Load Backup Module">
642 <Size><AbsDimension x="150" y="24"/></Size>
643 <Anchors>
644 <Anchor point="BOTTOM">
645 <Offset><AbsDimension x="0" y="10" /></Offset>
646 </Anchor>
647 </Anchors>
648 <Scripts>
649 <OnClick>
650 MetaMap_LoadBKP();
651 </OnClick>
652 </Scripts>
653 </Button>
654 </Frames>
655 <Scripts>
656 <OnLoad>
657 this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
658 this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
659 </OnLoad>
660 </Scripts>
661 </Frame>
662  
663 <Frame name="MetaMap_NotesDialog" parent="MetaMap_DialogFrame" hidden="true">
664 <Size>
665 <AbsDimension x="480" y="280"/>
666 </Size>
667 <Anchors>
668 <Anchor point="CENTER"/>
669 </Anchors>
670 <Layers>
671 <Layer level="ARTWORK">
672 <FontString name="MetaMapNotes_InfoText" inherits="GameFontHighlight" hidden="true" text="">
673 <Anchors>
674 <Anchor point="TOP">
675 <Offset><AbsDimension x="0" y="-25"/></Offset>
676 </Anchor>
677 </Anchors>
678 </FontString>
679 <FontString name="MetaMapNotes_ZoneSearchResult" inherits="GameFontNormal" text="">
680 <Anchors>
681 <Anchor point="BOTTOMLEFT">
682 <Offset><AbsDimension x="50" y="40"/></Offset>
683 </Anchor>
684 </Anchors>
685 </FontString>
686 <FontString name="MetaMapNotes_ZoneSearchResultHint" inherits="GameFontDisableSmall" text="METAMAPNOTES_ZONESEARCH_TEXTHINT">
687 <Anchors>
688 <Anchor point="LEFT" relativePoint="LEFT" relativeTo="MetaMapNotes_ZoneSearchResult">
689 <Offset><AbsDimension x="0" y="-20"/></Offset>
690 </Anchor>
691 </Anchors>
692 </FontString>
693 </Layer>
694 </Layers>
695 <Frames>
696 <CheckButton name="MetaMap_LastNoteHighlight" inherits="MetaMap_CheckButtonTemplate">
697 <Anchors>
698 <Anchor point="TOPLEFT">
699 <Offset><AbsDimension x="50" y="-50" /></Offset>
700 </Anchor>
701 </Anchors>
702 <Scripts>
703 <OnLoad>
704 getglobal(this:GetName().."Text"):SetText(" "..METAMAPNOTES_HIGHLIGHT_LASTCREATED)
705 </OnLoad>
706 <OnClick>
707 MetaMapOptions.LastHighlight = not MetaMapOptions.LastHighlight;
708 MetaMapNotes_MapUpdate();
709 </OnClick>
710 </Scripts>
711 </CheckButton>
712 <CheckButton name="MetaMap_LastMiniHighlight" inherits="MetaMap_CheckButtonTemplate">
713 <Anchors>
714 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MetaMap_LastNoteHighlight">
715 <Offset><AbsDimension x="0" y="-10"/></Offset>
716 </Anchor>
717 </Anchors>
718 <Scripts>
719 <OnLoad>
720 getglobal(this:GetName().."Text"):SetText(" "..METAMAPNOTES_HIGHLIGHT_MININOTE)
721 </OnLoad>
722 <OnClick>
723 MetaMapOptions.LastMiniHighlight = not MetaMapOptions.LastMiniHighlight;
724 MetaMapNotes_MapUpdate();
725 </OnClick>
726 </Scripts>
727 </CheckButton>
728 <CheckButton name="MetaMap_AcceptIncoming" inherits="MetaMap_CheckButtonTemplate">
729 <Anchors>
730 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MetaMap_LastMiniHighlight">
731 <Offset><AbsDimension x="0" y="-10"/></Offset>
732 </Anchor>
733 </Anchors>
734 <Scripts>
735 <OnLoad>
736 getglobal(this:GetName().."Text"):SetText(" "..METAMAPNOTES_ACCEPTINCOMING)
737 </OnLoad>
738 <OnClick>
739 MetaMapOptions.AcceptIncoming = not MetaMapOptions.AcceptIncoming;
740 </OnClick>
741 </Scripts>
742 </CheckButton>
743 <CheckButton name="MetaMap_PartyAsMini" inherits="MetaMap_CheckButtonTemplate">
744 <Anchors>
745 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MetaMap_AcceptIncoming">
746 <Offset><AbsDimension x="0" y="-10"/></Offset>
747 </Anchor>
748 </Anchors>
749 <Scripts>
750 <OnLoad>
751 getglobal(this:GetName().."Text"):SetText(" "..METAMAPNOTES_AUTOPARTYASMININOTE)
752 </OnLoad>
753 <OnClick>
754 MetaMapOptions.MiniParty = not MetaMapOptions.MiniParty;
755 </OnClick>
756 </Scripts>
757 </CheckButton>
758 <CheckButton name="MetaMap_ShowCreator" inherits="MetaMap_CheckButtonTemplate">
759 <Anchors>
760 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MetaMap_PartyAsMini">
761 <Offset><AbsDimension x="0" y="-10"/></Offset>
762 </Anchor>
763 </Anchors>
764 <Scripts>
765 <OnLoad>
766 getglobal(this:GetName().."Text"):SetText(" "..METAMAP_OPTIONS_SHOWAUTHOR)
767 </OnLoad>
768 <OnClick>
769 MetaMapOptions.MetaMapShowAuthor = not MetaMapOptions.MetaMapShowAuthor;
770 </OnClick>
771 </Scripts>
772 </CheckButton>
773 <Button name="MetaMap_DeleteNotesList" toplevel="true" inherits="UIDropDownMenuTemplate" enableMouse="true">
774 <Anchors>
775 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapNotes_ZoneSearchResult">
776 <Offset>
777 <AbsDimension x="-20" y="-3" />
778 </Offset>
779 </Anchor>
780 </Anchors>
781 </Button>
782 </Frames>
783 <Scripts>
784 <OnLoad>
785 this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
786 this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
787 </OnLoad>
788 <OnShow>
789 MetaMapNotes_InfoText:Hide();
790 UIDropDownMenu_ClearAll(MetaMap_DeleteNotesList);
791 UIDropDownMenu_Initialize(MetaMap_DeleteNotesList, MetaMap_DeleteNotesListInit, "MENU");
792 MetaMap_ZoneHeader();
793 </OnShow>
794 </Scripts>
795 </Frame>
796  
797 <Frame name="MetaKB_HoldingFrame" parent="MetaMap_DialogFrame" hidden="true">
798 <Size><AbsDimension x="480" y="280" /></Size>
799 <Anchors>
800 <Anchor point="CENTER"/>
801 </Anchors>
802 <Layers>
803 <Layer level="ARTWORK">
804 <FontString name="$parentInfo" inherits="GameFontHighlight" text="METAKB_NOT_LOADED">
805 <Anchors>
806 <Anchor point="TOP">
807 <Offset><AbsDimension x="0" y="-20"/></Offset>
808 </Anchor>
809 </Anchors>
810 </FontString>
811 </Layer>
812 </Layers>
813 <Frames>
814 <Button name="$parentLoad" inherits="UIPanelButtonTemplate2" toplevel="true" text="METAKB_LOAD_MODULE">
815 <Size><AbsDimension x="100" y="24"/></Size>
816 <Anchors>
817 <Anchor point="BOTTOM">
818 <Offset><AbsDimension x="0" y="30" /></Offset>
819 </Anchor>
820 </Anchors>
821 <Scripts>
822 <OnClick>
823 MetaMap_LoadWKB(3);
824 </OnClick>
825 </Scripts>
826 </Button>
827 </Frames>
828 <Scripts>
829 <OnLoad>
830 this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
831 this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
832 </OnLoad>
833 </Scripts>
834 </Frame>
835  
836 <Frame name="MetaFWM_HoldingFrame" parent="MetaMap_DialogFrame" hidden="true">
837 <Size><AbsDimension x="480" y="280" /></Size>
838 <Anchors>
839 <Anchor point="CENTER"/>
840 </Anchors>
841 <Layers>
842 <Layer level="ARTWORK">
843 <FontString name="$parentInfo" inherits="GameFontHighlight" text="METAFWM_NOT_LOADED">
844 <Anchors>
845 <Anchor point="TOP">
846 <Offset><AbsDimension x="0" y="-20"/></Offset>
847 </Anchor>
848 </Anchors>
849 </FontString>
850 </Layer>
851 </Layers>
852 <Frames>
853 <Button name="$parentLoad" inherits="UIPanelButtonTemplate2" toplevel="true" text="METAKB_LOAD_MODULE">
854 <Size><AbsDimension x="100" y="24"/></Size>
855 <Anchors>
856 <Anchor point="BOTTOM">
857 <Offset><AbsDimension x="0" y="30" /></Offset>
858 </Anchor>
859 </Anchors>
860 <Scripts>
861 <OnClick>
862 MetaMap_LoadFWM();
863 </OnClick>
864 </Scripts>
865 </Button>
866 </Frames>
867 <Scripts>
868 <OnLoad>
869 this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
870 this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
871 </OnLoad>
872 </Scripts>
873 </Frame>
874  
875 <Frame name="MetaMap_ImportDialog" parent="MetaMap_DialogFrame" hidden="true">
876 <Size><AbsDimension x="480" y="280" /></Size>
877 <Anchors>
878 <Anchor point="CENTER"/>
879 </Anchors>
880 <Layers>
881 <Layer level="ARTWORK">
882 <FontString name="MetaMap_ImportHeader" inherits="GameFontHighlight" text="METAMAP_IMPORTS_HEADER">
883 <Size><AbsDimension x="460" y="0" /></Size>
884 <Anchors>
885 <Anchor point="TOP">
886 <Offset><AbsDimension x="0" y="-20"/></Offset>
887 </Anchor>
888 </Anchors>
889 </FontString>
890 <FontString name="MetaMap_InstanceImportText" inherits="GameFontHighlightSmall" wraponspaces="true" text="METAMAP_IMPORT_INSTANCE">
891 <Anchors>
892 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
893 <Offset><AbsDimension x="10" y="-45"/></Offset>
894 </Anchor>
895 </Anchors>
896 </FontString>
897 <FontString name="MetaMap_InstanceImportTextInfo" inherits="GameFontNormalSmall" justifyH="LEFT" wraponspaces="true" text="METAMAP_IMPORT_INSTANCE_INFO">
898 <Size><AbsDimension x="450"/></Size>
899 <Anchors>
900 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="MetaMap_InstanceImportText">
901 <Offset><AbsDimension x="80" y="-10"/></Offset>
902 </Anchor>
903 </Anchors>
904 </FontString>
905 <FontString name="MetaMap_MapNotesImportText" inherits="GameFontHighlightSmall" wraponspaces="true" text="METAMAP_IMPORT_NOTES">
906 <Anchors>
907 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
908 <Offset><AbsDimension x="10" y="-100"/></Offset>
909 </Anchor>
910 </Anchors>
911 </FontString>
912 <FontString name="MetaMap_MapNotesImportTextInfo" inherits="GameFontNormalSmall" justifyH="LEFT" wraponspaces="true" text="METAMAP_IMPORT_NOTES_INFO">
913 <Size><AbsDimension x="450"/></Size>
914 <Anchors>
915 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTO="MetaMap_MapNotesImportText">
916 <Offset><AbsDimension x="80" y="-10"/></Offset>
917 </Anchor>
918 </Anchors>
919 </FontString>
920 <FontString name="MetaMap_KBImportText" inherits="GameFontHighlightSmall" wraponspaces="true" text="METAMAP_IMPORT_KB">
921 <Anchors>
922 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
923 <Offset><AbsDimension x="10" y="-155"/></Offset>
924 </Anchor>
925 </Anchors>
926 </FontString>
927 <FontString name="MetaMap_KBImportTextInfo" inherits="GameFontNormalSmall" justifyH="LEFT" wraponspaces="true" text="METAMAP_IMPORT_KB_INFO">
928 <Size><AbsDimension x="450"/></Size>
929 <Anchors>
930 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTO="MetaMap_KBImportText">
931 <Offset><AbsDimension x="80" y="-10"/></Offset>
932 </Anchor>
933 </Anchors>
934 </FontString>
935 <FontString name="MetaMap_WoWKBImportText" inherits="GameFontHighlightSmall" wraponspaces="true" text="METAMAP_IMPORT_BLT">
936 <Anchors>
937 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
938 <Offset><AbsDimension x="10" y="-210"/></Offset>
939 </Anchor>
940 </Anchors>
941 </FontString>
942 <FontString name="MetaMap_WoWKBImportTextInfo" inherits="GameFontNormalSmall" justifyH="LEFT" wraponspaces="true" text="METAMAP_IMPORT_BLT_INFO">
943 <Size><AbsDimension x="450"/></Size>
944 <Anchors>
945 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTO="MetaMap_WoWKBImportText">
946 <Offset><AbsDimension x="80" y="-10"/></Offset>
947 </Anchor>
948 </Anchors>
949 </FontString>
950 <FontString name="MetaMap_ImportInfo" inherits="GameFontDisableSmall" justifyH="CENTER" text="METAMAP_IMPORTS_INFO">
951 <Anchors>
952 <Anchor point="BOTTOM">
953 <Offset><AbsDimension x="0" y="10"/></Offset>
954 </Anchor>
955 </Anchors>
956 </FontString>
957 </Layer>
958 </Layers>
959 <Frames>
960 <Button name="MetaMap_LoadImportsButton" inherits="UIPanelButtonTemplate2" text="METAMAP_LOADIMPORTS_BUTTON">
961 <Size><AbsDimension x="150" y="24"/></Size>
962 <Anchors>
963 <Anchor point="BOTTOM">
964 <Offset><AbsDimension x="-170" y="30" /></Offset>
965 </Anchor>
966 </Anchors>
967 <Scripts>
968 <OnClick>
969 MetaMap_LoadImports();
970 </OnClick>
971 </Scripts>
972 </Button>
973 <Button name="MetaMap_LoadExportsButton" inherits="UIPanelButtonTemplate2" text="METAMAP_LOADEXPORTS_BUTTON">
974 <Size><AbsDimension x="150" y="24"/></Size>
975 <Anchors>
976 <Anchor point="BOTTOM">
977 <Offset><AbsDimension x="0" y="30" /></Offset>
978 </Anchor>
979 </Anchors>
980 <Scripts>
981 <OnClick>
982 MetaMap_LoadExports();
983 </OnClick>
984 </Scripts>
985 </Button>
986 <Button name="MetaMap_ReLoadUIButton" inherits="UIPanelButtonTemplate2" text="METAMAP_RELOADUI_BUTTON">
987 <Size><AbsDimension x="120" y="24"/></Size>
988 <Anchors>
989 <Anchor point="BOTTOM">
990 <Offset><AbsDimension x="170" y="30" /></Offset>
991 </Anchor>
992 </Anchors>
993 <Scripts>
994 <OnClick>
995 ReloadUI();
996 </OnClick>
997 </Scripts>
998 </Button>
999 <Button name="MetaMap_InstanceImportButton" inherits="UIPanelButtonTemplate2" text="METAMAP_IMPORT_BUTTON">
1000 <Size><AbsDimension x="60" y="24"/></Size>
1001 <Anchors>
1002 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="MetaMap_InstanceImportText">
1003 <Offset><AbsDimension x="0" y="-10" /></Offset>
1004 </Anchor>
1005 </Anchors>
1006 <Scripts>
1007 <OnLoad>
1008 this:Disable();
1009 </OnLoad>
1010 <OnClick>
1011 MetaMap_ImportOptions(1);
1012 </OnClick>
1013 </Scripts>
1014 </Button>
1015 <Button name="MetaMap_MapNotesImportButton" inherits="UIPanelButtonTemplate2" text="METAMAP_IMPORT_BUTTON">
1016 <Size><AbsDimension x="60" y="24"/></Size>
1017 <Anchors>
1018 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="MetaMap_MapNotesImportText">
1019 <Offset><AbsDimension x="0" y="-10" /></Offset>
1020 </Anchor>
1021 </Anchors>
1022 <Scripts>
1023 <OnLoad>
1024 this:Disable();
1025 </OnLoad>
1026 <OnClick>
1027 MetaMap_ImportOptions(2);
1028 </OnClick>
1029 </Scripts>
1030 </Button>
1031 <Button name="MetaMap_KBImportButton" inherits="UIPanelButtonTemplate2" text="METAMAP_IMPORT_BUTTON">
1032 <Size><AbsDimension x="60" y="24"/></Size>
1033 <Anchors>
1034 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="MetaMap_KBImportText">
1035 <Offset><AbsDimension x="0" y="-10" /></Offset>
1036 </Anchor>
1037 </Anchors>
1038 <Scripts>
1039 <OnLoad>
1040 this:Disable();
1041 </OnLoad>
1042 <OnClick>
1043 MetaMap_ImportOptions(3);
1044 </OnClick>
1045 </Scripts>
1046 </Button>
1047 <Button name="MetaMap_BLTImportButton" inherits="UIPanelButtonTemplate2" text="METAMAP_IMPORT_BUTTON">
1048 <Size><AbsDimension x="60" y="24"/></Size>
1049 <Anchors>
1050 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="MetaMap_WoWKBImportText">
1051 <Offset><AbsDimension x="0" y="-10" /></Offset>
1052 </Anchor>
1053 </Anchors>
1054 <Scripts>
1055 <OnLoad>
1056 this:Disable();
1057 </OnLoad>
1058 <OnClick>
1059 MetaMap_ImportOptions(4);
1060 </OnClick>
1061 </Scripts>
1062 </Button>
1063 </Frames>
1064 <Scripts>
1065 <OnLoad>
1066 this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
1067 this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
1068 </OnLoad>
1069 </Scripts>
1070 </Frame>
1071  
1072 <Frame name="MetaMap_ZoneShiftDialog" parent="MetaMap_DialogFrame" hidden="true">
1073 <Size><AbsDimension x="480" y="280" /></Size>
1074 <Anchors>
1075 <Anchor point="CENTER"/>
1076 </Anchors>
1077 <Layers>
1078 <Layer level="ARTWORK">
1079 <FontString name="MetaMapZSM_TextHeader" inherits="GameFontHighlight" wraponspaces="true" text="">
1080 <Anchors>
1081 <Anchor point="TOP">
1082 <Offset><AbsDimension x="0" y="-25"/></Offset>
1083 </Anchor>
1084 </Anchors>
1085 </FontString>
1086 </Layer>
1087 </Layers>
1088 <Frames>
1089 <Button name="MetaMap_LoadZSMButton" inherits="UIPanelButtonTemplate2" text="Load ZoneShifts">
1090 <Size><AbsDimension x="120" y="24"/></Size>
1091 <Anchors>
1092 <Anchor point="BOTTOM">
1093 <Offset><AbsDimension x="0" y="20" /></Offset>
1094 </Anchor>
1095 </Anchors>
1096 <Scripts>
1097 <OnClick>
1098 MetaMap_LoadZSM();
1099 </OnClick>
1100 </Scripts>
1101 </Button>
1102 </Frames>
1103 <Scripts>
1104 <OnLoad>
1105 this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
1106 this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
1107 </OnLoad>
1108 <OnShow>
1109 MetaMap_ZSMOnShow();
1110 </OnShow>
1111 </Scripts>
1112 </Frame>
1113  
1114 <Frame name="MetaMapTopFrame" enableMouse="false" framestrata="BACKGROUND" parent="WorldMapFrame" movable="true" hidden="false">
1115 <Size>
1116 <AbsDimension x="1024" y="768"/>
1117 </Size>
1118 <Anchors>
1119 <Anchor point="CENTER" relativeTo="WorldMapFrame" relativePoint="CENTER">
1120 <Offset>
1121 <AbsDimension x="0" y="0"/>
1122 </Offset>
1123 </Anchor>
1124 </Anchors>
1125 <Scripts>
1126 <OnLoad>
1127 MetaMapTopFrame_OnLoad();
1128 </OnLoad>
1129 <OnEvent>
1130 MetaMap_OnEvent(event);
1131 </OnEvent>
1132 <OnShow>
1133 MetaMapTopFrame_OnShow();
1134 </OnShow>
1135 <OnMouseDown>
1136 if ( arg1 == "LeftButton" ) then
1137 this:GetParent():StartMoving();
1138 this.isMoving = true;
1139 end
1140 </OnMouseDown>
1141 <OnMouseUp>
1142 if ( this.isMoving ) then
1143 this:GetParent():StopMovingOrSizing();
1144 this.isMoving = false;
1145 WorldMapFrame:SetUserPlaced(false);
1146 end
1147 </OnMouseUp>
1148 <OnHide>
1149 MetaMapTopFrame_OnHide();
1150 </OnHide>
1151 </Scripts>
1152 </Frame>
1153  
1154 <Button name="MetaMap_OptionsButton" hidden="false" parent="WorldMapFrame" inherits="OptionsButtonTemplate" text="METAMAP_OPTIONS_BUTTON">
1155 <Size>
1156 <AbsDimension x="100" y="26"/>
1157 </Size>
1158 <Anchors>
1159 <Anchor point="CENTER" relativeTo="WorldMapZoomOutButton" relativePoint="CENTER">
1160 <Offset>
1161 <AbsDimension x="0" y="0"/>
1162 </Offset>
1163 </Anchor>
1164 </Anchors>
1165 <Scripts>
1166 <OnEnter>
1167 if(not MetaMapOptions.MenuMode) then
1168 MetaMapMenu_OnShow("Mainmap");
1169 end
1170 </OnEnter>
1171 <OnClick>
1172 if(MetaMapOptions.MenuMode) then
1173 MetaMapMenu_OnShow("Mainmap");
1174 end
1175 </OnClick>
1176 </Scripts>
1177 </Button>
1178  
1179 <Frame name="MetaMapMainCoords" hidden="true" parent="WorldMapFrame" >
1180 <Layers>
1181 <Layer level="ARTWORK">
1182 <FontString name="MetaMapCoordsCursorDesc" hidden="false" inherits="GameFontNormal" text="Cursor(x,y): ">
1183 <Anchors>
1184 <Anchor point="BOTTOM" relativeTo="WorldMapDetailFrame" relativePoint="BOTTOM">
1185 <Offset>
1186 <AbsDimension x="-100" y="-20"/>
1187 </Offset>
1188 </Anchor>
1189 </Anchors>
1190 </FontString>
1191 <FontString name="MetaMapCoordsCursor" hidden="false" inherits="GameFontHighlight" text="">
1192 <Anchors>
1193 <Anchor point="LEFT" relativeTo="MetaMapCoordsCursorDesc" relativePoint="RIGHT">
1194 <Offset>
1195 <AbsDimension x="0" y="0"/>
1196 </Offset>
1197 </Anchor>
1198 </Anchors>
1199 </FontString>
1200 <FontString name="MetaMapCoordsPlayerDesc" hidden="false" inherits="GameFontNormal" text="Player(x,y): ">
1201 <Anchors>
1202 <Anchor point="BOTTOM" relativeTo="WorldMapDetailFrame" relativePoint="BOTTOM">
1203 <Offset>
1204 <AbsDimension x="60" y="-20"/>
1205 </Offset>
1206 </Anchor>
1207 </Anchors>
1208 </FontString>
1209 <FontString name="MetaMapCoordsPlayer" hidden="false" inherits="GameFontHighlight" text="">
1210 <Anchors>
1211 <Anchor point="LEFT" relativeTo="MetaMapCoordsPlayerDesc" relativePoint="RIGHT">
1212 <Offset>
1213 <AbsDimension x="0" y="0"/>
1214 </Offset>
1215 </Anchor>
1216 </Anchors>
1217 </FontString>
1218 </Layer>
1219 </Layers>
1220 <Scripts>
1221 <OnUpdate>
1222 MetaMapCoordsWorldMap_OnUpdate();
1223 </OnUpdate>
1224 </Scripts>
1225 </Frame>
1226  
1227 <Frame name="MetaMapDropDownFrame" toplevel="true" enableMouse="true" parent="WorldMapFrame" hidden="false">
1228 <Frames>
1229 <Button name="MetaMapFrameDropDown" inherits="UIDropDownMenuTemplate">
1230 <Anchors>
1231 <Anchor point="RIGHT" relativeTo="WorldMapContinentDropDown" relativePoint="LEFT">
1232 <Offset>
1233 <AbsDimension x="33" y="0"/>
1234 </Offset>
1235 </Anchor>
1236 </Anchors>
1237 <Scripts>
1238 <OnLoad>
1239 MetaMapFrameDropDown_OnLoad();
1240 </OnLoad>
1241 </Scripts>
1242 </Button>
1243 </Frames>
1244 <Layers>
1245 <Layer level="ARTWORK">
1246 <FontString inherits="GameFontNormalSmall" text="Instances">
1247 <Anchors>
1248 <Anchor point="LEFT" relativeTo="WorldMapContinentDropDown" relativePoint="LEFT">
1249 <Offset>
1250 <AbsDimension x="-170" y="21"/>
1251 </Offset>
1252 </Anchor>
1253 </Anchors>
1254 </FontString>
1255 <FontString name="MetaMapText_NoteTotals" inherits="GameFontNormal" text="">
1256 <Anchors>
1257 <Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame" relativePoint="TOPLEFT">
1258 <Offset>
1259 <AbsDimension x="10" y="-10"/>
1260 </Offset>
1261 </Anchor>
1262 </Anchors>
1263 </FontString>
1264 </Layer>
1265 </Layers>
1266 </Frame>
1267  
1268 <Frame name="MetaMap_ZoneHeaderFrame" hidden="true" toplevel="true" parent="WorldMapFrame" frameStrata="FULLSCREEN">
1269 <Size><AbsDimension x="320" y="20"/></Size>
1270 <Anchors>
1271 <Anchor point="BOTTOM" relativeTo="WorldMapDetailFrame" relativePoint="TOP">
1272 <Offset><AbsDimension x="0" y="47"/></Offset>
1273 </Anchor>
1274 </Anchors>
1275 <Layers>
1276 <Layer>
1277 <FontString name="MetaMapZoneHeaderText1" inherits="GameFontNormalSmall" text="">
1278 <Anchors>
1279 <Anchor point="RIGHT" relativePoint="CENTER">
1280 <Offset>
1281 <AbsDimension x="-100" y="0"/>
1282 </Offset>
1283 </Anchor>
1284 </Anchors>
1285 </FontString>
1286 <FontString name="MetaMapZoneHeaderText2" inherits="GameFontNormalSmall" text="">
1287 <Anchors>
1288 <Anchor point="LEFT" relativePoint="CENTER">
1289 <Offset>
1290 <AbsDimension x="100" y="0"/>
1291 </Offset>
1292 </Anchor>
1293 </Anchors>
1294 </FontString>
1295 </Layer>
1296 </Layers>
1297 <Scripts>
1298 <OnLoad>
1299 this:SetBackdropColor(0,0,0);
1300 this:SetFrameLevel(WorldMapButton:GetFrameLevel()+1);
1301 </OnLoad>
1302 </Scripts>
1303 <FontString inherits="MetaMap_FontStringTemplate" justifyH="LEFT"/>
1304 </Frame>
1305  
1306 <Button name="MetaMapButton" parent="Minimap" frameStrata="MEDIUM">
1307 <Size>
1308 <AbsDimension x="32" y="32"/>
1309 </Size>
1310 <Anchors>
1311 <Anchor point="TOPLEFT">
1312 <Offset>
1313 <AbsDimension x="0" y="-3"/>
1314 </Offset>
1315 </Anchor>
1316 </Anchors>
1317 <NormalTexture file="Interface\AddOns\MetaMap\Images\MetaMapButton-Up"/>
1318 <PushedTexture file="Interface\AddOns\MetaMap\Images\MetaMapButton-Down"/>
1319 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
1320 <Scripts>
1321 <OnClick>
1322 MetaMap_ToggleFrame(WorldMapFrame);
1323 </OnClick>
1324 <OnEnter>
1325 MetaMap_ButtonTooltip();
1326 if(not MetaMapOptions.MenuMode) then
1327 MetaMapMenu_OnShow("Minimap");
1328 end
1329 </OnEnter>
1330 <OnMouseUp>
1331 if(arg1 == "RightButton" and MetaMapOptions.MenuMode) then
1332 MetaMapMenu_OnShow("Minimap");
1333 end
1334 </OnMouseUp>
1335 <OnLeave>
1336 GameTooltip:Hide();
1337 </OnLeave>
1338 </Scripts>
1339 </Button>
1340  
1341 <Frame name="MetaMap_MiniCoords" parent="UIParent" enableMouse="true" hidden="false" frameStrata="MEDIUM" movable="true">
1342 <Size>
1343 <AbsDimension x="40" y="10"/>
1344 </Size>
1345 <Anchors>
1346 <Anchor point="BOTTOM" relativeTo="Minimap" relativePoint="BOTTOM">
1347 <Offset>
1348 <AbsDimension x="0" y="0"/>
1349 </Offset>
1350 </Anchor>
1351 </Anchors>
1352 <Layers>
1353 <Layer level="ARTWORK">
1354 <FontString name="MetaMapMiniCoords" toplevel="true" hidden="false" inherits="GameFontGreen" text="">
1355 <Anchors>
1356 <Anchor point="CENTER">
1357 <Offset>
1358 <AbsDimension x="0" y="0"/>
1359 </Offset>
1360 </Anchor>
1361 </Anchors>
1362 </FontString>
1363 </Layer>
1364 </Layers>
1365 <Scripts>
1366 <OnUpdate>
1367 MiniMapCoords_OnUpdate();
1368 </OnUpdate>
1369 <OnMouseDown>
1370 if(arg1 == "LeftButton") then
1371 if(IsShiftKeyDown() or IsControlKeyDown()) then
1372 MiniMapCoords_OnClick();
1373 else
1374 this:StartMoving();
1375 end
1376 end
1377 this.isMoving = true;
1378 </OnMouseDown>
1379 <OnMouseUp>
1380 if(this.isMoving) then
1381 this:StopMovingOrSizing();
1382 this.isMoving = false;
1383 end
1384 </OnMouseUp>
1385 </Scripts>
1386 </Frame>
1387  
1388 <Frame name="MetaMapMenu" toplevel="true" frameStrata="FULLSCREEN" hidden="true" parent="UIParent">
1389 <Size>
1390 <AbsDimension x="200" y="0"/>
1391 </Size>
1392 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
1393 <BackgroundInsets>
1394 <AbsInset left="11" right="12" top="12" bottom="11"/>
1395 </BackgroundInsets>
1396 <TileSize>
1397 <AbsValue val="32"/>
1398 </TileSize>
1399 <EdgeSize>
1400 <AbsValue val="32"/>
1401 </EdgeSize>
1402 </Backdrop>
1403 <Layers>
1404 <Layer level="ARTWORK">
1405 <FontString name="MetaMapMenu_Title" inherits="GameFontGreen" text="METAMAP_NAME">
1406 <Anchors>
1407 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
1408 <Offset>
1409 <AbsDimension x="0" y="-15"/>
1410 </Offset>
1411 </Anchor>
1412 </Anchors>
1413 </FontString>
1414 </Layer>
1415 </Layers>
1416 <Frames>
1417 <Button name="MetaMapMenu_Option1" inherits="MetaMapMenu_ButtonTemplate" id="1">
1418 <Anchors>
1419 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
1420 <Offset>
1421 <AbsDimension x="40" y="-35"/>
1422 </Offset>
1423 </Anchor>
1424 </Anchors>
1425 </Button>
1426 <Button name="MetaMapMenu_Option2" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="2">
1427 <Anchors>
1428 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option1" relativePoint="BOTTOMLEFT"/>
1429 </Anchors>
1430 </Button>
1431 <Button name="MetaMapMenu_Option3" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="3">
1432 <Anchors>
1433 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option2" relativePoint="BOTTOMLEFT"/>
1434 </Anchors>
1435 </Button>
1436 <Button name="MetaMapMenu_Option4" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="4">
1437 <Anchors>
1438 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option3" relativePoint="BOTTOMLEFT"/>
1439 </Anchors>
1440 </Button>
1441 <Button name="MetaMapMenu_Option5" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="5">
1442 <Anchors>
1443 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option4" relativePoint="BOTTOMLEFT"/>
1444 </Anchors>
1445 </Button>
1446 <Button name="MetaMapMenu_Option6" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="6">
1447 <Anchors>
1448 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option5" relativePoint="BOTTOMLEFT"/>
1449 </Anchors>
1450 </Button>
1451 <Button name="MetaMapMenu_Option7" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="7">
1452 <Anchors>
1453 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option6" relativePoint="BOTTOMLEFT"/>
1454 </Anchors>
1455 </Button>
1456 <Button name="MetaMapMenu_Option8" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="8">
1457 <Anchors>
1458 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option7" relativePoint="BOTTOMLEFT"/>
1459 </Anchors>
1460 </Button>
1461 <Button name="MetaMapMenu_Option9" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="9">
1462 <Anchors>
1463 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option8" relativePoint="BOTTOMLEFT"/>
1464 </Anchors>
1465 </Button>
1466 <Button name="MetaMapMenu_Option10" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="10">
1467 <Anchors>
1468 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option9" relativePoint="BOTTOMLEFT"/>
1469 </Anchors>
1470 </Button>
1471 <Button name="MetaMapMenu_Option11" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="11">
1472 <Anchors>
1473 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option10" relativePoint="BOTTOMLEFT"/>
1474 </Anchors>
1475 </Button>
1476 <Button name="MetaMapMenu_Option12" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="12">
1477 <Anchors>
1478 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option11" relativePoint="BOTTOMLEFT"/>
1479 </Anchors>
1480 </Button>
1481 <Button name="MetaMapMenu_Option13" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="13">
1482 <Anchors>
1483 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option12" relativePoint="BOTTOMLEFT"/>
1484 </Anchors>
1485 </Button>
1486 <Button name="MetaMapMenu_Option14" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="14">
1487 <Anchors>
1488 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option13" relativePoint="BOTTOMLEFT"/>
1489 </Anchors>
1490 </Button>
1491 <Button name="MetaMapMenu_Option15" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="15">
1492 <Anchors>
1493 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option14" relativePoint="BOTTOMLEFT"/>
1494 </Anchors>
1495 </Button>
1496 <Button name="MetaMapMenu_Option16" hidden="true" inherits="MetaMapMenu_ButtonTemplate" id="16">
1497 <Anchors>
1498 <Anchor point="TOPLEFT" relativeTo="MetaMapMenu_Option15" relativePoint="BOTTOMLEFT"/>
1499 </Anchors>
1500 </Button>
1501 <Frame name="MetaMapSliderMenu" hidden="false">
1502 <Size>
1503 <AbsDimension x="200" y="95"/>
1504 </Size>
1505 <Anchors>
1506 <Anchor point="TOP" relativeTo="$parent" relativePoint="BOTTOM">
1507 <Offset>
1508 <AbsDimension x="0" y="15" />
1509 </Offset>
1510 </Anchor>
1511 </Anchors>
1512 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
1513 <BackgroundInsets>
1514 <AbsInset left="11" right="12" top="12" bottom="11"/>
1515 </BackgroundInsets>
1516 <TileSize>
1517 <AbsValue val="32"/>
1518 </TileSize>
1519 <EdgeSize>
1520 <AbsValue val="32"/>
1521 </EdgeSize>
1522 </Backdrop>
1523 <Frames>
1524 <Slider name="MetaMapAlphaSlider" inherits="OptionsSliderTemplate">
1525 <Size>
1526 <AbsDimension x="160" y="16"/>
1527 </Size>
1528 <Anchors>
1529 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
1530 <Offset>
1531 <AbsDimension x="0" y="-25" />
1532 </Offset>
1533 </Anchor>
1534 </Anchors>
1535 <Scripts>
1536 <OnLoad>
1537 getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_TRANS);
1538 getglobal(this:GetName().."High"):SetText();
1539 getglobal(this:GetName().."Low"):SetText();
1540 MetaMapAlphaSlider:SetMinMaxValues(0.0,1.0);
1541 MetaMapAlphaSlider:SetValueStep(0.01);
1542 </OnLoad>
1543 <OnValueChanged>
1544 MetaMap_UpdateAlpha();
1545 </OnValueChanged>
1546 </Scripts>
1547 </Slider>
1548 <Slider name="MetaMapScaleSlider" inherits="OptionsSliderTemplate">
1549 <Size>
1550 <AbsDimension x="160" y="16"/>
1551 </Size>
1552 <Anchors>
1553 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
1554 <Offset>
1555 <AbsDimension x="0" y="-50" />
1556 </Offset>
1557 </Anchor>
1558 </Anchors>
1559 <Scripts>
1560 <OnLoad>
1561 getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_SCALE);
1562 getglobal(this:GetName().."High"):SetText();
1563 getglobal(this:GetName().."Low"):SetText();
1564 MetaMapScaleSlider:SetMinMaxValues(0.0,1.0);
1565 MetaMapScaleSlider:SetValueStep(0.01);
1566 </OnLoad>
1567 <OnValueChanged>
1568 MetaMap_UpdateScale();
1569 </OnValueChanged>
1570 </Scripts>
1571 </Slider>
1572 <Slider name="MetaMapTTScaleSlider" inherits="OptionsSliderTemplate">
1573 <Size>
1574 <AbsDimension x="160" y="16"/>
1575 </Size>
1576 <Anchors>
1577 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
1578 <Offset>
1579 <AbsDimension x="0" y="-75" />
1580 </Offset>
1581 </Anchor>
1582 </Anchors>
1583 <Scripts>
1584 <OnLoad>
1585 getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_TTSCALE);
1586 getglobal(this:GetName().."High"):SetText();
1587 getglobal(this:GetName().."Low"):SetText();
1588 MetaMapTTScaleSlider:SetMinMaxValues(0.5,2.0);
1589 MetaMapTTScaleSlider:SetValueStep(0.01);
1590 </OnLoad>
1591 <OnValueChanged>
1592 MetaMap_UpdateTTScale();
1593 </OnValueChanged>
1594 <OnEnter>
1595 WorldMapTooltip:SetOwner(this, "ANCHOR_CENTER");
1596 WorldMapTooltip:SetText("Tooltip Scaling Sample", 0, 1, 0);
1597 WorldMapTooltip:AddLine("Move the Tooltip slider to change the scale of the tooltips shown on the WorldMap", 1, 1, 1, true);
1598 WorldMapTooltip:Show();
1599 </OnEnter>
1600 <OnLeave>
1601 WorldMapTooltip:Hide();
1602 </OnLeave>
1603 </Scripts>
1604 </Slider>
1605 <Slider name="MetaMap_BackDropSlider" inherits="OptionsSliderTemplate">
1606 <Size>
1607 <AbsDimension x="160" y="16"/>
1608 </Size>
1609 <Anchors>
1610 <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
1611 <Offset>
1612 <AbsDimension x="0" y="-100" />
1613 </Offset>
1614 </Anchor>
1615 </Anchors>
1616 <Scripts>
1617 <OnLoad>
1618 getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_SHADER);
1619 getglobal(this:GetName().."High"):SetText();
1620 getglobal(this:GetName().."Low"):SetText();
1621 this:SetMinMaxValues(0.0,1.0);
1622 this:SetValueStep(0.01);
1623 </OnLoad>
1624 <OnValueChanged>
1625 MetaMap_UpdateBackDrop();
1626 </OnValueChanged>
1627 </Scripts>
1628 </Slider>
1629 <Slider name="MetaMapButtonSlider" inherits="OptionsSliderTemplate">
1630 <Size>
1631 <AbsDimension x="160" y="16"/>
1632 </Size>
1633 <Anchors>
1634 <Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
1635 <Offset>
1636 <AbsDimension x="0" y="15" />
1637 </Offset>
1638 </Anchor>
1639 </Anchors>
1640 <Scripts>
1641 <OnLoad>
1642 getglobal(this:GetName().."Text"):SetText(METAMAP_OPTIONS_BUTPOS);
1643 getglobal(this:GetName().."High"):SetText();
1644 getglobal(this:GetName().."Low"):SetText();
1645 MetaMapButtonSlider:SetMinMaxValues(0,360);
1646 MetaMapButtonSlider:SetValueStep(1);
1647 </OnLoad>
1648 <OnValueChanged>
1649 MetaMapOptions.MetaMapButtonPosition = MetaMapButtonSlider:GetValue();
1650 MetaMapButton_UpdatePosition();
1651 </OnValueChanged>
1652 </Scripts>
1653 </Slider>
1654 </Frames>
1655 </Frame>
1656 </Frames>
1657 <Scripts>
1658 <OnLoad>
1659 UIPanelWindows['MetaMapMenu'] = {area = 'center', pushable = 0};
1660 </OnLoad>
1661 <OnShow>
1662 PlaySound("UChatScrollButton");
1663 MetaMapMenu_Init();
1664 </OnShow>
1665 <OnUpdate>
1666 MetaMapMenu_OnUpdate();
1667 </OnUpdate>
1668 </Scripts>
1669 </Frame>
1670  
1671 <Frame name="MetaMapFilterMenu" toplevel="true" hidden="true" parent="MetaMapMenu">
1672 <Size>
1673 <AbsDimension x="125" y="225"/>
1674 </Size>
1675 <Anchors>
1676 <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPLEFT">
1677 <Offset>
1678 <AbsDimension x="10" y="-55"/>
1679 </Offset>
1680 </Anchor>
1681 </Anchors>
1682 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
1683 <BackgroundInsets>
1684 <AbsInset left="11" right="12" top="12" bottom="11"/>
1685 </BackgroundInsets>
1686 <TileSize>
1687 <AbsValue val="32"/>
1688 </TileSize>
1689 <EdgeSize>
1690 <AbsValue val="32"/>
1691 </EdgeSize>
1692 </Backdrop>
1693 <Layers>
1694 <Layer level="ARTWORK">
1695 <FontString name="MetaMap_SubMenuTitle" inherits="GameFontGreen" text="METAMAP_OPTIONS_SHOWNOTES">
1696 <Anchors>
1697 <Anchor point="TOP">
1698 <Offset>
1699 <AbsDimension x="0" y="-15"/>
1700 </Offset>
1701 </Anchor>
1702 </Anchors>
1703 </FontString>
1704 </Layer>
1705 </Layers>
1706 <Frames>
1707 <CheckButton name="MetaMapSubMenu_Option0" inherits="MetaMap_FilterCheckboxTemplate" id="0">
1708 <Anchors>
1709 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
1710 <Offset><AbsDimension x="20" y="-35"/></Offset>
1711 </Anchor>
1712 </Anchors>
1713 </CheckButton>
1714 <CheckButton name="MetaMapSubMenu_Option1" inherits="MetaMap_FilterCheckboxTemplate" id="1">
1715 <Anchors>
1716 <Anchor point="LEFT" relativeTo="MetaMapSubMenu_Option0" relativePoint="LEFT">
1717 <Offset><AbsDimension x="50" y="0"/></Offset>
1718 </Anchor>
1719 </Anchors>
1720 </CheckButton>
1721 <CheckButton name="MetaMapSubMenu_Option2" inherits="MetaMap_FilterCheckboxTemplate" id="2">
1722 <Anchors>
1723 <Anchor point="LEFT" relativeTo="MetaMapSubMenu_Option0" relativePoint="LEFT">
1724 <Offset><AbsDimension x="0" y="-30"/></Offset>
1725 </Anchor>
1726 </Anchors>
1727 </CheckButton>
1728 <CheckButton name="MetaMapSubMenu_Option3" inherits="MetaMap_FilterCheckboxTemplate" id="3">
1729 <Anchors>
1730 <Anchor point="LEFT" relativeTo="MetaMapSubMenu_Option2" relativePoint="LEFT">
1731 <Offset><AbsDimension x="50" y="0"/></Offset>
1732 </Anchor>
1733 </Anchors>
1734 </CheckButton>
1735 <CheckButton name="MetaMapSubMenu_Option4" inherits="MetaMap_FilterCheckboxTemplate" id="4">
1736 <Anchors>
1737 <Anchor point="LEFT" relativeTo="MetaMapSubMenu_Option2" relativePoint="LEFT">
1738 <Offset><AbsDimension x="0" y="-30"/></Offset>
1739 </Anchor>
1740 </Anchors>
1741 </CheckButton>
1742 <CheckButton name="MetaMapSubMenu_Option5" inherits="MetaMap_FilterCheckboxTemplate" id="5">
1743 <Anchors>
1744 <Anchor point="LEFT" relativeTo="MetaMapSubMenu_Option4" relativePoint="LEFT">
1745 <Offset><AbsDimension x="50" y="0"/></Offset>
1746 </Anchor>
1747 </Anchors>
1748 </CheckButton>
1749 <CheckButton name="MetaMapSubMenu_Option6" inherits="MetaMap_FilterCheckboxTemplate" id="6">
1750 <Anchors>
1751 <Anchor point="LEFT" relativeTo="MetaMapSubMenu_Option4" relativePoint="LEFT">
1752 <Offset><AbsDimension x="0" y="-30"/></Offset>
1753 </Anchor>
1754 </Anchors>
1755 </CheckButton>
1756 <CheckButton name="MetaMapSubMenu_Option7" inherits="MetaMap_FilterCheckboxTemplate" id="7">
1757 <Anchors>
1758 <Anchor point="LEFT" relativeTo="MetaMapSubMenu_Option6" relativePoint="LEFT">
1759 <Offset><AbsDimension x="50" y="0"/></Offset>
1760 </Anchor>
1761 </Anchors>
1762 </CheckButton>
1763 <CheckButton name="MetaMapSubMenu_Option8" inherits="MetaMap_FilterCheckboxTemplate" id="8">
1764 <Anchors>
1765 <Anchor point="LEFT" relativeTo="MetaMapSubMenu_Option6" relativePoint="LEFT">
1766 <Offset><AbsDimension x="0" y="-30"/></Offset>
1767 </Anchor>
1768 </Anchors>
1769 </CheckButton>
1770 <CheckButton name="MetaMapSubMenu_Option9" inherits="MetaMap_FilterCheckboxTemplate" id="9">
1771 <Anchors>
1772 <Anchor point="LEFT" relativeTo="MetaMapSubMenu_Option8" relativePoint="LEFT">
1773 <Offset><AbsDimension x="50" y="0"/></Offset>
1774 </Anchor>
1775 </Anchors>
1776 </CheckButton>
1777 <Button name="MetaMap_FilterOn" text="METAMAP_OPTIONS_FILTERON">
1778 <Size>
1779 <AbsDimension x="100" y="15"/>
1780 </Size>
1781 <Anchors>
1782 <Anchor point="BOTTOM">
1783 <Offset><AbsDimension x="0" y="30"/></Offset>
1784 </Anchor>
1785 </Anchors>
1786 <Scripts>
1787 <OnClick>
1788 MetaMap_FilterNotes(true);
1789 </OnClick>
1790 </Scripts>
1791 <NormalFont inherits="GameFontNormalSmall"/>
1792 <HighlightFont inherits="GameFontHighlightSmall"/>
1793 </Button>
1794 <Button name="MetaMap_FilterOff" text="METAMAP_OPTIONS_FILTEROFF">
1795 <Size>
1796 <AbsDimension x="100" y="15"/>
1797 </Size>
1798 <Anchors>
1799 <Anchor point="BOTTOM">
1800 <Offset><AbsDimension x="0" y="15"/></Offset>
1801 </Anchor>
1802 </Anchors>
1803 <Scripts>
1804 <OnClick>
1805 MetaMap_FilterNotes(false);
1806 </OnClick>
1807 </Scripts>
1808 <NormalFont inherits="GameFontNormalSmall"/>
1809 <HighlightFont inherits="GameFontHighlightSmall"/>
1810 </Button>
1811 </Frames>
1812 <Scripts>
1813 <OnShow>
1814 PlaySound("UChatScrollButton");
1815 </OnShow>
1816 </Scripts>
1817 </Frame>
1818  
1819 <Button name="MetaMapFrame" enableMouse="true" parent="WorldMapFrame" hidden="true">
1820 <Anchors>
1821 <Anchor point="CENTER" relativeTo="WorldMapDetailFrame" relativePoint="CENTER">
1822 <Offset>
1823 <AbsDimension x="0" y="0"/>
1824 </Offset>
1825 </Anchor>
1826 </Anchors>
1827 <Layers>
1828 <Layer level="BACKGROUND">
1829 <Texture name="MetaMap_MapBackDrop" file="Interface\AddOns\MetaMap\Shaders\Shader1">
1830 <Anchors>
1831 <Anchor point="LEFT" relativeTo="MetaMapFrame" relativePoint="LEFT">
1832 <Offset><AbsDimension x="0" y="0"/></Offset>
1833 </Anchor>
1834 </Anchors>
1835 </Texture>
1836 </Layer>
1837 </Layers>
1838 <Layers>
1839 <Layer level="ARTWORK">
1840 <FontString name="MetaMapText_Instance" inherits="SubZoneTextFont">
1841 <Anchors>
1842 <Anchor point="TOP">
1843 <Offset>
1844 <AbsDimension x="0" y="-10"/>
1845 </Offset>
1846 </Anchor>
1847 </Anchors>
1848 </FontString>
1849 <FontString name="MetaMapText_MapCredits" inherits="QuestTitleFont" toplevel="true" text="METAMAP_MAPCREDITS">
1850 <Anchors>
1851 <Anchor point="BOTTOMLEFT">
1852 <Offset>
1853 <AbsDimension x="10" y="15"/>
1854 </Offset>
1855 </Anchor>
1856 </Anchors>
1857 </FontString>
1858 <Texture name="MetaMap_MapImage">
1859 <Anchors>
1860 <Anchor point="CENTER" relativeTo="MetaMapFrame" relativePoint="CENTER">
1861 <Offset><AbsDimension x="-50" y="-10"/></Offset>
1862 </Anchor>
1863 </Anchors>
1864 </Texture>
1865 </Layer>
1866 </Layers>
1867 <Scripts>
1868 <OnLoad>
1869 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
1870 this:SetWidth(WorldMapButton:GetWidth());
1871 this:SetHeight(WorldMapButton:GetHeight());
1872 MetaMap_MapImage:SetHeight(MetaMapFrame:GetHeight()-60);
1873 MetaMap_MapImage:SetWidth(MetaMap_MapImage:GetHeight());
1874 </OnLoad>
1875 <OnClick>
1876 MetaMapNotes_WorldMapButton_OnClick(arg1, WorldMapButton)
1877 </OnClick>
1878 </Scripts>
1879 </Button>
1880  
1881 <Frame parent="UIParent">
1882 <Frames>
1883 <Button name="TitanPanelMetaMapButton" inherits="TitanPanelIconTemplate" frameStrata="FULLSCREEN" toplevel="true">
1884 <Scripts>
1885 <OnLoad>
1886 if(IsAddOnLoaded("Titan")) then
1887 TitanPanelMetaMapButton_OnLoad();
1888 TitanPanelButton_OnLoad();
1889 else
1890 this:Hide();
1891 end
1892 </OnLoad>
1893 <OnClick>
1894 TitalPanelMetaMapButton_OnClick(arg1);
1895 TitanPanelButton_OnClick(arg1, 1);
1896 </OnClick>
1897 <OnEnter>
1898 if(not MetaMapOptions.MenuMode) then
1899 MetaMapMenu_OnShow("Titan");
1900 end
1901 </OnEnter>
1902 <OnMouseUp>
1903 if(arg1 == "RightButton" and MetaMapOptions.MenuMode) then
1904 MetaMapMenu_OnShow("Titan");
1905 end
1906 </OnMouseUp>
1907 </Scripts>
1908 </Button>
1909 </Frames>
1910 </Frame>
1911  
1912 <Frame name="MetaMapNotesLinesFrame" parent="WorldMapFrame" hidden="false">
1913 <Scripts>
1914 <OnLoad>
1915 this:SetFrameLevel(this:GetFrameLevel() +1);
1916 </OnLoad>
1917 </Scripts>
1918 </Frame>
1919  
1920 <Frame name="MetaMapNotesEditFrame" toplevel="true" parent="UIParent" enablemouse="true" frameStrata="FULLSCREEN" hidden="true">
1921 <Size>
1922 <AbsDimension x="450" y="380"/>
1923 </Size>
1924 <Anchors>
1925 <Anchor point="CENTER"/>
1926 </Anchors>
1927 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
1928 <BackgroundInsets>
1929 <AbsInset left="11" right="12" top="12" bottom="11"/>
1930 </BackgroundInsets>
1931 <TileSize>
1932 <AbsValue val="32"/>
1933 </TileSize>
1934 <EdgeSize>
1935 <AbsValue val="32"/>
1936 </EdgeSize>
1937 </Backdrop>
1938 <Layers>
1939 <Layer level="ARTWORK">
1940 <Texture name="MetaMapNotesEditFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
1941 <Size>
1942 <AbsDimension x="300" y="64"/>
1943 </Size>
1944 <Anchors>
1945 <Anchor point="TOP">
1946 <Offset><AbsDimension x="0" y="12"/></Offset>
1947 </Anchor>
1948 </Anchors>
1949 </Texture>
1950 <FontString name="MetaMapNotesEditFrameTitle" inherits="GameFontNormal" text="METAMAPNOTES_EDIT_NOTE">
1951 <Anchors>
1952 <Anchor point="TOP" relativeTo="MetaMapNotesEditFrameHeader">
1953 <Offset><AbsDimension x="0" y="-14"/></Offset>
1954 </Anchor>
1955 </Anchors>
1956 </FontString>
1957 </Layer>
1958 </Layers>
1959 <Frames>
1960 <Button name="MetaMapNotesButtonMiniNoteOff" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_MININOTE_OFF">
1961 <Size>
1962 <AbsDimension x="100" y="20"/>
1963 </Size>
1964 <Anchors>
1965 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
1966 <Offset><AbsDimension x="66" y="30"/></Offset>
1967 </Anchor>
1968 </Anchors>
1969 <Scripts>
1970 <OnClick>
1971 PlaySound("igMainMenuOption")
1972 MetaMapNotes_ClearMiniNote()
1973 </OnClick>
1974 </Scripts>
1975 </Button>
1976 <Button name="MetaMapNotesButtonMiniNoteOn" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_MININOTE_ON">
1977 <Size>
1978 <AbsDimension x="100" y="20"/>
1979 </Size>
1980 <Anchors>
1981 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
1982 <Offset><AbsDimension x="66" y="60"/></Offset>
1983 </Anchor>
1984 </Anchors>
1985 <Scripts>
1986 <OnClick>
1987 PlaySound("igMainMenuOption");
1988 MetaMapNotes_SetMiniNote(MetaMapNotes_TempData_Id, GetCurrentMapContinent(), GetCurrentMapZone());
1989 </OnClick>
1990 </Scripts>
1991 </Button>
1992 <Button name="MetaMapNotesButtonSendNote" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_SEND_NOTE">
1993 <Size>
1994 <AbsDimension x="100" y="20"/>
1995 </Size>
1996 <Anchors>
1997 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
1998 <Offset><AbsDimension x="171" y="30"/></Offset>
1999 </Anchor>
2000 </Anchors>
2001 <Scripts>
2002 <OnClick>
2003 PlaySound("igMainMenuOption");
2004 MetaMapNotes_ShowSendFrame(1);
2005 </OnClick>
2006 </Scripts>
2007 </Button>
2008 <Button name="MetaMapNotesButtonToggleLine" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_TOGGLELINE">
2009 <Size>
2010 <AbsDimension x="100" y="20"/>
2011 </Size>
2012 <Anchors>
2013 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
2014 <Offset><AbsDimension x="171" y="60"/></Offset>
2015 </Anchor>
2016 </Anchors>
2017 <Scripts>
2018 <OnClick>
2019 PlaySound("igMainMenuOption");
2020 MetaMapNotes_StartGUIToggleLine();
2021 </OnClick>
2022 </Scripts>
2023 </Button>
2024 <Button name="MetaMapNotesButtonSaveNote" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_SAVE_NOTE">
2025 <Size>
2026 <AbsDimension x="100" y="20"/>
2027 </Size>
2028 <Anchors>
2029 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
2030 <Offset><AbsDimension x="276" y="30"/></Offset>
2031 </Anchor>
2032 </Anchors>
2033 <Scripts>
2034 <OnClick>
2035 PlaySound("igMainMenuOption");
2036 MetaMapNotes_WriteNote();
2037 </OnClick>
2038 </Scripts>
2039 </Button>
2040 <Button name="MetaMapNotesButtonDeleteNote" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_DELETE_NOTE">
2041 <Size>
2042 <AbsDimension x="100" y="20"/>
2043 </Size>
2044 <Anchors>
2045 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
2046 <Offset><AbsDimension x="276" y="60"/></Offset>
2047 </Anchor>
2048 </Anchors>
2049 <Scripts>
2050 <OnClick>
2051 PlaySound("igMainMenuOption");
2052 MetaMap_CheckLinks(MetaMapNotes_TempData_Id);
2053 </OnClick>
2054 </Scripts>
2055 </Button>
2056 <Button name="MetaMapNotesButtonMoveNote" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_MOVE_NOTE">
2057 <Size>
2058 <AbsDimension x="100" y="20"/>
2059 </Size>
2060 <Anchors>
2061 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
2062 <Offset><AbsDimension x="381" y="60"/></Offset>
2063 </Anchor>
2064 </Anchors>
2065 <Scripts>
2066 <OnClick>
2067 PlaySound("igMainMenuOption");
2068 MetaMapNotes_StartMoveNote(MetaMapNotes_TempData_Id);
2069 </OnClick>
2070 </Scripts>
2071 </Button>
2072 <Button name="$parentCancel" inherits="UIPanelButtonTemplate2" text="METAMAP_CLOSE_BUTTON">
2073 <Size>
2074 <AbsDimension x="100" y="20"/>
2075 </Size>
2076 <Anchors>
2077 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
2078 <Offset><AbsDimension x="381" y="30"/></Offset>
2079 </Anchor>
2080 </Anchors>
2081 <Scripts>
2082 <OnClick>
2083 PlaySound("igMainMenuOption");
2084 this:GetParent():Hide();
2085 </OnClick>
2086 </Scripts>
2087 </Button>
2088 <Button name="EditIcon0">
2089 <Size>
2090 <AbsDimension x="16" y="16"/>
2091 </Size>
2092 <Anchors>
2093 <Anchor point="TOPLEFT">
2094 <Offset><AbsDimension x="50" y="-41"/></Offset>
2095 </Anchor>
2096 </Anchors>
2097 <Layers>
2098 <Layer level="BACKGROUND">
2099 <Texture name="EditIcon0Texture" file="Interface\AddOns\MetaMap\Icons\Icon0">
2100 <Size>
2101 <AbsDimension x="16" y="16"/>
2102 </Size>
2103 <Anchors>
2104 <Anchor point="CENTER"/>
2105 </Anchors>
2106 </Texture>
2107 </Layer>
2108 </Layers>
2109 <Scripts>
2110 <OnLoad>
2111 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2112 </OnLoad>
2113 <OnClick>
2114 MetaMapNotes_Edit_SetIcon(0)
2115 </OnClick>
2116 </Scripts>
2117 </Button>
2118 <Button name="EditIcon1">
2119 <Size>
2120 <AbsDimension x="16" y="16"/>
2121 </Size>
2122 <Anchors>
2123 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon0">
2124 <Offset><AbsDimension x="21" y="0"/></Offset>
2125 </Anchor>
2126 </Anchors>
2127 <Layers>
2128 <Layer level="BACKGROUND">
2129 <Texture name="EditIcon1Texture" file="Interface\AddOns\MetaMap\Icons\Icon1">
2130 <Size>
2131 <AbsDimension x="16" y="16"/>
2132 </Size>
2133 <Anchors>
2134 <Anchor point="CENTER"/>
2135 </Anchors>
2136 </Texture>
2137 </Layer>
2138 </Layers>
2139 <Scripts>
2140 <OnLoad>
2141 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2142 </OnLoad>
2143 <OnClick>
2144 MetaMapNotes_Edit_SetIcon(1)
2145 </OnClick>
2146 </Scripts>
2147 </Button>
2148 <Button name="EditIcon2">
2149 <Size>
2150 <AbsDimension x="16" y="16"/>
2151 </Size>
2152 <Anchors>
2153 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon1">
2154 <Offset><AbsDimension x="21" y="0"/></Offset>
2155 </Anchor>
2156 </Anchors>
2157 <Layers>
2158 <Layer level="BACKGROUND">
2159 <Texture name="EditIcon2Texture" file="Interface\AddOns\MetaMap\Icons\Icon2">
2160 <Size>
2161 <AbsDimension x="16" y="16"/>
2162 </Size>
2163 <Anchors>
2164 <Anchor point="CENTER"/>
2165 </Anchors>
2166 </Texture>
2167 </Layer>
2168 </Layers>
2169 <Scripts>
2170 <OnLoad>
2171 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2172 </OnLoad>
2173 <OnClick>
2174 MetaMapNotes_Edit_SetIcon(2)
2175 </OnClick>
2176 </Scripts>
2177 </Button>
2178 <Button name="EditIcon3">
2179 <Size>
2180 <AbsDimension x="16" y="16"/>
2181 </Size>
2182 <Anchors>
2183 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon2">
2184 <Offset><AbsDimension x="21" y="0"/></Offset>
2185 </Anchor>
2186 </Anchors>
2187 <Layers>
2188 <Layer level="BACKGROUND">
2189 <Texture name="EditIcon3Texture" file="Interface\AddOns\MetaMap\Icons\Icon3">
2190 <Size>
2191 <AbsDimension x="16" y="16"/>
2192 </Size>
2193 <Anchors>
2194 <Anchor point="CENTER"/>
2195 </Anchors>
2196 </Texture>
2197 </Layer>
2198 </Layers>
2199 <Scripts>
2200 <OnLoad>
2201 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2202 </OnLoad>
2203 <OnClick>
2204 MetaMapNotes_Edit_SetIcon(3)
2205 </OnClick>
2206 </Scripts>
2207 </Button>
2208 <Button name="EditIcon4">
2209 <Size>
2210 <AbsDimension x="16" y="16"/>
2211 </Size>
2212 <Anchors>
2213 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon3">
2214 <Offset><AbsDimension x="21" y="0"/></Offset>
2215 </Anchor>
2216 </Anchors>
2217 <Layers>
2218 <Layer level="BACKGROUND">
2219 <Texture name="EditIcon4Texture" file="Interface\AddOns\MetaMap\Icons\Icon4">
2220 <Size>
2221 <AbsDimension x="16" y="16"/>
2222 </Size>
2223 <Anchors>
2224 <Anchor point="CENTER"/>
2225 </Anchors>
2226 </Texture>
2227 </Layer>
2228 </Layers>
2229 <Scripts>
2230 <OnLoad>
2231 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2232 </OnLoad>
2233 <OnClick>
2234 MetaMapNotes_Edit_SetIcon(4)
2235 </OnClick>
2236 </Scripts>
2237 </Button>
2238 <Button name="EditIcon5">
2239 <Size>
2240 <AbsDimension x="16" y="16"/>
2241 </Size>
2242 <Anchors>
2243 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon4">
2244 <Offset><AbsDimension x="21" y="0"/></Offset>
2245 </Anchor>
2246 </Anchors>
2247 <Layers>
2248 <Layer level="BACKGROUND">
2249 <Texture name="EditIcon5Texture" file="Interface\AddOns\MetaMap\Icons\Icon5">
2250 <Size>
2251 <AbsDimension x="16" y="16"/>
2252 </Size>
2253 <Anchors>
2254 <Anchor point="CENTER"/>
2255 </Anchors>
2256 </Texture>
2257 </Layer>
2258 </Layers>
2259 <Scripts>
2260 <OnLoad>
2261 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2262 </OnLoad>
2263 <OnClick>
2264 MetaMapNotes_Edit_SetIcon(5)
2265 </OnClick>
2266 </Scripts>
2267 </Button>
2268 <Button name="EditIcon6">
2269 <Size>
2270 <AbsDimension x="16" y="16"/>
2271 </Size>
2272 <Anchors>
2273 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon5">
2274 <Offset><AbsDimension x="21" y="0"/></Offset>
2275 </Anchor>
2276 </Anchors>
2277 <Layers>
2278 <Layer level="BACKGROUND">
2279 <Texture name="EditIcon6Texture" file="Interface\AddOns\MetaMap\Icons\Icon6">
2280 <Size>
2281 <AbsDimension x="16" y="16"/>
2282 </Size>
2283 <Anchors>
2284 <Anchor point="CENTER"/>
2285 </Anchors>
2286 </Texture>
2287 </Layer>
2288 </Layers>
2289 <Scripts>
2290 <OnLoad>
2291 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2292 </OnLoad>
2293 <OnClick>
2294 MetaMapNotes_Edit_SetIcon(6)
2295 </OnClick>
2296 </Scripts>
2297 </Button>
2298 <Button name="EditIcon7">
2299 <Size>
2300 <AbsDimension x="16" y="16"/>
2301 </Size>
2302 <Anchors>
2303 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon6">
2304 <Offset><AbsDimension x="21" y="0"/></Offset>
2305 </Anchor>
2306 </Anchors>
2307 <Layers>
2308 <Layer level="BACKGROUND">
2309 <Texture name="EditIcon7Texture" file="Interface\AddOns\MetaMap\Icons\Icon7">
2310 <Size>
2311 <AbsDimension x="16" y="16"/>
2312 </Size>
2313 <Anchors>
2314 <Anchor point="CENTER"/>
2315 </Anchors>
2316 </Texture>
2317 </Layer>
2318 </Layers>
2319 <Scripts>
2320 <OnLoad>
2321 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2322 </OnLoad>
2323 <OnClick>
2324 MetaMapNotes_Edit_SetIcon(7)
2325 </OnClick>
2326 </Scripts>
2327 </Button>
2328 <Button name="EditIcon8">
2329 <Size>
2330 <AbsDimension x="16" y="16"/>
2331 </Size>
2332 <Anchors>
2333 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon7">
2334 <Offset><AbsDimension x="21" y="0"/></Offset>
2335 </Anchor>
2336 </Anchors>
2337 <Layers>
2338 <Layer level="BACKGROUND">
2339 <Texture name="EditIcon8Texture" file="Interface\AddOns\MetaMap\Icons\Icon8">
2340 <Size>
2341 <AbsDimension x="16" y="16"/>
2342 </Size>
2343 <Anchors>
2344 <Anchor point="CENTER"/>
2345 </Anchors>
2346 </Texture>
2347 </Layer>
2348 </Layers>
2349 <Scripts>
2350 <OnLoad>
2351 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2352 </OnLoad>
2353 <OnClick>
2354 MetaMapNotes_Edit_SetIcon(8)
2355 </OnClick>
2356 </Scripts>
2357 </Button>
2358 <Button name="EditIcon9">
2359 <Size>
2360 <AbsDimension x="16" y="16"/>
2361 </Size>
2362 <Anchors>
2363 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon8">
2364 <Offset><AbsDimension x="21" y="0"/></Offset>
2365 </Anchor>
2366 </Anchors>
2367 <Layers>
2368 <Layer level="BACKGROUND">
2369 <Texture name="EditIcon9Texture" file="Interface\AddOns\MetaMap\Icons\Icon9">
2370 <Size>
2371 <AbsDimension x="16" y="16"/>
2372 </Size>
2373 <Anchors>
2374 <Anchor point="CENTER"/>
2375 </Anchors>
2376 </Texture>
2377 </Layer>
2378 </Layers>
2379 <Scripts>
2380 <OnLoad>
2381 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2382 </OnLoad>
2383 <OnClick>
2384 MetaMapNotes_Edit_SetIcon(9)
2385 </OnClick>
2386 </Scripts>
2387 </Button>
2388 <Button name="IconOverlay">
2389 <Size>
2390 <AbsDimension x="32" y="32"/>
2391 </Size>
2392 <Anchors>
2393 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="EditIcon0">
2394 <Offset><AbsDimension x="-3" y="3"/></Offset>
2395 </Anchor>
2396 </Anchors>
2397 <Layers>
2398 <Layer level="BACKGROUND">
2399 <Texture name="IconOverlayTexture" file="Interface\AddOns\MetaMap\Icons\Overlay">
2400 <Size>
2401 <AbsDimension x="32" y="32"/>
2402 </Size>
2403 <Anchors>
2404 <Anchor point="CENTER"/>
2405 </Anchors>
2406 </Texture>
2407 </Layer>
2408 </Layers>
2409 </Button>
2410 <EditBox name="TitleWideEditBox" historyLines="0" letters="100">
2411 <Size>
2412 <AbsDimension x="400" y="32"/>
2413 </Size>
2414 <Anchors>
2415 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="EditIcon0">
2416 <Offset><AbsDimension x="-26" y="-36"/></Offset>
2417 </Anchor>
2418 </Anchors>
2419 <Layers>
2420 <Layer level="BACKGROUND">
2421 <Texture name="TitleBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2422 <Size>
2423 <AbsDimension x="256" y="32"/>
2424 </Size>
2425 <Anchors>
2426 <Anchor point="LEFT">
2427 <Offset><AbsDimension x="-10" y="0"/></Offset>
2428 </Anchor>
2429 </Anchors>
2430 </Texture>
2431 <Texture name="TitleBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
2432 <Size>
2433 <AbsDimension x="256" y="32"/>
2434 </Size>
2435 <Anchors>
2436 <Anchor point="RIGHT">
2437 <Offset><AbsDimension x="10" y="0"/></Offset>
2438 </Anchor>
2439 </Anchors>
2440 </Texture>
2441 </Layer>
2442 </Layers>
2443 <Scripts>
2444 <OnLoad>
2445 TitleWideEditBox:SetText("")
2446 </OnLoad>
2447 <OnTextChanged>
2448 if (TitleWideEditBox:GetText() == "" or TitleWideEditBox:GetText() == nil) then
2449 MetaMapNotesButtonSaveNote:Disable()
2450 else
2451 MetaMapNotesButtonSaveNote:Enable()
2452 end
2453 </OnTextChanged>
2454 <OnEnterPressed>
2455 PlaySound("igMainMenuOption");
2456 MetaMapNotes_WriteNote();
2457 </OnEnterPressed>
2458 <OnEscapePressed>
2459 this:GetParent():Hide();
2460 </OnEscapePressed>
2461 </Scripts>
2462 <FontString inherits="ChatFontNormal"/>
2463 </EditBox>
2464 <EditBox name="Info1WideEditBox" historyLines="0">
2465 <Size>
2466 <AbsDimension x="400" y="32"/>
2467 </Size>
2468 <Anchors>
2469 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="TitleWideEditBox">
2470 <Offset><AbsDimension x="0" y="-65"/></Offset>
2471 </Anchor>
2472 </Anchors>
2473 <Layers>
2474 <Layer level="BACKGROUND">
2475 <Texture name="Info1Left" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2476 <Size>
2477 <AbsDimension x="256" y="32"/>
2478 </Size>
2479 <Anchors>
2480 <Anchor point="LEFT">
2481 <Offset><AbsDimension x="-10" y="0"/></Offset>
2482 </Anchor>
2483 </Anchors>
2484 </Texture>
2485 <Texture name="Info1Right" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
2486 <Size>
2487 <AbsDimension x="256" y="32"/>
2488 </Size>
2489 <Anchors>
2490 <Anchor point="RIGHT">
2491 <Offset><AbsDimension x="10" y="0"/></Offset>
2492 </Anchor>
2493 </Anchors>
2494 </Texture>
2495 </Layer>
2496 </Layers>
2497 <Scripts>
2498 <OnEnterPressed>
2499 PlaySound("igMainMenuOption")
2500 MetaMapNotes_WriteNote()
2501 </OnEnterPressed>
2502 <OnEscapePressed>
2503 this:GetParent():Hide();
2504 </OnEscapePressed>
2505 </Scripts>
2506 <FontString inherits="ChatFontNormal"/>
2507 </EditBox>
2508 <EditBox name="Info2WideEditBox" historyLines="0">
2509 <Size>
2510 <AbsDimension x="400" y="32"/>
2511 </Size>
2512 <Anchors>
2513 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Info1WideEditBox">
2514 <Offset><AbsDimension x="0" y="-65"/></Offset>
2515 </Anchor>
2516 </Anchors>
2517 <Layers>
2518 <Layer level="BACKGROUND">
2519 <Texture name="Info2Left" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2520 <Size>
2521 <AbsDimension x="256" y="32"/>
2522 </Size>
2523 <Anchors>
2524 <Anchor point="LEFT">
2525 <Offset><AbsDimension x="-10" y="0"/></Offset>
2526 </Anchor>
2527 </Anchors>
2528 </Texture>
2529 <Texture name="Info2Right" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
2530 <Size>
2531 <AbsDimension x="256" y="32"/>
2532 </Size>
2533 <Anchors>
2534 <Anchor point="RIGHT">
2535 <Offset><AbsDimension x="10" y="0"/></Offset>
2536 </Anchor>
2537 </Anchors>
2538 </Texture>
2539 </Layer>
2540 </Layers>
2541 <Scripts>
2542 <OnEnterPressed>
2543 PlaySound("igMainMenuOption")
2544 MetaMapNotes_WriteNote()
2545 </OnEnterPressed>
2546 <OnEscapePressed>
2547 this:GetParent():Hide();
2548 </OnEscapePressed>
2549 </Scripts>
2550 <FontString inherits="ChatFontNormal"/>
2551 </EditBox>
2552 <EditBox name="CreatorWideEditBox" historyLines="0" letters="100">
2553 <Size>
2554 <AbsDimension x="400" y="32"/>
2555 </Size>
2556 <Anchors>
2557 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Info2WideEditBox">
2558 <Offset><AbsDimension x="0" y="-65"/></Offset>
2559 </Anchor>
2560 </Anchors>
2561 <Layers>
2562 <Layer level="BACKGROUND">
2563 <Texture name="CreatorLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2564 <Size>
2565 <AbsDimension x="256" y="32"/>
2566 </Size>
2567 <Anchors>
2568 <Anchor point="LEFT">
2569 <Offset><AbsDimension x="-10" y="0"/></Offset>
2570 </Anchor>
2571 </Anchors>
2572 </Texture>
2573 <Texture name="CreatorRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
2574 <Size>
2575 <AbsDimension x="256" y="32"/>
2576 </Size>
2577 <Anchors>
2578 <Anchor point="RIGHT">
2579 <Offset><AbsDimension x="10" y="0"/></Offset>
2580 </Anchor>
2581 </Anchors>
2582 </Texture>
2583 </Layer>
2584 </Layers>
2585 <Scripts>
2586 <OnEnterPressed>
2587 PlaySound("igMainMenuOption")
2588 MetaMapNotes_WriteNote()
2589 </OnEnterPressed>
2590 <OnEscapePressed>
2591 this:GetParent():Hide();
2592 </OnEscapePressed>
2593 </Scripts>
2594 <FontString inherits="ChatFontNormal"/>
2595 </EditBox>
2596 <Button name="TextColor0">
2597 <Size>
2598 <AbsDimension x="16" y="16"/>
2599 </Size>
2600 <Anchors>
2601 <Anchor point="TOPLEFT">
2602 <Offset><AbsDimension x="50" y="-111"/></Offset>
2603 </Anchor>
2604 </Anchors>
2605 <Layers>
2606 <Layer level="BACKGROUND">
2607 <Texture name="TextColor0Texture" file="Interface\AddOns\MetaMap\Icons\Color0">
2608 <Size>
2609 <AbsDimension x="16" y="16"/>
2610 </Size>
2611 <Anchors>
2612 <Anchor point="CENTER"/>
2613 </Anchors>
2614 </Texture>
2615 </Layer>
2616 </Layers>
2617 <Scripts>
2618 <OnLoad>
2619 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2620 </OnLoad>
2621 <OnClick>
2622 MetaMapNotes_Edit_SetTextColor(0)
2623 </OnClick>
2624 </Scripts>
2625 </Button>
2626 <Button name="TextColor1">
2627 <Size>
2628 <AbsDimension x="16" y="16"/>
2629 </Size>
2630 <Anchors>
2631 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor0">
2632 <Offset><AbsDimension x="21" y="0"/></Offset>
2633 </Anchor>
2634 </Anchors>
2635 <Layers>
2636 <Layer level="BACKGROUND">
2637 <Texture name="TextColor1Texture" file="Interface\AddOns\MetaMap\Icons\Color1">
2638 <Size>
2639 <AbsDimension x="16" y="16"/>
2640 </Size>
2641 <Anchors>
2642 <Anchor point="CENTER"/>
2643 </Anchors>
2644 </Texture>
2645 </Layer>
2646 </Layers>
2647 <Scripts>
2648 <OnLoad>
2649 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2650 </OnLoad>
2651 <OnClick>
2652 MetaMapNotes_Edit_SetTextColor(1)
2653 </OnClick>
2654 </Scripts>
2655 </Button>
2656 <Button name="TextColor2">
2657 <Size>
2658 <AbsDimension x="16" y="16"/>
2659 </Size>
2660 <Anchors>
2661 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor1">
2662 <Offset><AbsDimension x="21" y="0"/></Offset>
2663 </Anchor>
2664 </Anchors>
2665 <Layers>
2666 <Layer level="BACKGROUND">
2667 <Texture name="TextColor2Texture" file="Interface\AddOns\MetaMap\Icons\Color2">
2668 <Size>
2669 <AbsDimension x="16" y="16"/>
2670 </Size>
2671 <Anchors>
2672 <Anchor point="CENTER"/>
2673 </Anchors>
2674 </Texture>
2675 </Layer>
2676 </Layers>
2677 <Scripts>
2678 <OnLoad>
2679 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2680 </OnLoad>
2681 <OnClick>
2682 MetaMapNotes_Edit_SetTextColor(2)
2683 </OnClick>
2684 </Scripts>
2685 </Button>
2686 <Button name="TextColor3">
2687 <Size>
2688 <AbsDimension x="16" y="16"/>
2689 </Size>
2690 <Anchors>
2691 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor2">
2692 <Offset><AbsDimension x="21" y="0"/></Offset>
2693 </Anchor>
2694 </Anchors>
2695 <Layers>
2696 <Layer level="BACKGROUND">
2697 <Texture name="TextColor3Texture" file="Interface\AddOns\MetaMap\Icons\Color3">
2698 <Size>
2699 <AbsDimension x="16" y="16"/>
2700 </Size>
2701 <Anchors>
2702 <Anchor point="CENTER"/>
2703 </Anchors>
2704 </Texture>
2705 </Layer>
2706 </Layers>
2707 <Scripts>
2708 <OnLoad>
2709 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2710 </OnLoad>
2711 <OnClick>
2712 MetaMapNotes_Edit_SetTextColor(3)
2713 </OnClick>
2714 </Scripts>
2715 </Button>
2716 <Button name="TextColor4">
2717 <Size>
2718 <AbsDimension x="16" y="16"/>
2719 </Size>
2720 <Anchors>
2721 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor3">
2722 <Offset><AbsDimension x="21" y="0"/></Offset>
2723 </Anchor>
2724 </Anchors>
2725 <Layers>
2726 <Layer level="BACKGROUND">
2727 <Texture name="TextColor4Texture" file="Interface\AddOns\MetaMap\Icons\Color4">
2728 <Size>
2729 <AbsDimension x="16" y="16"/>
2730 </Size>
2731 <Anchors>
2732 <Anchor point="CENTER"/>
2733 </Anchors>
2734 </Texture>
2735 </Layer>
2736 </Layers>
2737 <Scripts>
2738 <OnLoad>
2739 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2740 </OnLoad>
2741 <OnClick>
2742 MetaMapNotes_Edit_SetTextColor(4)
2743 </OnClick>
2744 </Scripts>
2745 </Button>
2746 <Button name="TextColor5">
2747 <Size>
2748 <AbsDimension x="16" y="16"/>
2749 </Size>
2750 <Anchors>
2751 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor4">
2752 <Offset><AbsDimension x="21" y="0"/></Offset>
2753 </Anchor>
2754 </Anchors>
2755 <Layers>
2756 <Layer level="BACKGROUND">
2757 <Texture name="TextColor5Texture" file="Interface\AddOns\MetaMap\Icons\Color5">
2758 <Size>
2759 <AbsDimension x="16" y="16"/>
2760 </Size>
2761 <Anchors>
2762 <Anchor point="CENTER"/>
2763 </Anchors>
2764 </Texture>
2765 </Layer>
2766 </Layers>
2767 <Scripts>
2768 <OnLoad>
2769 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2770 </OnLoad>
2771 <OnClick>
2772 MetaMapNotes_Edit_SetTextColor(5)
2773 </OnClick>
2774 </Scripts>
2775 </Button>
2776 <Button name="TextColor6">
2777 <Size>
2778 <AbsDimension x="16" y="16"/>
2779 </Size>
2780 <Anchors>
2781 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor5">
2782 <Offset><AbsDimension x="21" y="0"/></Offset>
2783 </Anchor>
2784 </Anchors>
2785 <Layers>
2786 <Layer level="BACKGROUND">
2787 <Texture name="TextColor6Texture" file="Interface\AddOns\MetaMap\Icons\Color6">
2788 <Size>
2789 <AbsDimension x="16" y="16"/>
2790 </Size>
2791 <Anchors>
2792 <Anchor point="CENTER"/>
2793 </Anchors>
2794 </Texture>
2795 </Layer>
2796 </Layers>
2797 <Scripts>
2798 <OnLoad>
2799 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2800 </OnLoad>
2801 <OnClick>
2802 MetaMapNotes_Edit_SetTextColor(6)
2803 </OnClick>
2804 </Scripts>
2805 </Button>
2806 <Button name="TextColor7">
2807 <Size>
2808 <AbsDimension x="16" y="16"/>
2809 </Size>
2810 <Anchors>
2811 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor6">
2812 <Offset><AbsDimension x="21" y="0"/></Offset>
2813 </Anchor>
2814 </Anchors>
2815 <Layers>
2816 <Layer level="BACKGROUND">
2817 <Texture name="TextColor7Texture" file="Interface\AddOns\MetaMap\Icons\Color7">
2818 <Size>
2819 <AbsDimension x="16" y="16"/>
2820 </Size>
2821 <Anchors>
2822 <Anchor point="CENTER"/>
2823 </Anchors>
2824 </Texture>
2825 </Layer>
2826 </Layers>
2827 <Scripts>
2828 <OnLoad>
2829 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2830 </OnLoad>
2831 <OnClick>
2832 MetaMapNotes_Edit_SetTextColor(7)
2833 </OnClick>
2834 </Scripts>
2835 </Button>
2836 <Button name="TextColor8">
2837 <Size>
2838 <AbsDimension x="16" y="16"/>
2839 </Size>
2840 <Anchors>
2841 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor7">
2842 <Offset><AbsDimension x="21" y="0"/></Offset>
2843 </Anchor>
2844 </Anchors>
2845 <Layers>
2846 <Layer level="BACKGROUND">
2847 <Texture name="TextColor8Texture" file="Interface\AddOns\MetaMap\Icons\Color8">
2848 <Size>
2849 <AbsDimension x="16" y="16"/>
2850 </Size>
2851 <Anchors>
2852 <Anchor point="CENTER"/>
2853 </Anchors>
2854 </Texture>
2855 </Layer>
2856 </Layers>
2857 <Scripts>
2858 <OnLoad>
2859 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2860 </OnLoad>
2861 <OnClick>
2862 MetaMapNotes_Edit_SetTextColor(8)
2863 </OnClick>
2864 </Scripts>
2865 </Button>
2866 <Button name="TextColor9">
2867 <Size>
2868 <AbsDimension x="16" y="16"/>
2869 </Size>
2870 <Anchors>
2871 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor8">
2872 <Offset><AbsDimension x="21" y="0"/></Offset>
2873 </Anchor>
2874 </Anchors>
2875 <Layers>
2876 <Layer level="BACKGROUND">
2877 <Texture name="TextColor9Texture" file="Interface\AddOns\MetaMap\Icons\Color9">
2878 <Size>
2879 <AbsDimension x="16" y="16"/>
2880 </Size>
2881 <Anchors>
2882 <Anchor point="CENTER"/>
2883 </Anchors>
2884 </Texture>
2885 </Layer>
2886 </Layers>
2887 <Scripts>
2888 <OnLoad>
2889 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2890 </OnLoad>
2891 <OnClick>
2892 MetaMapNotes_Edit_SetTextColor(9)
2893 </OnClick>
2894 </Scripts>
2895 </Button>
2896 <Button name="TextColorOverlay">
2897 <Size>
2898 <AbsDimension x="32" y="32"/>
2899 </Size>
2900 <Anchors>
2901 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="TextColor0">
2902 <Offset><AbsDimension x="-3" y="3"/></Offset>
2903 </Anchor>
2904 </Anchors>
2905 <Layers>
2906 <Layer level="BACKGROUND">
2907 <Texture name="TextColorOverlayTexture" file="Interface\AddOns\MetaMap\Icons\Overlay">
2908 <Size>
2909 <AbsDimension x="32" y="32"/>
2910 </Size>
2911 <Anchors>
2912 <Anchor point="CENTER"/>
2913 </Anchors>
2914 </Texture>
2915 </Layer>
2916 </Layers>
2917 </Button>
2918 <Button name="Info1Color0">
2919 <Size>
2920 <AbsDimension x="16" y="16"/>
2921 </Size>
2922 <Anchors>
2923 <Anchor point="TOPLEFT">
2924 <Offset><AbsDimension x="50" y="-175"/></Offset>
2925 </Anchor>
2926 </Anchors>
2927 <Layers>
2928 <Layer level="BACKGROUND">
2929 <Texture name="Info1Color0Texture" file="Interface\AddOns\MetaMap\Icons\Color0">
2930 <Size>
2931 <AbsDimension x="16" y="16"/>
2932 </Size>
2933 <Anchors>
2934 <Anchor point="CENTER"/>
2935 </Anchors>
2936 </Texture>
2937 </Layer>
2938 </Layers>
2939 <Scripts>
2940 <OnLoad>
2941 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2942 </OnLoad>
2943 <OnClick>
2944 MetaMapNotes_Edit_SetInfo1Color(0)
2945 </OnClick>
2946 </Scripts>
2947 </Button>
2948 <Button name="Info1Color1">
2949 <Size>
2950 <AbsDimension x="16" y="16"/>
2951 </Size>
2952 <Anchors>
2953 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info1Color0">
2954 <Offset><AbsDimension x="21" y="0"/></Offset>
2955 </Anchor>
2956 </Anchors>
2957 <Layers>
2958 <Layer level="BACKGROUND">
2959 <Texture name="Info1Color1Texture" file="Interface\AddOns\MetaMap\Icons\Color1">
2960 <Size>
2961 <AbsDimension x="16" y="16"/>
2962 </Size>
2963 <Anchors>
2964 <Anchor point="CENTER"/>
2965 </Anchors>
2966 </Texture>
2967 </Layer>
2968 </Layers>
2969 <Scripts>
2970 <OnLoad>
2971 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
2972 </OnLoad>
2973 <OnClick>
2974 MetaMapNotes_Edit_SetInfo1Color(1)
2975 </OnClick>
2976 </Scripts>
2977 </Button>
2978 <Button name="Info1Color2">
2979 <Size>
2980 <AbsDimension x="16" y="16"/>
2981 </Size>
2982 <Anchors>
2983 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info1Color1">
2984 <Offset><AbsDimension x="21" y="0"/></Offset>
2985 </Anchor>
2986 </Anchors>
2987 <Layers>
2988 <Layer level="BACKGROUND">
2989 <Texture name="Info1Color2Texture" file="Interface\AddOns\MetaMap\Icons\Color2">
2990 <Size>
2991 <AbsDimension x="16" y="16"/>
2992 </Size>
2993 <Anchors>
2994 <Anchor point="CENTER"/>
2995 </Anchors>
2996 </Texture>
2997 </Layer>
2998 </Layers>
2999 <Scripts>
3000 <OnLoad>
3001 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3002 </OnLoad>
3003 <OnClick>
3004 MetaMapNotes_Edit_SetInfo1Color(2)
3005 </OnClick>
3006 </Scripts>
3007 </Button>
3008 <Button name="Info1Color3">
3009 <Size>
3010 <AbsDimension x="16" y="16"/>
3011 </Size>
3012 <Anchors>
3013 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info1Color2">
3014 <Offset><AbsDimension x="21" y="0"/></Offset>
3015 </Anchor>
3016 </Anchors>
3017 <Layers>
3018 <Layer level="BACKGROUND">
3019 <Texture name="Info1Color3Texture" file="Interface\AddOns\MetaMap\Icons\Color3">
3020 <Size>
3021 <AbsDimension x="16" y="16"/>
3022 </Size>
3023 <Anchors>
3024 <Anchor point="CENTER"/>
3025 </Anchors>
3026 </Texture>
3027 </Layer>
3028 </Layers>
3029 <Scripts>
3030 <OnLoad>
3031 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3032 </OnLoad>
3033 <OnClick>
3034 MetaMapNotes_Edit_SetInfo1Color(3)
3035 </OnClick>
3036 </Scripts>
3037 </Button>
3038 <Button name="Info1Color4">
3039 <Size>
3040 <AbsDimension x="16" y="16"/>
3041 </Size>
3042 <Anchors>
3043 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info1Color3">
3044 <Offset><AbsDimension x="21" y="0"/></Offset>
3045 </Anchor>
3046 </Anchors>
3047 <Layers>
3048 <Layer level="BACKGROUND">
3049 <Texture name="Info1Color4Texture" file="Interface\AddOns\MetaMap\Icons\Color4">
3050 <Size>
3051 <AbsDimension x="16" y="16"/>
3052 </Size>
3053 <Anchors>
3054 <Anchor point="CENTER"/>
3055 </Anchors>
3056 </Texture>
3057 </Layer>
3058 </Layers>
3059 <Scripts>
3060 <OnLoad>
3061 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3062 </OnLoad>
3063 <OnClick>
3064 MetaMapNotes_Edit_SetInfo1Color(4)
3065 </OnClick>
3066 </Scripts>
3067 </Button>
3068 <Button name="Info1Color5">
3069 <Size>
3070 <AbsDimension x="16" y="16"/>
3071 </Size>
3072 <Anchors>
3073 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info1Color4">
3074 <Offset><AbsDimension x="21" y="0"/></Offset>
3075 </Anchor>
3076 </Anchors>
3077 <Layers>
3078 <Layer level="BACKGROUND">
3079 <Texture name="Info1Color5Texture" file="Interface\AddOns\MetaMap\Icons\Color5">
3080 <Size>
3081 <AbsDimension x="16" y="16"/>
3082 </Size>
3083 <Anchors>
3084 <Anchor point="CENTER"/>
3085 </Anchors>
3086 </Texture>
3087 </Layer>
3088 </Layers>
3089 <Scripts>
3090 <OnLoad>
3091 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3092 </OnLoad>
3093 <OnClick>
3094 MetaMapNotes_Edit_SetInfo1Color(5)
3095 </OnClick>
3096 </Scripts>
3097 </Button>
3098 <Button name="Info1Color6">
3099 <Size>
3100 <AbsDimension x="16" y="16"/>
3101 </Size>
3102 <Anchors>
3103 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info1Color5">
3104 <Offset><AbsDimension x="21" y="0"/></Offset>
3105 </Anchor>
3106 </Anchors>
3107 <Layers>
3108 <Layer level="BACKGROUND">
3109 <Texture name="Info1Color6Texture" file="Interface\AddOns\MetaMap\Icons\Color6">
3110 <Size>
3111 <AbsDimension x="16" y="16"/>
3112 </Size>
3113 <Anchors>
3114 <Anchor point="CENTER"/>
3115 </Anchors>
3116 </Texture>
3117 </Layer>
3118 </Layers>
3119 <Scripts>
3120 <OnLoad>
3121 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3122 </OnLoad>
3123 <OnClick>
3124 MetaMapNotes_Edit_SetInfo1Color(6)
3125 </OnClick>
3126 </Scripts>
3127 </Button>
3128 <Button name="Info1Color7">
3129 <Size>
3130 <AbsDimension x="16" y="16"/>
3131 </Size>
3132 <Anchors>
3133 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info1Color6">
3134 <Offset><AbsDimension x="21" y="0"/></Offset>
3135 </Anchor>
3136 </Anchors>
3137 <Layers>
3138 <Layer level="BACKGROUND">
3139 <Texture name="Info1Color7Texture" file="Interface\AddOns\MetaMap\Icons\Color7">
3140 <Size>
3141 <AbsDimension x="16" y="16"/>
3142 </Size>
3143 <Anchors>
3144 <Anchor point="CENTER"/>
3145 </Anchors>
3146 </Texture>
3147 </Layer>
3148 </Layers>
3149 <Scripts>
3150 <OnLoad>
3151 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3152 </OnLoad>
3153 <OnClick>
3154 MetaMapNotes_Edit_SetInfo1Color(7)
3155 </OnClick>
3156 </Scripts>
3157 </Button>
3158 <Button name="Info1Color8">
3159 <Size>
3160 <AbsDimension x="16" y="16"/>
3161 </Size>
3162 <Anchors>
3163 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info1Color7">
3164 <Offset><AbsDimension x="21" y="0"/></Offset>
3165 </Anchor>
3166 </Anchors>
3167 <Layers>
3168 <Layer level="BACKGROUND">
3169 <Texture name="Info1Color8Texture" file="Interface\AddOns\MetaMap\Icons\Color8">
3170 <Size>
3171 <AbsDimension x="16" y="16"/>
3172 </Size>
3173 <Anchors>
3174 <Anchor point="CENTER"/>
3175 </Anchors>
3176 </Texture>
3177 </Layer>
3178 </Layers>
3179 <Scripts>
3180 <OnLoad>
3181 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3182 </OnLoad>
3183 <OnClick>
3184 MetaMapNotes_Edit_SetInfo1Color(8)
3185 </OnClick>
3186 </Scripts>
3187 </Button>
3188 <Button name="Info1Color9">
3189 <Size>
3190 <AbsDimension x="16" y="16"/>
3191 </Size>
3192 <Anchors>
3193 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info1Color8">
3194 <Offset><AbsDimension x="21" y="0"/></Offset>
3195 </Anchor>
3196 </Anchors>
3197 <Layers>
3198 <Layer level="BACKGROUND">
3199 <Texture name="Info1Color9Texture" file="Interface\AddOns\MetaMap\Icons\Color9">
3200 <Size>
3201 <AbsDimension x="16" y="16"/>
3202 </Size>
3203 <Anchors>
3204 <Anchor point="CENTER"/>
3205 </Anchors>
3206 </Texture>
3207 </Layer>
3208 </Layers>
3209 <Scripts>
3210 <OnLoad>
3211 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3212 </OnLoad>
3213 <OnClick>
3214 MetaMapNotes_Edit_SetInfo1Color(9)
3215 </OnClick>
3216 </Scripts>
3217 </Button>
3218 <Button name="Info1ColorOverlay">
3219 <Size>
3220 <AbsDimension x="32" y="32"/>
3221 </Size>
3222 <Anchors>
3223 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Info1Color0">
3224 <Offset><AbsDimension x="-3" y="3"/></Offset>
3225 </Anchor>
3226 </Anchors>
3227 <Layers>
3228 <Layer level="BACKGROUND">
3229 <Texture name="Info1ColorOverlayTexture" file="Interface\AddOns\MetaMap\Icons\Overlay">
3230 <Size>
3231 <AbsDimension x="32" y="32"/>
3232 </Size>
3233 <Anchors>
3234 <Anchor point="CENTER"/>
3235 </Anchors>
3236 </Texture>
3237 </Layer>
3238 </Layers>
3239 </Button>
3240 <Button name="Info2Color0">
3241 <Size>
3242 <AbsDimension x="16" y="16"/>
3243 </Size>
3244 <Anchors>
3245 <Anchor point="TOPLEFT">
3246 <Offset><AbsDimension x="50" y="-241"/></Offset>
3247 </Anchor>
3248 </Anchors>
3249 <Layers>
3250 <Layer level="BACKGROUND">
3251 <Texture name="Info2Color0Texture" file="Interface\AddOns\MetaMap\Icons\Color0">
3252 <Size>
3253 <AbsDimension x="16" y="16"/>
3254 </Size>
3255 <Anchors>
3256 <Anchor point="CENTER"/>
3257 </Anchors>
3258 </Texture>
3259 </Layer>
3260 </Layers>
3261 <Scripts>
3262 <OnLoad>
3263 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3264 </OnLoad>
3265 <OnClick>
3266 MetaMapNotes_Edit_SetInfo2Color(0)
3267 </OnClick>
3268 </Scripts>
3269 </Button>
3270 <Button name="Info2Color1">
3271 <Size>
3272 <AbsDimension x="16" y="16"/>
3273 </Size>
3274 <Anchors>
3275 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info2Color0">
3276 <Offset><AbsDimension x="21" y="0"/></Offset>
3277 </Anchor>
3278 </Anchors>
3279 <Layers>
3280 <Layer level="BACKGROUND">
3281 <Texture name="Info2Color1Texture" file="Interface\AddOns\MetaMap\Icons\Color1">
3282 <Size>
3283 <AbsDimension x="16" y="16"/>
3284 </Size>
3285 <Anchors>
3286 <Anchor point="CENTER"/>
3287 </Anchors>
3288 </Texture>
3289 </Layer>
3290 </Layers>
3291 <Scripts>
3292 <OnLoad>
3293 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3294 </OnLoad>
3295 <OnClick>
3296 MetaMapNotes_Edit_SetInfo2Color(1)
3297 </OnClick>
3298 </Scripts>
3299 </Button>
3300 <Button name="Info2Color2">
3301 <Size>
3302 <AbsDimension x="16" y="16"/>
3303 </Size>
3304 <Anchors>
3305 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info2Color1">
3306 <Offset><AbsDimension x="21" y="0"/></Offset>
3307 </Anchor>
3308 </Anchors>
3309 <Layers>
3310 <Layer level="BACKGROUND">
3311 <Texture name="Info2Color2Texture" file="Interface\AddOns\MetaMap\Icons\Color2">
3312 <Size>
3313 <AbsDimension x="16" y="16"/>
3314 </Size>
3315 <Anchors>
3316 <Anchor point="CENTER"/>
3317 </Anchors>
3318 </Texture>
3319 </Layer>
3320 </Layers>
3321 <Scripts>
3322 <OnLoad>
3323 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3324 </OnLoad>
3325 <OnClick>
3326 MetaMapNotes_Edit_SetInfo2Color(2)
3327 </OnClick>
3328 </Scripts>
3329 </Button>
3330 <Button name="Info2Color3">
3331 <Size>
3332 <AbsDimension x="16" y="16"/>
3333 </Size>
3334 <Anchors>
3335 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info2Color2">
3336 <Offset><AbsDimension x="21" y="0"/></Offset>
3337 </Anchor>
3338 </Anchors>
3339 <Layers>
3340 <Layer level="BACKGROUND">
3341 <Texture name="Info2Color3Texture" file="Interface\AddOns\MetaMap\Icons\Color3">
3342 <Size>
3343 <AbsDimension x="16" y="16"/>
3344 </Size>
3345 <Anchors>
3346 <Anchor point="CENTER"/>
3347 </Anchors>
3348 </Texture>
3349 </Layer>
3350 </Layers>
3351 <Scripts>
3352 <OnLoad>
3353 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3354 </OnLoad>
3355 <OnClick>
3356 MetaMapNotes_Edit_SetInfo2Color(3)
3357 </OnClick>
3358 </Scripts>
3359 </Button>
3360 <Button name="Info2Color4">
3361 <Size>
3362 <AbsDimension x="16" y="16"/>
3363 </Size>
3364 <Anchors>
3365 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info2Color3">
3366 <Offset><AbsDimension x="21" y="0"/></Offset>
3367 </Anchor>
3368 </Anchors>
3369 <Layers>
3370 <Layer level="BACKGROUND">
3371 <Texture name="Info2Color4Texture" file="Interface\AddOns\MetaMap\Icons\Color4">
3372 <Size>
3373 <AbsDimension x="16" y="16"/>
3374 </Size>
3375 <Anchors>
3376 <Anchor point="CENTER"/>
3377 </Anchors>
3378 </Texture>
3379 </Layer>
3380 </Layers>
3381 <Scripts>
3382 <OnLoad>
3383 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3384 </OnLoad>
3385 <OnClick>
3386 MetaMapNotes_Edit_SetInfo2Color(4)
3387 </OnClick>
3388 </Scripts>
3389 </Button>
3390 <Button name="Info2Color5">
3391 <Size>
3392 <AbsDimension x="16" y="16"/>
3393 </Size>
3394 <Anchors>
3395 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info2Color4">
3396 <Offset><AbsDimension x="21" y="0"/></Offset>
3397 </Anchor>
3398 </Anchors>
3399 <Layers>
3400 <Layer level="BACKGROUND">
3401 <Texture name="Info2Color5Texture" file="Interface\AddOns\MetaMap\Icons\Color5">
3402 <Size>
3403 <AbsDimension x="16" y="16"/>
3404 </Size>
3405 <Anchors>
3406 <Anchor point="CENTER"/>
3407 </Anchors>
3408 </Texture>
3409 </Layer>
3410 </Layers>
3411 <Scripts>
3412 <OnLoad>
3413 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3414 </OnLoad>
3415 <OnClick>
3416 MetaMapNotes_Edit_SetInfo2Color(5)
3417 </OnClick>
3418 </Scripts>
3419 </Button>
3420 <Button name="Info2Color6">
3421 <Size>
3422 <AbsDimension x="16" y="16"/>
3423 </Size>
3424 <Anchors>
3425 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info2Color5">
3426 <Offset><AbsDimension x="21" y="0"/></Offset>
3427 </Anchor>
3428 </Anchors>
3429 <Layers>
3430 <Layer level="BACKGROUND">
3431 <Texture name="Info2Color6Texture" file="Interface\AddOns\MetaMap\Icons\Color6">
3432 <Size>
3433 <AbsDimension x="16" y="16"/>
3434 </Size>
3435 <Anchors>
3436 <Anchor point="CENTER"/>
3437 </Anchors>
3438 </Texture>
3439 </Layer>
3440 </Layers>
3441 <Scripts>
3442 <OnLoad>
3443 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3444 </OnLoad>
3445 <OnClick>
3446 MetaMapNotes_Edit_SetInfo2Color(6)
3447 </OnClick>
3448 </Scripts>
3449 </Button>
3450 <Button name="Info2Color7">
3451 <Size>
3452 <AbsDimension x="16" y="16"/>
3453 </Size>
3454 <Anchors>
3455 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info2Color6">
3456 <Offset><AbsDimension x="21" y="0"/></Offset>
3457 </Anchor>
3458 </Anchors>
3459 <Layers>
3460 <Layer level="BACKGROUND">
3461 <Texture name="Info2Color7Texture" file="Interface\AddOns\MetaMap\Icons\Color7">
3462 <Size>
3463 <AbsDimension x="16" y="16"/>
3464 </Size>
3465 <Anchors>
3466 <Anchor point="CENTER"/>
3467 </Anchors>
3468 </Texture>
3469 </Layer>
3470 </Layers>
3471 <Scripts>
3472 <OnLoad>
3473 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3474 </OnLoad>
3475 <OnClick>
3476 MetaMapNotes_Edit_SetInfo2Color(7)
3477 </OnClick>
3478 </Scripts>
3479 </Button>
3480 <Button name="Info2Color8">
3481 <Size>
3482 <AbsDimension x="16" y="16"/>
3483 </Size>
3484 <Anchors>
3485 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info2Color7">
3486 <Offset><AbsDimension x="21" y="0"/></Offset>
3487 </Anchor>
3488 </Anchors>
3489 <Layers>
3490 <Layer level="BACKGROUND">
3491 <Texture name="Info2Color8Texture" file="Interface\AddOns\MetaMap\Icons\Color8">
3492 <Size>
3493 <AbsDimension x="16" y="16"/>
3494 </Size>
3495 <Anchors>
3496 <Anchor point="CENTER"/>
3497 </Anchors>
3498 </Texture>
3499 </Layer>
3500 </Layers>
3501 <Scripts>
3502 <OnLoad>
3503 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3504 </OnLoad>
3505 <OnClick>
3506 MetaMapNotes_Edit_SetInfo2Color(8)
3507 </OnClick>
3508 </Scripts>
3509 </Button>
3510 <Button name="Info2Color9">
3511 <Size>
3512 <AbsDimension x="16" y="16"/>
3513 </Size>
3514 <Anchors>
3515 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Info2Color8">
3516 <Offset><AbsDimension x="21" y="0"/></Offset>
3517 </Anchor>
3518 </Anchors>
3519 <Layers>
3520 <Layer level="BACKGROUND">
3521 <Texture name="Info2Color9Texture" file="Interface\AddOns\MetaMap\Icons\Color9">
3522 <Size>
3523 <AbsDimension x="16" y="16"/>
3524 </Size>
3525 <Anchors>
3526 <Anchor point="CENTER"/>
3527 </Anchors>
3528 </Texture>
3529 </Layer>
3530 </Layers>
3531 <Scripts>
3532 <OnLoad>
3533 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3534 </OnLoad>
3535 <OnClick>
3536 MetaMapNotes_Edit_SetInfo2Color(9)
3537 </OnClick>
3538 </Scripts>
3539 </Button>
3540 <Button name="Info2ColorOverlay">
3541 <Size>
3542 <AbsDimension x="32" y="32"/>
3543 </Size>
3544 <Anchors>
3545 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Info2Color0">
3546 <Offset><AbsDimension x="-3" y="3"/></Offset>
3547 </Anchor>
3548 </Anchors>
3549 <Layers>
3550 <Layer level="BACKGROUND">
3551 <Texture name="Info2ColorOverlayTexture" file="Interface\AddOns\MetaMap\Icons\Overlay">
3552 <Size>
3553 <AbsDimension x="32" y="32"/>
3554 </Size>
3555 <Anchors>
3556 <Anchor point="CENTER"/>
3557 </Anchors>
3558 </Texture>
3559 </Layer>
3560 </Layers>
3561 </Button>
3562 </Frames>
3563 <Layers>
3564 <Layer level="ARTWORK">
3565 <FontString name="MetaMapNotes_EditFrame_Title" inherits="GameFontNormalSmall" text="METAMAPNOTES_EDIT_TITLE" justifyH="LEFT">
3566 <Size>
3567 <AbsDimension x="222" y="16"/>
3568 </Size>
3569 <Anchors>
3570 <Anchor point="TOPLEFT">
3571 <Offset><AbsDimension x="22" y="-65"/></Offset>
3572 </Anchor>
3573 </Anchors>
3574 </FontString>
3575 <FontString name="MetaMapNotes_EditFrame_Info1" inherits="GameFontNormalSmall" text="METAMAPNOTES_EDIT_INFO1" justifyH="LEFT">
3576 <Size>
3577 <AbsDimension x="222" y="16"/>
3578 </Size>
3579 <Anchors>
3580 <Anchor point="TOPLEFT">
3581 <Offset><AbsDimension x="22" y="-130"/></Offset>
3582 </Anchor>
3583 </Anchors>
3584 </FontString>
3585 <FontString name="MetaMapNotes_EditFrame_Info2" inherits="GameFontNormalSmall" text="METAMAPNOTES_EDIT_INFO2" justifyH="LEFT">
3586 <Size>
3587 <AbsDimension x="222" y="16"/>
3588 </Size>
3589 <Anchors>
3590 <Anchor point="TOPLEFT">
3591 <Offset><AbsDimension x="22" y="-195"/></Offset>
3592 </Anchor>
3593 </Anchors>
3594 </FontString>
3595 <FontString name="MetaMapNotes_EditFrame_Creator" inherits="GameFontNormalSmall" text="METAMAPNOTES_EDIT_CREATOR" justifyH="LEFT">
3596 <Size>
3597 <AbsDimension x="250" y="16"/>
3598 </Size>
3599 <Anchors>
3600 <Anchor point="TOPLEFT">
3601 <Offset><AbsDimension x="22" y="-260"/></Offset>
3602 </Anchor>
3603 </Anchors>
3604 </FontString>
3605 </Layer>
3606 </Layers>
3607 <Scripts>
3608 <OnLoad>
3609 this:SetBackdropColor(0,0,0,1);
3610 </OnLoad>
3611 <OnShow>
3612 this:SetAlpha(255);
3613 </OnShow>
3614 </Scripts>
3615 </Frame>
3616  
3617 <!-- enable clicking through hidden player frame that triggers tooltip-->
3618 <Button name="MetaMapNotes_WorldMapPlayerButton" parent="WorldMapPlayer">
3619 <Size>
3620 <AbsDimension x="16" y="16"/>
3621 </Size>
3622 <Anchors>
3623 <Anchor point="CENTER"/>
3624 </Anchors>
3625 <Scripts>
3626 <OnLoad>
3627 this:RegisterForClicks("LeftButtonDown", "RightButtonDown")
3628 </OnLoad>
3629 <OnEnter>
3630 WorldMapPlayer:GetScript("OnEnter")()
3631 </OnEnter>
3632 <OnLeave>
3633 WorldMapPlayer:GetScript("OnLeave")()
3634 </OnLeave>
3635 <OnClick>
3636 MetaMapNotes_WorldMapButton_OnClick(arg1, WorldMapButton)
3637 </OnClick>
3638 </Scripts>
3639 </Button>
3640  
3641 <!-- for vNote & Party function -->
3642 <Button name="MetaMapNotesPOIvNote" inherits="WorldMapMetaMapNotesMiscTemplate" id="0" parent="WorldMapButton"/>
3643 <Button name="MetaMapNotesPOIparty" inherits="WorldMapMetaMapNotesMiscTemplate" id="1" parent="WorldMapButton"/>
3644  
3645 <!-- Adds the MiniNote POI to MiniMapFrame -->
3646 <Button name="MiniNotePOI" parent="Minimap" toplevel="true">
3647 <Size>
3648 <AbsDimension x="16" y="16"/>
3649 </Size>
3650 <Anchors>
3651 <Anchor point="CENTER" relativeTo="MinimapBackdrop" relativePoint="TOPLEFT">
3652 <Offset><AbsDimension x="-51" y="60"/></Offset>
3653 </Anchor>
3654 </Anchors>
3655 <Scripts>
3656 <OnLoad>
3657 this:SetFrameLevel(5)
3658 </OnLoad>
3659 <OnUpdate>
3660 MetaMapNotes_MiniNote_OnUpdate(0)
3661 </OnUpdate>
3662 <OnClick>
3663 MetaMapNotes_MiniNote_OnClick(arg1);
3664 </OnClick>
3665 <OnEnter>
3666 MetaMapNotes_MiniNote_OnEnter();
3667 </OnEnter>
3668 <OnLeave>
3669 GameTooltip:Hide()
3670 </OnLeave>
3671 </Scripts>
3672 <NormalTexture name="MiniNotePOITexture" file="Interface\AddOns\MetaMap\Icons\Icon3"/>
3673 </Button>
3674  
3675 <Frame name="MetaMapNotesSendFrame" parent="UIParent" toplevel="true" frameStrata="FULLSCREEN" hidden="true">
3676 <Size>
3677 <AbsDimension x="350" y="180"/>
3678 </Size>
3679 <Anchors>
3680 <Anchor point="CENTER"/>
3681 </Anchors>
3682 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
3683 <BackgroundInsets>
3684 <AbsInset left="11" right="12" top="12" bottom="11"/>
3685 </BackgroundInsets>
3686 <TileSize>
3687 <AbsValue val="32"/>
3688 </TileSize>
3689 <EdgeSize>
3690 <AbsValue val="32"/>
3691 </EdgeSize>
3692 </Backdrop>
3693 <Layers>
3694 <Layer level="ARTWORK">
3695 <Texture name="MetaMapNotesSendHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
3696 <Size>
3697 <AbsDimension x="256" y="64"/>
3698 </Size>
3699 <Anchors>
3700 <Anchor point="TOP">
3701 <Offset><AbsDimension x="0" y="12"/></Offset>
3702 </Anchor>
3703 </Anchors>
3704 </Texture>
3705 <FontString inherits="GameFontNormal" text="METAMAPNOTES_SEND_MENU">
3706 <Anchors>
3707 <Anchor point="TOP" relativeTo="MetaMapNotesSendHeader">
3708 <Offset><AbsDimension x="0" y="-14"/></Offset>
3709 </Anchor>
3710 </Anchors>
3711 </FontString>
3712 </Layer>
3713 </Layers>
3714 <Frames>
3715 <Button name="MetaMapNotesSendPlayer" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_SENDTOPLAYER">
3716 <Size>
3717 <AbsDimension x="100" y="20"/>
3718 </Size>
3719 <Anchors>
3720 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
3721 <Offset><AbsDimension x="15" y="45"/></Offset>
3722 </Anchor>
3723 </Anchors>
3724 <Scripts>
3725 <OnClick>
3726 PlaySound("igMainMenuOption")
3727 MetaMapNotes_SendNote(1)
3728 </OnClick>
3729 </Scripts>
3730 </Button>
3731 <Button name="MetaMapNotesSendParty" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_SENDTOPARTY">
3732 <Size>
3733 <AbsDimension x="100" y="20"/>
3734 </Size>
3735 <Anchors>
3736 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapNotesSendPlayer">
3737 <Offset><AbsDimension x="10" y="0"/></Offset>
3738 </Anchor>
3739 </Anchors>
3740 <Scripts>
3741 <OnClick>
3742 PlaySound("igMainMenuOption")
3743 MetaMapNotes_SendNote(2)
3744 </OnClick>
3745 </Scripts>
3746 </Button>
3747 <Button name="MetaMapNotesChangeSendFrame" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_SLASHCOMMAND">
3748 <Size>
3749 <AbsDimension x="100" y="20"/>
3750 </Size>
3751 <Anchors>
3752 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapNotesSendParty">
3753 <Offset><AbsDimension x="10" y="0"/></Offset>
3754 </Anchor>
3755 </Anchors>
3756 <Scripts>
3757 <OnClick>
3758 PlaySound("igMainMenuOption")
3759 MetaMapNotes_ShowSendFrame(MetaMapNotes_ToggleSendValue)
3760 </OnClick>
3761 </Scripts>
3762 </Button>
3763 <Button name="$parentCancel" inherits="UIPanelButtonTemplate2" text="METAMAP_CLOSE_BUTTON">
3764 <Size>
3765 <AbsDimension x="100" y="20"/>
3766 </Size>
3767 <Anchors>
3768 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MetaMapNotesSendParty">
3769 <Offset><AbsDimension x="0" y="-10"/></Offset>
3770 </Anchor>
3771 </Anchors>
3772 <Scripts>
3773 <OnClick>
3774 PlaySound("igMainMenuOption");
3775 this:GetParent():Hide();
3776 MetaMapNotesDeletePartyNote:Hide();
3777 </OnClick>
3778 </Scripts>
3779 </Button>
3780 <Button name="MetaMapNotesDeletePartyNote" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_DELETE_NOTE">
3781 <Size>
3782 <AbsDimension x="100" y="20"/>
3783 </Size>
3784 <Anchors>
3785 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MetaMapNotesChangeSendFrame">
3786 <Offset><AbsDimension x="0" y="-10"/></Offset>
3787 </Anchor>
3788 </Anchors>
3789 <Scripts>
3790 <OnClick>
3791 PlaySound("igMainMenuOption");
3792 MetaMapNotes_ClearMiniNote(false);
3793 </OnClick>
3794 </Scripts>
3795 </Button>
3796 <EditBox name="SendWideEditBox" historyLines="0" letters="255">
3797 <Size>
3798 <AbsDimension x="300" y="64"/>
3799 </Size>
3800 <Anchors>
3801 <Anchor point="TOPLEFT">
3802 <Offset><AbsDimension x="24" y="-63"/></Offset>
3803 </Anchor>
3804 </Anchors>
3805 <Layers>
3806 <Layer level="BACKGROUND">
3807 <Texture name="TitleLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
3808 <Size>
3809 <AbsDimension x="256" y="32"/>
3810 </Size>
3811 <Anchors>
3812 <Anchor point="LEFT">
3813 <Offset><AbsDimension x="-10" y="0"/></Offset>
3814 </Anchor>
3815 </Anchors>
3816 <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
3817 </Texture>
3818 <Texture name="TitleRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
3819 <Size>
3820 <AbsDimension x="75" y="32"/>
3821 </Size>
3822 <Anchors>
3823 <Anchor point="RIGHT">
3824 <Offset><AbsDimension x="10" y="0"/></Offset>
3825 </Anchor>
3826 </Anchors>
3827 <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
3828 </Texture>
3829 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
3830 <Size>
3831 <AbsDimension x="5" y="32"/>
3832 </Size>
3833 <Anchors>
3834 <Anchor point="LEFT" relativeTo="TitleLeft" relativePoint="RIGHT">
3835 <Offset><AbsDimension x="0" y="0"/></Offset>
3836 </Anchor>
3837 <Anchor point="RIGHT" relativeTo="TitleRight" relativePoint="LEFT">
3838 <Offset><AbsDimension x="0" y="0"/></Offset>
3839 </Anchor>
3840 </Anchors>
3841 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
3842 </Texture>
3843 </Layer>
3844 </Layers>
3845 <Scripts>
3846 <OnLoad>
3847 SendWideEditBox:SetText("")
3848 </OnLoad>
3849 <OnEscapePressed>
3850 this:GetParent():Hide();
3851 </OnEscapePressed>
3852 </Scripts>
3853 <FontString inherits="ChatFontNormal"/>
3854 </EditBox>
3855 </Frames>
3856 <Layers>
3857 <Layer level="ARTWORK">
3858 <FontString name="MetaMapNotes_SendFrame_Title" inherits="GameFontNormal" text="METAMAPNOTES_SEND_NOTE" justifyH="LEFT">
3859 <Size>
3860 <AbsDimension x="222" y="20"/>
3861 </Size>
3862 <Anchors>
3863 <Anchor point="TOPLEFT">
3864 <Offset><AbsDimension x="22" y="-22"/></Offset>
3865 </Anchor>
3866 </Anchors>
3867 </FontString>
3868 <FontString name="MetaMapNotes_SendFrame_Tip" inherits="GameFontNormalSmall" text="METAMAPNOTES_SEND_TIP" justifyH="LEFT">
3869 <Size>
3870 <AbsDimension x="340"/>
3871 </Size>
3872 <Anchors>
3873 <Anchor point="TOPLEFT">
3874 <Offset><AbsDimension x="22" y="-36"/></Offset>
3875 </Anchor>
3876 </Anchors>
3877 <Color r="0.59" g="0.49" b="0.1"/>
3878 </FontString>
3879 <FontString name="MetaMapNotes_SendFrame_Player" inherits="GameFontNormalSmall" text="METAMAPNOTES_SEND_PLAYER" justifyH="LEFT">
3880 <Size>
3881 <AbsDimension x="222" y="16"/>
3882 </Size>
3883 <Anchors>
3884 <Anchor point="TOPLEFT">
3885 <Offset><AbsDimension x="22" y="-65"/></Offset>
3886 </Anchor>
3887 </Anchors>
3888 </FontString>
3889 </Layer>
3890 </Layers>
3891 <Scripts>
3892 <OnLoad>
3893 MetaMapNotes_OnLoad();
3894 this:SetBackdropColor(0,0,0,1);
3895 this:SetAlpha(255);
3896 </OnLoad>
3897 <OnShow>
3898 this:SetAlpha(255);
3899 </OnShow>
3900 <OnHide>
3901 MetaMapNotes_PartyNoteSet = false;
3902 </OnHide>
3903 </Scripts>
3904 </Frame>
3905  
3906 <Frame name="MetaMapNotes_QuickNoteFrame" parent="UIParent" toplevel="true" frameStrata="FULLSCREEN" hidden="true">
3907 <Size>
3908 <AbsDimension x="450" y="210"/>
3909 </Size>
3910 <Anchors>
3911 <Anchor point="CENTER"/>
3912 </Anchors>
3913 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
3914 <BackgroundInsets>
3915 <AbsInset left="11" right="12" top="12" bottom="11"/>
3916 </BackgroundInsets>
3917 <TileSize>
3918 <AbsValue val="32"/>
3919 </TileSize>
3920 <EdgeSize>
3921 <AbsValue val="32"/>
3922 </EdgeSize>
3923 </Backdrop>
3924 <Layers>
3925 <Layer level="ARTWORK">
3926 <Texture name="MetaMapNotes_QuickNoteHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
3927 <Size>
3928 <AbsDimension x="256" y="64"/>
3929 </Size>
3930 <Anchors>
3931 <Anchor point="TOP">
3932 <Offset><AbsDimension x="0" y="12"/></Offset>
3933 </Anchor>
3934 </Anchors>
3935 </Texture>
3936 <FontString inherits="GameFontNormal" text="METAMAPNOTES_QUICKNOTE_DEFAULTNAME">
3937 <Anchors>
3938 <Anchor point="TOP" relativeTo="MetaMapNotes_QuickNoteHeader">
3939 <Offset><AbsDimension x="0" y="-14"/></Offset>
3940 </Anchor>
3941 </Anchors>
3942 </FontString>
3943 <FontString name="MetaMapNotes_QuickNote_Title" inherits="GameFontNormal" text="METAMAPNOTES_QUICKNOTE_DEFAULTNAME" justifyH="LEFT">
3944 <Size>
3945 <AbsDimension x="75" y="20"/>
3946 </Size>
3947 <Anchors>
3948 <Anchor point="TOPLEFT">
3949 <Offset><AbsDimension x="22" y="-25"/></Offset>
3950 </Anchor>
3951 </Anchors>
3952 </FontString>
3953 <FontString name="MetaMapNotes_QuickNote_Tip" inherits="GameFontNormalSmall" text="METAMAPNOTES_CHAT_COMMAND_QUICKNOTE" justifyH="LEFT">
3954 <Size>
3955 <AbsDimension x="300" y="32"/>
3956 </Size>
3957 <Anchors>
3958 <Anchor point="LEFT" relativeTo="MetaMapNotes_QuickNote_Title" relativePoint="RIGHT">
3959 <Offset><AbsDimension x="10" y="0"/></Offset>
3960 </Anchor>
3961 </Anchors>
3962 <Color r="0.59" g="0.49" b="0.1"/>
3963 </FontString>
3964 <FontString name="MetaMapNotes_vNote_Title" inherits="GameFontNormal" text="METAMAPNOTES_VNOTE_DEFAULTNAME" justifyH="LEFT">
3965 <Size>
3966 <AbsDimension x="75" y="20"/>
3967 </Size>
3968 <Anchors>
3969 <Anchor point="TOPLEFT">
3970 <Offset><AbsDimension x="22" y="-45"/></Offset>
3971 </Anchor>
3972 </Anchors>
3973 </FontString>
3974 <FontString name="MetaMapNotes_vNote_Tip" inherits="GameFontNormalSmall" text="METAMAPNOTES_VNOTE_INFO" justifyH="LEFT">
3975 <Size>
3976 <AbsDimension x="300" y="32"/>
3977 </Size>
3978 <Anchors>
3979 <Anchor point="LEFT" relativeTo="MetaMapNotes_vNote_Title" relativePoint="RIGHT">
3980 <Offset><AbsDimension x="10" y="0"/></Offset>
3981 </Anchor>
3982 </Anchors>
3983 <Color r="0.59" g="0.49" b="0.1"/>
3984 </FontString>
3985 <FontString name="MetaMapNotes_MiniNote_Title" inherits="GameFontNormal" text="METAMAPNOTES_MININOTE_DEFAULTNAME" justifyH="LEFT">
3986 <Size>
3987 <AbsDimension x="75" y="20"/>
3988 </Size>
3989 <Anchors>
3990 <Anchor point="TOPLEFT">
3991 <Offset><AbsDimension x="22" y="-65"/></Offset>
3992 </Anchor>
3993 </Anchors>
3994 </FontString>
3995 <FontString name="MetaMapNotes_MiniNote_Tip" inherits="GameFontNormalSmall" text="METAMAPNOTES_MININOTE_INFO" justifyH="LEFT">
3996 <Size>
3997 <AbsDimension x="300" y="32"/>
3998 </Size>
3999 <Anchors>
4000 <Anchor point="LEFT" relativeTo="MetaMapNotes_MiniNote_Title" relativePoint="RIGHT">
4001 <Offset><AbsDimension x="10" y="0"/></Offset>
4002 </Anchor>
4003 </Anchors>
4004 <Color r="0.59" g="0.49" b="0.1"/>
4005 </FontString>
4006 <FontString name="MetaMapNotes_QuickNote_EditTitle" inherits="GameFontNormalSmall" text="METAMAPNOTES_EDIT_TITLE" justifyH="LEFT">
4007 <Size>
4008 <AbsDimension x="222" y="16"/>
4009 </Size>
4010 <Anchors>
4011 <Anchor point="TOPLEFT">
4012 <Offset><AbsDimension x="22" y="-97"/></Offset>
4013 </Anchor>
4014 </Anchors>
4015 </FontString>
4016 <FontString name="MetaMapNotes_QuickNote_Coords" inherits="GameFontNormalSmall" text="METAMAPNOTES_SETCOORDS" justifyH="LEFT">
4017 <Size>
4018 <AbsDimension x="222" y="16"/>
4019 </Size>
4020 <Anchors>
4021 <Anchor point="TOPLEFT">
4022 <Offset><AbsDimension x="300" y="-97"/></Offset>
4023 </Anchor>
4024 </Anchors>
4025 </FontString>
4026 </Layer>
4027 </Layers>
4028 <Frames>
4029 <CheckButton name="MiniNote_CheckButton" inherits="MetaMap_CheckButtonTemplate">
4030 <Size>
4031 <AbsDimension x="24" y="24"/>
4032 </Size>
4033 <Anchors>
4034 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
4035 <Offset><AbsDimension x="30" y="-145"/></Offset>
4036 </Anchor>
4037 </Anchors>
4038 <Layers>
4039 <Layer level="ARTWORK">
4040 <FontString inherits="GameFontNormalSmall" text="+MiniNote">
4041 <Anchors>
4042 <Anchor point="LEFT">
4043 <Offset><AbsDimension x="20" y="1"/></Offset>
4044 </Anchor>
4045 </Anchors>
4046 </FontString>
4047 </Layer>
4048 </Layers>
4049 <Scripts>
4050 <OnClick>
4051 MetaMapNotes_NextMiniNote("on");
4052 </OnClick>
4053 </Scripts>
4054 </CheckButton>
4055 <Button name="QuickNote_Button" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_QUICKNOTE_DEFAULTNAME">
4056 <Size>
4057 <AbsDimension x="80" y="20"/>
4058 </Size>
4059 <Anchors>
4060 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
4061 <Offset><AbsDimension x="35" y="20"/></Offset>
4062 </Anchor>
4063 </Anchors>
4064 <Scripts>
4065 <OnClick>
4066 PlaySound("igMainMenuOption");
4067 MetaMapNotes_SetQuickNote(1);
4068 this:GetParent():Hide();
4069 </OnClick>
4070 </Scripts>
4071 </Button>
4072 <Button name="MiniNote_Button" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_MININOTE_DEFAULTNAME">
4073 <Size>
4074 <AbsDimension x="80" y="20"/>
4075 </Size>
4076 <Anchors>
4077 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="QuickNote_Button">
4078 <Offset><AbsDimension x="20" y="0"/></Offset>
4079 </Anchor>
4080 </Anchors>
4081 <Scripts>
4082 <OnClick>
4083 PlaySound("igMainMenuOption")
4084 MetaMapNotes_NextMiniNoteOnly("on")
4085 MetaMapNotes_SetQuickNote(1);
4086 this:GetParent():Hide();
4087 </OnClick>
4088 </Scripts>
4089 </Button>
4090 <Button name="vNote_Button" inherits="UIPanelButtonTemplate2" text="METAMAPNOTES_VNOTE">
4091 <Size>
4092 <AbsDimension x="80" y="20"/>
4093 </Size>
4094 <Anchors>
4095 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MiniNote_Button">
4096 <Offset><AbsDimension x="20" y="0"/></Offset>
4097 </Anchor>
4098 </Anchors>
4099 <Scripts>
4100 <OnClick>
4101 PlaySound("igMainMenuOption")
4102 MetaMapNotes_SetQuickNote(2);
4103 this:GetParent():Hide();
4104 </OnClick>
4105 </Scripts>
4106 </Button>
4107 <Button name="$parentCancel" inherits="UIPanelButtonTemplate2" text="METAMAP_CLOSE_BUTTON">
4108 <Size>
4109 <AbsDimension x="80" y="20"/>
4110 </Size>
4111 <Anchors>
4112 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="vNote_Button">
4113 <Offset><AbsDimension x="20" y="0"/></Offset>
4114 </Anchor>
4115 </Anchors>
4116 <Scripts>
4117 <OnClick>
4118 PlaySound("igMainMenuOption")
4119 this:GetParent():Hide()
4120 </OnClick>
4121 </Scripts>
4122 </Button>
4123 <EditBox name="Note_EditBox" autoFocus="true" historyLines="0">
4124 <Size>
4125 <AbsDimension x="250" y="64"/>
4126 </Size>
4127 <Anchors>
4128 <Anchor point="TOPLEFT">
4129 <Offset><AbsDimension x="30" y="-95"/></Offset>
4130 </Anchor>
4131 </Anchors>
4132 <Layers>
4133 <Layer level="BACKGROUND">
4134 <Texture name="Title_Left" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
4135 <Size>
4136 <AbsDimension x="256" y="32"/>
4137 </Size>
4138 <Anchors>
4139 <Anchor point="LEFT">
4140 <Offset><AbsDimension x="-10" y="0"/></Offset>
4141 </Anchor>
4142 </Anchors>
4143 <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
4144 </Texture>
4145 <Texture name="Title_Right" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
4146 <Size>
4147 <AbsDimension x="75" y="32"/>
4148 </Size>
4149 <Anchors>
4150 <Anchor point="RIGHT">
4151 <Offset><AbsDimension x="10" y="0"/></Offset>
4152 </Anchor>
4153 </Anchors>
4154 <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
4155 </Texture>
4156 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
4157 <Size>
4158 <AbsDimension x="5" y="32"/>
4159 </Size>
4160 <Anchors>
4161 <Anchor point="LEFT" relativeTo="Title_Left" relativePoint="RIGHT">
4162 <Offset><AbsDimension x="0" y="0"/></Offset>
4163 </Anchor>
4164 <Anchor point="RIGHT" relativeTo="Title_Right" relativePoint="LEFT">
4165 <Offset><AbsDimension x="0" y="0"/></Offset>
4166 </Anchor>
4167 </Anchors>
4168 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
4169 </Texture>
4170 </Layer>
4171 </Layers>
4172 <FontString inherits="ChatFontNormal"/>
4173 <Scripts>
4174 <OnShow>
4175 this:SetBackdropColor(0,0,0,1);
4176 this:SetAlpha(255);
4177 this:SetText("");
4178 </OnShow>
4179 <OnEscapePressed>
4180 this:GetParent():Hide();
4181 </OnEscapePressed>
4182 <OnEnterPressed>
4183 MetaMapNotes_SetQuickNote(1);
4184 this:GetParent():Hide();
4185 </OnEnterPressed>
4186 </Scripts>
4187 </EditBox>
4188 <EditBox name="Coords_EditBox" autoFocus="false" historyLines="0" letters="5">
4189 <Size>
4190 <AbsDimension x="100" y="64"/>
4191 </Size>
4192 <Anchors>
4193 <Anchor point="TOPLEFT">
4194 <Offset><AbsDimension x="310" y="-95"/></Offset>
4195 </Anchor>
4196 </Anchors>
4197 <Layers>
4198 <Layer level="BACKGROUND">
4199 <Texture name="CoordsLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
4200 <Size>
4201 <AbsDimension x="100" y="32"/>
4202 </Size>
4203 <Anchors>
4204 <Anchor point="LEFT">
4205 <Offset><AbsDimension x="-10" y="0"/></Offset>
4206 </Anchor>
4207 </Anchors>
4208 <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
4209 </Texture>
4210 <Texture name="CoordsRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
4211 <Size>
4212 <AbsDimension x="55" y="32"/>
4213 </Size>
4214 <Anchors>
4215 <Anchor point="RIGHT">
4216 <Offset><AbsDimension x="10" y="0"/></Offset>
4217 </Anchor>
4218 </Anchors>
4219 <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
4220 </Texture>
4221 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
4222 <Size>
4223 <AbsDimension x="5" y="32"/>
4224 </Size>
4225 <Anchors>
4226 <Anchor point="LEFT" relativeTo="CoordsLeft" relativePoint="RIGHT">
4227 <Offset><AbsDimension x="0" y="0"/></Offset>
4228 </Anchor>
4229 <Anchor point="RIGHT" relativeTo="CoordsRight" relativePoint="LEFT">
4230 <Offset><AbsDimension x="0" y="0"/></Offset>
4231 </Anchor>
4232 </Anchors>
4233 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
4234 </Texture>
4235 </Layer>
4236 </Layers>
4237 <FontString inherits="ChatFontNormal"/>
4238 </EditBox>
4239 </Frames>
4240 <Scripts>
4241 <OnLoad>
4242 this:SetBackdropColor(0,0,0,1);
4243 this:SetAlpha(255);
4244 </OnLoad>
4245 <OnShow>
4246 MetaMapNotes_QuickNoteShow();
4247 </OnShow>
4248 <OnHide>
4249 MetaMapNotes_Qnote = false;
4250 </OnHide>
4251 </Scripts>
4252 </Frame>
4253  
4254 <Frame name="MetaMap_MapListFrame" hidden="true" parent="WorldMapFrame">
4255 <Size><AbsDimension x="200" y="350"/></Size>
4256 <Anchors>
4257 <Anchor point="TOPRIGHT" relativeTo="WorldMapDetailFrame" relativePoint="TOPRIGHT">
4258 <Offset><AbsDimension x="0" y="0"/></Offset>
4259 </Anchor>
4260 </Anchors>
4261 <Backdrop bgFile="Interface\RaidFrame\UI-RaidFrame-GroupBg" tile="true">
4262 <BackgroundInsets>
4263 <AbsInset left="0" right="0" top="0" bottom="0"/>
4264 </BackgroundInsets>
4265 <TileSize>
4266 <AbsValue val="32"/>
4267 </TileSize>
4268 </Backdrop>
4269 <Scripts>
4270 <OnLoad>
4271 MetaMapList_OnLoad();
4272 </OnLoad>
4273 </Scripts>
4274 <Frames>
4275 <Button name="MetaMapList_Header" text="METAMAPLIST_SORTED">
4276 <Size>
4277 <AbsDimension x="200" y="35"/>
4278 </Size>
4279 <Anchors>
4280 <Anchor point="TOP">
4281 <Offset><AbsDimension x="0" y="0"/></Offset>
4282 </Anchor>
4283 </Anchors>
4284 <Layers>
4285 <Layer level="BACKGROUND">
4286 <Texture name="$parentMiddle" file="Interface\Buttons\UI-Panel-Button-Up" alphaMode="ADD" virtual="true">
4287 <TexCoords left="0.09375" right="0.53125" top="0" bottom="0.6875"/>
4288 </Texture>
4289 </Layer>
4290 </Layers>
4291 <Scripts>
4292 <OnLoad>
4293 this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
4294 </OnLoad>
4295 <OnClick>
4296 PlaySound("igMainMenuOptionCheckBoxOn");
4297 MetaMapOptions.SortList = not MetaMapOptions.SortList;
4298 MetaMapList_Init();
4299 </OnClick>
4300 </Scripts>
4301 <NormalFont name="$parentText" inherits="GameFontNormal"/>
4302 <HighlightFont inherits="GameFontHighlight"/>
4303 </Button>
4304 <Button name="MetaMapList_Footer">
4305 <Size>
4306 <AbsDimension x="200" y="60"/>
4307 </Size>
4308 <Anchors>
4309 <Anchor point="BOTTOM">
4310 <Offset><AbsDimension x="0" y="0"/></Offset>
4311 </Anchor>
4312 </Anchors>
4313 <Layers>
4314 <Layer level="ARTWORK">
4315 <FontString name="MetaMapList_InfoText" inherits="GameFontDisable" text="METAMAP_MAPLIST_INFO" justifyH="LEFT">
4316 <Anchors>
4317 <Anchor point="CENTER">
4318 <Offset><AbsDimension x="0" y="0"/></Offset>
4319 </Anchor>
4320 </Anchors>
4321 </FontString>
4322 </Layer>
4323 </Layers>
4324 <Frames>
4325 <Button name="MetaMapList_PlayerButton" inherits="MetaMapList_ScrollFrameButtonTemplate" hidden="false" id="0">
4326 <Anchors>
4327 <Anchor point="CENTER">
4328 <Offset><AbsDimension x="0" y="0"/></Offset>
4329 </Anchor>
4330 </Anchors>
4331 <Scripts>
4332 <OnLoad>
4333 this:SetFrameLevel(this:GetParent():GetFrameLevel()+3);
4334 </OnLoad>
4335 <OnClick>
4336 MetaMapList_OnClick(arg1, this:GetID());
4337 </OnClick>
4338 <OnEnter>
4339 getglobal(this:GetName().."Highlight"):Show();
4340 </OnEnter>
4341 <OnLeave>
4342 getglobal(this:GetName().."Highlight"):Hide();
4343 </OnLeave>
4344 </Scripts>
4345 </Button>
4346 </Frames>
4347 <Layers>
4348 <Layer level="BACKGROUND">
4349 <Texture name="$parentMiddle" file="Interface\Buttons\UI-Panel-Button-Up" alphaMode="ADD" virtual="true">
4350 <TexCoords left="0.09375" right="0.53125" top="0" bottom="0.6875"/>
4351 </Texture>
4352 </Layer>
4353 </Layers>
4354 <Scripts>
4355 <OnLoad>
4356 this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
4357 </OnLoad>
4358 </Scripts>
4359 </Button>
4360 <ScrollFrame name="MetaMapList_ScrollFrame" inherits="FauxScrollFrameTemplate">
4361 <Size>
4362 <AbsDimension x="180" y="350"/>
4363 </Size>
4364 <Anchors>
4365 <Anchor point="TOPLEFT" relativeTo="MetaMap_MapListFrame">
4366 <Offset><AbsDimension x="0" y="-35"/></Offset>
4367 </Anchor>
4368 </Anchors>
4369 <Scripts>
4370 <OnShow>
4371 this:SetHeight(this:GetParent():GetHeight()-90);
4372 </OnShow>
4373 <OnVerticalScroll>
4374 FauxScrollFrame_OnVerticalScroll(METAMAPLIST_SCROLL_FRAME_BUTTON_HEIGHT, MetaMapList_UpdateScroll)
4375 </OnVerticalScroll>
4376 </Scripts>
4377 <FontString inherits="MetaMap_FontStringTemplate" justifyH="LEFT"/>
4378 <Scripts>
4379 <OnLoad>
4380 this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
4381 </OnLoad>
4382 </Scripts>
4383 </ScrollFrame>
4384 <Button name="MetaMapList_ScrollFrameButton1" inherits="MetaMapList_ScrollFrameButtonTemplate" id="1" hidden="true">
4385 <Anchors>
4386 <Anchor point="TOPLEFT" relativeTo="MetaMap_MapListFrame">
4387 <Offset><AbsDimension x="15" y="-35"/></Offset>
4388 </Anchor>
4389 </Anchors>
4390 </Button>
4391 <Button name="MetaMapList_ScrollFrameButton2" inherits="MetaMapList_ScrollFrameButtonTemplate" id="2" hidden="true">
4392 <Anchors>
4393 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton1" relativePoint="BOTTOMLEFT">
4394 <Offset><AbsDimension x="0" y="1"/></Offset>
4395 </Anchor>
4396 </Anchors>
4397 </Button>
4398 <Button name="MetaMapList_ScrollFrameButton3" inherits="MetaMapList_ScrollFrameButtonTemplate" id="3" hidden="true">
4399 <Anchors>
4400 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton2" relativePoint="BOTTOMLEFT">
4401 <Offset><AbsDimension x="0" y="1"/></Offset>
4402 </Anchor>
4403 </Anchors>
4404 </Button>
4405 <Button name="MetaMapList_ScrollFrameButton4" inherits="MetaMapList_ScrollFrameButtonTemplate" id="4" hidden="true">
4406 <Anchors>
4407 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton3" relativePoint="BOTTOMLEFT">
4408 <Offset><AbsDimension x="0" y="1"/></Offset>
4409 </Anchor>
4410 </Anchors>
4411 </Button>
4412 <Button name="MetaMapList_ScrollFrameButton5" inherits="MetaMapList_ScrollFrameButtonTemplate" id="5" hidden="true">
4413 <Anchors>
4414 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton4" relativePoint="BOTTOMLEFT">
4415 <Offset><AbsDimension x="0" y="1"/></Offset>
4416 </Anchor>
4417 </Anchors>
4418 </Button>
4419 <Button name="MetaMapList_ScrollFrameButton6" inherits="MetaMapList_ScrollFrameButtonTemplate" id="6" hidden="true">
4420 <Anchors>
4421 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton5" relativePoint="BOTTOMLEFT">
4422 <Offset><AbsDimension x="0" y="1"/></Offset>
4423 </Anchor>
4424 </Anchors>
4425 </Button>
4426 <Button name="MetaMapList_ScrollFrameButton7" inherits="MetaMapList_ScrollFrameButtonTemplate" id="7" hidden="true">
4427 <Anchors>
4428 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton6" relativePoint="BOTTOMLEFT">
4429 <Offset><AbsDimension x="0" y="1"/></Offset>
4430 </Anchor>
4431 </Anchors>
4432 </Button>
4433 <Button name="MetaMapList_ScrollFrameButton8" inherits="MetaMapList_ScrollFrameButtonTemplate" id="8" hidden="true">
4434 <Anchors>
4435 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton7" relativePoint="BOTTOMLEFT">
4436 <Offset><AbsDimension x="0" y="1"/></Offset>
4437 </Anchor>
4438 </Anchors>
4439 </Button>
4440 <Button name="MetaMapList_ScrollFrameButton9" inherits="MetaMapList_ScrollFrameButtonTemplate" id="9" hidden="true">
4441 <Anchors>
4442 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton8" relativePoint="BOTTOMLEFT">
4443 <Offset><AbsDimension x="0" y="1"/></Offset>
4444 </Anchor>
4445 </Anchors>
4446 </Button>
4447 <Button name="MetaMapList_ScrollFrameButton10" inherits="MetaMapList_ScrollFrameButtonTemplate" id="10" hidden="true">
4448 <Anchors>
4449 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton9" relativePoint="BOTTOMLEFT">
4450 <Offset><AbsDimension x="0" y="1"/></Offset>
4451 </Anchor>
4452 </Anchors>
4453 </Button>
4454 <Button name="MetaMapList_ScrollFrameButton11" inherits="MetaMapList_ScrollFrameButtonTemplate" id="11" hidden="true">
4455 <Anchors>
4456 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton10" relativePoint="BOTTOMLEFT">
4457 <Offset><AbsDimension x="0" y="1"/></Offset>
4458 </Anchor>
4459 </Anchors>
4460 </Button>
4461 <Button name="MetaMapList_ScrollFrameButton12" inherits="MetaMapList_ScrollFrameButtonTemplate" id="12" hidden="true">
4462 <Anchors>
4463 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton11" relativePoint="BOTTOMLEFT">
4464 <Offset><AbsDimension x="0" y="1"/></Offset>
4465 </Anchor>
4466 </Anchors>
4467 </Button>
4468 <Button name="MetaMapList_ScrollFrameButton13" inherits="MetaMapList_ScrollFrameButtonTemplate" id="13" hidden="true">
4469 <Anchors>
4470 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton12" relativePoint="BOTTOMLEFT">
4471 <Offset><AbsDimension x="0" y="1"/></Offset>
4472 </Anchor>
4473 </Anchors>
4474 </Button>
4475 <Button name="MetaMapList_ScrollFrameButton14" inherits="MetaMapList_ScrollFrameButtonTemplate" id="14" hidden="true">
4476 <Anchors>
4477 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton13" relativePoint="BOTTOMLEFT">
4478 <Offset><AbsDimension x="0" y="1"/></Offset>
4479 </Anchor>
4480 </Anchors>
4481 </Button>
4482 <Button name="MetaMapList_ScrollFrameButton15" inherits="MetaMapList_ScrollFrameButtonTemplate" id="15" hidden="true">
4483 <Anchors>
4484 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton14" relativePoint="BOTTOMLEFT">
4485 <Offset><AbsDimension x="0" y="1"/></Offset>
4486 </Anchor>
4487 </Anchors>
4488 </Button>
4489 <Button name="MetaMapList_ScrollFrameButton16" inherits="MetaMapList_ScrollFrameButtonTemplate" id="16" hidden="true">
4490 <Anchors>
4491 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton15" relativePoint="BOTTOMLEFT">
4492 <Offset><AbsDimension x="0" y="1"/></Offset>
4493 </Anchor>
4494 </Anchors>
4495 </Button>
4496 <Button name="MetaMapList_ScrollFrameButton17" inherits="MetaMapList_ScrollFrameButtonTemplate" id="17" hidden="true">
4497 <Anchors>
4498 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton16" relativePoint="BOTTOMLEFT">
4499 <Offset><AbsDimension x="0" y="1"/></Offset>
4500 </Anchor>
4501 </Anchors>
4502 </Button>
4503 <Button name="MetaMapList_ScrollFrameButton18" inherits="MetaMapList_ScrollFrameButtonTemplate" id="18" hidden="true">
4504 <Anchors>
4505 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton17" relativePoint="BOTTOMLEFT">
4506 <Offset><AbsDimension x="0" y="1"/></Offset>
4507 </Anchor>
4508 </Anchors>
4509 </Button>
4510 <Button name="MetaMapList_ScrollFrameButton19" inherits="MetaMapList_ScrollFrameButtonTemplate" id="19" hidden="true">
4511 <Anchors>
4512 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton18" relativePoint="BOTTOMLEFT">
4513 <Offset><AbsDimension x="0" y="1"/></Offset>
4514 </Anchor>
4515 </Anchors>
4516 </Button>
4517 <Button name="MetaMapList_ScrollFrameButton20" inherits="MetaMapList_ScrollFrameButtonTemplate" id="20" hidden="true">
4518 <Anchors>
4519 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton19" relativePoint="BOTTOMLEFT">
4520 <Offset><AbsDimension x="0" y="1"/></Offset>
4521 </Anchor>
4522 </Anchors>
4523 </Button>
4524 <Button name="MetaMapList_ScrollFrameButton21" inherits="MetaMapList_ScrollFrameButtonTemplate" id="21" hidden="true">
4525 <Anchors>
4526 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton20" relativePoint="BOTTOMLEFT">
4527 <Offset><AbsDimension x="0" y="1"/></Offset>
4528 </Anchor>
4529 </Anchors>
4530 </Button>
4531 <Button name="MetaMapList_ScrollFrameButton22" inherits="MetaMapList_ScrollFrameButtonTemplate" id="22" hidden="true">
4532 <Anchors>
4533 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton21" relativePoint="BOTTOMLEFT">
4534 <Offset><AbsDimension x="0" y="1"/></Offset>
4535 </Anchor>
4536 </Anchors>
4537 </Button>
4538 <Button name="MetaMapList_ScrollFrameButton23" inherits="MetaMapList_ScrollFrameButtonTemplate" id="23" hidden="true">
4539 <Anchors>
4540 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton22" relativePoint="BOTTOMLEFT">
4541 <Offset><AbsDimension x="0" y="1"/></Offset>
4542 </Anchor>
4543 </Anchors>
4544 </Button>
4545 <Button name="MetaMapList_ScrollFrameButton24" inherits="MetaMapList_ScrollFrameButtonTemplate" id="24" hidden="true">
4546 <Anchors>
4547 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton23" relativePoint="BOTTOMLEFT">
4548 <Offset><AbsDimension x="0" y="1"/></Offset>
4549 </Anchor>
4550 </Anchors>
4551 </Button>
4552 <Button name="MetaMapList_ScrollFrameButton25" inherits="MetaMapList_ScrollFrameButtonTemplate" id="25" hidden="true">
4553 <Anchors>
4554 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton24" relativePoint="BOTTOMLEFT">
4555 <Offset><AbsDimension x="0" y="1"/></Offset>
4556 </Anchor>
4557 </Anchors>
4558 </Button>
4559 <Button name="MetaMapList_ScrollFrameButton26" inherits="MetaMapList_ScrollFrameButtonTemplate" id="26" hidden="true">
4560 <Anchors>
4561 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton25" relativePoint="BOTTOMLEFT">
4562 <Offset><AbsDimension x="0" y="1"/></Offset>
4563 </Anchor>
4564 </Anchors>
4565 </Button>
4566 <Button name="MetaMapList_ScrollFrameButton27" inherits="MetaMapList_ScrollFrameButtonTemplate" id="27" hidden="true">
4567 <Anchors>
4568 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton26" relativePoint="BOTTOMLEFT">
4569 <Offset><AbsDimension x="0" y="1"/></Offset>
4570 </Anchor>
4571 </Anchors>
4572 </Button>
4573 <Button name="MetaMapList_ScrollFrameButton28" inherits="MetaMapList_ScrollFrameButtonTemplate" id="28" hidden="true">
4574 <Anchors>
4575 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton27" relativePoint="BOTTOMLEFT">
4576 <Offset><AbsDimension x="0" y="1"/></Offset>
4577 </Anchor>
4578 </Anchors>
4579 </Button>
4580 <Button name="MetaMapList_ScrollFrameButton29" inherits="MetaMapList_ScrollFrameButtonTemplate" id="29" hidden="true">
4581 <Anchors>
4582 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton28" relativePoint="BOTTOMLEFT">
4583 <Offset><AbsDimension x="0" y="1"/></Offset>
4584 </Anchor>
4585 </Anchors>
4586 </Button>
4587 <Button name="MetaMapList_ScrollFrameButton30" inherits="MetaMapList_ScrollFrameButtonTemplate" id="30" hidden="true">
4588 <Anchors>
4589 <Anchor point="TOPLEFT" relativeTo="MetaMapList_ScrollFrameButton29" relativePoint="BOTTOMLEFT">
4590 <Offset><AbsDimension x="0" y="1"/></Offset>
4591 </Anchor>
4592 </Anchors>
4593 </Button>
4594 </Frames>
4595 </Frame>
4596  
4597 <Frame name="X_Frame" hidden="true">
4598 <Scripts>
4599 <OnKeyUp>
4600 if(arg1 == GetBindingKey("METAMAP_FSTOGGLE") or arg1 == GetBindingKey("METAMAP_SAVESET")) then
4601 MetaMap_FullScreenToggle();
4602 end
4603 </OnKeyUp>
4604 <OnMouseDown>
4605 if(arg1 == "LeftButton") then
4606 this:StartMoving();
4607 end
4608 this.isMoving = true;
4609 </OnMouseDown>
4610 <OnMouseUp>
4611 if(this.isMoving) then
4612 this:StopMovingOrSizing();
4613 this.isMoving = false;
4614 end
4615 </OnMouseUp>
4616 </Scripts>
4617 </Frame>
4618  
4619 <Frame name="MetaMapContainerFrame" parent="WorldMapFrame" enableMouse="true" toplevel="true" hidden="true">
4620 <Anchors>
4621 <Anchor point="BOTTOMLEFT" relativeTo="WorldMapButton" relativePoint="BOTTOMLEFT">
4622 <Offset>
4623 <AbsDimension x="0" y="-4"/>
4624 </Offset>
4625 </Anchor>
4626 </Anchors>
4627 <Layers>
4628 <Layer level="ARTWORK">
4629 <FontString name="MetaMapContainer_InfoText" inherits="GameFontHighlightLarge" hidden="true" text="">
4630 <Anchors>
4631 <Anchor point="CENTER">
4632 <Offset>
4633 <AbsDimension x="0" y="0"/>
4634 </Offset>
4635 </Anchor>
4636 </Anchors>
4637 </FontString>
4638 </Layer>
4639 </Layers>
4640 <Frames>
4641 <Button name="MetaMapContainer_Header">
4642 <Anchors>
4643 <Anchor point="TOP">
4644 <Offset><AbsDimension x="0" y="2"/></Offset>
4645 </Anchor>
4646 </Anchors>
4647 <Layers>
4648 <Layer level="ARTWORK">
4649 <FontString name="MetaMapContainer_HeaderText" toplevel="true" inherits="GameFontNormalLarge" text="">
4650 <Anchors>
4651 <Anchor point="CENTER">
4652 <Offset>
4653 <AbsDimension x="0" y="0"/>
4654 </Offset>
4655 </Anchor>
4656 </Anchors>
4657 </FontString>
4658 <FontString name="MetaMapContainer_InfoText" inherits="GameFontHighlightLarge" hidden="true" text="">
4659 <Anchors>
4660 <Anchor point="BOTTOM">
4661 <Offset>
4662 <AbsDimension x="0" y="-100"/>
4663 </Offset>
4664 </Anchor>
4665 </Anchors>
4666 </FontString>
4667 </Layer>
4668 <Layer level="BACKGROUND">
4669 <Texture name="$parentMiddle" file="Interface\Buttons\UI-Panel-Button-Up" alphaMode="ADD" virtual="true">
4670 <TexCoords left="0.09375" right="0.53125" top="0" bottom="0.6875"/>
4671 </Texture>
4672 </Layer>
4673 </Layers>
4674 <Scripts>
4675 <OnLoad>
4676 this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
4677 </OnLoad>
4678 <OnShow>
4679 this:SetWidth(this:GetParent():GetWidth());
4680 this:SetHeight(40);
4681 </OnShow>
4682 </Scripts>
4683 </Button>
4684 <Button name="MetaMapContainer_Footer">
4685 <Anchors>
4686 <Anchor point="BOTTOM">
4687 <Offset><AbsDimension x="0" y="4"/></Offset>
4688 </Anchor>
4689 </Anchors>
4690 <Layers>
4691 <Layer level="ARTWORK">
4692 <FontString name="MetaMapContainer_FooterText" inherits="GameFontDisable" hidden="true" text="">
4693 <Anchors>
4694 <Anchor point="CENTER">
4695 <Offset>
4696 <AbsDimension x="0" y="-10"/>
4697 </Offset>
4698 </Anchor>
4699 </Anchors>
4700 </FontString>
4701 </Layer>
4702 <Layer level="BACKGROUND">
4703 <Texture name="$parentMiddle" file="Interface\Buttons\UI-Panel-Button-Up" alphaMode="ADD" virtual="true">
4704 <TexCoords left="0.09375" right="0.53125" top="0" bottom="0.6875"/>
4705 </Texture>
4706 </Layer>
4707 </Layers>
4708 <Frames>
4709 <Button name="MetaMapContainer_CloseButton" inherits="UIPanelButtonTemplate2" toplevel="true" text="METAMAP_CLOSE_BUTTON">
4710 <Size><AbsDimension x="80" y="24"/></Size>
4711 <Anchors>
4712 <Anchor point="RIGHT">
4713 <Offset><AbsDimension x="-30" y="-4" /></Offset>
4714 </Anchor>
4715 </Anchors>
4716 <Scripts>
4717 <OnLoad>
4718 this:SetFrameLevel(this:GetParent():GetFrameLevel()+3);
4719 </OnLoad>
4720 <OnClick>
4721 MetaMapContainerFrame:Hide();
4722 </OnClick>
4723 </Scripts>
4724 </Button>
4725 </Frames>
4726 <Scripts>
4727 <OnLoad>
4728 this:SetFrameLevel(this:GetParent():GetFrameLevel()+2);
4729 </OnLoad>
4730 <OnShow>
4731 this:SetWidth(this:GetParent():GetWidth());
4732 this:SetHeight(60);
4733 </OnShow>
4734 </Scripts>
4735 </Button>
4736 </Frames>
4737 <Scripts>
4738 <OnLoad>
4739 MetaMapContainerFrame_OnLoad();
4740 </OnLoad>
4741 <OnShow>
4742 PlaySoundFile("Sound\\interface\\iQuestLogOpenA.wav");
4743 </OnShow>
4744 <OnHide>
4745 PlaySoundFile("Sound\\interface\\iQuestLogCloseA.wav");
4746 </OnHide>
4747 </Scripts>
4748 </Frame>
4749  
4750 <Button name="MetaMap_InfoLineButton" parent="WorldMapFrame" toplevel="true" text="">
4751 <Size>
4752 <AbsDimension x="32" y="46"/>
4753 </Size>
4754 <Anchors>
4755 <Anchor point="LEFT" relativeTo="MetaMap_OptionsButton" relativePoint="RIGHT">
4756 <Offset>
4757 <AbsDimension x="10" y="8"/>
4758 </Offset>
4759 </Anchor>
4760 </Anchors>
4761 <Scripts>
4762 <OnLoad>
4763 this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
4764 this:SetFrameLevel(MetaMapList_Header:GetFrameLevel()+2);
4765 </OnLoad>
4766 <OnClick>
4767 MetaMap_InfoLine(arg1);
4768 </OnClick>
4769 <OnEnter>
4770 MetaMap_InfoLineOnEnter();
4771 </OnEnter>
4772 <OnLeave>
4773 WorldMapTooltip:Hide();
4774 </OnLeave>
4775 </Scripts>
4776 <NormalTexture file="Interface\Buttons\UI-MicroButton-Help-Up"/>
4777 <PushedTexture file="Interface\Buttons\UI-MicroButton-Help-Down"/>
4778 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-MicroButton-Hilight"/>
4779 </Button>
4780  
4781 <Frame name="MetaMap_InfoLineFrame" hidden="true" parent="MetaMapContainerFrame">
4782 <Anchors>
4783 <Anchor point="CENTER"/>
4784 </Anchors>
4785 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true">
4786 <BackgroundInsets>
4787 <AbsInset left="0" right="0" top="0" bottom="0"/>
4788 </BackgroundInsets>
4789 <TileSize>
4790 <AbsValue val="32"/>
4791 </TileSize>
4792 <EdgeSize>
4793 <AbsValue val="32"/>
4794 </EdgeSize>
4795 </Backdrop>
4796 <Layers>
4797 <Layer level="ARTWORK">
4798 <FontString name="$parentText" inherits="GameFontHighlightLarge" text="">
4799 <Anchors>
4800 <Anchor point="CENTER">
4801 <Offset>
4802 <AbsDimension x="0" y="0"/>
4803 </Offset>
4804 </Anchor>
4805 </Anchors>
4806 </FontString>
4807 </Layer>
4808 </Layers>
4809 <Scripts>
4810 <OnShow>
4811 this:SetWidth(this:GetParent():GetWidth());
4812 this:SetHeight(this:GetParent():GetHeight());
4813 MetaMap_InfoLineFrameText:SetWidth(this:GetWidth() -200);
4814 </OnShow>
4815 </Scripts>
4816 </Frame>
4817 </Ui>