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  
3 <script file="Localisation.lua"/>
4 <script file="Localisation.de.lua"/>
5 <Script file="NotesUNeed.lua"/>
6  
7  
8 <!-- Templates -->
9 <Button name="NuNButtonTemplate" inherits="UIPanelButtonTemplate" virtual="true">
10 <Size>
11 <AbsDimension x="88" y="21"/>
12 </Size>
13 <NormalText inherits="GameFontNormal"/>
14 <DisabledText inherits="GameFontDisable"/>
15 <HighlightText inherits="GameFontNormal"/>
16 </Button>
17  
18 <Button name="NuNOptionsButtonTemplate" inherits="UIPanelButtonTemplate2" virtual="true">
19 <Size>
20 <AbsDimension x="180" y="21"/>
21 </Size>
22 <NormalText inherits="GameFontNormal"/>
23 <DisabledText inherits="GameFontDisable"/>
24 <HighlightText inherits="GameFontNormal"/>
25 </Button>
26  
27 <Button name="NuNDetailTitleButtonTemplate" virtual="true">
28 <Size>
29 <AbsDimension x="159" y="14"/>
30 </Size>
31 <Frames>
32 <Frame name="$parentButtonText" setAllPoints="true">
33 <Layers>
34 <Layer level="BORDER">
35 <FontString name="$parentHeading" inherits="GameFontNormalSmall" justifyH="LEFT">
36 <Anchors>
37 <Anchor point="TOPLEFT">
38 <Offset>
39 <AbsDimension x="0" y="0"/>
40 </Offset>
41 </Anchor>
42 </Anchors>
43 </FontString>
44 </Layer>
45 </Layers>
46 </Frame>
47 </Frames>
48 <Scripts>
49 <OnClick>
50 NuNUserButton_OnClick(this);
51 </OnClick>
52 <OnEnter>
53 NuN_UserButtons_OnEnter(this);
54 </OnEnter>
55 <OnLeave>
56 NuN_TTButton_OnLeave();
57 </OnLeave>
58 </Scripts>
59 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
60 </Button>
61  
62 <Button name="NuNDetailInforButtonTemplate" virtual="true">
63 <Size>
64 <AbsDimension x="155" y="12"/>
65 </Size>
66 <Frames>
67 <Frame name="$parentButtonText" setAllPoints="true">
68 <Layers>
69 <Layer level="BORDER">
70 <FontString name="$parentDetail" inherits="GameFontHighlightSmall" justifyH="LEFT">
71 <Anchors>
72 <Anchor point="TOPLEFT">
73 <Offset>
74 <AbsDimension x="4" y="0"/>
75 </Offset>
76 </Anchor>
77 </Anchors>
78 </FontString>
79 </Layer>
80 </Layers>
81 </Frame>
82 </Frames>
83 <Scripts>
84 <OnClick>
85 NuNUserButton_OnClick(this);
86 </OnClick>
87 <OnEnter>
88 NuN_UserButtons_OnEnter(this);
89 </OnEnter>
90 <OnLeave>
91 NuN_TTButton_OnLeave();
92 </OnLeave>
93 </Scripts>
94 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
95 </Button>
96  
97 <Button name="NuNSearchNoteTemplate" virtual="true">
98 <Size>
99 <AbsDimension x="300" y="16"/>
100 </Size>
101 <Frames>
102 <Frame name="$parentFrame" setAllPoints="true">
103 <Layers>
104 <Layer level="ARTWORK">
105 <Texture name="$parentHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
106 <Size>
107 <AbsDimension x="18" y="18"/>
108 </Size>
109 <Anchors>
110 <Anchor point="RIGHT">
111 </Anchor>
112 </Anchors>
113 </Texture>
114 <Texture name="$parentAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
115 <Size>
116 <AbsDimension x="18" y="18"/>
117 </Size>
118 <Anchors>
119 <Anchor point="RIGHT">
120 </Anchor>
121 </Anchors>
122 </Texture>
123 <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Up" hidden="true">
124 <Size>
125 <AbsDimension x="12" y="12"/>
126 </Size>
127 <Anchors>
128 <Anchor point="RIGHT">
129 <Offset>
130 <AbsDimension x="-3" y="0"/>
131 </Offset>
132 </Anchor>
133 </Anchors>
134 </Texture>
135 <Texture name="$parentLFlag" file="Interface\Buttons\UI-CheckBox-Check" hidden="true">
136 <Size>
137 <AbsDimension x="16" y="16"/>
138 </Size>
139 <Anchors>
140 <Anchor point="LEFT">
141 <Offset>
142 <AbsDimension x="0" y="-1"/>
143 </Offset>
144 </Anchor>
145 </Anchors>
146 </Texture>
147 <FontString name="$parentType" inherits="GameFontNormalSmall" text=" ">
148 <Anchors>
149 <Anchor point="RIGHT" relativeTo="$parentHFlag" relativePoint="LEFT">
150 <Offset>
151 <AbsDimension x="-2" y="0"/>
152 </Offset>
153 </Anchor>
154 </Anchors>
155 </FontString>
156 </Layer>
157 </Layers>
158 </Frame>
159 </Frames>
160 <Scripts>
161 <OnLoad>
162 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
163 </OnLoad>
164 <OnClick>
165 NuNSearchNote_OnClick(this);
166 </OnClick>
167 <OnEnter>
168 NuNSearchNote_OnEnter(this);
169 </OnEnter>
170 <OnLeave>
171 NuN_TTButton_OnLeave();
172 </OnLeave>
173 </Scripts>
174 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
175 <NormalText name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
176 <Size>
177 <AbsDimension x="275" y="12"/>
178 </Size>
179 <Anchors>
180 <Anchor point="LEFT">
181 <Offset>
182 <AbsDimension x="20" y="0"/>
183 </Offset>
184 </Anchor>
185 </Anchors>
186 </NormalText>
187 </Button>
188  
189  
190 <Button name="NuN_NoteButtonTemplate" virtual="true" hidden="false">
191 <Size>
192 <AbsDimension x="16" y="16"/>
193 </Size>
194 <Anchors>
195 <Anchor point="RIGHT" relativePoint="LEFT">
196 <Offset>
197 <AbsDimension x="295" y="0"/>
198 </Offset>
199 </Anchor>
200 </Anchors>
201 <Frames>
202 <Frame name="$parentFrame" setAllPoints="true">
203 <Layers>
204 <Layer level="ARTWORK">
205 <Texture name="$parentHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
206 <Size>
207 <AbsDimension x="18" y="18"/>
208 </Size>
209 <Anchors>
210 <Anchor point="RIGHT">
211 <Offset>
212 <AbsDimension x="2" y="-2"/>
213 </Offset>
214 </Anchor>
215 </Anchors>
216 </Texture>
217 <Texture name="$parentAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
218 <Size>
219 <AbsDimension x="18" y="18"/>
220 </Size>
221 <Anchors>
222 <Anchor point="RIGHT">
223 <Offset>
224 <AbsDimension x="2" y="-2"/>
225 </Offset>
226 </Anchor>
227 </Anchors>
228 </Texture>
229 <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled" hidden="true">
230 <Size>
231 <AbsDimension x="12" y="12"/>
232 </Size>
233 <Anchors>
234 <Anchor point="RIGHT">
235 <Offset>
236 <AbsDimension x="-2" y="0"/>
237 </Offset>
238 </Anchor>
239 </Anchors>
240 </Texture>
241 </Layer>
242 </Layers>
243 </Frame>
244 </Frames>
245 <Scripts>
246 <OnClick>
247 NuN_NoteButton_OnInteract(this:GetID(), "Click");
248 </OnClick>
249 <OnEnter>
250 NuN_Tooltip:SetOwner(this, "ANCHOR_RIGHT");
251 NuN_NoteButton_OnInteract(this:GetID(), "MouseOver");
252 </OnEnter>
253 <OnLeave>
254 NuN_TTButton_OnLeave();
255 </OnLeave>
256 </Scripts>
257 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
258 </Button>
259  
260 <Button name="NuN_NoteButtonTemplate2" virtual="true" hidden="false">
261 <Size>
262 <AbsDimension x="16" y="16"/>
263 </Size>
264 <Anchors>
265 <Anchor point="RIGHT" relativePoint="LEFT">
266 <Offset>
267 <AbsDimension x="295" y="-2"/>
268 </Offset>
269 </Anchor>
270 </Anchors>
271 <Frames>
272 <Frame name="$parentFrame" setAllPoints="true">
273 <Layers>
274 <Layer level="ARTWORK">
275 <Texture name="$parentHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
276 <Size>
277 <AbsDimension x="18" y="18"/>
278 </Size>
279 <Anchors>
280 <Anchor point="RIGHT">
281 <Offset>
282 <AbsDimension x="2" y="-2"/>
283 </Offset>
284 </Anchor>
285 </Anchors>
286 </Texture>
287 <Texture name="$parentAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
288 <Size>
289 <AbsDimension x="18" y="18"/>
290 </Size>
291 <Anchors>
292 <Anchor point="RIGHT">
293 <Offset>
294 <AbsDimension x="2" y="-2"/>
295 </Offset>
296 </Anchor>
297 </Anchors>
298 </Texture>
299 <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled" hidden="true">
300 <Size>
301 <AbsDimension x="12" y="12"/>
302 </Size>
303 <Anchors>
304 <Anchor point="RIGHT">
305 <Offset>
306 <AbsDimension x="-2" y="0"/>
307 </Offset>
308 </Anchor>
309 </Anchors>
310 </Texture>
311 </Layer>
312 </Layers>
313 </Frame>
314 </Frames>
315 <Scripts>
316 <OnClick>
317 NuN_NoteButton_OnInteract(this:GetID(), "Click");
318 </OnClick>
319 <OnEnter>
320 NuN_Tooltip:SetOwner(this, "ANCHOR_RIGHT");
321 NuN_NoteButton_OnInteract(this:GetID(), "MouseOver");
322 </OnEnter>
323 <OnLeave>
324 NuN_TTButton_OnLeave();
325 </OnLeave>
326 </Scripts>
327 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
328 </Button>
329  
330 <Button name="NuN_NoteButtonTemplate3" virtual="true" hidden="false">
331 <Size>
332 <AbsDimension x="16" y="16"/>
333 </Size>
334 <Anchors>
335 <Anchor point="RIGHT" relativePoint="LEFT">
336 <Offset>
337 <AbsDimension x="305" y="-2"/>
338 </Offset>
339 </Anchor>
340 </Anchors>
341 <Frames>
342 <Frame name="$parentFrame" setAllPoints="true">
343 <Layers>
344 <Layer level="ARTWORK">
345 <Texture name="$parentHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
346 <Size>
347 <AbsDimension x="18" y="18"/>
348 </Size>
349 <Anchors>
350 <Anchor point="RIGHT">
351 <Offset>
352 <AbsDimension x="2" y="-2"/>
353 </Offset>
354 </Anchor>
355 </Anchors>
356 </Texture>
357 <Texture name="$parentAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
358 <Size>
359 <AbsDimension x="18" y="18"/>
360 </Size>
361 <Anchors>
362 <Anchor point="RIGHT">
363 <Offset>
364 <AbsDimension x="2" y="-2"/>
365 </Offset>
366 </Anchor>
367 </Anchors>
368 </Texture>
369 <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled" hidden="true">
370 <Size>
371 <AbsDimension x="12" y="12"/>
372 </Size>
373 <Anchors>
374 <Anchor point="RIGHT">
375 <Offset>
376 <AbsDimension x="-2" y="0"/>
377 </Offset>
378 </Anchor>
379 </Anchors>
380 </Texture>
381 </Layer>
382 </Layers>
383 </Frame>
384 </Frames>
385 <Scripts>
386 <OnClick>
387 NuN_NoteButton_OnInteract(this:GetID(), "Click");
388 </OnClick>
389 <OnEnter>
390 NuN_Tooltip:SetOwner(this, "ANCHOR_RIGHT");
391 NuN_NoteButton_OnInteract(this:GetID(), "MouseOver");
392 </OnEnter>
393 <OnLeave>
394 NuN_TTButton_OnLeave();
395 </OnLeave>
396 </Scripts>
397 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
398 </Button>
399  
400 <Button name="NuN_NoteButtonTemplate4" virtual="true" hidden="false">
401 <Size>
402 <AbsDimension x="16" y="16"/>
403 </Size>
404 <Anchors>
405 <Anchor point="RIGHT" relativePoint="LEFT">
406 <Offset>
407 <AbsDimension x="228" y="-1"/>
408 </Offset>
409 </Anchor>
410 </Anchors>
411 <Frames>
412 <Frame name="$parentFrame" setAllPoints="true">
413 <Layers>
414 <Layer level="ARTWORK">
415 <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled" hidden="true">
416 <Size>
417 <AbsDimension x="12" y="12"/>
418 </Size>
419 <Anchors>
420 <Anchor point="RIGHT">
421 <Offset>
422 <AbsDimension x="-2" y="0"/>
423 </Offset>
424 </Anchor>
425 </Anchors>
426 </Texture>
427 <Texture name="$parentQFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Up" hidden="true">
428 <Size>
429 <AbsDimension x="12" y="12"/>
430 </Size>
431 <Anchors>
432 <Anchor point="RIGHT">
433 <Offset>
434 <AbsDimension x="-2" y="0"/>
435 </Offset>
436 </Anchor>
437 </Anchors>
438 </Texture>
439 </Layer>
440 </Layers>
441 </Frame>
442 </Frames>
443 <Scripts>
444 <OnClick>
445 NuN_NoteButton_OnInteract(this:GetID(), "Click");
446 </OnClick>
447 <OnEnter>
448 NuN_Tooltip:SetOwner(this, "ANCHOR_RIGHT");
449 NuN_NoteButton_OnInteract(this:GetID(), "MouseOver");
450 </OnEnter>
451 <OnLeave>
452 NuN_TTButton_OnLeave();
453 </OnLeave>
454 </Scripts>
455 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
456 </Button>
457  
458 <Button name="NuNPopupButtonTemplate" virtual="true" hidden="true">
459 <Size>
460 <AbsDimension x="64" y="12"/>
461 </Size>
462 <Scripts>
463 <OnLoad>
464 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
465 </OnLoad>
466 <OnClick>
467 NuNPopup_OnClick(arg1, this:GetText());
468 </OnClick>
469 <OnEnter>
470 NuN_MapTooltipShow(this.note, "NuNPopup", NuNPopup.point, NuNPopup.relativePoint);
471 </OnEnter>
472 <OnLeave>
473 NuN_MapTooltip:Hide();
474 </OnLeave>
475 </Scripts>
476 <NormalText inherits="GameFontNormal"/>
477 <HighlightText inherits="GameFontHighlight"/>
478 <DisabledText inherits="GameFontDisable"/>
479 </Button>
480  
481 <!-- Main NuN Frame for displaying and editing note details -->
482 <!-- f1 -->
483 <Frame name="NuNFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
484 <TitleRegion setAllPoints="true"/>
485 <Size>
486 <AbsDimension x="640" y="512"/>
487 </Size>
488 <Anchors>
489 <Anchor point="CENTER">
490 <Offset>
491 <AbsDimension x="220" y="15"/>
492 </Offset>
493 </Anchor>
494 </Anchors>
495 <HitRectInsets>
496 <AbsInset left="0" right="44" top="0" bottom="13"/>
497 </HitRectInsets>
498 <Layers>
499 <Layer level="BACKGROUND">
500 <Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
501 <Size>
502 <AbsDimension x="256" y="256"/>
503 </Size>
504 <Anchors>
505 <Anchor point="TOPLEFT"/>
506 </Anchors>
507 </Texture>
508 <Texture file="Interface\HelpFrame\HelpFrame-Top">
509 <Size>
510 <AbsDimension x="256" y="256"/>
511 </Size>
512 <Anchors>
513 <Anchor point="TOPLEFT">
514 <Offset>
515 <AbsDimension x="256" y="0"/>
516 </Offset>
517 </Anchor>
518 </Anchors>
519 </Texture>
520 <Texture file="Interface\HelpFrame\HelpFrame-TopRight">
521 <Size>
522 <AbsDimension x="128" y="256"/>
523 </Size>
524 <Anchors>
525 <Anchor point="TOPRIGHT"/>
526 </Anchors>
527 </Texture>
528 <Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
529 <Size>
530 <AbsDimension x="256" y="256"/>
531 </Size>
532 <Anchors>
533 <Anchor point="BOTTOMLEFT"/>
534 </Anchors>
535 </Texture>
536 <Texture file="Interface\HelpFrame\HelpFrame-Bottom">
537 <Size>
538 <AbsDimension x="256" y="256"/>
539 </Size>
540 <Anchors>
541 <Anchor point="BOTTOMLEFT">
542 <Offset>
543 <AbsDimension x="256" y="0"/>
544 </Offset>
545 </Anchor>
546 </Anchors>
547 </Texture>
548 <Texture file="Interface\HelpFrame\HelpFrame-BotRight">
549 <Size>
550 <AbsDimension x="128" y="256"/>
551 </Size>
552 <Anchors>
553 <Anchor point="BOTTOMRIGHT"/>
554 </Anchors>
555 </Texture>
556 <FontString name="NuNCTTCheckBoxLabel" inherits="GameFontNormalSmall" text="NUN_TT_PIN_TXT">
557 <Anchors>
558 <Anchor point="TOPLEFT">
559 <Offset>
560 <AbsDimension x="48" y="-14"/>
561 </Offset>
562 </Anchor>
563 </Anchors>
564 </FontString>
565 <FontString name="NuNPartiedLabel" inherits="GameFontNormalSmall" text="NUN_PARTIED_WITH">
566 <Anchors>
567 <Anchor point="TOP">
568 <Offset>
569 <AbsDimension x="-80" y="-26"/>
570 </Offset>
571 </Anchor>
572 </Anchors>
573 </FontString>
574 <FontString name="NuNPartiedNumberLabel" inherits="GameFontNormalSmall">
575 <Anchors>
576 <Anchor point="TOP" relativeTo="NuNPartiedLabel" relativePoint="BOTTOM">
577 <Offset>
578 <AbsDimension x="0" y="-1"/>
579 </Offset>
580 </Anchor>
581 </Anchors>
582 </FontString>
583 </Layer>
584 <Layer level="ARTWORK">
585 <Texture name="NuNFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
586 <Size>
587 <AbsDimension x="436" y="64"/>
588 </Size>
589 <Anchors>
590 <Anchor point="TOP">
591 <Offset>
592 <AbsDimension x="-12" y="12"/>
593 </Offset>
594 </Anchor>
595 </Anchors>
596 </Texture>
597 <FontString name="NuNHeader" inherits="GameFontNormal" text="NUN_EDIT_NOTE">
598 <Anchors>
599 <Anchor point="TOP" relativeTo="NuNFrameHeader">
600 <Offset>
601 <AbsDimension x="0" y="-14"/>
602 </Offset>
603 </Anchor>
604 </Anchors>
605 </FontString>
606 <Texture name="NuNHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
607 <Size>
608 <AbsDimension x="32" y="32"/>
609 </Size>
610 <Anchors>
611 <Anchor point="TOPLEFT">
612 <Offset>
613 <AbsDimension x="-5" y="5"/>
614 </Offset>
615 </Anchor>
616 </Anchors>
617 </Texture>
618 <Texture name="NuNAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
619 <Size>
620 <AbsDimension x="32" y="32"/>
621 </Size>
622 <Anchors>
623 <Anchor point="TOPLEFT">
624 <Offset>
625 <AbsDimension x="-5" y="5"/>
626 </Offset>
627 </Anchor>
628 </Anchors>
629 </Texture>
630 </Layer>
631 </Layers>
632  
633 <!-- f1fs1 -->
634 <Frames>
635 <!-- Window Close -->
636 <Button name="NuNFrameCloseButton" inherits="UIPanelCloseButton">
637 <Anchors>
638 <Anchor point="TOPRIGHT">
639 <Offset>
640 <AbsDimension x="-42" y="-3"/>
641 </Offset>
642 </Anchor>
643 </Anchors>
644 </Button>
645 <Button name="NuNFrameScaleButton" inherits="UIPanelButtonTemplate2">
646 <Size>
647 <AbsDimension x="24" y="24"/>
648 </Size>
649 <Anchors>
650 <Anchor point="RIGHT" relativeTo="NuNFrameCloseButton" relativePoint="LEFT">
651 <Offset>
652 <AbsDimension x="4" y="0"/>
653 </Offset>
654 </Anchor>
655 </Anchors>
656 <Layers>
657 <Layer level="ARTWORK">
658 <Texture name="NuNFrameScaleIcon" file="Interface\AddOns\NotesUNeed\Artwork\NuNScale">
659 <Size>
660 <AbsDimension x="16" y="16"/>
661 </Size>
662 <Anchors>
663 <Anchor point="CENTER"/>
664 </Anchors>
665 </Texture>
666 </Layer>
667 </Layers>
668 <Scripts>
669 <OnClick>
670 NuNScaleFrameShow();
671 </OnClick>
672 <OnEnter>
673 NuNScaleFrameButton_OnEnter();
674 </OnEnter>
675 <OnLeave>
676 NuN_TTButton_OnLeave();
677 </OnLeave>
678 </Scripts>
679 </Button>
680 <Button name="NuNFramePartyDownButton" inherits="UIPanelButtonTemplate2" text="-" hidden="true">
681 <Size>
682 <AbsDimension x="24" y="24"/>
683 </Size>
684 <Anchors>
685 <Anchor point="LEFT" relativeTo="NuNPartiedLabel" relativePoint="RIGHT">
686 <Offset>
687 <AbsDimension x="2" y="-8"/>
688 </Offset>
689 </Anchor>
690 </Anchors>
691 <Scripts>
692 <OnClick>
693 NuN_PartyDownButton_OnClick();
694 </OnClick>
695 <OnEnter>
696 NuN_PartyDownButton_OnEnter();
697 </OnEnter>
698 <OnLeave>
699 NuN_TTButton_OnLeave();
700 </OnLeave>
701 </Scripts>
702 </Button>
703 <!-- f1fs1f2 -->
704 <CheckButton name="NuN_CTTCheckBox" inherits="UICheckButtonTemplate">
705 <Size>
706 <AbsDimension x="18" y="18"/>
707 </Size>
708 <Anchors>
709 <Anchor point="TOPLEFT">
710 <Offset>
711 <AbsDimension x="26" y="-12" />
712 </Offset>
713 </Anchor>
714 </Anchors>
715 <HitRectInsets>
716 <AbsInset left="0" right="-60" top="-10" bottom="0"/>
717 </HitRectInsets>
718 <Scripts>
719 <OnClick>
720 if ( this:GetChecked() ) then
721 PlaySound("igMainMenuOptionCheckBoxOff");
722 else
723 PlaySound("igMainMenuOptionCheckBoxOn");
724 end
725 NuN_TTCheckBox_OnClick("Contact");
726 </OnClick>
727 <OnEnter>
728 NuN_TTCheckBox_OnEnter();
729 </OnEnter>
730 <OnLeave>
731 NuN_TTButton_OnLeave();
732 </OnLeave>
733 </Scripts>
734 </CheckButton>
735 <Frame name="NuNInnerFrame" setAllPoints="true">
736 <!-- f1fs1f2fs2 -->
737 <Frames>
738 <!-- User definable Buttons -->
739 <Button name="NuNTitleButton1" inherits="NuNDetailTitleButtonTemplate">
740 <Anchors>
741 <Anchor point="TOPLEFT">
742 <Offset>
743 <AbsDimension x="20" y="-55"/>
744 </Offset>
745 </Anchor>
746 </Anchors>
747 </Button>
748 <Button name="NuNInforButton1" inherits="NuNDetailInforButtonTemplate">
749 <Anchors>
750 <Anchor point="TOPLEFT" relativeTo="NuNTitleButton1" relativePoint="BOTTOMLEFT">
751 <Offset>
752 <AbsDimension x="0" y="-1"/>
753 </Offset>
754 </Anchor>
755 </Anchors>
756 </Button>
757 <Button name="NuNTitleButton2" inherits="NuNDetailTitleButtonTemplate">
758 <Anchors>
759 <Anchor point="TOPLEFT" relativeTo="NuNInforButton1" relativePoint="BOTTOMLEFT">
760 <Offset>
761 <AbsDimension x="0" y="-2"/>
762 </Offset>
763 </Anchor>
764 </Anchors>
765 </Button>
766 <Button name="NuNInforButton2" inherits="NuNDetailInforButtonTemplate">
767 <Anchors>
768 <Anchor point="TOPLEFT" relativeTo="NuNTitleButton2" relativePoint="BOTTOMLEFT">
769 <Offset>
770 <AbsDimension x="0" y="-1"/>
771 </Offset>
772 </Anchor>
773 </Anchors>
774 </Button>
775 <Button name="NuNTitleButton3" inherits="NuNDetailTitleButtonTemplate">
776 <Anchors>
777 <Anchor point="TOPLEFT" relativeTo="NuNInforButton2" relativePoint="BOTTOMLEFT">
778 <Offset>
779 <AbsDimension x="0" y="-2"/>
780 </Offset>
781 </Anchor>
782 </Anchors>
783 </Button>
784 <Button name="NuNInforButton3" inherits="NuNDetailInforButtonTemplate">
785 <Anchors>
786 <Anchor point="TOPLEFT" relativeTo="NuNTitleButton3" relativePoint="BOTTOMLEFT">
787 <Offset>
788 <AbsDimension x="0" y="-1"/>
789 </Offset>
790 </Anchor>
791 </Anchors>
792 </Button>
793 <Button name="NuNTitleButton4" inherits="NuNDetailTitleButtonTemplate">
794 <Anchors>
795 <Anchor point="TOPLEFT" relativeTo="NuNInforButton3" relativePoint="BOTTOMLEFT">
796 <Offset>
797 <AbsDimension x="0" y="-2"/>
798 </Offset>
799 </Anchor>
800 </Anchors>
801 </Button>
802 <Button name="NuNInforButton4" inherits="NuNDetailInforButtonTemplate">
803 <Anchors>
804 <Anchor point="TOPLEFT" relativeTo="NuNTitleButton4" relativePoint="BOTTOMLEFT">
805 <Offset>
806 <AbsDimension x="0" y="-1"/>
807 </Offset>
808 </Anchor>
809 </Anchors>
810 </Button>
811 <Button name="NuNTitleButton5" inherits="NuNDetailTitleButtonTemplate">
812 <Anchors>
813 <Anchor point="TOPLEFT" relativeTo="NuNInforButton4" relativePoint="BOTTOMLEFT">
814 <Offset>
815 <AbsDimension x="0" y="-2"/>
816 </Offset>
817 </Anchor>
818 </Anchors>
819 </Button>
820 <Button name="NuNInforButton5" inherits="NuNDetailInforButtonTemplate">
821 <Anchors>
822 <Anchor point="TOPLEFT" relativeTo="NuNTitleButton5" relativePoint="BOTTOMLEFT">
823 <Offset>
824 <AbsDimension x="0" y="-1"/>
825 </Offset>
826 </Anchor>
827 </Anchors>
828 </Button>
829 <!-- f1fs1f2fs2f3 -->
830 <Frame name="NuNDivider" inherits="HelpFrameDividerTemplate">
831 <Anchors>
832 <Anchor point="TOPLEFT">
833 <Offset>
834 <AbsDimension x="12" y="-196"/>
835 </Offset>
836 </Anchor>
837 </Anchors>
838 </Frame>
839 <!-- f1fs1f2fs2/f3 -->
840 <ScrollFrame name="NuNScrollFrame" inherits="UIPanelScrollFrameTemplate">
841 <Size>
842 <AbsDimension x="540" y="255"/>
843 </Size>
844 <Anchors>
845 <Anchor point="TOPLEFT" relativeTo="NuNDivider" relativePoint="BOTTOMLEFT">
846 <Offset>
847 <AbsDimension x="8" y="4"/>
848 </Offset>
849 </Anchor>
850 </Anchors>
851 <Layers>
852 <Layer level="ARTWORK">
853 <Texture name="NuNScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
854 <Size>
855 <AbsDimension x="31" y="156"/>
856 </Size>
857 <Anchors>
858 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
859 <Offset>
860 <AbsDimension x="0" y="5"/>
861 </Offset>
862 </Anchor>
863 </Anchors>
864 <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
865 </Texture>
866 <Texture name="NuNScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
867 <Size>
868 <AbsDimension x="31" y="106"/>
869 </Size>
870 <Anchors>
871 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
872 <Offset>
873 <AbsDimension x="0" y="-2"/>
874 </Offset>
875 </Anchor>
876 </Anchors>
877 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
878 </Texture>
879 <Texture name="NuNScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
880 <Size>
881 <AbsDimension x="31" y="60"/>
882 </Size>
883 <Anchors>
884 <Anchor point="TOP" relativeTo="NuNScrollBarTop" relativePoint="BOTTOM">
885 <Offset>
886 <AbsDimension x="0" y="0"/>
887 </Offset>
888 </Anchor>
889 <Anchor point="BOTTOM" relativeTo="NuNScrollBarBottom" relativePoint="TOP">
890 <Offset>
891 <AbsDimension x="0" y="0"/>
892 </Offset>
893 </Anchor>
894 </Anchors>
895 <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
896 </Texture>
897 <FontString name="NuNTextLabel" inherits="GameFontNormalSmall" text="NUN_TXT_LABEL">
898 <Anchors>
899 <Anchor point="RIGHT" relativeTo="NuNScrollBarBottom" relativePoint="BOTTOMLEFT">
900 <Offset>
901 <AbsDimension x="-18" y="2"/>
902 </Offset>
903 </Anchor>
904 </Anchors>
905 </FontString>
906 </Layer>
907 </Layers>
908 <ScrollChild>
909 <EditBox name="NuNText" autofocus="false" multiLine="true" letters="5060" text="NUN_BOILERPLATE">
910 <Size>
911 <AbsDimension x="541" y="234"/>
912 </Size>
913 <Scripts>
914 <OnTextChanged>
915 ScrollingEdit_OnTextChanged();
916 NuN_TextWarning(this, "NuNTextLabel");
917 </OnTextChanged>
918 <OnCursorChanged>
919 ScrollingEdit_OnCursorChanged(arg1, arg2, arg3, arg4);
920 </OnCursorChanged>
921 <OnUpdate>
922 ScrollingEdit_OnUpdate();
923 </OnUpdate>
924 <OnEscapePressed>
925 NuN_TextEscape(NuNFrame, NuNText);
926 </OnEscapePressed>
927 </Scripts>
928 <FontString inherits="ChatFontNormal"/>
929 </EditBox>
930 </ScrollChild>
931 </ScrollFrame>
932 <!-- Buttons for Saving and Cancelling -->
933 <Button name="NuNButtonSaveNote" inherits="NuNButtonTemplate" text="NUN_SAVE" enabled="false">
934 <Anchors>
935 <Anchor point="CENTER" relativePoint="BOTTOMRIGHT">
936 <Offset>
937 <AbsDimension x="-198" y="32"/>
938 </Offset>
939 </Anchor>
940 </Anchors>
941 <Scripts>
942 <OnClick>
943 PlaySound("igMainMenuOption");
944 NuN_WriteNote();
945 </OnClick>
946 </Scripts>
947 </Button>
948 <Button name="NuNButtonCancel" inherits="NuNButtonTemplate" text="NUN_CANCEL">
949 <Anchors>
950 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNButtonSaveNote">
951 <Offset>
952 <AbsDimension x="6" y="0"/>
953 </Offset>
954 </Anchor>
955 </Anchors>
956 <Scripts>
957 <OnClick>
958 PlaySound("igMainMenuOption");
959 NuN_HideFrame();
960 </OnClick>
961 </Scripts>
962 </Button>
963 <Button name="NuNButtonDelete" inherits="NuNButtonTemplate" text="NUN_DELETE">
964 <Anchors>
965 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNButtonSaveNote">
966 <Offset>
967 <AbsDimension x="-6" y="0"/>
968 </Offset>
969 </Anchor>
970 </Anchors>
971 <Scripts>
972 <OnClick>
973 PlaySound("igMainMenuOption");
974 NuN_DeleteNote("Contact");
975 </OnClick>
976 </Scripts>
977 </Button>
978 <Button name="NuNButtonOptions" inherits="NuNButtonTemplate" text="NUN_OPTIONS">
979 <Anchors>
980 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNButtonDelete">
981 <Offset>
982 <AbsDimension x="-6" y="0"/>
983 </Offset>
984 </Anchor>
985 </Anchors>
986 <Scripts>
987 <OnClick>
988 PlaySound("igMainMenuOption");
989 NuN_Options();
990 </OnClick>
991 </Scripts>
992 </Button>
993  
994 <Button name="NuNButtonTarget" inherits="NuNButtonTemplate" text="NUN_TARGET" enabled="false">
995 <Anchors>
996 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
997 <Offset>
998 <AbsDimension x="64" y="32"/>
999 </Offset>
1000 </Anchor>
1001 </Anchors>
1002 <Scripts>
1003 <OnClick>
1004 PlaySound("igMainMenuOption");
1005 NuN_Target();
1006 </OnClick>
1007 <OnEnter>
1008 NuN_TargetButton_OnEnter();
1009 </OnEnter>
1010 <OnLeave>
1011 NuN_TTButton_OnLeave();
1012 </OnLeave>
1013 </Scripts>
1014 </Button>
1015 <Button name="NuNButtonWho" inherits="NuNButtonTemplate" text="NUN_WHO">
1016 <Anchors>
1017 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNButtonTarget">
1018 <Offset>
1019 <AbsDimension x="6" y="0"/>
1020 </Offset>
1021 </Anchor>
1022 </Anchors>
1023 <Scripts>
1024 <OnClick>
1025 PlaySound("igMainMenuOption");
1026 NuN_Who();
1027 </OnClick>
1028 <OnEnter>
1029 NuN_WhoButton_OnEnter();
1030 </OnEnter>
1031 <OnLeave>
1032 NuN_TTButton_OnLeave();
1033 </OnLeave>
1034 </Scripts>
1035 </Button>
1036 <Button name="NuNButtonDateStamp" inherits="NuNButtonTemplate" text="NUN_STAMP">
1037 <Anchors>
1038 <Anchor point="TOPLEFT">
1039 <Offset>
1040 <AbsDimension x="19" y="-28"/>
1041 </Offset>
1042 </Anchor>
1043 </Anchors>
1044 <Scripts>
1045 <OnClick>
1046 PlaySound("igMainMenuOption");
1047 NuN_DateStamp();
1048 </OnClick>
1049 </Scripts>
1050 </Button>
1051 <Button name="NuNButtonLoc" inherits="NuNButtonTemplate" text="NUN_LOC">
1052 <Anchors>
1053 <Anchor point="LEFT" relativeTo="NuNButtonDateStamp" relativePoint="RIGHT">
1054 <Offset>
1055 <AbsDimension x="6" y="0"/>
1056 </Offset>
1057 </Anchor>
1058 </Anchors>
1059 <Scripts>
1060 <OnClick>
1061 PlaySound("igMainMenuOption");
1062 NuN_Loc();
1063 </OnClick>
1064 <OnEnter>
1065 NuN_LocButton_OnEnter();
1066 </OnEnter>
1067 <OnLeave>
1068 NuN_TTButton_OnLeave();
1069 </OnLeave>
1070 </Scripts>
1071 </Button>
1072 <Button name="NuNCOpenChatButton" inherits="UIPanelButtonTemplate2">
1073 <Size>
1074 <AbsDimension x="24" y="24"/>
1075 </Size>
1076 <Anchors>
1077 <Anchor point="TOPRIGHT">
1078 <Offset>
1079 <AbsDimension x="-68" y="-28"/>
1080 </Offset>
1081 </Anchor>
1082 </Anchors>
1083 <Scripts>
1084 <OnClick>
1085 NuN_OpenChat("Contact");
1086 </OnClick>
1087 <OnEnter>
1088 NuN_OpenChat_OnEnter();
1089 </OnEnter>
1090 <OnLeave>
1091 NuN_TTButton_OnLeave();
1092 </OnLeave>
1093 </Scripts>
1094 <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Up"/>
1095 <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Down"/>
1096 <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Disabled"/>
1097 <HighlightTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Highlight" alphaMode="ADD"/>
1098 </Button>
1099  
1100 <Button name="NuNFrameHyperButton" inherits="UIPanelButtonTemplate2" text="[]">
1101 <Size>
1102 <AbsDimension x="24" y="24"/>
1103 </Size>
1104 <Anchors>
1105 <Anchor point="LEFT" relativeTo="NuNCOpenChatButton" relativePoint="RIGHT">
1106 <Offset>
1107 <AbsDimension x="-2" y="0"/>
1108 </Offset>
1109 </Anchor>
1110 </Anchors>
1111 <Scripts>
1112 <OnClick>
1113 NuN_HyperButton_OnClick("Contact");
1114 </OnClick>
1115 <OnEnter>
1116 NuN_HyperButton_OnEnter();
1117 </OnEnter>
1118 <OnLeave>
1119 NuN_TTButton_OnLeave();
1120 </OnLeave>
1121 </Scripts>
1122 </Button>
1123  
1124 <Button name="NuNButtonClrDD" inherits="NuNButtonTemplate" text="NUN_CLRDD">
1125 <Size>
1126 <AbsDimension x="122" y="21"/>
1127 </Size>
1128 <Anchors>
1129 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNCOpenChatButton">
1130 <Offset>
1131 <AbsDimension x="-5" y="0"/>
1132 </Offset>
1133 </Anchor>
1134 </Anchors>
1135 <Scripts>
1136 <OnClick>
1137 PlaySound("igMainMenuOption");
1138 NuN_ClrDD();
1139 </OnClick>
1140 <OnEnter>
1141 NuN_ClearDD_OnEnter();
1142 </OnEnter>
1143 <OnLeave>
1144 NuN_TTButton_OnLeave();
1145 </OnLeave>
1146 </Scripts>
1147 </Button>
1148 <!-- f1fs1f2/fs2 -->
1149 </Frames>
1150 <!-- f1fs1/f2 -->
1151 </Frame>
1152 <!-- Drop Down Menus Frame -->
1153 <!-- f1fs1f2 -->
1154 <Frame name="NuNDropDownFrame" parent="NuNInnerFrame" enableMouse="true">
1155 <Size>
1156 <AbsDimension x="420" y="157"/>
1157 </Size>
1158 <Anchors>
1159 <Anchor point="TOPRIGHT" relativeTo="NuNInnerFrame" relativePoint="TOPRIGHT">
1160 <Offset>
1161 <AbsDimension x="-48" y="-48"/>
1162 </Offset>
1163 </Anchor>
1164 </Anchors>
1165  
1166 <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
1167 <BackgroundInsets>
1168 <AbsInset left="11" right="12" top="12" bottom="11"/>
1169 </BackgroundInsets>
1170 <TileSize>
1171 <AbsValue val="32"/>
1172 </TileSize>
1173 <EdgeSize>
1174 <AbsValue val="32"/>
1175 </EdgeSize>
1176 </Backdrop>
1177 <!-- f1fs1f2fs2 -->
1178 <Frames>
1179 <!-- f1fs1f2fs2f3 -->
1180 <Frame name="NuNARaceDropDown" inherits="UIDropDownMenuTemplate">
1181 <Anchors>
1182 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="NuNInnerFrame">
1183 <Offset>
1184 <AbsDimension x="174" y="-74"/>
1185 </Offset>
1186 </Anchor>
1187 </Anchors>
1188 <Layers>
1189 <Layer level="OVERLAY">
1190 <FontString inherits="GameFontNormalSmall" text="NUN_RACE">
1191 <Anchors>
1192 <Anchor point="TOPLEFT">
1193 <Offset>
1194 <AbsDimension x="20" y="10"/>
1195 </Offset>
1196 </Anchor>
1197 </Anchors>
1198 </FontString>
1199 </Layer>
1200 </Layers>
1201 <Scripts>
1202 <OnLoad>
1203 NuNARaceDropDown_OnLoad();
1204 </OnLoad>
1205 </Scripts>
1206 </Frame>
1207 <Frame name="NuNHRaceDropDown" inherits="UIDropDownMenuTemplate">
1208 <Anchors>
1209 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="NuNInnerFrame">
1210 <Offset>
1211 <AbsDimension x="174" y="-74"/>
1212 </Offset>
1213 </Anchor>
1214 </Anchors>
1215 <Layers>
1216 <Layer level="OVERLAY">
1217 <FontString inherits="GameFontNormalSmall" text="NUN_RACE">
1218 <Anchors>
1219 <Anchor point="TOPLEFT">
1220 <Offset>
1221 <AbsDimension x="20" y="10"/>
1222 </Offset>
1223 </Anchor>
1224 </Anchors>
1225 </FontString>
1226 </Layer>
1227 </Layers>
1228 <Scripts>
1229 <OnLoad>
1230 NuNHRaceDropDown_OnLoad();
1231 </OnLoad>
1232 </Scripts>
1233 </Frame>
1234 <!-- f1fs1f2fs2/f3 -->
1235 <!-- f1fs1f2fs2f3 -->
1236 <Frame name="NuNAClassDropDown" inherits="UIDropDownMenuTemplate">
1237 <Anchors>
1238 <Anchor point="LEFT" relativeTo="NuNARaceDropDown" relativePoint="RIGHT">
1239 <Offset>
1240 <AbsDimension x="20" y="0"/>
1241 </Offset>
1242 </Anchor>
1243 </Anchors>
1244 <Layers>
1245 <Layer level="OVERLAY">
1246 <FontString inherits="GameFontNormalSmall" text="NUN_CLASS">
1247 <Anchors>
1248 <Anchor point="TOPLEFT">
1249 <Offset>
1250 <AbsDimension x="20" y="10"/>
1251 </Offset>
1252 </Anchor>
1253 </Anchors>
1254 </FontString>
1255 </Layer>
1256 </Layers>
1257 <Scripts>
1258 <OnLoad>
1259 NuNAClassDropDown_OnLoad();
1260 </OnLoad>
1261 <OnEvent>
1262  
1263 </OnEvent>
1264 </Scripts>
1265 </Frame>
1266 <Frame name="NuNHClassDropDown" inherits="UIDropDownMenuTemplate">
1267 <Anchors>
1268 <Anchor point="LEFT" relativeTo="NuNHRaceDropDown" relativePoint="RIGHT">
1269 <Offset>
1270 <AbsDimension x="20" y="0"/>
1271 </Offset>
1272 </Anchor>
1273 </Anchors>
1274 <Layers>
1275 <Layer level="OVERLAY">
1276 <FontString inherits="GameFontNormalSmall" text="NUN_CLASS">
1277 <Anchors>
1278 <Anchor point="TOPLEFT">
1279 <Offset>
1280 <AbsDimension x="20" y="10"/>
1281 </Offset>
1282 </Anchor>
1283 </Anchors>
1284 </FontString>
1285 </Layer>
1286 </Layers>
1287 <Scripts>
1288 <OnLoad>
1289 NuNHClassDropDown_OnLoad();
1290 </OnLoad>
1291 <OnEvent>
1292  
1293 </OnEvent>
1294 </Scripts>
1295 </Frame>
1296 <!-- f1fs1f2fs2/f3 -->
1297 <!-- f1fs1f2fs2f3 -->
1298 <Frame name="NuNSexDropDown" inherits="UIDropDownMenuTemplate">
1299 <Anchors>
1300 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNAClassDropDown">
1301 <Offset>
1302 <AbsDimension x="20" y="0"/>
1303 </Offset>
1304 </Anchor>
1305 </Anchors>
1306 <Layers>
1307 <Layer level="OVERLAY">
1308 <FontString inherits="GameFontNormalSmall" text="NUN_SEX">
1309 <Anchors>
1310 <Anchor point="TOPLEFT">
1311 <Offset>
1312 <AbsDimension x="20" y="10"/>
1313 </Offset>
1314 </Anchor>
1315 </Anchors>
1316 </FontString>
1317 </Layer>
1318 </Layers>
1319 <Scripts>
1320 <OnLoad>
1321 NuNSexDropDown_OnLoad();
1322 </OnLoad>
1323 </Scripts>
1324 </Frame>
1325 <!-- f1fs1f2fs2/f3 -->
1326 <!-- f1fs1f2fs2f3 -->
1327 <Frame name="NuNProf1DropDown" inherits="UIDropDownMenuTemplate">
1328 <Anchors>
1329 <Anchor point="TOPLEFT" relativeTo="NuNARaceDropDown" relativePoint="BOTTOMLEFT">
1330 <Offset>
1331 <AbsDimension x="0" y="-10"/>
1332 </Offset>
1333 </Anchor>
1334 </Anchors>
1335 <Layers>
1336 <Layer level="OVERLAY">
1337 <FontString inherits="GameFontNormalSmall" text="NUN_PROF1">
1338 <Anchors>
1339 <Anchor point="TOPLEFT">
1340 <Offset>
1341 <AbsDimension x="20" y="10"/>
1342 </Offset>
1343 </Anchor>
1344 </Anchors>
1345 </FontString>
1346 </Layer>
1347 </Layers>
1348 <Scripts>
1349 <OnLoad>
1350 NuNProf1DropDown_OnLoad();
1351 </OnLoad>
1352 </Scripts>
1353 </Frame>
1354 <!-- f1fs1f2fs2/f3 -->
1355 <!-- f1fs1f2fs2f3 -->
1356 <Frame name="NuNProf2DropDown" inherits="UIDropDownMenuTemplate">
1357 <Anchors>
1358 <Anchor point="TOP" relativeTo="NuNProf1DropDown" relativePoint="BOTTOM">
1359 <Offset>
1360 <AbsDimension x="0" y="-11"/>
1361 </Offset>
1362 </Anchor>
1363 </Anchors>
1364 <Layers>
1365 <Layer level="OVERLAY">
1366 <FontString inherits="GameFontNormalSmall" text="NUN_PROF2">
1367 <Anchors>
1368 <Anchor point="TOPLEFT">
1369 <Offset>
1370 <AbsDimension x="20" y="10"/>
1371 </Offset>
1372 </Anchor>
1373 </Anchors>
1374 </FontString>
1375 </Layer>
1376 </Layers>
1377 <Scripts>
1378 <OnLoad>
1379 NuNProf2DropDown_OnLoad();
1380 </OnLoad>
1381 </Scripts>
1382 </Frame>
1383 <!-- f1fs1f2fs2/f3 -->
1384 <!-- f1fs1f2fs2f3 -->
1385 <Frame name="NuNACRankDropDown" inherits="UIDropDownMenuTemplate">
1386 <Anchors>
1387 <Anchor point="LEFT" relativeTo="NuNProf1DropDown" relativePoint="RIGHT">
1388 <Offset>
1389 <AbsDimension x="-20" y="0"/>
1390 </Offset>
1391 </Anchor>
1392 </Anchors>
1393 <Layers>
1394 <Layer level="OVERLAY">
1395 <FontString inherits="GameFontNormalSmall" text="NUN_CURR_RANK">
1396 <Anchors>
1397 <Anchor point="TOPLEFT">
1398 <Offset>
1399 <AbsDimension x="20" y="10"/>
1400 </Offset>
1401 </Anchor>
1402 </Anchors>
1403 </FontString>
1404 </Layer>
1405 </Layers>
1406 <Scripts>
1407 <OnLoad>
1408 NuNACRankDropDown_OnLoad();
1409 </OnLoad>
1410 </Scripts>
1411 </Frame>
1412 <Frame name="NuNHCRankDropDown" inherits="UIDropDownMenuTemplate">
1413 <Anchors>
1414 <Anchor point="LEFT" relativeTo="NuNProf1DropDown" relativePoint="RIGHT">
1415 <Offset>
1416 <AbsDimension x="-20" y="0"/>
1417 </Offset>
1418 </Anchor>
1419 </Anchors>
1420 <Layers>
1421 <Layer level="OVERLAY">
1422 <FontString inherits="GameFontNormalSmall" text="NUN_CURR_RANK">
1423 <Anchors>
1424 <Anchor point="TOPLEFT">
1425 <Offset>
1426 <AbsDimension x="20" y="10"/>
1427 </Offset>
1428 </Anchor>
1429 </Anchors>
1430 </FontString>
1431 </Layer>
1432 </Layers>
1433 <Scripts>
1434 <OnLoad>
1435 NuNHCRankDropDown_OnLoad();
1436 </OnLoad>
1437 </Scripts>
1438 </Frame>
1439 <!-- f1fs1f2fs2/f3 -->
1440 <!-- f1fs1f2fs2f3 -->
1441 <Frame name="NuNAHRankDropDown" inherits="UIDropDownMenuTemplate">
1442 <Anchors>
1443 <Anchor point="LEFT" relativeTo="NuNProf2DropDown" relativePoint="RIGHT">
1444 <Offset>
1445 <AbsDimension x="-20" y="0"/>
1446 </Offset>
1447 </Anchor>
1448 </Anchors>
1449 <Layers>
1450 <Layer level="OVERLAY">
1451 <FontString inherits="GameFontNormalSmall" text="NUN_HIGH_RANK">
1452 <Anchors>
1453 <Anchor point="TOPLEFT">
1454 <Offset>
1455 <AbsDimension x="20" y="10"/>
1456 </Offset>
1457 </Anchor>
1458 </Anchors>
1459 </FontString>
1460 </Layer>
1461 </Layers>
1462 <Scripts>
1463 <OnLoad>
1464 NuNAHRankDropDown_OnLoad();
1465 </OnLoad>
1466 </Scripts>
1467 </Frame>
1468 <Frame name="NuNHHRankDropDown" inherits="UIDropDownMenuTemplate">
1469 <Anchors>
1470 <Anchor point="LEFT" relativeTo="NuNProf2DropDown" relativePoint="RIGHT">
1471 <Offset>
1472 <AbsDimension x="-20" y="0"/>
1473 </Offset>
1474 </Anchor>
1475 </Anchors>
1476 <Layers>
1477 <Layer level="OVERLAY">
1478 <FontString inherits="GameFontNormalSmall" text="NUN_HIGH_RANK">
1479 <Anchors>
1480 <Anchor point="TOPLEFT">
1481 <Offset>
1482 <AbsDimension x="20" y="10"/>
1483 </Offset>
1484 </Anchor>
1485 </Anchors>
1486 </FontString>
1487 </Layer>
1488 </Layers>
1489 <Scripts>
1490 <OnLoad>
1491 NuNHHRankDropDown_OnLoad();
1492 </OnLoad>
1493 </Scripts>
1494 </Frame>
1495 <!-- f1fs1f2fs2/f3 -->
1496 </Frames>
1497 <!-- f1fs1f2/fs2 -->
1498 </Frame>
1499 <!-- f1fs1/f2 -->
1500 <!-- Frame for Detail Entry edit box -->
1501 <!-- f1fs1f2 -->
1502 <Frame name="NuNEditDetailsFrame" toplevel="true" enableMouse="true" movable="true" parent="NuNFrame" hidden="true">
1503 <Size>
1504 <AbsDimension x="400" y="105"/>
1505 </Size>
1506  
1507 <Anchors>
1508 <Anchor point="CENTER">
1509 <Offset>
1510 <AbsDimension x="-5" y="-20"/>
1511 </Offset>
1512 </Anchor>
1513 </Anchors>
1514 <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
1515  
1516 <BackgroundInsets>
1517 <AbsInset left="11" right="12" top="12" bottom="11"/>
1518 </BackgroundInsets>
1519 <TileSize>
1520 <AbsValue val="32"/>
1521 </TileSize>
1522 <EdgeSize>
1523 <AbsValue val="32"/>
1524 </EdgeSize>
1525 </Backdrop>
1526 <Layers>
1527 <Layer level="ARTWORK">
1528 <Texture name="NuNEditDetailsHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
1529 <Size>
1530 <AbsDimension x="256" y="64"/>
1531 </Size>
1532 <Anchors>
1533 <Anchor point="TOP">
1534 <Offset>
1535 <AbsDimension x="0" y="12"/>
1536 </Offset>
1537 </Anchor>
1538 </Anchors>
1539 </Texture>
1540 <FontString inherits="GameFontNormal" text="NUN_EDIT_DETAIL">
1541 <Anchors>
1542 <Anchor point="TOP" relativeTo="NuNEditDetailsHeader">
1543 <Offset>
1544 <AbsDimension x="0" y="-14"/>
1545 </Offset>
1546 </Anchor>
1547 </Anchors>
1548 </FontString>
1549 </Layer>
1550 <Layer level="BACKGROUND">
1551 <FontString name="NuNCheckBoxLabel" inherits="GameFontNormalSmall" text="NUN_SAVE_AS_DEFAULT">
1552 <Anchors>
1553 <Anchor point="BOTTOM">
1554 <Offset>
1555 <AbsDimension x="-122" y="16"/>
1556 </Offset>
1557 </Anchor>
1558 </Anchors>
1559 </FontString>
1560 </Layer>
1561 </Layers>
1562 <!-- f1fs1f2fs2 -->
1563 <Frames>
1564 <Button name="NuNEditDetailsCancelButton" inherits="UIPanelButtonTemplate" text="NUN_CANCEL_DETAIL">
1565 <Size>
1566 <AbsDimension x="60" y="21"/>
1567 </Size>
1568 <NormalText inherits="GameFontHighlight"/>
1569 <DisabledText inherits="GameFontDisable"/>
1570 <HighlightText inherits="GameFontHighlight"/>
1571 <Anchors>
1572 <Anchor point="TOPRIGHT" relativePoint="RIGHT" relativeTo="NuNEditDetailsFrame">
1573 <Offset>
1574 <AbsDimension x="-14" y="-17"/>
1575 </Offset>
1576 </Anchor>
1577 </Anchors>
1578 <Scripts>
1579 <OnClick>
1580 PlaySound("igMainMenuOption");
1581 NuNEditDetails_HideFrame();
1582 </OnClick>
1583 </Scripts>
1584 </Button>
1585 <Button name="NuNEditDetailsSaveButton" inherits="UIPanelButtonTemplate" text="NUN_SAVE_DETAIL">
1586 <Size>
1587 <AbsDimension x="60" y="21"/>
1588 </Size>
1589 <NormalText inherits="GameFontHighlight"/>
1590 <DisabledText inherits="GameFontDisable"/>
1591 <HighlightText inherits="GameFontHighlight"/>
1592 <Anchors>
1593 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNEditDetailsCancelButton">
1594 <Offset>
1595 <AbsDimension x="-5" y="0"/>
1596 </Offset>
1597 </Anchor>
1598 </Anchors>
1599 <Scripts>
1600 <OnClick>
1601 NuNEditDetails();
1602 </OnClick>
1603 </Scripts>
1604 </Button>
1605 <Button name="NuNEditDetailsRestoreButton" inherits="UIPanelButtonTemplate" text="NUN_RESTORE_DETAIL">
1606 <Size>
1607 <AbsDimension x="120" y="21"/>
1608 </Size>
1609 <NormalText inherits="GameFontHighlight"/>
1610 <DisabledText inherits="GameFontDisable"/>
1611 <HighlightText inherits="GameFontHighlight"/>
1612 <Anchors>
1613 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNEditDetailsSaveButton">
1614 <Offset>
1615 <AbsDimension x="-12" y="0"/>
1616 </Offset>
1617 </Anchor>
1618 </Anchors>
1619 <Scripts>
1620 <OnClick>
1621 NuNEditDetailsRestore();
1622 </OnClick>
1623 <OnEnter>
1624 NuN_RestoreDefButton_OnEnter();
1625 </OnEnter>
1626 <OnLeave>
1627 NuN_TTButton_OnLeave();
1628 </OnLeave>
1629 </Scripts>
1630 </Button>
1631 <EditBox name="NuNEditDetailsBox" autofocus="false" historyLines="0" letters="32">
1632 <Size>
1633 <AbsDimension x="350" y="64"/>
1634 </Size>
1635 <Anchors>
1636 <Anchor point="CENTER" relativePoint="TOP">
1637 <Offset>
1638 <AbsDimension x="0" y="-42"/>
1639 </Offset>
1640 </Anchor>
1641 </Anchors>
1642 <Layers>
1643 <Layer level="BACKGROUND">
1644 <Texture name="NuN_TitleBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
1645 <Size>
1646 <AbsDimension x="256" y="32"/>
1647 </Size>
1648 <Anchors>
1649 <Anchor point="LEFT">
1650 <Offset>
1651 <AbsDimension x="-10" y="0"/>
1652 </Offset>
1653 </Anchor>
1654 </Anchors>
1655 <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
1656 </Texture>
1657 <Texture name="NuN_TitleBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
1658 <Size>
1659 <AbsDimension x="75" y="32"/>
1660 </Size>
1661 <Anchors>
1662 <Anchor point="RIGHT">
1663 <Offset>
1664 <AbsDimension x="10" y="0"/>
1665 </Offset>
1666 </Anchor>
1667 </Anchors>
1668 <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
1669 </Texture>
1670 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
1671 <Size>
1672 <AbsDimension x="2" y="32"/>
1673 </Size>
1674 <Anchors>
1675 <Anchor point="LEFT" relativeTo="NuN_TitleBoxLeft" relativePoint="RIGHT">
1676 <Offset>
1677 <AbsDimension x="0" y="0"/>
1678 </Offset>
1679 </Anchor>
1680 <Anchor point="RIGHT" relativeTo="NuN_TitleBoxRight" relativePoint="LEFT">
1681 <Offset>
1682 <AbsDimension x="0" y="0"/>
1683 </Offset>
1684 </Anchor>
1685 </Anchors>
1686 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
1687 </Texture>
1688 </Layer>
1689 </Layers>
1690 <Scripts>
1691 <OnLoad>
1692 </OnLoad>
1693 <OnTextChanged>
1694 </OnTextChanged>
1695 <OnEnterPressed>
1696 NuNEditDetails();
1697 </OnEnterPressed>
1698 <OnEscapePressed>
1699 NuNEditDetails_HideFrame();
1700 </OnEscapePressed>
1701 </Scripts>
1702 <FontString inherits="ChatFontNormal"/>
1703 </EditBox>
1704 <CheckButton name="NuNEditDetail_CheckButton" inherits="UICheckButtonTemplate" hidden="true">
1705 <Anchors>
1706 <Anchor point="BOTTOMLEFT" relativeTo="NuNEditDetailsFrame" relativePoint="BOTTOMLEFT">
1707 <Offset>
1708 <AbsDimension x="10" y="6" />
1709 </Offset>
1710 </Anchor>
1711 </Anchors>
1712 <HitRectInsets>
1713 <AbsInset left="0" right="-60" top="-10" bottom="0"/>
1714 </HitRectInsets>
1715 <Scripts>
1716 <OnClick>
1717 if ( this:GetChecked() ) then
1718 PlaySound("igMainMenuOptionCheckBoxOff");
1719 else
1720 PlaySound("igMainMenuOptionCheckBoxOn");
1721 end
1722 NuN_EditDetailCheckButtonOnClick();
1723 </OnClick>
1724 <OnEnter>
1725 NuN_SaveDefCheck_OnEnter();
1726 </OnEnter>
1727 <OnLeave>
1728 NuN_TTButton_OnLeave();
1729 </OnLeave>
1730 </Scripts>
1731 </CheckButton>
1732 </Frames>
1733 <!-- f1fs1f2/fs2 -->
1734 </Frame>
1735 <!-- f1fs1/f2 -->
1736 </Frames>
1737 <!-- f1/fs1 -->
1738 <Scripts>
1739 <OnLoad>
1740 tinsert(UISpecialFrames,"NuNFrame");
1741 NuN_OnLoad();
1742 </OnLoad>
1743 <OnEvent>
1744 NuN_OnEvent();
1745 </OnEvent>
1746 <OnHide>
1747 NuN_SaveLast("Contact");
1748 if ( NuN_ChatFrame:IsVisible() ) then
1749 HideUIPanel(NuN_ChatFrame);
1750 end
1751 if ( NuN_ScaleFrame:IsVisible() ) then
1752 HideUIPanel(NuN_ScaleFrame);
1753 end
1754 if ( ( NuNcDeleteFrame:IsVisible() ) and ( NuNcDeleteFrame.type == "Contact" ) ) then
1755 HideUIPanel(NuNcDeleteFrame);
1756 end
1757 </OnHide>
1758 </Scripts>
1759 </Frame>
1760 <!-- /f1 -->
1761  
1762  
1763  
1764  
1765 <!-- NuN control menu, options, and search function -->
1766 <Frame name="NuNOptionsFrame" toplevel="true" hidden="true" parent="UIParent" movable="true" enableMouse="true">
1767 <Size>
1768 <AbsDimension x="410" y="540"/>
1769 </Size>
1770 <Anchors>
1771 <Anchor point="CENTER">
1772 <Offset>
1773 <AbsDimension x="0" y="80"/>
1774 </Offset>
1775 </Anchor>
1776 </Anchors>
1777 <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
1778 <BackgroundInsets>
1779 <AbsInset left="11" right="12" top="12" bottom="11"/>
1780 </BackgroundInsets>
1781 <TileSize>
1782 <AbsValue val="32"/>
1783 </TileSize>
1784 <EdgeSize>
1785 <AbsValue val="32"/>
1786 </EdgeSize>
1787 </Backdrop>
1788 <Layers>
1789 <Layer level="ARTWORK">
1790 <Texture name="NuNOptionsHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
1791 <Size>
1792 <AbsDimension x="330" y="60"/>
1793 </Size>
1794 <Anchors>
1795 <Anchor point="TOP">
1796 <Offset>
1797 <AbsDimension x="0" y="12"/>
1798 </Offset>
1799 </Anchor>
1800 </Anchors>
1801 </Texture>
1802 <FontString inherits="GameFontNormal" text="NUN_OPTIONS_HEADER">
1803 <Anchors>
1804 <Anchor point="TOP" relativeTo="NuNOptionsHeader">
1805 <Offset>
1806 <AbsDimension x="0" y="-14"/>
1807 </Offset>
1808 </Anchor>
1809 </Anchors>
1810 </FontString>
1811 <FontString name="NuNOptionsVersionLabel" inherits="GameFontNormalSmall" text="v3.21.11000">
1812 <Anchors>
1813 <Anchor point="TOPLEFT">
1814 <Offset>
1815 <AbsDimension x="12" y="-12"/>
1816 </Offset>
1817 </Anchor>
1818 </Anchors>
1819 </FontString>
1820 </Layer>
1821 <Layer level="BACKGROUND">
1822 <FontString name="NuNOptionsGuildCheckBoxLabel" inherits="GameFontHighlightSmall" text="NUN_AUTO_GUILD">
1823 <Anchors>
1824 <Anchor point="TOPLEFT">
1825 <Offset>
1826 <AbsDimension x="46" y="-56"/>
1827 </Offset>
1828 </Anchor>
1829 </Anchors>
1830 </FontString>
1831 <FontString name="NuNOptionsAddCheckBoxLabel" inherits="GameFontHighlightSmall" text="NUN_AUTO_ADD">
1832 <Anchors>
1833 <Anchor point="TOPLEFT">
1834 <Offset>
1835 <AbsDimension x="46" y="-108"/>
1836 </Offset>
1837 </Anchor>
1838 </Anchors>
1839 </FontString>
1840 <FontString name="NuNOptionsDeleteCheckBoxLabel" inherits="GameFontHighlightSmall" text="NUN_AUTO_DELETE">
1841 <Anchors>
1842 <Anchor point="TOPLEFT">
1843 <Offset>
1844 <AbsDimension x="46" y="-125"/>
1845 </Offset>
1846 </Anchor>
1847 </Anchors>
1848 </FontString>
1849 <FontString name="NuNOptionsDeleteCheckBoxLabel2" inherits="GameFontHighlightSmall" text="NUN_AUTO_DELETE2">
1850 <Anchors>
1851 <Anchor point="TOPLEFT">
1852 <Offset>
1853 <AbsDimension x="56" y="-135"/>
1854 </Offset>
1855 </Anchor>
1856 </Anchors>
1857 </FontString>
1858 <FontString name="NuNOptionsTTLengthTextBoxLabel" inherits="GameFontNormalSmall" text="NUN_TTLENGTH_TEXTBOX_LABEL">
1859 <Anchors>
1860 <Anchor point="TOPLEFT">
1861 <Offset>
1862 <AbsDimension x="28" y="-170"/>
1863 </Offset>
1864 </Anchor>
1865 </Anchors>
1866 </FontString>
1867 <FontString name="NuNOptionsTTLengthTextBoxLabel2" inherits="GameFontNormalSmall" text="NUN_TTTOTAL_LABEL">
1868 <Anchors>
1869 <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBoxLabel" relativePoint="BOTTOM">
1870 <Offset>
1871 <AbsDimension x="-63" y="-14"/>
1872 </Offset>
1873 </Anchor>
1874 </Anchors>
1875 </FontString>
1876 <FontString name="NuNOptionsTTLineLengthTextBoxLabel" inherits="GameFontNormalSmall" text="NUN_TTLINEL_LABEL">
1877 <Anchors>
1878 <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBoxLabel" relativePoint="BOTTOM">
1879 <Offset>
1880 <AbsDimension x="92" y="-14"/>
1881 </Offset>
1882 </Anchor>
1883 </Anchors>
1884 </FontString>
1885 </Layer>
1886 </Layers>
1887 <Frames>
1888 <Button name="NuNOptionsScaleFrameButton" inherits="UIPanelButtonTemplate2">
1889 <Size>
1890 <AbsDimension x="24" y="24"/>
1891 </Size>
1892 <Anchors>
1893 <Anchor point="TOPRIGHT">
1894 <Offset>
1895 <AbsDimension x="-7" y="-7"/>
1896 </Offset>
1897 </Anchor>
1898 </Anchors>
1899 <Layers>
1900 <Layer level="ARTWORK">
1901 <Texture name="NuNScaleIcon" file="Interface\AddOns\NotesUNeed\Artwork\NuNScale">
1902 <Size>
1903 <AbsDimension x="16" y="16"/>
1904 </Size>
1905 <Anchors>
1906 <Anchor point="CENTER"/>
1907 </Anchors>
1908 </Texture>
1909 </Layer>
1910 </Layers>
1911 <Scripts>
1912 <OnClick>
1913 NuNScaleFrameShow();
1914 </OnClick>
1915 <OnEnter>
1916 NuNScaleFrameButton_OnEnter();
1917 </OnEnter>
1918 <OnLeave>
1919 NuN_TTButton_OnLeave();
1920 </OnLeave>
1921 </Scripts>
1922 </Button>
1923 <Button name="NuNOptionsImport" inherits="NuNOptionsButtonTemplate" text="NUN_IMPORT">
1924 <Size>
1925 <AbsDimension x="370" y="21"/>
1926 </Size>
1927 <Anchors>
1928 <Anchor point="CENTER" relativePoint="TOP">
1929 <Offset>
1930 <AbsDimension x="0" y="-42"/>
1931 </Offset>
1932 </Anchor>
1933 </Anchors>
1934 <Scripts>
1935 <OnLoad>
1936 </OnLoad>
1937 <OnClick>
1938 PlaySound("igMainMenuOption");
1939 NuNOptions_Import();
1940 </OnClick>
1941 </Scripts>
1942 </Button>
1943 <CheckButton name="NuNOptionsGuildCheckButton" inherits="UICheckButtonTemplate">
1944 <Size>
1945 <AbsDimension x="19" y="19"/>
1946 </Size>
1947 <Anchors>
1948 <Anchor point="TOPLEFT">
1949 <Offset>
1950 <AbsDimension x="29" y="-53" />
1951 </Offset>
1952 </Anchor>
1953 </Anchors>
1954 <HitRectInsets>
1955 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
1956 </HitRectInsets>
1957 <Scripts>
1958 <OnClick>
1959 if ( this:GetChecked() ) then
1960 PlaySound("igMainMenuOptionCheckBoxOff");
1961 else
1962 PlaySound("igMainMenuOptionCheckBoxOn");
1963 end
1964 NuN_OptionsGuildCheckBox_OnClick();
1965 </OnClick>
1966 <OnEnter>
1967 if ( this.tooltipText ) then
1968 GameTooltip_AddNewbieTip("Option Info.", 1.0, 1.0, 1.0, this.tooltipText);
1969 end
1970 </OnEnter>
1971 <OnLeave>
1972 GameTooltip:Hide();
1973 </OnLeave>
1974 </Scripts>
1975 </CheckButton>
1976 <Button name="NuNOptionsExport" inherits="NuNOptionsButtonTemplate" text="NUN_EXPORT">
1977 <Size>
1978 <AbsDimension x="370" y="21"/>
1979 </Size>
1980 <Anchors>
1981 <Anchor point="CENTER" relativePoint="TOP" relativeTo="NuNOptionsImport">
1982 <Offset>
1983 <AbsDimension x="0" y="-63"/>
1984 </Offset>
1985 </Anchor>
1986 </Anchors>
1987 <Scripts>
1988 <OnLoad>
1989 </OnLoad>
1990 <OnClick>
1991 PlaySound("igMainMenuOption");
1992 NuNOptions_Export();
1993 </OnClick>
1994 </Scripts>
1995 </Button>
1996 <CheckButton name="NuNOptionsAddCheckButton" inherits="UICheckButtonTemplate">
1997 <Size>
1998 <AbsDimension x="19" y="19"/>
1999 </Size>
2000 <Anchors>
2001 <Anchor point="TOPLEFT">
2002 <Offset>
2003 <AbsDimension x="29" y="-105" />
2004 </Offset>
2005 </Anchor>
2006 </Anchors>
2007 <HitRectInsets>
2008 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2009 </HitRectInsets>
2010 <Scripts>
2011 <OnClick>
2012 if ( this:GetChecked() ) then
2013 PlaySound("igMainMenuOptionCheckBoxOff");
2014 else
2015 PlaySound("igMainMenuOptionCheckBoxOn");
2016 end
2017 NuN_OptionsAddCheckBox_OnClick();
2018 </OnClick>
2019 <OnEnter>
2020 if ( this.tooltipText ) then
2021 GameTooltip_AddNewbieTip("Option Info.", 1.0, 1.0, 1.0, this.tooltipText);
2022 end
2023 </OnEnter>
2024 <OnLeave>
2025 GameTooltip:Hide();
2026 </OnLeave>
2027 </Scripts>
2028 </CheckButton>
2029 <CheckButton name="NuNOptionsDeleteCheckButton" inherits="UICheckButtonTemplate">
2030 <Size>
2031 <AbsDimension x="19" y="19"/>
2032 </Size>
2033 <Anchors>
2034 <Anchor point="TOPLEFT">
2035 <Offset>
2036 <AbsDimension x="29" y="-122" />
2037 </Offset>
2038 </Anchor>
2039 </Anchors>
2040 <HitRectInsets>
2041 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2042 </HitRectInsets>
2043 <Scripts>
2044 <OnClick>
2045 if ( this:GetChecked() ) then
2046 PlaySound("igMainMenuOptionCheckBoxOff");
2047 else
2048 PlaySound("igMainMenuOptionCheckBoxOn");
2049 end
2050 NuN_OptionsDeleteCheckBox_OnClick();
2051 </OnClick>
2052 <OnEnter>
2053 if ( this.tooltipText ) then
2054 GameTooltip_AddNewbieTip("Option Info.", 1.0, 1.0, 1.0, this.tooltipText);
2055 end
2056 </OnEnter>
2057 <OnLeave>
2058 GameTooltip:Hide();
2059 </OnLeave>
2060 </Scripts>
2061 </CheckButton>
2062  
2063 <!-- New Options as of Version 2.0 -->
2064 <EditBox name="NuNOptionsTTLengthTextBox" numeric="true" autoFocus="false" historyLines="0" letters="4" hidden="false">
2065 <Size>
2066 <AbsDimension x="80" y="54"/>
2067 </Size>
2068 <Anchors>
2069 <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBoxLabel" relativePoint="BOTTOMLEFT">
2070 <Offset>
2071 <AbsDimension x="10" y="8"/>
2072 </Offset>
2073 </Anchor>
2074 </Anchors>
2075 <Layers>
2076 <Layer level="BACKGROUND">
2077 <Texture name="NuNOptionsTTLengthBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2078 <Size>
2079 <AbsDimension x="66" y="27"/>
2080 </Size>
2081 <Anchors>
2082 <Anchor point="LEFT">
2083 <Offset>
2084 <AbsDimension x="-10" y="0"/>
2085 </Offset>
2086 </Anchor>
2087 </Anchors>
2088 <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
2089 </Texture>
2090 <Texture name="NuNOptionsTTLengthBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
2091 <Size>
2092 <AbsDimension x="30" y="27"/>
2093 </Size>
2094 <Anchors>
2095 <Anchor point="RIGHT">
2096 <Offset>
2097 <AbsDimension x="10" y="0"/>
2098 </Offset>
2099 </Anchor>
2100 </Anchors>
2101 <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
2102 </Texture>
2103 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2104 <Size>
2105 <AbsDimension x="5" y="27"/>
2106 </Size>
2107 <Anchors>
2108 <Anchor point="LEFT" relativeTo="NuNOptionsTTLengthBoxLeft" relativePoint="RIGHT">
2109 <Offset>
2110 <AbsDimension x="0" y="0"/>
2111 </Offset>
2112 </Anchor>
2113 <Anchor point="RIGHT" relativeTo="NuNOptionsTTLengthBoxRight" relativePoint="LEFT">
2114 <Offset>
2115 <AbsDimension x="0" y="0"/>
2116 </Offset>
2117 </Anchor>
2118 </Anchors>
2119 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
2120 </Texture>
2121 </Layer>
2122 </Layers>
2123 <Scripts>
2124 <OnTextChanged>
2125 NuN_OptionsTextLengthSet();
2126 </OnTextChanged>
2127 <OnEscapePressed>
2128 HideUIPanel(NuNOptionsFrame);
2129 </OnEscapePressed>
2130 <OnTabPressed>
2131 NuNOptionsTTLengthTextBox:ClearFocus();
2132 NuNOptionsTTLineLengthTextBox:SetFocus();
2133 </OnTabPressed>
2134 </Scripts>
2135 <FontString inherits="ChatFontNormal"/>
2136 </EditBox>
2137 <EditBox name="NuNOptionsTTLineLengthTextBox" numeric="true" autoFocus="false" historyLines="0" letters="3" hidden="false">
2138 <Size>
2139 <AbsDimension x="50" y="54"/>
2140 </Size>
2141 <Anchors>
2142 <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBoxLabel" relativePoint="BOTTOM">
2143 <Offset>
2144 <AbsDimension x="30" y="8"/>
2145 </Offset>
2146 </Anchor>
2147 </Anchors>
2148 <Layers>
2149 <Layer level="BACKGROUND">
2150 <Texture name="NuNOptionsTTLineLengthBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2151 <Size>
2152 <AbsDimension x="36" y="27"/>
2153 </Size>
2154 <Anchors>
2155 <Anchor point="LEFT">
2156 <Offset>
2157 <AbsDimension x="-10" y="0"/>
2158 </Offset>
2159 </Anchor>
2160 </Anchors>
2161 <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
2162 </Texture>
2163 <Texture name="NuNOptionsTTLineLengthBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
2164 <Size>
2165 <AbsDimension x="20" y="27"/>
2166 </Size>
2167 <Anchors>
2168 <Anchor point="RIGHT">
2169 <Offset>
2170 <AbsDimension x="10" y="0"/>
2171 </Offset>
2172 </Anchor>
2173 </Anchors>
2174 <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
2175 </Texture>
2176 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2177 <Size>
2178 <AbsDimension x="5" y="27"/>
2179 </Size>
2180 <Anchors>
2181 <Anchor point="LEFT" relativeTo="NuNOptionsTTLineLengthBoxLeft" relativePoint="RIGHT">
2182 <Offset>
2183 <AbsDimension x="0" y="0"/>
2184 </Offset>
2185 </Anchor>
2186 <Anchor point="RIGHT" relativeTo="NuNOptionsTTLineLengthBoxRight" relativePoint="LEFT">
2187 <Offset>
2188 <AbsDimension x="0" y="0"/>
2189 </Offset>
2190 </Anchor>
2191 </Anchors>
2192 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
2193 </Texture>
2194 </Layer>
2195 </Layers>
2196 <Scripts>
2197 <OnTextChanged>
2198 NuN_OptionsTextLineLengthSet();
2199 </OnTextChanged>
2200 <OnEscapePressed>
2201 HideUIPanel(NuNOptionsFrame);
2202 </OnEscapePressed>
2203 <OnTabPressed>
2204 NuNOptionsTTLineLengthTextBox:ClearFocus();
2205 NuNOptionsTTLengthTextBox:SetFocus();
2206 </OnTabPressed>
2207 </Scripts>
2208 <FontString inherits="ChatFontNormal"/>
2209 </EditBox>
2210  
2211 <CheckButton name="NuN_DefaultLevelCheckBox" inherits="UICheckButtonTemplate">
2212 <Size>
2213 <AbsDimension x="19" y="19"/>
2214 </Size>
2215 <Anchors>
2216 <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBox" relativePoint="BOTTOMLEFT">
2217 <Offset>
2218 <AbsDimension x="-10" y="-8" />
2219 </Offset>
2220 </Anchor>
2221 </Anchors>
2222 <Layers>
2223 <Layer level="OVERLAY">
2224 <FontString inherits="GameFontHighlightSmall" text="NUN_DEFAULTLEVEL_CHECKBOX_LABEL">
2225 <Anchors>
2226 <Anchor point="LEFT" relativeTo="NuN_DefaultLevelCheckBox" relativePoint="RIGHT">
2227 <Offset>
2228 <AbsDimension x="0" y="0"/>
2229 </Offset>
2230 </Anchor>
2231 </Anchors>
2232 </FontString>
2233 </Layer>
2234 </Layers>
2235 <HitRectInsets>
2236 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2237 </HitRectInsets>
2238 <Scripts>
2239 <OnClick>
2240 if ( this:GetChecked() ) then
2241 PlaySound("igMainMenuOptionCheckBoxOff");
2242 else
2243 PlaySound("igMainMenuOptionCheckBoxOn");
2244 end
2245 NuN_DefaultLevelCheckBox_OnClick();
2246 </OnClick>
2247 <OnEnter>
2248 </OnEnter>
2249 <OnLeave>
2250 </OnLeave>
2251 </Scripts>
2252 </CheckButton>
2253  
2254 <CheckButton name="NuN_HelpTTCheckBox" inherits="UICheckButtonTemplate">
2255 <Size>
2256 <AbsDimension x="19" y="19"/>
2257 </Size>
2258 <Anchors>
2259 <Anchor point="TOPLEFT" relativeTo="NuN_DefaultLevelCheckBox" relativePoint="BOTTOMLEFT">
2260 <Offset>
2261 <AbsDimension x="0" y="-8" />
2262 </Offset>
2263 </Anchor>
2264 </Anchors>
2265 <Layers>
2266 <Layer level="OVERLAY">
2267 <FontString inherits="GameFontHighlightSmall" text="NUN_SHOWHELPTT_CHECKBOX_LABEL">
2268 <Anchors>
2269 <Anchor point="LEFT" relativeTo="NuN_HelpTTCheckBox" relativePoint="RIGHT">
2270 <Offset>
2271 <AbsDimension x="0" y="0"/>
2272 </Offset>
2273 </Anchor>
2274 </Anchors>
2275 </FontString>
2276 </Layer>
2277 </Layers>
2278 <HitRectInsets>
2279 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2280 </HitRectInsets>
2281 <Scripts>
2282 <OnClick>
2283 if ( this:GetChecked() ) then
2284 PlaySound("igMainMenuOptionCheckBoxOff");
2285 else
2286 PlaySound("igMainMenuOptionCheckBoxOn");
2287 end
2288 NuN_HelpTTCheckBox_OnClick();
2289 </OnClick>
2290 <OnEnter>
2291 </OnEnter>
2292 <OnLeave>
2293 </OnLeave>
2294 </Scripts>
2295 </CheckButton>
2296  
2297 <CheckButton name="NuN_OverTTCheckBox" inherits="UICheckButtonTemplate">
2298 <Size>
2299 <AbsDimension x="19" y="19"/>
2300 </Size>
2301 <Anchors>
2302 <Anchor point="TOPLEFT" relativeTo="NuN_HelpTTCheckBox" relativePoint="BOTTOMLEFT">
2303 <Offset>
2304 <AbsDimension x="0" y="-8" />
2305 </Offset>
2306 </Anchor>
2307 </Anchors>
2308 <Layers>
2309 <Layer level="OVERLAY">
2310 <FontString inherits="GameFontHighlightSmall" text="NUN_MINOVERTT_CHECKBOX_LABEL">
2311 <Anchors>
2312 <Anchor point="LEFT" relativeTo="NuN_OverTTCheckBox" relativePoint="RIGHT">
2313 <Offset>
2314 <AbsDimension x="0" y="0"/>
2315 </Offset>
2316 </Anchor>
2317 </Anchors>
2318 </FontString>
2319 </Layer>
2320 </Layers>
2321 <HitRectInsets>
2322 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2323 </HitRectInsets>
2324 <Scripts>
2325 <OnClick>
2326 if ( this:GetChecked() ) then
2327 PlaySound("igMainMenuOptionCheckBoxOff");
2328 else
2329 PlaySound("igMainMenuOptionCheckBoxOn");
2330 end
2331 NuN_OverTTCheckBox_OnClick();
2332 </OnClick>
2333 <OnEnter>
2334 </OnEnter>
2335 <OnLeave>
2336 </OnLeave>
2337 </Scripts>
2338 </CheckButton>
2339  
2340 <CheckButton name="NuN_AutoQuestCheckBox" inherits="UICheckButtonTemplate">
2341 <Size>
2342 <AbsDimension x="19" y="19"/>
2343 </Size>
2344 <Anchors>
2345 <Anchor point="TOPLEFT" relativeTo="NuN_OverTTCheckBox" relativePoint="BOTTOMLEFT">
2346 <Offset>
2347 <AbsDimension x="0" y="-8" />
2348 </Offset>
2349 </Anchor>
2350 </Anchors>
2351 <Layers>
2352 <Layer level="OVERLAY">
2353 <FontString inherits="GameFontHighlightSmall" text="NUN_QUESTNOTE_CHECKBOX_LABEL">
2354 <Anchors>
2355 <Anchor point="LEFT" relativeTo="NuN_AutoQuestCheckBox" relativePoint="RIGHT">
2356 <Offset>
2357 <AbsDimension x="0" y="0"/>
2358 </Offset>
2359 </Anchor>
2360 </Anchors>
2361 </FontString>
2362 </Layer>
2363 </Layers>
2364 <HitRectInsets>
2365 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2366 </HitRectInsets>
2367 <Scripts>
2368 <OnClick>
2369 if ( this:GetChecked() ) then
2370 PlaySound("igMainMenuOptionCheckBoxOff");
2371 else
2372 PlaySound("igMainMenuOptionCheckBoxOn");
2373 end
2374 NuN_AutoQuestCheckBox_OnClick();
2375 </OnClick>
2376 <OnEnter>
2377 </OnEnter>
2378 <OnLeave>
2379 </OnLeave>
2380 </Scripts>
2381 </CheckButton>
2382  
2383 <CheckButton name="NuN_AutoNoteCheckBox" inherits="UICheckButtonTemplate">
2384 <Size>
2385 <AbsDimension x="19" y="19"/>
2386 </Size>
2387 <Anchors>
2388 <Anchor point="TOPLEFT" relativeTo="NuN_AutoQuestCheckBox" relativePoint="BOTTOMLEFT">
2389 <Offset>
2390 <AbsDimension x="0" y="-8" />
2391 </Offset>
2392 </Anchor>
2393 </Anchors>
2394 <Layers>
2395 <Layer level="OVERLAY">
2396 <FontString inherits="GameFontHighlightSmall" text="NUN_AUTONOTE_CHECKBOX_LABEL">
2397 <Anchors>
2398 <Anchor point="LEFT" relativeTo="NuN_AutoNoteCheckBox" relativePoint="RIGHT">
2399 <Offset>
2400 <AbsDimension x="0" y="0"/>
2401 </Offset>
2402 </Anchor>
2403 </Anchors>
2404 </FontString>
2405 </Layer>
2406 </Layers>
2407 <HitRectInsets>
2408 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2409 </HitRectInsets>
2410 <Scripts>
2411 <OnClick>
2412 if ( this:GetChecked() ) then
2413 PlaySound("igMainMenuOptionCheckBoxOff");
2414 else
2415 PlaySound("igMainMenuOptionCheckBoxOn");
2416 end
2417 NuN_AutoNoteCheckBox_OnClick();
2418 </OnClick>
2419 <OnEnter>
2420 </OnEnter>
2421 <OnLeave>
2422 </OnLeave>
2423 </Scripts>
2424 </CheckButton>
2425  
2426 <CheckButton name="NuN_AutoPartyCheckBox" inherits="UICheckButtonTemplate">
2427 <Size>
2428 <AbsDimension x="19" y="19"/>
2429 </Size>
2430 <Anchors>
2431 <Anchor point="TOPLEFT" relativeTo="NuN_AutoNoteCheckBox" relativePoint="BOTTOMLEFT">
2432 <Offset>
2433 <AbsDimension x="0" y="-8" />
2434 </Offset>
2435 </Anchor>
2436 </Anchors>
2437 <Layers>
2438 <Layer level="OVERLAY">
2439 <FontString inherits="GameFontHighlightSmall" text="NUN_AUTOPARTY_CHECKBOX_LABEL">
2440 <Anchors>
2441 <Anchor point="LEFT" relativeTo="NuN_AutoPartyCheckBox" relativePoint="RIGHT">
2442 <Offset>
2443 <AbsDimension x="0" y="0"/>
2444 </Offset>
2445 </Anchor>
2446 </Anchors>
2447 </FontString>
2448 </Layer>
2449 </Layers>
2450 <HitRectInsets>
2451 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2452 </HitRectInsets>
2453 <Scripts>
2454 <OnClick>
2455 if ( this:GetChecked() ) then
2456 PlaySound("igMainMenuOptionCheckBoxOff");
2457 else
2458 PlaySound("igMainMenuOptionCheckBoxOn");
2459 end
2460 NuN_AutoPartyCheckBox_OnClick();
2461 </OnClick>
2462 <OnEnter>
2463 </OnEnter>
2464 <OnLeave>
2465 </OnLeave>
2466 </Scripts>
2467 </CheckButton>
2468  
2469 <CheckButton name="NuN_BehaveCheckBox" inherits="UICheckButtonTemplate">
2470 <Size>
2471 <AbsDimension x="19" y="19"/>
2472 </Size>
2473 <Anchors>
2474 <Anchor point="TOPLEFT" relativeTo="NuN_AutoPartyCheckBox" relativePoint="BOTTOMLEFT">
2475 <Offset>
2476 <AbsDimension x="0" y="-8" />
2477 </Offset>
2478 </Anchor>
2479 </Anchors>
2480 <Layers>
2481 <Layer level="OVERLAY">
2482 <FontString inherits="GameFontHighlightSmall" text="NUN_BEHAVE_CHECKBOX_LABEL">
2483 <Anchors>
2484 <Anchor point="LEFT" relativeTo="NuN_BehaveCheckBox" relativePoint="RIGHT">
2485 <Offset>
2486 <AbsDimension x="0" y="0"/>
2487 </Offset>
2488 </Anchor>
2489 </Anchors>
2490 </FontString>
2491 </Layer>
2492 </Layers>
2493 <HitRectInsets>
2494 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2495 </HitRectInsets>
2496 <Scripts>
2497 <OnClick>
2498 if ( this:GetChecked() ) then
2499 PlaySound("igMainMenuOptionCheckBoxOff");
2500 else
2501 PlaySound("igMainMenuOptionCheckBoxOn");
2502 end
2503 NuN_BehaveCheckBox_OnClick();
2504 </OnClick>
2505 <OnEnter>
2506 NuN_bHaveTTCheckBox_OnEnter();
2507 </OnEnter>
2508 <OnLeave>
2509 NuN_TTButton_OnLeave();
2510 </OnLeave>
2511 </Scripts>
2512 </CheckButton>
2513  
2514 <CheckButton name="NuN_AutoMapCheckBox" inherits="UICheckButtonTemplate">
2515 <Size>
2516 <AbsDimension x="19" y="19"/>
2517 </Size>
2518 <Anchors>
2519 <Anchor point="TOPLEFT" relativeTo="NuN_BehaveCheckBox" relativePoint="BOTTOMLEFT">
2520 <Offset>
2521 <AbsDimension x="0" y="-8" />
2522 </Offset>
2523 </Anchor>
2524 </Anchors>
2525 <Layers>
2526 <Layer level="OVERLAY">
2527 <FontString name="NuN_AutoMapCheckBoxLabel" inherits="GameFontHighlightSmall" text="NUN_AUTOMAP_CHECKBOX_LABEL">
2528 <Anchors>
2529 <Anchor point="LEFT" relativeTo="NuN_AutoMapCheckBox" relativePoint="RIGHT">
2530 <Offset>
2531 <AbsDimension x="0" y="0"/>
2532 </Offset>
2533 </Anchor>
2534 </Anchors>
2535 </FontString>
2536 </Layer>
2537 </Layers>
2538 <HitRectInsets>
2539 <AbsInset left="0" right="-240" top="-10" bottom="0"/>
2540 </HitRectInsets>
2541 <Scripts>
2542 <OnClick>
2543 if ( this:GetChecked() ) then
2544 PlaySound("igMainMenuOptionCheckBoxOff");
2545 else
2546 PlaySound("igMainMenuOptionCheckBoxOn");
2547 end
2548 NuN_AutoMapCheckBox_OnClick();
2549 </OnClick>
2550 <OnEnter>
2551 NuN_AutoMapCheckBox_OnEnter();
2552 </OnEnter>
2553 <OnLeave>
2554 NuN_TTButton_OnLeave();
2555 </OnLeave>
2556 </Scripts>
2557 </CheckButton>
2558  
2559 <!-- New Options as of Version 2.0 -->
2560  
2561 <Frame name="NuNOptionsSearchDropDown" inherits="UIDropDownMenuTemplate">
2562 <Anchors>
2563 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
2564 <Offset>
2565 <AbsDimension x="5" y="14"/>
2566 </Offset>
2567 </Anchor>
2568 </Anchors>
2569 <Layers>
2570 <Layer level="OVERLAY">
2571 <FontString inherits="GameFontNormalSmall" text="NUN_SEARCH_CRITERIA">
2572 <Anchors>
2573 <Anchor point="TOPLEFT">
2574 <Offset>
2575 <AbsDimension x="20" y="10"/>
2576 </Offset>
2577 </Anchor>
2578 </Anchors>
2579 </FontString>
2580 </Layer>
2581 </Layers>
2582 <Scripts>
2583 <OnLoad>
2584 NuNOptionsSearchDropDown_OnLoad();
2585 </OnLoad>
2586 <OnShow>
2587 NuNOptionsSearchDropDown_OnLoad();
2588 </OnShow>
2589 <OnEvent>
2590 </OnEvent>
2591 </Scripts>
2592 </Frame>
2593 <Button name="NuNOptionsSearch" inherits="NuNOptionsButtonTemplate" text="NUN_SEARCH">
2594 <Anchors>
2595 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="NuNOptionsSearchDropDown">
2596 <Offset>
2597 <AbsDimension x="18" y="15"/>
2598 </Offset>
2599 </Anchor>
2600 </Anchors>
2601 <Scripts>
2602 <OnLoad>
2603 </OnLoad>
2604 <OnClick>
2605 PlaySound("igMainMenuOption");
2606 NuNOptions_Search();
2607 </OnClick>
2608 </Scripts>
2609 </Button>
2610 <Button name="NuNOptionsClose" inherits="NuNOptionsButtonTemplate" text="NUN_CLOSE">
2611 <Anchors>
2612 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
2613 <Offset>
2614 <AbsDimension x="-18" y="22"/>
2615 </Offset>
2616 </Anchor>
2617 </Anchors>
2618 <Scripts>
2619 <OnLoad>
2620 </OnLoad>
2621 <OnClick>
2622 PlaySound("igMainMenuOption");
2623 HideUIPanel(NuNOptionsFrame);
2624 </OnClick>
2625 </Scripts>
2626 </Button>
2627 <Button name="NuNOptionsReset" inherits="NuNOptionsButtonTemplate" text="NUN_RESET">
2628 <Anchors>
2629 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="NuNOptionsClose">
2630 <Offset>
2631 <AbsDimension x="0" y="18"/>
2632 </Offset>
2633 </Anchor>
2634 </Anchors>
2635 <Scripts>
2636 <OnLoad>
2637 </OnLoad>
2638 <OnClick>
2639 PlaySound("igMainMenuOption");
2640 NuNOptions_ResetDefaults();
2641 </OnClick>
2642 <OnEnter>
2643 NuN_ResetButton_OnEnter();
2644 </OnEnter>
2645 <OnLeave>
2646 NuN_TTButton_OnLeave();
2647 </OnLeave>
2648 </Scripts>
2649 </Button>
2650 </Frames>
2651 <Scripts>
2652 <OnLoad>
2653 tinsert(UISpecialFrames,"NuNOptionsFrame");
2654 </OnLoad>
2655 <OnHide>
2656 if ( NuN_ScaleFrame:IsVisible() ) then
2657 HideUIPanel(NuN_ScaleFrame);
2658 end
2659 </OnHide>
2660 </Scripts>
2661 </Frame>
2662  
2663  
2664  
2665 <Frame name="NuN_ChatFrame" toplevel="true" hidden="true" parent="UIParent" frameStrata="HIGH" movable="true" enableMouse="true">
2666 <TitleRegion setAllPoints="true"/>
2667 <Size>
2668 <AbsDimension x="440" y="180"/>
2669 </Size>
2670 <Anchors>
2671 <Anchor point="CENTER"/>
2672 </Anchors>
2673 <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
2674 <BackgroundInsets>
2675 <AbsInset left="11" right="12" top="12" bottom="11"/>
2676 </BackgroundInsets>
2677 <TileSize>
2678 <AbsValue val="32"/>
2679 </TileSize>
2680 <EdgeSize>
2681 <AbsValue val="32"/>
2682 </EdgeSize>
2683 </Backdrop>
2684 <Layers>
2685 <Layer level="ARTWORK">
2686 <Texture name="NuNChatHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
2687 <Size>
2688 <AbsDimension x="230" y="60"/>
2689 </Size>
2690 <Anchors>
2691 <Anchor point="TOP">
2692 <Offset>
2693 <AbsDimension x="0" y="12"/>
2694 </Offset>
2695 </Anchor>
2696 </Anchors>
2697 </Texture>
2698 <FontString inherits="GameFontNormal" text="NUN_CHAT_HEADER">
2699 <Anchors>
2700 <Anchor point="TOP" relativeTo="NuNChatHeader">
2701 <Offset>
2702 <AbsDimension x="0" y="-14"/>
2703 </Offset>
2704 </Anchor>
2705 </Anchors>
2706 </FontString>
2707 </Layer>
2708 <Layer level="BACKGROUND">
2709 <FontString name="NuNChatNoteTitleLabel" inherits="GameFontHighlight" text="NUN_CHAT_NOTETITLE_LABEL">
2710 <Anchors>
2711 <Anchor point="TOPLEFT">
2712 <Offset>
2713 <AbsDimension x="26" y="-36"/>
2714 </Offset>
2715 </Anchor>
2716 </Anchors>
2717 </FontString>
2718 <FontString name="NuNChatNoteTitle" inherits="GameFontNormal" text="NUN_PLACE_HOLDER">
2719 <Anchors>
2720 <Anchor point="TOPLEFT" relativeTo="NuNChatNoteTitleLabel" relativePoint="BOTTOMLEFT">
2721 <Offset>
2722 <AbsDimension x="10" y="-6"/>
2723 </Offset>
2724 </Anchor>
2725 </Anchors>
2726 </FontString>
2727 </Layer>
2728 </Layers>
2729 <Frames>
2730 <CheckButton name="NuN_ChatCheckBox" inherits="UICheckButtonTemplate">
2731 <Size>
2732 <AbsDimension x="18" y="18"/>
2733 </Size>
2734 <Anchors>
2735 <Anchor point="LEFT" relativeTo="NuNChatNoteTitleLabel" relativePoint="RIGHT">
2736 <Offset>
2737 <AbsDimension x="26" y="-2" />
2738 </Offset>
2739 </Anchor>
2740 </Anchors>
2741 <Layers>
2742 <Layer level="OVERLAY">
2743 <FontString inherits="GameFontNormalSmall" text="NUN_CHATCHECKBOX_LABEL">
2744 <Anchors>
2745 <Anchor point="LEFT" relativeTo="NuN_ChatCheckBox" relativePoint="RIGHT">
2746 <Offset>
2747 <AbsDimension x="10" y="0"/>
2748 </Offset>
2749 </Anchor>
2750 </Anchors>
2751 </FontString>
2752 </Layer>
2753 </Layers>
2754 <HitRectInsets>
2755 <AbsInset left="0" right="-60" top="-10" bottom="0"/>
2756 </HitRectInsets>
2757 <Scripts>
2758 <OnClick>
2759 if ( this:GetChecked() ) then
2760 PlaySound("igMainMenuOptionCheckBoxOff");
2761 else
2762 PlaySound("igMainMenuOptionCheckBoxOn");
2763 end
2764 </OnClick>
2765 <OnEnter>
2766 NuN_ChatCheckBox_OnEnter();
2767 </OnEnter>
2768 <OnLeave>
2769 NuN_TTButton_OnLeave();
2770 </OnLeave>
2771 </Scripts>
2772 </CheckButton>
2773 <Frame name="NuNChatDropDown" inherits="UIDropDownMenuTemplate">
2774 <Anchors>
2775 <Anchor point="TOPLEFT">
2776 <Offset>
2777 <AbsDimension x="9" y="-92"/>
2778 </Offset>
2779 </Anchor>
2780 </Anchors>
2781 <Layers>
2782 <Layer level="OVERLAY">
2783 <FontString inherits="GameFontNormalSmall" text="NUN_CHAT_DROPDOWN_LABEL">
2784 <Anchors>
2785 <Anchor point="TOPLEFT">
2786 <Offset>
2787 <AbsDimension x="24" y="12"/>
2788 </Offset>
2789 </Anchor>
2790 </Anchors>
2791 </FontString>
2792 </Layer>
2793 </Layers>
2794 <Scripts>
2795 <OnLoad>
2796 NuNChatDropDown_OnLoad();
2797 </OnLoad>
2798 <OnShow>
2799 NuNChatDropDown_OnLoad();
2800 </OnShow>
2801 <OnEvent>
2802 </OnEvent>
2803 </Scripts>
2804 </Frame>
2805 <Button name="NuNTransmit" inherits="UIPanelButtonTemplate" text="NUN_CHAT_SEND">
2806 <Size>
2807 <AbsDimension x="90" y="21"/>
2808 </Size>
2809 <Anchors>
2810 <Anchor point="BOTTOMLEFT">
2811 <Offset>
2812 <AbsDimension x="25" y="22"/>
2813 </Offset>
2814 </Anchor>
2815 </Anchors>
2816 <Scripts>
2817 <OnLoad>
2818 </OnLoad>
2819 <OnClick>
2820 PlaySound("igMainMenuOption");
2821 NuN_Transmit();
2822 </OnClick>
2823 </Scripts>
2824 </Button>
2825 <EditBox name="NuNChatTextBox" historyLines="0" letters="25" hidden="true">
2826 <Size>
2827 <AbsDimension x="200" y="54"/>
2828 </Size>
2829 <Anchors>
2830 <Anchor point="LEFT" relativeTo="NuNChatDropDown" relativePoint="RIGHT">
2831 <Offset>
2832 <AbsDimension x="22" y="3"/>
2833 </Offset>
2834 </Anchor>
2835 </Anchors>
2836 <Layers>
2837 <Layer level="BACKGROUND">
2838 <Texture name="NuNChatBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2839 <Size>
2840 <AbsDimension x="106" y="27"/>
2841 </Size>
2842 <Anchors>
2843 <Anchor point="LEFT">
2844 <Offset>
2845 <AbsDimension x="-10" y="0"/>
2846 </Offset>
2847 </Anchor>
2848 </Anchors>
2849 <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
2850 </Texture>
2851 <Texture name="NuNChatBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
2852 <Size>
2853 <AbsDimension x="75" y="27"/>
2854 </Size>
2855 <Anchors>
2856 <Anchor point="RIGHT">
2857 <Offset>
2858 <AbsDimension x="10" y="0"/>
2859 </Offset>
2860 </Anchor>
2861 </Anchors>
2862 <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
2863 </Texture>
2864 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
2865 <Size>
2866 <AbsDimension x="5" y="27"/>
2867 </Size>
2868 <Anchors>
2869 <Anchor point="LEFT" relativeTo="NuNChatBoxLeft" relativePoint="RIGHT">
2870 <Offset>
2871 <AbsDimension x="0" y="0"/>
2872 </Offset>
2873 </Anchor>
2874 <Anchor point="RIGHT" relativeTo="NuNChatBoxRight" relativePoint="LEFT">
2875 <Offset>
2876 <AbsDimension x="0" y="0"/>
2877 </Offset>
2878 </Anchor>
2879 </Anchors>
2880 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
2881 </Texture>
2882 </Layer>
2883 </Layers>
2884 <Scripts>
2885 <OnTextChanged>
2886 if ( ( this:GetText() == nil ) or ( this:GetText() == "" ) ) then
2887 NuNTransmit:Disable();
2888 else
2889 NuNTransmit:Enable();
2890 end
2891 </OnTextChanged>
2892 <OnEscapePressed>
2893 HideUIPanel(NuN_ChatFrame);
2894 </OnEscapePressed>
2895 </Scripts>
2896 <FontString inherits="ChatFontNormal"/>
2897 </EditBox>
2898 <Button name="NuNChatClose" inherits="NuNOptionsButtonTemplate" text="NUN_CANCEL">
2899 <Size>
2900 <AbsDimension x="90" y="21"/>
2901 </Size>
2902 <Anchors>
2903 <Anchor point="BOTTOMRIGHT">
2904 <Offset>
2905 <AbsDimension x="-24" y="22"/>
2906 </Offset>
2907 </Anchor>
2908 </Anchors>
2909 <Scripts>
2910 <OnLoad>
2911 </OnLoad>
2912 <OnClick>
2913 PlaySound("igMainMenuOption");
2914 HideUIPanel(NuN_ChatFrame);
2915 </OnClick>
2916 </Scripts>
2917 </Button>
2918 </Frames>
2919 <Scripts>
2920 <OnLoad>
2921 tinsert(UISpecialFrames,"NuN_ChatFrame");
2922 this.type = "Empty";
2923 </OnLoad>
2924 </Scripts>
2925 </Frame>
2926  
2927  
2928 <Frame name="NuN_ConfirmFrame" toplevel="true" hidden="true" parent="UIParent" frameStrata="HIGH" movable="true" enableMouse="true">
2929 <TitleRegion setAllPoints="true"/>
2930 <Size>
2931 <AbsDimension x="440" y="180"/>
2932 </Size>
2933 <Anchors>
2934 <Anchor point="CENTER"/>
2935 </Anchors>
2936 <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
2937 <BackgroundInsets>
2938 <AbsInset left="11" right="12" top="12" bottom="11"/>
2939 </BackgroundInsets>
2940 <TileSize>
2941 <AbsValue val="32"/>
2942 </TileSize>
2943 <EdgeSize>
2944 <AbsValue val="32"/>
2945 </EdgeSize>
2946 </Backdrop>
2947 <Layers>
2948 <Layer level="ARTWORK">
2949 <Texture name="NuNConfirmHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
2950 <Size>
2951 <AbsDimension x="230" y="60"/>
2952 </Size>
2953 <Anchors>
2954 <Anchor point="TOP">
2955 <Offset>
2956 <AbsDimension x="0" y="12"/>
2957 </Offset>
2958 </Anchor>
2959 </Anchors>
2960 </Texture>
2961 <FontString inherits="GameFontNormal" text="NUN_CONFIRM">
2962 <Anchors>
2963 <Anchor point="TOP" relativeTo="NuNChatHeader">
2964 <Offset>
2965 <AbsDimension x="0" y="-14"/>
2966 </Offset>
2967 </Anchor>
2968 </Anchors>
2969 </FontString>
2970 </Layer>
2971 <Layer level="BACKGROUND">
2972 <FontString name="NuNConflictLabel1" inherits="GameFontNormal" text="NUN_CONFLICT_LABEL1">
2973 <Anchors>
2974 <Anchor point="TOPLEFT">
2975 <Offset>
2976 <AbsDimension x="26" y="-36"/>
2977 </Offset>
2978 </Anchor>
2979 </Anchors>
2980 </FontString>
2981 <FontString name="NuNConflictLabel2" inherits="GameFontNormal" text="NUN_CONFLICT_LABEL2">
2982 <Anchors>
2983 <Anchor point="TOPLEFT">
2984 <Offset>
2985 <AbsDimension x="26" y="-56"/>
2986 </Offset>
2987 </Anchor>
2988 </Anchors>
2989 </FontString>
2990 <FontString name="NuNConflictedRealmsLabel" inherits="GameFontHighlight" text=" ">
2991 <Anchors>
2992 <Anchor point="TOPLEFT">
2993 <Offset>
2994 <AbsDimension x="26" y="-76"/>
2995 </Offset>
2996 </Anchor>
2997 </Anchors>
2998 </FontString>
2999 </Layer>
3000 </Layers>
3001 <Frames>
3002 <Button name="NuNConfirmButton" inherits="UIPanelButtonTemplate" text="NUN_CONFIRM">
3003 <Size>
3004 <AbsDimension x="90" y="21"/>
3005 </Size>
3006 <Anchors>
3007 <Anchor point="BOTTOMLEFT">
3008 <Offset>
3009 <AbsDimension x="25" y="22"/>
3010 </Offset>
3011 </Anchor>
3012 </Anchors>
3013 <Scripts>
3014 <OnLoad>
3015 </OnLoad>
3016 <OnClick>
3017 PlaySound("igMainMenuOption");
3018 NuNGNoteFrame.confirmed = true;
3019 NuNGNote_WriteNote();
3020 </OnClick>
3021 </Scripts>
3022 </Button>
3023 <Button name="NuNConfirmCancelButton" inherits="NuNOptionsButtonTemplate" text="NUN_CANCEL">
3024 <Size>
3025 <AbsDimension x="90" y="21"/>
3026 </Size>
3027 <Anchors>
3028 <Anchor point="BOTTOMRIGHT">
3029 <Offset>
3030 <AbsDimension x="-24" y="22"/>
3031 </Offset>
3032 </Anchor>
3033 </Anchors>
3034 <Scripts>
3035 <OnLoad>
3036 </OnLoad>
3037 <OnClick>
3038 PlaySound("igMainMenuOption");
3039 HideUIPanel(NuN_ConfirmFrame);
3040 </OnClick>
3041 </Scripts>
3042 </Button>
3043 </Frames>
3044 <Scripts>
3045 <OnLoad>
3046 </OnLoad>
3047 </Scripts>
3048 </Frame>
3049  
3050  
3051  
3052 <!-- Search Frame -->
3053  
3054 <Frame name="NuNSearchFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
3055 <TitleRegion setAllPoints="true"/>
3056 <Size>
3057 <AbsDimension x="384" y="512"/>
3058 </Size>
3059 <Anchors>
3060 <Anchor point="TOPLEFT">
3061 <Offset>
3062 <AbsDimension x="60" y="-144"/>
3063 </Offset>
3064 </Anchor>
3065 </Anchors>
3066 <HitRectInsets>
3067 <AbsInset left="0" right="35" top="0" bottom="75"/>
3068 </HitRectInsets>
3069 <Layers>
3070 <Layer level="BACKGROUND">
3071 <Texture name="NuNSearchFramePortrait" file="Interface\PetitionFrame\GuildCharter-Icon">
3072 <Size>
3073 <AbsDimension x="58" y="58"/>
3074 </Size>
3075 <Anchors>
3076 <Anchor point="TOPLEFT">
3077 <Offset>
3078 <AbsDimension x="8" y="-9"/>
3079 </Offset>
3080 </Anchor>
3081 </Anchors>
3082 </Texture>
3083 </Layer>
3084 <Layer level="ARTWORK">
3085 <Texture file="Interface\TaxiFrame\UI-TaxiFrame-TopLeft">
3086 <Size>
3087 <AbsDimension x="256" y="256"/>
3088 </Size>
3089 <Anchors>
3090 <Anchor point="TOPLEFT"/>
3091 </Anchors>
3092 </Texture>
3093 <Texture file="Interface\TaxiFrame\UI-TaxiFrame-TopRight">
3094 <Size>
3095 <AbsDimension x="128" y="256"/>
3096 </Size>
3097 <Anchors>
3098 <Anchor point="TOPLEFT">
3099 <Offset>
3100 <AbsDimension x="256" y="0"/>
3101 </Offset>
3102 </Anchor>
3103 </Anchors>
3104 </Texture>
3105 <Texture file="Interface\TaxiFrame\UI-TaxiFrame-BotLeft">
3106 <Size>
3107 <AbsDimension x="256" y="256"/>
3108 </Size>
3109 <Anchors>
3110 <Anchor point="TOPLEFT">
3111 <Offset>
3112 <AbsDimension x="0" y="-256"/>
3113 </Offset>
3114 </Anchor>
3115 </Anchors>
3116 </Texture>
3117 <Texture file="Interface\TaxiFrame\UI-TaxiFrame-BotRight">
3118 <Size>
3119 <AbsDimension x="128" y="256"/>
3120 </Size>
3121 <Anchors>
3122 <Anchor point="TOPLEFT">
3123 <Offset>
3124 <AbsDimension x="256" y="-256"/>
3125 </Offset>
3126 </Anchor>
3127 </Anchors>
3128 </Texture>
3129 <FontString name="NuNSearchTitleText" inherits="GameFontNormal" text="NUN_SEARCH">
3130 <Size>
3131 <AbsDimension x="300" y="14"/>
3132 </Size>
3133 <Anchors>
3134 <Anchor point="TOP" relativeTo="NuNSearchFrame" relativePoint="TOP">
3135 <Offset>
3136 <AbsDimension x="0" y="-15"/>
3137 </Offset>
3138 </Anchor>
3139 </Anchors>
3140 </FontString>
3141 </Layer>
3142 </Layers>
3143 <Frames>
3144 <Button name="NuNSearchFrameCloseButton" inherits="UIPanelCloseButton">
3145 <Anchors>
3146 <Anchor point="TOPRIGHT" relativeTo="NuNSearchFrame" relativePoint="TOPRIGHT">
3147 <Offset>
3148 <AbsDimension x="-29" y="-8"/>
3149 </Offset>
3150 </Anchor>
3151 </Anchors>
3152 </Button>
3153 <Button name="NuNSearchFrameScaleButton" inherits="UIPanelButtonTemplate2">
3154 <Size>
3155 <AbsDimension x="24" y="24"/>
3156 </Size>
3157 <Anchors>
3158 <Anchor point="RIGHT" relativeTo="NuNSearchFrameCloseButton" relativePoint="LEFT">
3159 <Offset>
3160 <AbsDimension x="4" y="0"/>
3161 </Offset>
3162 </Anchor>
3163 </Anchors>
3164 <Layers>
3165 <Layer level="ARTWORK">
3166 <Texture name="NuNSearchFrameScaleIcon" file="Interface\AddOns\NotesUNeed\Artwork\NuNScale">
3167 <Size>
3168 <AbsDimension x="16" y="16"/>
3169 </Size>
3170 <Anchors>
3171 <Anchor point="CENTER"/>
3172 </Anchors>
3173 </Texture>
3174 </Layer>
3175 </Layers>
3176 <Scripts>
3177 <OnClick>
3178 NuNScaleFrameShow();
3179 </OnClick>
3180 <OnEnter>
3181 NuNScaleFrameButton_OnEnter();
3182 </OnEnter>
3183 <OnLeave>
3184 NuN_TTButton_OnLeave();
3185 </OnLeave>
3186 </Scripts>
3187 </Button>
3188  
3189 <!-- Drop Down Search Boxes / Free Text Search Box -->
3190 <Button name="NuNSearchClassDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
3191 <Anchors>
3192 <Anchor point="TOPLEFT">
3193 <Offset>
3194 <AbsDimension x="52" y="-40"/>
3195 </Offset>
3196 </Anchor>
3197 </Anchors>
3198 <Scripts>
3199 <OnLoad>
3200 NuNSearchClassDropDown_OnLoad();
3201 </OnLoad>
3202 </Scripts>
3203 </Button>
3204 <Button name="NuNSearchProfDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
3205 <Anchors>
3206 <Anchor point="TOPLEFT">
3207 <Offset>
3208 <AbsDimension x="52" y="-40"/>
3209 </Offset>
3210 </Anchor>
3211 </Anchors>
3212 <Scripts>
3213 <OnLoad>
3214 NuNSearchProfDropDown_OnLoad();
3215 </OnLoad>
3216 </Scripts>
3217 </Button>
3218 <!-- -->
3219 <EditBox name="NuNSearchTextBox" autofocus="false" historyLines="0" letters="50" hidden="true">
3220 <Size>
3221 <AbsDimension x="200" y="54"/>
3222 </Size>
3223 <Anchors>
3224 <Anchor point="TOPLEFT">
3225 <Offset>
3226 <AbsDimension x="81" y="-26"/>
3227 </Offset>
3228 </Anchor>
3229 </Anchors>
3230 <Layers>
3231 <Layer level="BACKGROUND">
3232 <Texture name="NuNSearchBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
3233 <Size>
3234 <AbsDimension x="106" y="27"/>
3235 </Size>
3236 <Anchors>
3237 <Anchor point="LEFT">
3238 <Offset>
3239 <AbsDimension x="-10" y="0"/>
3240 </Offset>
3241 </Anchor>
3242 </Anchors>
3243 <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
3244 </Texture>
3245 <Texture name="NuNSearchBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
3246 <Size>
3247 <AbsDimension x="75" y="27"/>
3248 </Size>
3249 <Anchors>
3250 <Anchor point="RIGHT">
3251 <Offset>
3252 <AbsDimension x="10" y="0"/>
3253 </Offset>
3254 </Anchor>
3255 </Anchors>
3256 <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
3257 </Texture>
3258 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
3259 <Size>
3260 <AbsDimension x="5" y="27"/>
3261 </Size>
3262 <Anchors>
3263 <Anchor point="LEFT" relativeTo="NuNSearchBoxLeft" relativePoint="RIGHT">
3264 <Offset>
3265 <AbsDimension x="0" y="0"/>
3266 </Offset>
3267 </Anchor>
3268 <Anchor point="RIGHT" relativeTo="NuNSearchBoxRight" relativePoint="LEFT">
3269 <Offset>
3270 <AbsDimension x="0" y="0"/>
3271 </Offset>
3272 </Anchor>
3273 </Anchors>
3274 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
3275 </Texture>
3276 </Layer>
3277 </Layers>
3278 <Scripts>
3279 <OnTextChanged>
3280 </OnTextChanged>
3281 <OnEscapePressed>
3282 if ( NuNSearchFrame.backEnabled ) then
3283 NuNSearch_Back();
3284 else
3285 HideUIPanel(NuNSearchFrame);
3286 end
3287 </OnEscapePressed>
3288 <OnEnterPressed>
3289 NuNSearch_Search();
3290 </OnEnterPressed>
3291 </Scripts>
3292 <FontString inherits="ChatFontNormal"/>
3293 </EditBox>
3294 <!-- -->
3295  
3296 <Button name="NuNSearchFrameSearchButton" inherits="UIPanelButtonTemplate" text="NUN_SEARCH">
3297 <Size>
3298 <AbsDimension x="56" y="20"/>
3299 </Size>
3300 <Anchors>
3301 <Anchor point="TOPRIGHT">
3302 <Offset>
3303 <AbsDimension x="-39" y="-33"/>
3304 </Offset>
3305 </Anchor>
3306 </Anchors>
3307 <Scripts>
3308 <OnClick>
3309 NuNSearch_Search();
3310 </OnClick>
3311 </Scripts>
3312 </Button>
3313 <Button name="NuNSearchFrameBackButton" inherits="UIPanelButtonTemplate" text="NUN_GOBACK">
3314 <Size>
3315 <AbsDimension x="56" y="20"/>
3316 </Size>
3317 <Anchors>
3318 <Anchor point="TOPRIGHT">
3319 <Offset>
3320 <AbsDimension x="-39" y="-50"/>
3321 </Offset>
3322 </Anchor>
3323 </Anchors>
3324 <Scripts>
3325 <OnClick>
3326 NuNSearch_Back();
3327 </OnClick>
3328 </Scripts>
3329 </Button>
3330  
3331  
3332 <!-- Faux Scroll Buttons for holding found NuN -->
3333  
3334 <Button name="NuNSearchNote1" inherits="NuNSearchNoteTemplate" id="1" hidden="true">
3335 <Anchors>
3336 <Anchor point="TOPLEFT" relativeTo="NuNSearchFrame">
3337 <Offset>
3338 <AbsDimension x="19" y="-75"/>
3339 </Offset>
3340 </Anchor>
3341 </Anchors>
3342 </Button>
3343 <Button name="NuNSearchNote2" inherits="NuNSearchNoteTemplate" id="2" hidden="true">
3344 <Anchors>
3345 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote1" relativePoint="BOTTOMLEFT">
3346 <Offset>
3347 <AbsDimension x="0" y="1"/>
3348 </Offset>
3349 </Anchor>
3350 </Anchors>
3351 </Button>
3352 <Button name="NuNSearchNote3" inherits="NuNSearchNoteTemplate" id="3" hidden="true">
3353 <Anchors>
3354 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote2" relativePoint="BOTTOMLEFT">
3355 <Offset>
3356 <AbsDimension x="0" y="1"/>
3357 </Offset>
3358 </Anchor>
3359 </Anchors>
3360 </Button>
3361 <Button name="NuNSearchNote4" inherits="NuNSearchNoteTemplate" id="4" hidden="true">
3362 <Anchors>
3363 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote3" relativePoint="BOTTOMLEFT">
3364 <Offset>
3365 <AbsDimension x="0" y="1"/>
3366 </Offset>
3367 </Anchor>
3368 </Anchors>
3369 </Button>
3370 <Button name="NuNSearchNote5" inherits="NuNSearchNoteTemplate" id="5" hidden="true">
3371 <Anchors>
3372 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote4" relativePoint="BOTTOMLEFT">
3373 <Offset>
3374 <AbsDimension x="0" y="1"/>
3375 </Offset>
3376 </Anchor>
3377 </Anchors>
3378 </Button>
3379 <Button name="NuNSearchNote6" inherits="NuNSearchNoteTemplate" id="6" hidden="true">
3380 <Anchors>
3381 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote5" relativePoint="BOTTOMLEFT">
3382 <Offset>
3383 <AbsDimension x="0" y="1"/>
3384 </Offset>
3385 </Anchor>
3386 </Anchors>
3387 </Button>
3388 <Button name="NuNSearchNote7" inherits="NuNSearchNoteTemplate" id="7" hidden="true">
3389 <Anchors>
3390 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote6" relativePoint="BOTTOMLEFT">
3391 <Offset>
3392 <AbsDimension x="0" y="1"/>
3393 </Offset>
3394 </Anchor>
3395 </Anchors>
3396 </Button>
3397 <Button name="NuNSearchNote8" inherits="NuNSearchNoteTemplate" id="8" hidden="true">
3398 <Anchors>
3399 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote7" relativePoint="BOTTOMLEFT">
3400 <Offset>
3401 <AbsDimension x="0" y="1"/>
3402 </Offset>
3403 </Anchor>
3404 </Anchors>
3405 </Button>
3406 <Button name="NuNSearchNote9" inherits="NuNSearchNoteTemplate" id="9" hidden="true">
3407 <Anchors>
3408 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote8" relativePoint="BOTTOMLEFT">
3409 <Offset>
3410 <AbsDimension x="0" y="1"/>
3411 </Offset>
3412 </Anchor>
3413 </Anchors>
3414 </Button>
3415 <Button name="NuNSearchNote10" inherits="NuNSearchNoteTemplate" id="10" hidden="true">
3416 <Anchors>
3417 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote9" relativePoint="BOTTOMLEFT">
3418 <Offset>
3419 <AbsDimension x="0" y="1"/>
3420 </Offset>
3421 </Anchor>
3422 </Anchors>
3423 </Button>
3424 <Button name="NuNSearchNote11" inherits="NuNSearchNoteTemplate" id="11" hidden="true">
3425 <Anchors>
3426 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote10" relativePoint="BOTTOMLEFT">
3427 <Offset>
3428 <AbsDimension x="0" y="1"/>
3429 </Offset>
3430 </Anchor>
3431 </Anchors>
3432 </Button>
3433 <Button name="NuNSearchNote12" inherits="NuNSearchNoteTemplate" id="12" hidden="true">
3434 <Anchors>
3435 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote11" relativePoint="BOTTOMLEFT">
3436 <Offset>
3437 <AbsDimension x="0" y="1"/>
3438 </Offset>
3439 </Anchor>
3440 </Anchors>
3441 </Button>
3442 <Button name="NuNSearchNote13" inherits="NuNSearchNoteTemplate" id="13" hidden="true">
3443 <Anchors>
3444 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote12" relativePoint="BOTTOMLEFT">
3445 <Offset>
3446 <AbsDimension x="0" y="1"/>
3447 </Offset>
3448 </Anchor>
3449 </Anchors>
3450 </Button>
3451 <Button name="NuNSearchNote14" inherits="NuNSearchNoteTemplate" id="14" hidden="true">
3452 <Anchors>
3453 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote13" relativePoint="BOTTOMLEFT">
3454 <Offset>
3455 <AbsDimension x="0" y="1"/>
3456 </Offset>
3457 </Anchor>
3458 </Anchors>
3459 </Button>
3460 <Button name="NuNSearchNote15" inherits="NuNSearchNoteTemplate" id="15" hidden="true">
3461 <Anchors>
3462 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote14" relativePoint="BOTTOMLEFT">
3463 <Offset>
3464 <AbsDimension x="0" y="1"/>
3465 </Offset>
3466 </Anchor>
3467 </Anchors>
3468 </Button>
3469 <Button name="NuNSearchNote16" inherits="NuNSearchNoteTemplate" id="16" hidden="true">
3470 <Anchors>
3471 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote15" relativePoint="BOTTOMLEFT">
3472 <Offset>
3473 <AbsDimension x="0" y="1"/>
3474 </Offset>
3475 </Anchor>
3476 </Anchors>
3477 </Button>
3478 <Button name="NuNSearchNote17" inherits="NuNSearchNoteTemplate" id="17" hidden="true">
3479 <Anchors>
3480 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote16" relativePoint="BOTTOMLEFT">
3481 <Offset>
3482 <AbsDimension x="0" y="1"/>
3483 </Offset>
3484 </Anchor>
3485 </Anchors>
3486 </Button>
3487 <Button name="NuNSearchNote18" inherits="NuNSearchNoteTemplate" id="18" hidden="true">
3488 <Anchors>
3489 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote17" relativePoint="BOTTOMLEFT">
3490 <Offset>
3491 <AbsDimension x="0" y="1"/>
3492 </Offset>
3493 </Anchor>
3494 </Anchors>
3495 </Button>
3496 <Button name="NuNSearchNote19" inherits="NuNSearchNoteTemplate" id="19" hidden="true">
3497 <Anchors>
3498 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote18" relativePoint="BOTTOMLEFT">
3499 <Offset>
3500 <AbsDimension x="0" y="1"/>
3501 </Offset>
3502 </Anchor>
3503 </Anchors>
3504 </Button>
3505 <Button name="NuNSearchNote20" inherits="NuNSearchNoteTemplate" id="20" hidden="true">
3506 <Anchors>
3507 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote19" relativePoint="BOTTOMLEFT">
3508 <Offset>
3509 <AbsDimension x="0" y="1"/>
3510 </Offset>
3511 </Anchor>
3512 </Anchors>
3513 </Button>
3514 <Button name="NuNSearchNote21" inherits="NuNSearchNoteTemplate" id="21" hidden="true">
3515 <Anchors>
3516 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote20" relativePoint="BOTTOMLEFT">
3517 <Offset>
3518 <AbsDimension x="0" y="1"/>
3519 </Offset>
3520 </Anchor>
3521 </Anchors>
3522 </Button>
3523 <Button name="NuNSearchNote22" inherits="NuNSearchNoteTemplate" id="22" hidden="true">
3524 <Anchors>
3525 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote21" relativePoint="BOTTOMLEFT">
3526 <Offset>
3527 <AbsDimension x="0" y="1"/>
3528 </Offset>
3529 </Anchor>
3530 </Anchors>
3531 </Button>
3532 <Button name="NuNSearchNote23" inherits="NuNSearchNoteTemplate" id="23" hidden="true">
3533 <Anchors>
3534 <Anchor point="TOPLEFT" relativeTo="NuNSearchNote22" relativePoint="BOTTOMLEFT">
3535 <Offset>
3536 <AbsDimension x="0" y="1"/>
3537 </Offset>
3538 </Anchor>
3539 </Anchors>
3540 </Button>
3541 <ScrollFrame name="NuNSearchListScrollFrame" inherits="FauxScrollFrameTemplate">
3542 <Size>
3543 <AbsDimension x="296" y="354"/>
3544 </Size>
3545 <Anchors>
3546 <Anchor point="TOPLEFT" relativeTo="NuNSearchFrame">
3547 <Offset>
3548 <AbsDimension x="19" y="-75"/>
3549 </Offset>
3550 </Anchor>
3551 </Anchors>
3552 <Layers>
3553 <Layer level="ARTWORK">
3554 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
3555 <Size>
3556 <AbsDimension x="31" y="256"/>
3557 </Size>
3558 <Anchors>
3559 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
3560 <Offset>
3561 <AbsDimension x="0" y="5"/>
3562 </Offset>
3563 </Anchor>
3564 </Anchors>
3565 <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
3566 </Texture>
3567 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
3568 <Size>
3569 <AbsDimension x="31" y="106"/>
3570 </Size>
3571 <Anchors>
3572 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
3573 <Offset>
3574 <AbsDimension x="0" y="-2"/>
3575 </Offset>
3576 </Anchor>
3577 </Anchors>
3578 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
3579 </Texture>
3580 </Layer>
3581 </Layers>
3582 <Scripts>
3583 <OnVerticalScroll>
3584 FauxScrollFrame_OnVerticalScroll(NUN_NOTE_HEIGHT, NuNSearch_Update);
3585 </OnVerticalScroll>
3586 </Scripts>
3587 </ScrollFrame>
3588 </Frames>
3589 <Scripts>
3590 <OnLoad>
3591 tinsert(UISpecialFrames,"NuNSearchFrame");
3592 </OnLoad>
3593 <OnHide>
3594 if ( NuN_ScaleFrame:IsVisible() ) then
3595 HideUIPanel(NuN_ScaleFrame);
3596 end
3597 </OnHide>
3598 </Scripts>
3599 </Frame>
3600  
3601  
3602 <!-- Generic Note Frame -->
3603 <Frame name="NuNGNoteFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
3604 <TitleRegion setAllPoints="true"/>
3605 <Size>
3606 <AbsDimension x="640" y="512"/>
3607 </Size>
3608 <Anchors>
3609 <Anchor point="CENTER">
3610 <Offset>
3611 <AbsDimension x="250" y="-15"/>
3612 </Offset>
3613 </Anchor>
3614 </Anchors>
3615 <HitRectInsets>
3616 <AbsInset left="0" right="44" top="0" bottom="13"/>
3617 </HitRectInsets>
3618 <Layers>
3619 <Layer level="BACKGROUND">
3620 <Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
3621 <Size>
3622 <AbsDimension x="256" y="256"/>
3623 </Size>
3624 <Anchors>
3625 <Anchor point="TOPLEFT"/>
3626 </Anchors>
3627 </Texture>
3628 <Texture file="Interface\HelpFrame\HelpFrame-Top">
3629 <Size>
3630 <AbsDimension x="256" y="256"/>
3631 </Size>
3632 <Anchors>
3633 <Anchor point="TOPLEFT">
3634 <Offset>
3635 <AbsDimension x="256" y="0"/>
3636 </Offset>
3637 </Anchor>
3638 </Anchors>
3639 </Texture>
3640 <Texture file="Interface\HelpFrame\HelpFrame-TopRight">
3641 <Size>
3642 <AbsDimension x="128" y="256"/>
3643 </Size>
3644 <Anchors>
3645 <Anchor point="TOPRIGHT"/>
3646 </Anchors>
3647 </Texture>
3648 <Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
3649 <Size>
3650 <AbsDimension x="256" y="256"/>
3651 </Size>
3652 <Anchors>
3653 <Anchor point="BOTTOMLEFT"/>
3654 </Anchors>
3655 </Texture>
3656 <Texture file="Interface\HelpFrame\HelpFrame-Bottom">
3657 <Size>
3658 <AbsDimension x="256" y="256"/>
3659 </Size>
3660 <Anchors>
3661 <Anchor point="BOTTOMLEFT">
3662 <Offset>
3663 <AbsDimension x="256" y="0"/>
3664 </Offset>
3665 </Anchor>
3666 </Anchors>
3667 </Texture>
3668 <Texture file="Interface\HelpFrame\HelpFrame-BotRight">
3669 <Size>
3670 <AbsDimension x="128" y="256"/>
3671 </Size>
3672 <Anchors>
3673 <Anchor point="BOTTOMRIGHT"/>
3674 </Anchors>
3675 </Texture>
3676 <FontString name="NuNGTTCheckBoxLabel" inherits="GameFontNormalSmall" text="NUN_TT_PIN_TXT">
3677 <Anchors>
3678 <Anchor point="TOPLEFT">
3679 <Offset>
3680 <AbsDimension x="48" y="-14"/>
3681 </Offset>
3682 </Anchor>
3683 </Anchors>
3684 </FontString>
3685 <FontString name="NuNGLevelCheckBoxLabel" inherits="GameFontNormalSmall" text="NUN_LEVEL_TXT">
3686 <Anchors>
3687 <Anchor point="TOPRIGHT">
3688 <Offset>
3689 <AbsDimension x="-114" y="-14"/>
3690 </Offset>
3691 </Anchor>
3692 </Anchors>
3693 </FontString>
3694 </Layer>
3695 <Layer level="ARTWORK">
3696 <Texture name="NuNGNoteFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
3697 <Size>
3698 <AbsDimension x="436" y="64"/>
3699 </Size>
3700 <Anchors>
3701 <Anchor point="TOP">
3702 <Offset>
3703 <AbsDimension x="-12" y="12"/>
3704 </Offset>
3705 </Anchor>
3706 </Anchors>
3707 </Texture>
3708 <FontString name="NuNGNoteHeader" inherits="GameFontNormal">
3709 <Anchors>
3710 <Anchor point="TOP" relativeTo="NuNGNoteFrameHeader">
3711 <Offset>
3712 <AbsDimension x="0" y="-14"/>
3713 </Offset>
3714 </Anchor>
3715 </Anchors>
3716 </FontString>
3717 </Layer>
3718 </Layers>
3719  
3720 <!-- f1fs1 -->
3721 <Frames>
3722 <!-- Window Close -->
3723 <Button name="NuNGNoteFrameCloseButton" inherits="UIPanelCloseButton">
3724 <Anchors>
3725 <Anchor point="TOPRIGHT">
3726 <Offset>
3727 <AbsDimension x="-42" y="-3"/>
3728 </Offset>
3729 </Anchor>
3730 </Anchors>
3731 </Button>
3732 <Button name="NuNGNoteFrameScaleButton" inherits="UIPanelButtonTemplate2">
3733 <Size>
3734 <AbsDimension x="24" y="24"/>
3735 </Size>
3736 <Anchors>
3737 <Anchor point="RIGHT" relativeTo="NuNGNoteFrameCloseButton" relativePoint="LEFT">
3738 <Offset>
3739 <AbsDimension x="4" y="0"/>
3740 </Offset>
3741 </Anchor>
3742 </Anchors>
3743 <Layers>
3744 <Layer level="ARTWORK">
3745 <Texture name="NuNGNoteFrameScaleIcon" file="Interface\AddOns\NotesUNeed\Artwork\NuNScale">
3746 <Size>
3747 <AbsDimension x="16" y="16"/>
3748 </Size>
3749 <Anchors>
3750 <Anchor point="CENTER"/>
3751 </Anchors>
3752 </Texture>
3753 </Layer>
3754 </Layers>
3755 <Scripts>
3756 <OnClick>
3757 NuNScaleFrameShow();
3758 </OnClick>
3759 <OnEnter>
3760 NuNScaleFrameButton_OnEnter();
3761 </OnEnter>
3762 <OnLeave>
3763 NuN_TTButton_OnLeave();
3764 </OnLeave>
3765 </Scripts>
3766 </Button>
3767 <Button name="NuNGNoteFrameRunButton" inherits="NuNButtonTemplate" text="NUN_RUN">
3768 <Anchors>
3769 <Anchor point="TOP">
3770 <Offset>
3771 <AbsDimension x="-69" y="-28"/>
3772 </Offset>
3773 </Anchor>
3774 </Anchors>
3775 <Scripts>
3776 <OnClick>
3777 NuN_RunButton_OnClick();
3778 </OnClick>
3779 <OnEnter>
3780 NuN_RunButton_OnEnter();
3781 </OnEnter>
3782 <OnLeave>
3783 NuN_TTButton_OnLeave();
3784 </OnLeave>
3785 </Scripts>
3786 </Button>
3787 <!-- f1fs1f2 -->
3788  
3789 <CheckButton name="NuN_GTTCheckBox" inherits="UICheckButtonTemplate">
3790 <Size>
3791 <AbsDimension x="18" y="18"/>
3792 </Size>
3793 <Anchors>
3794 <Anchor point="TOPLEFT">
3795 <Offset>
3796 <AbsDimension x="26" y="-12" />
3797 </Offset>
3798 </Anchor>
3799 </Anchors>
3800 <HitRectInsets>
3801 <AbsInset left="0" right="-60" top="-10" bottom="0"/>
3802 </HitRectInsets>
3803 <Scripts>
3804 <OnClick>
3805 if ( this:GetChecked() ) then
3806 PlaySound("igMainMenuOptionCheckBoxOff");
3807 else
3808 PlaySound("igMainMenuOptionCheckBoxOn");
3809 end
3810 NuN_TTCheckBox_OnClick("General");
3811 </OnClick>
3812 <OnEnter>
3813 NuN_TTCheckBox_OnEnter();
3814 </OnEnter>
3815 <OnLeave>
3816 NuN_TTButton_OnLeave();
3817 </OnLeave>
3818 </Scripts>
3819 </CheckButton>
3820 <CheckButton name="NuN_GLevel_CheckBox" inherits="UICheckButtonTemplate">
3821 <Size>
3822 <AbsDimension x="18" y="18"/>
3823 </Size>
3824 <Anchors>
3825 <Anchor point="TOPRIGHT">
3826 <Offset>
3827 <AbsDimension x="-193" y="-12" />
3828 </Offset>
3829 </Anchor>
3830 </Anchors>
3831 <HitRectInsets>
3832 <AbsInset left="0" right="-60" top="-10" bottom="0"/>
3833 </HitRectInsets>
3834 <Scripts>
3835 <OnClick>
3836 if ( this:GetChecked() ) then
3837 PlaySound("igMainMenuOptionCheckBoxOff");
3838 else
3839 PlaySound("igMainMenuOptionCheckBoxOn");
3840 end
3841 </OnClick>
3842 <OnEnter>
3843 NuN_Level_CheckBox_OnEnter();
3844 </OnEnter>
3845 <OnLeave>
3846 NuN_TTButton_OnLeave();
3847 </OnLeave>
3848 </Scripts>
3849 </CheckButton>
3850 <Button name="NuNNPCTargetButton" inherits="NuNButtonTemplate" text="NUN_NPC_TARGET" enabled="true" hidden="true">
3851 <Anchors>
3852 <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
3853 <Offset>
3854 <AbsDimension x="64" y="32"/>
3855 </Offset>
3856 </Anchor>
3857 </Anchors>
3858 <Scripts>
3859 <OnClick>
3860 PlaySound("igMainMenuOption");
3861 NuN_NPCTarget();
3862 </OnClick>
3863 <OnEnter>
3864 NuN_NPCTargetButton_OnEnter();
3865 </OnEnter>
3866 <OnLeave>
3867 NuN_TTButton_OnLeave();
3868 </OnLeave>
3869 </Scripts>
3870 </Button>
3871 <Frame name="NuNGTypeDropDown" inherits="UIDropDownMenuTemplate">
3872 <Size>
3873 <AbsDimension x="70" y="16"/>
3874 </Size>
3875 <Anchors>
3876 <Anchor point="BOTTOMLEFT">
3877 <Offset>
3878 <AbsDimension x="98" y="14"/>
3879 </Offset>
3880 </Anchor>
3881 </Anchors>
3882 <Scripts>
3883 <OnLoad>
3884 NuNGTypeDropDown_OnLoad();
3885 </OnLoad>
3886 <OnShow>
3887 NuNGTypeDropDown_OnLoad();
3888 </OnShow>
3889 <OnEnter>
3890 NuNGTypeDropDown_OnEnter();
3891 </OnEnter>
3892 <OnLeave>
3893 NuN_TTButton_OnLeave();
3894 </OnLeave>
3895 <OnEvent>
3896 </OnEvent>
3897 </Scripts>
3898 </Frame>
3899  
3900 <Frame name="NuNGNoteInnerFrame" setAllPoints="true">
3901 <!-- f1fs1f2fs2 -->
3902 <Frames>
3903 <!-- f1fs1f2fs2f3 -->
3904 <Button name="NuNGNoteTitleButton">
3905 <Size>
3906 <AbsDimension x="548" y="32"/>
3907 </Size>
3908 <Anchors>
3909 <Anchor point="TOPLEFT">
3910 <Offset>
3911 <AbsDimension x="30" y="-50"/>
3912 </Offset>
3913 </Anchor>
3914 </Anchors>
3915 <Scripts>
3916 <OnClick>
3917 NuN_GNoteTitle_OnClick();
3918 </OnClick>
3919 </Scripts>
3920 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
3921 <NormalText name="NuNGNoteTitleButtonText" inherits="GameFontNormal" justifyH="LEFT">
3922 <Size>
3923 <AbsDimension x="520" y="30"/>
3924 </Size>
3925 <Anchors>
3926 <Anchor point="LEFT">
3927 <Offset>
3928 <AbsDimension x="10" y="0"/>
3929 </Offset>
3930 </Anchor>
3931 </Anchors>
3932 </NormalText>
3933 </Button>
3934  
3935 <EditBox name="NuNGNoteTextBox" historyLines="0" letters="75">
3936 <Size>
3937 <AbsDimension x="548" y="32"/>
3938 </Size>
3939 <Anchors>
3940 <Anchor point="TOPLEFT">
3941 <Offset>
3942 <AbsDimension x="30" y="-50"/>
3943 </Offset>
3944 </Anchor>
3945 </Anchors>
3946 <Layers>
3947 <Layer level="BACKGROUND">
3948 <Texture name="NuNGNoteBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
3949 <Size>
3950 <AbsDimension x="106" y="32"/>
3951 </Size>
3952 <Anchors>
3953 <Anchor point="LEFT">
3954 <Offset>
3955 <AbsDimension x="-10" y="0"/>
3956 </Offset>
3957 </Anchor>
3958 </Anchors>
3959 <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
3960 </Texture>
3961 <Texture name="NuNGNoteBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
3962 <Size>
3963 <AbsDimension x="75" y="32"/>
3964 </Size>
3965 <Anchors>
3966 <Anchor point="RIGHT">
3967 <Offset>
3968 <AbsDimension x="10" y="0"/>
3969 </Offset>
3970 </Anchor>
3971 </Anchors>
3972 <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
3973 </Texture>
3974 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
3975 <Size>
3976 <AbsDimension x="5" y="32"/>
3977 </Size>
3978 <Anchors>
3979 <Anchor point="LEFT" relativeTo="NuNGNoteBoxLeft" relativePoint="RIGHT">
3980 <Offset>
3981 <AbsDimension x="0" y="0"/>
3982 </Offset>
3983 </Anchor>
3984 <Anchor point="RIGHT" relativeTo="NuNGNoteBoxRight" relativePoint="LEFT">
3985 <Offset>
3986 <AbsDimension x="0" y="0"/>
3987 </Offset>
3988 </Anchor>
3989 </Anchors>
3990 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
3991 </Texture>
3992 </Layer>
3993 </Layers>
3994 <Scripts>
3995 <OnTextChanged>
3996 if ( ( this:GetText() == nil ) or ( this:GetText() == "" ) ) then
3997 NuNGNoteButtonSaveNote:Disable();
3998 NuNGNoteButtonDateStamp:Disable();
3999 NuNGNoteButtonLoc:Disable();
4000 elseif ( not NuNGNoteFrame.fromQuest ) then
4001 NuNGNoteButtonSaveNote:Enable();
4002 NuNGNoteButtonDateStamp:Enable();
4003 NuNGNoteButtonLoc:Enable();
4004 end
4005 </OnTextChanged>
4006 <OnEnterPressed>
4007 if ( ( this:GetText() == nil ) or ( this:GetText() == "" ) or ( NuNGNoteFrame.fromQuest ) ) then
4008 else
4009 this:ClearFocus();
4010 NuNGNoteTextBox:ClearFocus();
4011 NuNGNoteTextScroll:SetFocus();
4012 NuN_GNoteTitleSet();
4013 end
4014 </OnEnterPressed>
4015 <OnTabPressed>
4016 if ( ( this:GetText() == nil ) or ( this:GetText() == "" ) or ( NuNGNoteFrame.fromQuest ) ) then
4017 else
4018 this:ClearFocus();
4019 NuNGNoteTextBox:ClearFocus();
4020 NuNGNoteTextScroll:SetFocus();
4021 NuN_GNoteTitleSet();
4022 end
4023 </OnTabPressed>
4024 <OnEnter>
4025 NuN_GNoteTitle_OnEnter();
4026 </OnEnter>
4027 <OnLeave>
4028 NuN_TTButton_OnLeave();
4029 </OnLeave>
4030 <OnEscapePressed>
4031 NuNGNote_HideFrame();
4032 </OnEscapePressed>
4033 </Scripts>
4034 <FontString inherits="ChatFontNormal"/>
4035 </EditBox>
4036  
4037 <Button name="NuNGOpenChatButton" inherits="UIPanelButtonTemplate2">
4038 <Size>
4039 <AbsDimension x="24" y="24"/>
4040 </Size>
4041 <Anchors>
4042 <Anchor point="TOPRIGHT">
4043 <Offset>
4044 <AbsDimension x="-68" y="-28"/>
4045 </Offset>
4046 </Anchor>
4047 </Anchors>
4048 <Scripts>
4049 <OnClick>
4050 NuN_OpenChat("General");
4051 </OnClick>
4052 <OnEnter>
4053 NuN_OpenChat_OnEnter();
4054 </OnEnter>
4055 <OnLeave>
4056 NuN_TTButton_OnLeave();
4057 </OnLeave>
4058 </Scripts>
4059 <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Up"/>
4060 <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Down"/>
4061 <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Disabled"/>
4062 <HighlightTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Highlight" alphaMode="ADD"/>
4063 </Button>
4064 <Button name="NuNGFrameHyperButton" inherits="UIPanelButtonTemplate2" text="[]">
4065 <Size>
4066 <AbsDimension x="24" y="24"/>
4067 </Size>
4068 <Anchors>
4069 <Anchor point="LEFT" relativeTo="NuNGOpenChatButton" relativePoint="RIGHT">
4070 <Offset>
4071 <AbsDimension x="-2" y="0"/>
4072 </Offset>
4073 </Anchor>
4074 </Anchors>
4075 <Scripts>
4076 <OnClick>
4077 NuN_HyperButton_OnClick("General");
4078 </OnClick>
4079 <OnEnter>
4080 NuN_HyperButton_OnEnter();
4081 </OnEnter>
4082 <OnLeave>
4083 NuN_TTButton_OnLeave();
4084 </OnLeave>
4085 </Scripts>
4086 </Button>
4087  
4088 <Button name="NuNMapNoteButton" inherits="NuNButtonTemplate" text="NUN_MAPNOTES_TXT">
4089 <Size>
4090 <AbsDimension x="122" y="21"/>
4091 </Size>
4092 <Anchors>
4093 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNGOpenChatButton">
4094 <Offset>
4095 <AbsDimension x="-5" y="0"/>
4096 </Offset>
4097 </Anchor>
4098 </Anchors>
4099 <Scripts>
4100 <OnClick>
4101 PlaySound("igMainMenuOption");
4102 NuN_MapNote("Note", "", "", nil);
4103 </OnClick>
4104 <OnEnter>
4105 NuNMapNoteButton_OnEnter();
4106 </OnEnter>
4107 <OnLeave>
4108 NuN_TTButton_OnLeave();
4109 </OnLeave>
4110 </Scripts>
4111 </Button>
4112  
4113 <Frame name="NuNGNoteDivider" inherits="HelpFrameDividerTemplate">
4114 <Anchors>
4115 <Anchor point="TOPLEFT">
4116 <Offset>
4117 <AbsDimension x="12" y="-75"/>
4118 </Offset>
4119 </Anchor>
4120 </Anchors>
4121 </Frame>
4122  
4123 <!-- f1fs1f2fs2/f3 -->
4124 <ScrollFrame name="NuNGNoteScrollFrame" inherits="UIPanelScrollFrameTemplate">
4125 <Size>
4126 <AbsDimension x="540" y="375"/>
4127 </Size>
4128 <Anchors>
4129 <Anchor point="TOPLEFT" relativeTo="NuNGNoteDivider" relativePoint="BOTTOMLEFT">
4130 <Offset>
4131 <AbsDimension x="8" y="4"/>
4132 </Offset>
4133 </Anchor>
4134 </Anchors>
4135 <Layers>
4136 <Layer level="ARTWORK">
4137 <Texture name="NuNGNoteScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
4138 <Size>
4139 <AbsDimension x="31" y="156"/>
4140 </Size>
4141 <Anchors>
4142 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
4143 <Offset>
4144 <AbsDimension x="0" y="5"/>
4145 </Offset>
4146 </Anchor>
4147 </Anchors>
4148 <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
4149 </Texture>
4150 <Texture name="NuNGNoteScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
4151 <Size>
4152 <AbsDimension x="31" y="106"/>
4153 </Size>
4154 <Anchors>
4155 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
4156 <Offset>
4157 <AbsDimension x="0" y="-2"/>
4158 </Offset>
4159 </Anchor>
4160 </Anchors>
4161 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
4162 </Texture>
4163 <Texture name="NuNGNoteScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
4164 <Size>
4165 <AbsDimension x="31" y="60"/>
4166 </Size>
4167 <Anchors>
4168 <Anchor point="TOP" relativeTo="NuNGNoteScrollBarTop" relativePoint="BOTTOM">
4169 <Offset>
4170 <AbsDimension x="0" y="0"/>
4171 </Offset>
4172 </Anchor>
4173 <Anchor point="BOTTOM" relativeTo="NuNGNoteScrollBarBottom" relativePoint="TOP">
4174 <Offset>
4175 <AbsDimension x="0" y="0"/>
4176 </Offset>
4177 </Anchor>
4178 </Anchors>
4179 <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
4180 </Texture>
4181 <FontString name="NuNGNoteTextLabel" inherits="GameFontNormalSmall" text="NUN_TXT_LABEL">
4182 <Anchors>
4183 <Anchor point="RIGHT" relativeTo="NuNGNoteScrollBarBottom" relativePoint="BOTTOMLEFT">
4184 <Offset>
4185 <AbsDimension x="-18" y="2"/>
4186 </Offset>
4187 </Anchor>
4188 </Anchors>
4189 </FontString>
4190 </Layer>
4191 </Layers>
4192 <ScrollChild>
4193 <EditBox name="NuNGNoteTextScroll" autoFocus="false" multiLine="true" letters="5060" text="NUN_BOILERPLATE">
4194 <Size>
4195 <AbsDimension x="541" y="234"/>
4196 </Size>
4197 <Scripts>
4198 <OnTextChanged>
4199 ScrollingEdit_OnTextChanged();
4200 NuN_TextWarning(this, "NuNGNoteTextLabel");
4201 </OnTextChanged>
4202 <OnCursorChanged>
4203 ScrollingEdit_OnCursorChanged(arg1, arg2, arg3, arg4);
4204 </OnCursorChanged>
4205 <OnUpdate>
4206 ScrollingEdit_OnUpdate();
4207 </OnUpdate>
4208 <OnEscapePressed>
4209 NuN_TextEscape(NuNGNoteFrame, NuNGNoteTextScroll);
4210 </OnEscapePressed>
4211 </Scripts>
4212 <FontString inherits="ChatFontNormal"/>
4213 </EditBox>
4214 </ScrollChild>
4215 </ScrollFrame>
4216  
4217  
4218 <!-- Buttons for Saving and Cancelling -->
4219 <Button name="NuNGNoteButtonSaveNote" inherits="NuNButtonTemplate" text="NUN_SAVE" enabled="false">
4220 <Anchors>
4221 <Anchor point="CENTER" relativePoint="BOTTOMRIGHT">
4222 <Offset>
4223 <AbsDimension x="-198" y="32"/>
4224 </Offset>
4225 </Anchor>
4226 </Anchors>
4227 <Scripts>
4228 <OnClick>
4229 PlaySound("igMainMenuOption");
4230 NuNGNoteFrame.confirmed = false;
4231 NuNGNote_WriteNote();
4232 </OnClick>
4233 </Scripts>
4234 </Button>
4235 <Button name="NuNGNoteButtonCancel" inherits="NuNButtonTemplate" text="NUN_CANCEL">
4236 <Anchors>
4237 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNGNoteButtonSaveNote">
4238 <Offset>
4239 <AbsDimension x="6" y="0"/>
4240 </Offset>
4241 </Anchor>
4242 </Anchors>
4243 <Scripts>
4244 <OnClick>
4245 PlaySound("igMainMenuOption");
4246 NuNGNote_HideFrame();
4247 </OnClick>
4248 </Scripts>
4249 </Button>
4250 <Button name="NuNGNoteButtonDelete" inherits="NuNButtonTemplate" text="NUN_DELETE">
4251 <Anchors>
4252 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNGNoteButtonSaveNote">
4253 <Offset>
4254 <AbsDimension x="-6" y="0"/>
4255 </Offset>
4256 </Anchor>
4257 </Anchors>
4258 <Scripts>
4259 <OnClick>
4260 PlaySound("igMainMenuOption");
4261 NuN_DeleteNote("General");
4262 </OnClick>
4263 <OnEnter>
4264 NuN_GNoteButtonDelete_OnEnter();
4265 </OnEnter>
4266 <OnLeave>
4267 NuN_TTButton_OnLeave();
4268 </OnLeave>
4269 </Scripts>
4270 </Button>
4271 <Button name="NuNGNoteButtonOptions" inherits="NuNButtonTemplate" text="NUN_OPTIONS">
4272 <Anchors>
4273 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNGNoteButtonDelete">
4274 <Offset>
4275 <AbsDimension x="-6" y="0"/>
4276 </Offset>
4277 </Anchor>
4278 </Anchors>
4279 <Scripts>
4280 <OnClick>
4281 PlaySound("igMainMenuOption");
4282 NuN_Options();
4283 </OnClick>
4284 </Scripts>
4285 </Button>
4286 <Button name="NuNGNoteButtonDateStamp" inherits="NuNButtonTemplate" text="NUN_STAMP">
4287 <Anchors>
4288 <Anchor point="TOPLEFT">
4289 <Offset>
4290 <AbsDimension x="19" y="-28"/>
4291 </Offset>
4292 </Anchor>
4293 </Anchors>
4294 <Scripts>
4295 <OnClick>
4296 PlaySound("igMainMenuOption");
4297 NuNGNote_DateStamp();
4298 </OnClick>
4299 </Scripts>
4300 </Button>
4301 <Button name="NuNGNoteButtonLoc" inherits="NuNButtonTemplate" text="NUN_LOC">
4302 <Anchors>
4303 <Anchor point="LEFT" relativeTo="NuNGNoteButtonDateStamp" relativePoint="RIGHT">
4304 <Offset>
4305 <AbsDimension x="6" y="0"/>
4306 </Offset>
4307 </Anchor>
4308 </Anchors>
4309 <Scripts>
4310 <OnClick>
4311 PlaySound("igMainMenuOption");
4312 NuNGNote_Loc();
4313 </OnClick>
4314 <OnEnter>
4315 NuN_LocButton_OnEnter();
4316 </OnEnter>
4317 <OnLeave>
4318 NuN_TTButton_OnLeave();
4319 </OnLeave>
4320 </Scripts>
4321 </Button>
4322  
4323 </Frames>
4324 </Frame>
4325 </Frames>
4326 <Scripts>
4327 <OnLoad>
4328 tinsert(UISpecialFrames,"NuNGNoteFrame");
4329 this.type = 1;
4330 this.confirmed = false;
4331 this.fromQuest = nil;
4332 this.qText = nil;
4333 </OnLoad>
4334 <OnHide>
4335 NuN_SaveLast("General");
4336 if ( NuN_ChatFrame:IsVisible() ) then
4337 HideUIPanel(NuN_ChatFrame);
4338 end
4339 if ( NuN_ConfirmFrame:IsVisible() ) then
4340 HideUIPanel(NuN_ConfirmFrame);
4341 end
4342 if ( NuN_ScaleFrame:IsVisible() ) then
4343 HideUIPanel(NuN_ScaleFrame);
4344 end
4345 if ( ( NuNcDeleteFrame:IsVisible() ) and ( NuNcDeleteFrame.type == "General" ) ) then
4346 HideUIPanel(NuNcDeleteFrame);
4347 end
4348 this.fromQuest = nil;
4349 </OnHide>
4350 </Scripts>
4351 </Frame>
4352  
4353  
4354  
4355 <Frame name="NuNMicroFrame" parent="UIParent" toplevel="true" frameStrata="LOW" enableMouse="true" movable="true" hidden="false">
4356 <TitleRegion setAllPoints="true"/>
4357 <Size>
4358 <AbsDimension x="97" y="29"/>
4359 </Size>
4360 <Anchors>
4361 <Anchor point="TOP" relativePoint="TOP">
4362 <Offset>
4363 <AbsDimension x="0" y="-30"/>
4364 </Offset>
4365 </Anchor>
4366 </Anchors>
4367 <Scripts>
4368 <OnShow>
4369 NuN_CheckTarget();
4370 </OnShow>
4371 <OnUpdate>
4372 NuN_OnUpdate(arg1);
4373 </OnUpdate>
4374 </Scripts>
4375 <Frames>
4376 <Frame name="NuNMicroBorder" setAllPoints="true" frameStrata="BACKGROUND" hidden="true">
4377 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
4378 <EdgeSize>
4379 <AbsValue val="6"/>
4380 </EdgeSize>
4381 <TileSize>
4382 <AbsValue val="8"/>
4383 </TileSize>
4384 <BackgroundInsets>
4385 <AbsInset left="6" right="6" top="6" bottom="6"/>
4386 </BackgroundInsets>
4387 </Backdrop>
4388 <Scripts>
4389 <OnLoad>
4390 this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
4391 this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
4392 this:SetFrameLevel(this:GetFrameLevel() - 1);
4393 </OnLoad>
4394 </Scripts>
4395 </Frame>
4396 <Button name="NuNMicroOptionsButton" inherits="UIPanelButtonTemplate2">
4397 <Size>
4398 <AbsDimension x="24" y="24"/>
4399 </Size>
4400 <Anchors>
4401 <Anchor point="LEFT">
4402 <Offset>
4403 <AbsDimension x="5" y="0"/>
4404 </Offset>
4405 </Anchor>
4406 </Anchors>
4407 <Layers>
4408 <Layer level="ARTWORK">
4409 <Texture name="NuNMicroOptionsIcon1" file="Interface\Buttons\UI-CheckBox-Up">
4410 <Size>
4411 <AbsDimension x="14" y="14"/>
4412 </Size>
4413 <Anchors>
4414 <Anchor point="CENTER"/>
4415 </Anchors>
4416 </Texture>
4417 <Texture name="NuNMicroOptionsIcon2" file="Interface\Buttons\UI-CheckBox-Check">
4418 <Size>
4419 <AbsDimension x="14" y="14"/>
4420 </Size>
4421 <Anchors>
4422 <Anchor point="CENTER"/>
4423 </Anchors>
4424 </Texture>
4425 </Layer>
4426 </Layers>
4427 <Scripts>
4428 <OnClick>
4429 NuN_Options();
4430 </OnClick>
4431 <OnEnter>
4432 NuN_OptionsButton_OnEnter();
4433 </OnEnter>
4434 <OnLeave>
4435 NuN_TTButton_OnLeave();
4436 </OnLeave>
4437 </Scripts>
4438 </Button>
4439 <Button name="NuNMicroBrowseButton" inherits="UIPanelButtonTemplate2">
4440 <Size>
4441 <AbsDimension x="24" y="24"/>
4442 </Size>
4443 <Anchors>
4444 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNMicroOptionsButton">
4445 <Offset>
4446 <AbsDimension x="-3" y="0"/>
4447 </Offset>
4448 </Anchor>
4449 </Anchors>
4450 <Layers>
4451 <Layer level="ARTWORK">
4452 <Texture name="NuNMicroBrowseIcon" file="Interface\AddOns\NotesUNeed\Artwork\MagGlass">
4453 <Size>
4454 <AbsDimension x="12" y="12"/>
4455 </Size>
4456 <Anchors>
4457 <Anchor point="CENTER"/>
4458 </Anchors>
4459 </Texture>
4460 </Layer>
4461 </Layers>
4462 <Scripts>
4463 <OnClick>
4464 NuN_DisplayAll();
4465 </OnClick>
4466 <OnEnter>
4467 NuN_BrowseButton_OnEnter();
4468 </OnEnter>
4469 <OnLeave>
4470 NuN_TTButton_OnLeave();
4471 </OnLeave>
4472 </Scripts>
4473 </Button>
4474 <Button name="NuNMicroContactButton" inherits="UIPanelButtonTemplate2">
4475 <Size>
4476 <AbsDimension x="24" y="24"/>
4477 </Size>
4478 <Anchors>
4479 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNMicroBrowseButton">
4480 <Offset>
4481 <AbsDimension x="-3" y="0"/>
4482 </Offset>
4483 </Anchor>
4484 </Anchors>
4485 <Layers>
4486 <Layer level="ARTWORK">
4487 <Texture name="NuNMicroContactDIcon" file="Interface\AddOns\NotesUNeed\Artwork\Disabled" hidden="true">
4488 <Size>
4489 <AbsDimension x="16" y="16"/>
4490 </Size>
4491 <Anchors>
4492 <Anchor point="CENTER"/>
4493 </Anchors>
4494 </Texture>
4495 </Layer>
4496 <Layer level="OVERLAY">
4497 <Texture name="NuNMicroContactIcon1" file="Interface\AddOns\NotesUNeed\Artwork\tAlliance">
4498 <Size>
4499 <AbsDimension x="14" y="14"/>
4500 </Size>
4501 <Anchors>
4502 <Anchor point="CENTER">
4503 <Offset>
4504 <AbsDimension x="-2" y="2"/>
4505 </Offset>
4506 </Anchor>
4507 </Anchors>
4508 </Texture>
4509 <Texture name="NuNMicroContactIcon2" file="Interface\AddOns\NotesUNeed\Artwork\tHorde">
4510 <Size>
4511 <AbsDimension x="14" y="14"/>
4512 </Size>
4513 <Anchors>
4514 <Anchor point="CENTER">
4515 <Offset>
4516 <AbsDimension x="3" y="-4"/>
4517 </Offset>
4518 </Anchor>
4519 </Anchors>
4520 </Texture>
4521 </Layer>
4522 </Layers>
4523 <Scripts>
4524 <OnClick>
4525 NuN_FromTarget(false);
4526 </OnClick>
4527 <OnEnter>
4528 NuN_ContactButton_OnEnter();
4529 </OnEnter>
4530 <OnLeave>
4531 NuN_TTButton_OnLeave();
4532 </OnLeave>
4533 </Scripts>
4534 </Button>
4535 <Button name="NuNMicroGeneralButton" inherits="UIPanelButtonTemplate2">
4536 <Size>
4537 <AbsDimension x="24" y="24"/>
4538 </Size>
4539 <Anchors>
4540 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNMicroContactButton">
4541 <Offset>
4542 <AbsDimension x="-3" y="0"/>
4543 </Offset>
4544 </Anchor>
4545 </Anchors>
4546 <Layers>
4547 <Layer level="ARTWORK">
4548 <Texture name="NuNMicroGeneralIcon" file="Interface\Buttons\UI-GuildButton-PublicNote-Up">
4549 <Size>
4550 <AbsDimension x="10" y="10"/>
4551 </Size>
4552 <Anchors>
4553 <Anchor point="CENTER"/>
4554 </Anchors>
4555 </Texture>
4556 </Layer>
4557 </Layers>
4558 <Scripts>
4559 <OnClick>
4560 NuN_ShowNewGNote();
4561 </OnClick>
4562 <OnEnter>
4563 NuN_GNoteButton_OnEnter();
4564 </OnEnter>
4565 <OnLeave>
4566 NuN_TTButton_OnLeave();
4567 </OnLeave>
4568 </Scripts>
4569 </Button>
4570 </Frames>
4571 </Frame>
4572  
4573 <Frame name="NuN_TooltipControl" parent="GameTooltip" hidden="false">
4574 <Scripts>
4575 <OnShow>
4576 NuN_GameTooltip_OnShow();
4577 </OnShow>
4578 <OnHide>
4579 NuN_GameTooltip_OnHide();
4580 </OnHide>
4581 </Scripts>
4582 </Frame>
4583  
4584 <GameTooltip name="NuN_Tooltip" frameStrata="TOOLTIP" parent="UIParent" hidden="true" inherits="GameTooltipTemplate">
4585 <Scripts>
4586 <OnLoad>
4587 this.fadeStartTime = 0.0;
4588 this.fadeHoldTime = 1.0;
4589 this.fadeOutTime = 1.0;
4590 this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
4591 this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
4592 </OnLoad>
4593 <OnShow>
4594 this.fadeStartTime = 0;
4595 </OnShow>
4596 <OnUpdate>
4597 NuN_Tooltip_OnUpdate();
4598 </OnUpdate>
4599 </Scripts>
4600 </GameTooltip>
4601  
4602 <Frame name="NuN_PinnedTooltipControl" parent="ItemRefTooltip" toplevel="true" frameStrata="HIGH" hidden="false">
4603 <Scripts>
4604 <OnShow>
4605 NuN_ItemRefTooltip_OnShow();
4606 </OnShow>
4607 <OnHide>
4608 NuN_ItemRefTooltip_OnHide();
4609 </OnHide>
4610 </Scripts>
4611 </Frame>
4612  
4613 <GameTooltip name="NuN_PinnedTooltip" inherits="GameTooltipTemplate" parent="UIParent" enableMouse="true" toplevel="true" movable="true" frameStrata="HIGH" hidden="true">
4614 <Size>
4615 <AbsDimension x="128" y="64"/>
4616 </Size>
4617 <Anchors>
4618 <Anchor point="TOP">
4619 <Offset>
4620 <AbsDimension x="0" y="-90"/>
4621 </Offset>
4622 </Anchor>
4623 </Anchors>
4624 <Frames>
4625 <Button name="NuN_PinnedCloseButton">
4626 <Size>
4627 <AbsDimension x="32" y="32"/>
4628 </Size>
4629 <Anchors>
4630 <Anchor point="TOPRIGHT">
4631 <Offset>
4632 <AbsDimension x="1" y="0"/>
4633 </Offset>
4634 </Anchor>
4635 </Anchors>
4636 <Scripts>
4637 <OnClick>
4638 HideUIPanel(NuN_PinnedTooltip);
4639 </OnClick>
4640 </Scripts>
4641 <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
4642 <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
4643 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
4644 </Button>
4645 <Button name="NuN_PinnedEditButton" inherits="UIPanelButtonTemplate2">
4646 <Size>
4647 <AbsDimension x="24" y="24"/>
4648 </Size>
4649 <Anchors>
4650 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuN_PinnedCloseButton">
4651 <Offset>
4652 <AbsDimension x="6" y="0"/>
4653 </Offset>
4654 </Anchor>
4655 </Anchors>
4656 <Layers>
4657 <Layer level="ARTWORK">
4658 <Texture name="NuN_PinnedTTEditIcon" file="Interface\Buttons\UI-GuildButton-PublicNote-Up">
4659 <Size>
4660 <AbsDimension x="10" y="10"/>
4661 </Size>
4662 <Anchors>
4663 <Anchor point="CENTER"/>
4664 </Anchors>
4665 </Texture>
4666 </Layer>
4667 </Layers>
4668 <Scripts>
4669 <OnClick>
4670 NuN_PinnedTT_OnClick();
4671 </OnClick>
4672 <OnEnter>
4673 NuN_PinnedTT_OnEnter();
4674 </OnEnter>
4675 <OnLeave>
4676 NuN_TTButton_OnLeave();
4677 </OnLeave>
4678 <OnHide>
4679 NuN_PinnedTT_OnHide();
4680 </OnHide>
4681 </Scripts>
4682 </Button>
4683 </Frames>
4684 <Scripts>
4685 <OnLoad>
4686 this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
4687 this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
4688 this:RegisterForDrag("LeftButton");
4689 this.type = "Empty";
4690 this.subType = "Empty";
4691 </OnLoad>
4692 <OnDragStart>
4693 this:StartMoving();
4694 </OnDragStart>
4695 <OnDragStop>
4696 this:StopMovingOrSizing();
4697 ValidateFramePosition(this);
4698 NuN_FlagMoved();
4699 </OnDragStop>
4700 <OnShow>
4701 </OnShow>
4702 </Scripts>
4703 </GameTooltip>
4704  
4705 <Frame name="NuN_MapTooltipControl" parent="WorldMapTooltip" hidden="false">
4706 <Scripts>
4707 <OnShow>
4708 NuN_WorldMapTooltip_OnShow();
4709 </OnShow>
4710 <OnHide>
4711 NuN_WorldMapTooltip_OnHide();
4712 </OnHide>
4713 </Scripts>
4714 </Frame>
4715  
4716 <GameTooltip name="NuN_MapTooltip" frameStrata="FULLSCREEN_DIALOG" parent="WorldMapFrame" hidden="true" inherits="GameTooltipTemplate">
4717 <Scripts>
4718 <OnLoad>
4719 this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
4720 this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
4721 </OnLoad>
4722 </Scripts>
4723 </GameTooltip>
4724  
4725  
4726  
4727  
4728 <!-- Buttons integrated in to the Original Friends/Ignores/Guild Panels -->
4729  
4730  
4731  
4732 <Button name="NuN_FriendNotesButton1" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton1" id="1" hidden="false"/>
4733 <Button name="NuN_FriendNotesButton2" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton2" id="2" hidden="false"/>
4734 <Button name="NuN_FriendNotesButton3" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton3" id="3" hidden="false"/>
4735 <Button name="NuN_FriendNotesButton4" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton4" id="4" hidden="false"/>
4736 <Button name="NuN_FriendNotesButton5" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton5" id="5" hidden="false"/>
4737 <Button name="NuN_FriendNotesButton6" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton6" id="6" hidden="false"/>
4738 <Button name="NuN_FriendNotesButton7" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton7" id="7" hidden="false"/>
4739 <Button name="NuN_FriendNotesButton8" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton8" id="8" hidden="false"/>
4740 <Button name="NuN_FriendNotesButton9" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton9" id="9" hidden="false"/>
4741 <Button name="NuN_FriendNotesButton10" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton10" id="10" hidden="false"/>
4742  
4743 <Button name="NuN_IgnoreNotesButton1" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton1" id="1" hidden="false"/>
4744 <Button name="NuN_IgnoreNotesButton2" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton2" id="2" hidden="false"/>
4745 <Button name="NuN_IgnoreNotesButton3" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton3" id="3" hidden="false"/>
4746 <Button name="NuN_IgnoreNotesButton4" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton4" id="4" hidden="false"/>
4747 <Button name="NuN_IgnoreNotesButton5" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton5" id="5" hidden="false"/>
4748 <Button name="NuN_IgnoreNotesButton6" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton6" id="6" hidden="false"/>
4749 <Button name="NuN_IgnoreNotesButton7" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton7" id="7" hidden="false"/>
4750 <Button name="NuN_IgnoreNotesButton8" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton8" id="8" hidden="false"/>
4751 <Button name="NuN_IgnoreNotesButton9" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton9" id="9" hidden="false"/>
4752 <Button name="NuN_IgnoreNotesButton10" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton10" id="10" hidden="false"/>
4753 <Button name="NuN_IgnoreNotesButton11" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton11" id="11" hidden="false"/>
4754 <Button name="NuN_IgnoreNotesButton12" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton12" id="12" hidden="false"/>
4755 <Button name="NuN_IgnoreNotesButton13" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton13" id="13" hidden="false"/>
4756 <Button name="NuN_IgnoreNotesButton14" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton14" id="14" hidden="false"/>
4757 <Button name="NuN_IgnoreNotesButton15" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton15" id="15" hidden="false"/>
4758 <Button name="NuN_IgnoreNotesButton16" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton16" id="16" hidden="false"/>
4759 <Button name="NuN_IgnoreNotesButton17" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton17" id="17" hidden="false"/>
4760 <Button name="NuN_IgnoreNotesButton18" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton18" id="18" hidden="false"/>
4761 <Button name="NuN_IgnoreNotesButton19" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton19" id="19" hidden="false"/>
4762 <Button name="NuN_IgnoreNotesButton20" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton20" id="20" hidden="false"/>
4763  
4764 <Button name="NuN_WhoNotesButton1" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton1" id="1" hidden="false"/>
4765 <Button name="NuN_WhoNotesButton2" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton2" id="2" hidden="false"/>
4766 <Button name="NuN_WhoNotesButton3" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton3" id="3" hidden="false"/>
4767 <Button name="NuN_WhoNotesButton4" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton4" id="4" hidden="false"/>
4768 <Button name="NuN_WhoNotesButton5" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton5" id="5" hidden="false"/>
4769 <Button name="NuN_WhoNotesButton6" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton6" id="6" hidden="false"/>
4770 <Button name="NuN_WhoNotesButton7" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton7" id="7" hidden="false"/>
4771 <Button name="NuN_WhoNotesButton8" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton8" id="8" hidden="false"/>
4772 <Button name="NuN_WhoNotesButton9" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton9" id="9" hidden="false"/>
4773 <Button name="NuN_WhoNotesButton10" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton10" id="10" hidden="false"/>
4774 <Button name="NuN_WhoNotesButton11" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton11" id="11" hidden="false"/>
4775 <Button name="NuN_WhoNotesButton12" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton12" id="12" hidden="false"/>
4776 <Button name="NuN_WhoNotesButton13" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton13" id="13" hidden="false"/>
4777 <Button name="NuN_WhoNotesButton14" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton14" id="14" hidden="false"/>
4778 <Button name="NuN_WhoNotesButton15" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton15" id="15" hidden="false"/>
4779 <Button name="NuN_WhoNotesButton16" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton16" id="16" hidden="false"/>
4780 <Button name="NuN_WhoNotesButton17" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton17" id="17" hidden="false"/>
4781  
4782 <Button name="NuN_GuildNotesButton1" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton1" id="1" hidden="false"/>
4783 <Button name="NuN_GuildNotesButton2" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton2" id="2" hidden="false"/>
4784 <Button name="NuN_GuildNotesButton3" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton3" id="3" hidden="false"/>
4785 <Button name="NuN_GuildNotesButton4" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton4" id="4" hidden="false"/>
4786 <Button name="NuN_GuildNotesButton5" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton5" id="5" hidden="false"/>
4787 <Button name="NuN_GuildNotesButton6" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton6" id="6" hidden="false"/>
4788 <Button name="NuN_GuildNotesButton7" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton7" id="7" hidden="false"/>
4789 <Button name="NuN_GuildNotesButton8" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton8" id="8" hidden="false"/>
4790 <Button name="NuN_GuildNotesButton9" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton9" id="9" hidden="false"/>
4791 <Button name="NuN_GuildNotesButton10" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton10" id="10" hidden="false"/>
4792 <Button name="NuN_GuildNotesButton11" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton11" id="11" hidden="false"/>
4793 <Button name="NuN_GuildNotesButton12" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton12" id="12" hidden="false"/>
4794 <Button name="NuN_GuildNotesButton13" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton13" id="13" hidden="false"/>
4795  
4796 <Button name="NuN_GuildSNotesButton1" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton1" id="1" hidden="false"/>
4797 <Button name="NuN_GuildSNotesButton2" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton2" id="2" hidden="false"/>
4798 <Button name="NuN_GuildSNotesButton3" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton3" id="3" hidden="false"/>
4799 <Button name="NuN_GuildSNotesButton4" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton4" id="4" hidden="false"/>
4800 <Button name="NuN_GuildSNotesButton5" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton5" id="5" hidden="false"/>
4801 <Button name="NuN_GuildSNotesButton6" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton6" id="6" hidden="false"/>
4802 <Button name="NuN_GuildSNotesButton7" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton7" id="7" hidden="false"/>
4803 <Button name="NuN_GuildSNotesButton8" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton8" id="8" hidden="false"/>
4804 <Button name="NuN_GuildSNotesButton9" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton9" id="9" hidden="false"/>
4805 <Button name="NuN_GuildSNotesButton10" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton10" id="10" hidden="false"/>
4806 <Button name="NuN_GuildSNotesButton11" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton11" id="11" hidden="false"/>
4807 <Button name="NuN_GuildSNotesButton12" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton12" id="12" hidden="false"/>
4808 <Button name="NuN_GuildSNotesButton13" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton13" id="13" hidden="false"/>
4809  
4810 <Button name="NuN_QuestNotesButton1" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle1" id="1" hidden="false"/>
4811 <Button name="NuN_QuestNotesButton2" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle2" id="2" hidden="false"/>
4812 <Button name="NuN_QuestNotesButton3" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle3" id="3" hidden="false"/>
4813 <Button name="NuN_QuestNotesButton4" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle4" id="4" hidden="false"/>
4814 <Button name="NuN_QuestNotesButton5" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle5" id="5" hidden="false"/>
4815 <Button name="NuN_QuestNotesButton6" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle6" id="6" hidden="false"/>
4816  
4817  
4818 <Frame name="NuN_FFButton" parent="FriendsFrame" inherits="UIPanelButtonTemplate">
4819 <Size>
4820 <AbsDimension x="32" y="32"/>
4821 </Size>
4822 <Anchors>
4823 <Anchor point="TOPLEFT">
4824 <Offset>
4825 <AbsDimension x="57" y="-9"/>
4826 </Offset>
4827 </Anchor>
4828 </Anchors>
4829 <Frames>
4830 <Frame name="NuN_FFButton_State" setAllPoints="true">
4831 <Layers>
4832 <Layer level="BACKGROUND">
4833 <Texture name="NuN_FFButton_StateHUp" file="Interface\AddOns\NotesUNeed\Artwork\NuN-HButton-Up" hidden="true">
4834 <Size>
4835 <AbsDimension x="32" y="32"/>
4836 </Size>
4837 <Anchors>
4838 <Anchor point="CENTER"/>
4839 </Anchors>
4840 </Texture>
4841 <Texture name="NuN_FFButton_StateHDown" file="Interface\Addons\NotesUNeed\Artwork\NuN-HButton-Down" hidden="true">
4842 <Size>
4843 <AbsDimension x="32" y="32"/>
4844 </Size>
4845 <Anchors>
4846 <Anchor point="CENTER"/>
4847 </Anchors>
4848 </Texture>
4849 <Texture name="NuN_FFButton_StateAUp" file="Interface\AddOns\NotesUNeed\Artwork\NuN-AButton-Up" hidden="true">
4850 <Size>
4851 <AbsDimension x="32" y="32"/>
4852 </Size>
4853 <Anchors>
4854 <Anchor point="CENTER"/>
4855 </Anchors>
4856 </Texture>
4857 <Texture name="NuN_FFButton_StateADown" file="Interface\Addons\NotesUNeed\Artwork\NuN-AButton-Down" hidden="true">
4858 <Size>
4859 <AbsDimension x="32" y="32"/>
4860 </Size>
4861 <Anchors>
4862 <Anchor point="CENTER"/>
4863 </Anchors>
4864 </Texture>
4865 </Layer>
4866 </Layers>
4867 </Frame>
4868 <Frame name="NuN_FFButton_Highlight" setAllPoints="true">
4869 <Layers>
4870 <Layer level="ARTWORK">
4871 <Texture name="NuN_FFButton_StateLit" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight" alphaMode="ADD" hidden="true">
4872 <Size>
4873 <AbsDimension x="32" y="32"/>
4874 </Size>
4875 <Anchors>
4876 <Anchor point="CENTER"/>
4877 </Anchors>
4878 </Texture>
4879 </Layer>
4880 </Layers>
4881 </Frame>
4882 </Frames>
4883 <Scripts>
4884 <OnShow>
4885 NuN_FFButton_OnShow();
4886 </OnShow>
4887 <OnMouseDown>
4888 NuN_FFButton_Down();
4889 </OnMouseDown>
4890 <OnMouseUp>
4891 NuN_FFButton_Up();
4892 </OnMouseUp>
4893 <OnEnter>
4894 NuN_FFButton_OnEnter();
4895 </OnEnter>
4896 <OnLeave>
4897 NuN_FFButton_OnLeave();
4898 </OnLeave>
4899 </Scripts>
4900 </Frame>
4901  
4902 <Frame name="NuN_ScaleFrame" parent="UIParent" toplevel="true" frameStrata="FULLSCREEN" hidden="true">
4903 <Size>
4904 <AbsDimension x="240" y="170" />
4905 </Size>
4906 <Anchors>
4907 <Anchor point="CENTER">
4908 <Offset>
4909 <AbsDimension x="0" y="0"/>
4910 </Offset>
4911 </Anchor>
4912 </Anchors>
4913 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
4914 <EdgeSize>
4915 <AbsValue val="16"/>
4916 </EdgeSize>
4917 <TileSize>
4918 <AbsValue val="16"/>
4919 </TileSize>
4920 <BackgroundInsets>
4921 <AbsInset left="5" right="5" top="5" bottom="5"/>
4922 </BackgroundInsets>
4923 </Backdrop>
4924 <Layers>
4925 <Layer>
4926 <FontString name="FrameScaleLabel" inherits="GameFontNormalSmall" text="NUN_FRAME_SCALE_TXT">
4927 <Anchors>
4928 <Anchor point="TOPLEFT">
4929 <Offset>
4930 <AbsDimension x="26" y="-10" />
4931 </Offset>
4932 </Anchor>
4933 </Anchors>
4934 </FontString>
4935 <FontString name="FontScaleLabel" inherits="GameFontNormalSmall" text="NUN_FONT_SCALE_TXT">
4936 <Anchors>
4937 <Anchor point="TOPLEFT">
4938 <Offset>
4939 <AbsDimension x="92" y="-10" />
4940 </Offset>
4941 </Anchor>
4942 </Anchors>
4943 </FontString>
4944 <FontString name="MapFontScaleLabel" inherits="GameFontNormalSmall" text="NUN_MAPNOTES_TXT">
4945 <Anchors>
4946 <Anchor point="TOPRIGHT">
4947 <Offset>
4948 <AbsDimension x="-17" y="-10" />
4949 </Offset>
4950 </Anchor>
4951 </Anchors>
4952 </FontString>
4953 </Layer>
4954 </Layers>
4955 <Frames>
4956 <Slider name="NuNFrameScaleSlider" orientation="VERTICAL" enableMouse="true">
4957 <Size>
4958 <AbsDimension x="10" y="100"/>
4959 </Size>
4960 <HitRectInsets>
4961 <AbsInset left="-10" right="-10" top="0" bottom="0"/>
4962 </HitRectInsets>
4963 <Anchors>
4964 <Anchor point="TOPLEFT">
4965 <Offset>
4966 <AbsDimension x="40" y="-40"/>
4967 </Offset>
4968 </Anchor>
4969 </Anchors>
4970 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
4971 <EdgeSize>
4972 <AbsValue val="8"/>
4973 </EdgeSize>
4974 <TileSize>
4975 <AbsValue val="8"/>
4976 </TileSize>
4977 <BackgroundInsets>
4978 <AbsInset left="6" right="6" top="3" bottom="3"/>
4979 </BackgroundInsets>
4980 </Backdrop>
4981 <Layers>
4982 <Layer level="ARTWORK">
4983 <FontString name="NuNFrameScaleSliderCurrent" inherits="GameFontGreenSmall">
4984 <Anchors>
4985 <Anchor point="LEFT" relativePoint="RIGHT">
4986 <Offset>
4987 <AbsDimension x="2" y="0" />
4988 </Offset>
4989 </Anchor>
4990 </Anchors>
4991 </FontString>
4992 <FontString name="NuNFrameScaleSliderLow" inherits="GameFontHighlightSmall" text="NUN_FRAMESCALE_MAX_TXT">
4993 <Anchors>
4994 <Anchor point="BOTTOM" relativePoint="TOP">
4995 <Offset>
4996 <AbsDimension x="0" y="3"/>
4997 </Offset>
4998 </Anchor>
4999 </Anchors>
5000 </FontString>
5001 <FontString name="NuNFrameScaleSliderHigh" inherits="GameFontHighlightSmall" text="NUN_FRAMESCALE_MIN_TXT">
5002 <Anchors>
5003 <Anchor point="TOP" relativePoint="BOTTOM">
5004 <Offset>
5005 <AbsDimension x="0" y="0"/>
5006 </Offset>
5007 </Anchor>
5008 </Anchors>
5009 </FontString>
5010 </Layer>
5011 </Layers>
5012 <ThumbTexture name="NuNFrameScaleSliderThumb" file="Interface\Buttons\UI-SliderBar-Button-Vertical">
5013 <Size>
5014 <AbsDimension x="32" y="32"/>
5015 </Size>
5016 </ThumbTexture>
5017 <Scripts>
5018 <OnShow>
5019 NuNFrameScaleSlider_OnShow();
5020 </OnShow>
5021 <OnValueChanged>
5022 NuNFrameScaleSlider_OnValueChanged();
5023 </OnValueChanged>
5024 </Scripts>
5025 </Slider>
5026 <Slider name="NuNFontScaleSlider" orientation="VERTICAL" enableMouse="true">
5027 <Size>
5028 <AbsDimension x="10" y="100"/>
5029 </Size>
5030 <HitRectInsets>
5031 <AbsInset left="-10" right="-10" top="0" bottom="0"/>
5032 </HitRectInsets>
5033 <Anchors>
5034 <Anchor point="TOPLEFT">
5035 <Offset>
5036 <AbsDimension x="110" y="-40"/>
5037 </Offset>
5038 </Anchor>
5039 </Anchors>
5040 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
5041 <EdgeSize>
5042 <AbsValue val="8"/>
5043 </EdgeSize>
5044 <TileSize>
5045 <AbsValue val="8"/>
5046 </TileSize>
5047 <BackgroundInsets>
5048 <AbsInset left="6" right="6" top="3" bottom="3"/>
5049 </BackgroundInsets>
5050 </Backdrop>
5051 <Layers>
5052 <Layer level="ARTWORK">
5053 <FontString name="NuNFontScaleSliderCurrent" inherits="GameFontGreenSmall">
5054 <Anchors>
5055 <Anchor point="LEFT" relativePoint="RIGHT">
5056 <Offset>
5057 <AbsDimension x="2" y="0" />
5058 </Offset>
5059 </Anchor>
5060 </Anchors>
5061 </FontString>
5062 <FontString name="NuNFontScaleSliderLow" inherits="GameFontHighlightSmall" text="NUN_TT_FONTSCALE_MAX_TXT">
5063 <Anchors>
5064 <Anchor point="BOTTOM" relativePoint="TOP">
5065 <Offset>
5066 <AbsDimension x="0" y="3"/>
5067 </Offset>
5068 </Anchor>
5069 </Anchors>
5070 </FontString>
5071 <FontString name="NuNFontScaleSliderHigh" inherits="GameFontHighlightSmall" text="NUN_TT_FONTSCALE_MIN_TXT">
5072 <Anchors>
5073 <Anchor point="TOP" relativePoint="BOTTOM">
5074 <Offset>
5075 <AbsDimension x="0" y="0"/>
5076 </Offset>
5077 </Anchor>
5078 </Anchors>
5079 </FontString>
5080 </Layer>
5081 </Layers>
5082 <ThumbTexture name="NuNFontScaleSliderThumb" file="Interface\Buttons\UI-SliderBar-Button-Vertical">
5083 <Size>
5084 <AbsDimension x="32" y="32"/>
5085 </Size>
5086 </ThumbTexture>
5087 <Scripts>
5088 <OnShow>
5089 NuNFontScaleSlider_OnShow();
5090 </OnShow>
5091 <OnValueChanged>
5092 NuNFontScaleSlider_OnValueChanged();
5093 </OnValueChanged>
5094 </Scripts>
5095 </Slider>
5096 <Slider name="NuNMapFontScaleSlider" orientation="VERTICAL" enableMouse="true">
5097 <Size>
5098 <AbsDimension x="10" y="100"/>
5099 </Size>
5100 <HitRectInsets>
5101 <AbsInset left="-10" right="-10" top="0" bottom="0"/>
5102 </HitRectInsets>
5103 <Anchors>
5104 <Anchor point="TOPRIGHT">
5105 <Offset>
5106 <AbsDimension x="-40" y="-40"/>
5107 </Offset>
5108 </Anchor>
5109 </Anchors>
5110 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
5111 <EdgeSize>
5112 <AbsValue val="8"/>
5113 </EdgeSize>
5114 <TileSize>
5115 <AbsValue val="8"/>
5116 </TileSize>
5117 <BackgroundInsets>
5118 <AbsInset left="6" right="6" top="3" bottom="3"/>
5119 </BackgroundInsets>
5120 </Backdrop>
5121 <Layers>
5122 <Layer level="ARTWORK">
5123 <FontString name="NuNMapFontScaleSliderCurrent" inherits="GameFontGreenSmall">
5124 <Anchors>
5125 <Anchor point="LEFT" relativePoint="RIGHT">
5126 <Offset>
5127 <AbsDimension x="2" y="0" />
5128 </Offset>
5129 </Anchor>
5130 </Anchors>
5131 </FontString>
5132 <FontString name="NuNMapFontScaleSliderLow" inherits="GameFontHighlightSmall" text="NUN_TT_MAPFONTSCALE_MAX_TXT">
5133 <Anchors>
5134 <Anchor point="BOTTOM" relativePoint="TOP">
5135 <Offset>
5136 <AbsDimension x="0" y="3"/>
5137 </Offset>
5138 </Anchor>
5139 </Anchors>
5140 </FontString>
5141 <FontString name="NuNMapFontScaleSliderHigh" inherits="GameFontHighlightSmall" text="NUN_TT_MAPFONTSCALE_MIN_TXT">
5142 <Anchors>
5143 <Anchor point="TOP" relativePoint="BOTTOM">
5144 <Offset>
5145 <AbsDimension x="0" y="0"/>
5146 </Offset>
5147 </Anchor>
5148 </Anchors>
5149 </FontString>
5150 </Layer>
5151 </Layers>
5152 <ThumbTexture name="NuNMapFontScaleSliderThumb" file="Interface\Buttons\UI-SliderBar-Button-Vertical">
5153 <Size>
5154 <AbsDimension x="32" y="32"/>
5155 </Size>
5156 </ThumbTexture>
5157 <Scripts>
5158 <OnShow>
5159 NuNMapFontScaleSlider_OnShow();
5160 </OnShow>
5161 <OnValueChanged>
5162 NuNMapFontScaleSlider_OnValueChanged();
5163 </OnValueChanged>
5164 </Scripts>
5165 </Slider>
5166 </Frames>
5167 <Scripts>
5168 <OnLoad>
5169 this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
5170 this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
5171 </OnLoad>
5172 </Scripts>
5173 </Frame>
5174  
5175 <Frame name="NuNcDeleteFrame" toplevel="true" hidden="true" parent="UIParent" frameStrata="FULLSCREEN" enableMouse="true">
5176 <Size>
5177 <AbsDimension x="400" y="125"/>
5178 </Size>
5179 <Anchors>
5180 <Anchor point="CENTER"/>
5181 </Anchors>
5182 <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
5183 <BackgroundInsets>
5184 <AbsInset left="11" right="12" top="12" bottom="11"/>
5185 </BackgroundInsets>
5186 <TileSize>
5187 <AbsValue val="32"/>
5188 </TileSize>
5189 <EdgeSize>
5190 <AbsValue val="32"/>
5191 </EdgeSize>
5192 </Backdrop>
5193 <Layers>
5194 <Layer level="ARTWORK">
5195 <Texture name="NuNcDeleteHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
5196 <Size>
5197 <AbsDimension x="230" y="60"/>
5198 </Size>
5199 <Anchors>
5200 <Anchor point="TOP">
5201 <Offset>
5202 <AbsDimension x="0" y="12"/>
5203 </Offset>
5204 </Anchor>
5205 </Anchors>
5206 </Texture>
5207 <FontString inherits="GameFontNormal" text="NUN_DELETE">
5208 <Anchors>
5209 <Anchor point="CENTER" relativeTo="NuNcDeleteHeader">
5210 <Offset>
5211 <AbsDimension x="0" y="12"/>
5212 </Offset>
5213 </Anchor>
5214 </Anchors>
5215 </FontString>
5216 </Layer>
5217 <Layer level="BACKGROUND">
5218 <FontString name="NuNcDeleteLabel" inherits="GameFontHighlight" text="(PLACE HOLDER)">
5219 <Anchors>
5220 <Anchor point="TOP">
5221 <Offset>
5222 <AbsDimension x="0" y="-33"/>
5223 </Offset>
5224 </Anchor>
5225 </Anchors>
5226 </FontString>
5227 </Layer>
5228 </Layers>
5229 <Frames>
5230 <EditBox name="NuNcDeleteGhostTextBox" autoFocus="true" historyLines="0" letters="0" hidden="false">
5231 <Anchors>
5232 <Anchor point="TOPLEFT">
5233 <Offset>
5234 <AbsDimension x="0" y="0"/>
5235 </Offset>
5236 </Anchor>
5237 </Anchors>
5238 <Scripts>
5239 <OnEnterPressed>
5240 NuNcDeleteButton_OnClick();
5241 </OnEnterPressed>
5242 <OnEscapePressed>
5243 HideUIPanel(NuNcDeleteFrame);
5244 </OnEscapePressed>
5245 </Scripts>
5246 </EditBox>
5247  
5248 <Button name="NuNcDeleteButton" inherits="UIPanelButtonTemplate" text="NUN_DELETE">
5249 <Size>
5250 <AbsDimension x="90" y="21"/>
5251 </Size>
5252 <Anchors>
5253 <Anchor point="BOTTOMLEFT">
5254 <Offset>
5255 <AbsDimension x="50" y="22"/>
5256 </Offset>
5257 </Anchor>
5258 </Anchors>
5259 <Scripts>
5260 <OnLoad>
5261 </OnLoad>
5262 <OnClick>
5263 PlaySound("igMainMenuOption");
5264 NuNcDeleteButton_OnClick();
5265 </OnClick>
5266 </Scripts>
5267 </Button>
5268  
5269 <Button name="NuNcDeleteCloseButton" inherits="NuNOptionsButtonTemplate" text="NUN_CANCEL">
5270 <Size>
5271 <AbsDimension x="90" y="21"/>
5272 </Size>
5273 <Anchors>
5274 <Anchor point="BOTTOMRIGHT">
5275 <Offset>
5276 <AbsDimension x="-49" y="22"/>
5277 </Offset>
5278 </Anchor>
5279 </Anchors>
5280 <Scripts>
5281 <OnLoad>
5282 </OnLoad>
5283 <OnClick>
5284 PlaySound("igMainMenuOption");
5285 HideUIPanel(NuNcDeleteFrame);
5286 </OnClick>
5287 </Scripts>
5288 </Button>
5289 </Frames>
5290 </Frame>
5291  
5292  
5293 <Frame name="NuNPopup" frameStrata="FULLSCREEN_DIALOG" hidden="true" parent="WorldMapFrame">
5294 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
5295 <BackgroundInsets>
5296 <AbsInset left="5" right="5" top="5" bottom="5"/>
5297 </BackgroundInsets>
5298 <!-- Interface\DialogFrame\UI-DialogBox-Background -->
5299 <TileSize>
5300 <AbsValue val="16"/>
5301 </TileSize>
5302 <EdgeSize>
5303 <AbsValue val="16"/>
5304 </EdgeSize>
5305 </Backdrop>
5306 <Layers>
5307 <Layer level="ARTWORK">
5308 <FontString name="NuNPopupTitle" inherits="GameFontHighlight" text="NUN_POPUP_TITLE">
5309 <Anchors>
5310 <Anchor point="TOP">
5311 <Offset>
5312 <AbsDimension x="0" y="-12"/>
5313 </Offset>
5314 </Anchor>
5315 </Anchors>
5316 </FontString>
5317 </Layer>
5318 </Layers>
5319 <Frames>
5320 <Button name="NuNPopupButton1" inherits="NuNPopupButtonTemplate" id="1">
5321 <Anchors>
5322 <Anchor point="TOP" relativeTo="NuNPopupTitle" relativePoint="BOTTOM">
5323 <Offset>
5324 <AbsDimension x="0" y="-6"/>
5325 </Offset>
5326 </Anchor>
5327 </Anchors>
5328 </Button>
5329 <Button name="NuNPopupButton2" inherits="NuNPopupButtonTemplate" id="2">
5330 <Anchors>
5331 <Anchor point="TOP" relativeTo="NuNPopupButton1" relativePoint="BOTTOM">
5332 <Offset>
5333 <AbsDimension x="0" y="-1"/>
5334 </Offset>
5335 </Anchor>
5336 </Anchors>
5337 </Button>
5338 <Button name="NuNPopupButton3" inherits="NuNPopupButtonTemplate" id="3">
5339 <Anchors>
5340 <Anchor point="TOP" relativeTo="NuNPopupButton2" relativePoint="BOTTOM">
5341 <Offset>
5342 <AbsDimension x="0" y="-1"/>
5343 </Offset>
5344 </Anchor>
5345 </Anchors>
5346 </Button>
5347 <Button name="NuNPopupButton4" inherits="NuNPopupButtonTemplate" id="4">
5348 <Anchors>
5349 <Anchor point="TOP" relativeTo="NuNPopupButton3" relativePoint="BOTTOM">
5350 <Offset>
5351 <AbsDimension x="0" y="-1"/>
5352 </Offset>
5353 </Anchor>
5354 </Anchors>
5355 </Button>
5356 <Button name="NuNPopupButton5" inherits="NuNPopupButtonTemplate" id="5">
5357 <Anchors>
5358 <Anchor point="TOP" relativeTo="NuNPopupButton4" relativePoint="BOTTOM">
5359 <Offset>
5360 <AbsDimension x="0" y="-1"/>
5361 </Offset>
5362 </Anchor>
5363 </Anchors>
5364 </Button>
5365 </Frames>
5366 <Scripts>
5367 <OnLoad>
5368 this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
5369 this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
5370 </OnLoad>
5371 <OnShow>
5372 PlaySound("UChatScrollButton");
5373 NuNPopup_OnShow();
5374 </OnShow>
5375 <OnHide>
5376 WorldMapTooltip:Hide();
5377 </OnHide>
5378 <OnUpdate>
5379 NuNPopup_OnUpdate(arg1);
5380 </OnUpdate>
5381 </Scripts>
5382 </Frame>
5383  
5384 </Ui>