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/"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.blizzard.com/wow/ui/
4 ..\FrameXML\UI.xsd">
5  
6 <!-- AutoShoutOut XML v1.15.5 -->
7  
8 <Script file="AutoShoutOutLocalization.lua"/>
9 <Script file="AutoShoutOut.lua"/>
10  
11 <Button name="EventList_GlobalButtonTemplate" virtual="true">
12 <Size>
13 <AbsDimension x="137" y="16"/>
14 </Size>
15 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
16 <Anchors>
17 <Anchor point="TOPLEFT">
18 <Offset>
19 <AbsDimension x="0" y="0"/>
20 </Offset>
21 </Anchor>
22 <Anchor point="BOTTOMRIGHT"/>
23 </Anchors>
24 </HighlightTexture>
25 <Scripts>
26 <OnClick>
27 ASO_Window_EventList_OnClick(arg1,this);
28 </OnClick>
29 <OnEnter>
30 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
31 GameTooltip:SetText(this.tooltip);
32 </OnEnter>
33 <OnLeave>
34 GameTooltip:Hide();
35 </OnLeave>
36 </Scripts>
37 </Button>
38  
39 <!-- Background frame to receive global events -->
40 <Frame name="AutoShoutOutEventsFrame" parent="UIParent" hidden="true">
41  
42 <Scripts>
43 <OnLoad>
44 ASO_OnLoad();
45 </OnLoad>
46 <OnEvent>
47 ASO_OnEvent(event)
48 </OnEvent>
49 </Scripts>
50  
51 </Frame>
52  
53 <!-- Main window -->
54 <Frame name="AutoShoutOutWindow" parent="UIParent" hidden="true" enableMouse="true" movable="true" toplevel="true">
55  
56 <TitleRegion setAllPoints="true"/>
57  
58 <Scripts>
59 <OnShow>
60 ASO_Window_OnShow();
61 </OnShow>
62 <OnHide>
63 ASO_Window_OnHide();
64 </OnHide>
65 </Scripts>
66  
67 <Size>
68 <AbsDimension x="365" y="341"/> <!-- Too bad can't use localization variable name for width size here! -->
69 </Size>
70  
71 <Anchors>
72 <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER">
73 <Offset>
74 <AbsDimension x="0" y="0"/>
75 </Offset>
76 </Anchor>
77 <!-- <Anchor point="BOTTOMRIGHT" relativeTo="UIParent" relativePoint="BOTTOMRIGHT">
78 <Offset>
79 <AbsDimension x="-10" y="75"/>
80 </Offset>
81 </Anchor> -->
82 </Anchors>
83  
84 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background"
85 edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
86 <BackgroundInsets>
87 <AbsInset left="11" right="12" top="12" bottom="11" />
88 </BackgroundInsets>
89 </Backdrop>
90  
91 <Layers>
92  
93 <!-- Main layout layer: headers, labels, etc. -->
94 <Layer level="ARTWORK">
95  
96 <!-- Window Header -->
97 <Texture name="AutoShoutOutWindow_TitleBox"
98 file="Interface\DialogFrame\UI-DialogBox-Header">
99 <Size>
100 <AbsDimension x="500" y="64" /> <!-- Too bad can't use localization variable name for width size here! -->
101 </Size>
102 <Anchors>
103 <Anchor point="TOP">
104 <Offset>
105 <AbsDimension x="0" y="12" />
106 </Offset>
107 </Anchor>
108 </Anchors>
109 </Texture>
110  
111 <FontString name="AutoShoutOutWindow_Title" inherits="GameFontNormal" text="ASO_LOCSTR_UI_Window_Title">
112 <Anchors>
113 <Anchor point="CENTER" relativeTo="AutoShoutOutWindow_TitleBox">
114 <Offset>
115 <AbsDimension x="0" y="11" />
116 </Offset>
117 </Anchor>
118 </Anchors>
119 </FontString>
120  
121 <FontString name="AutoShoutOutWindow_VersionInfo" inherits="GameFontHighlight" text="ASO_Version">
122 <Anchors>
123 <Anchor point="BOTTOMLEFT" relativeTo="AutoShoutOutWindow" relativeFrom="BOTTOMLEFT">
124 <Offset>
125 <AbsDimension x="15" y="16"/>
126 </Offset>
127 </Anchor>
128 </Anchors>
129 </FontString>
130  
131 </Layer>
132  
133 </Layers>
134  
135 <Frames>
136  
137 <Button name="AutoShoutOutWindow_Close_Button" inherits="UIPanelButtonTemplate" text="ASO_LOCSTR_CLOSE">
138 <Size>
139 <AbsDimension x="90" y="25"/>
140 </Size>
141 <Anchors>
142 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
143 <Offset>
144 <AbsDimension x="-13" y="15"/>
145 </Offset>
146 </Anchor>
147 </Anchors>
148 <Scripts>
149 <OnClick>
150 ASO_Window_Toggle();
151 </OnClick>
152 <OnEnter>
153 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
154 GameTooltip:SetText(this.tooltip);
155 </OnEnter>
156 <OnLeave>
157 GameTooltip:Hide();
158 </OnLeave>
159 </Scripts>
160 </Button>
161  
162 <Button name="AutoShoutOutWindowCloseButton" inherits="UIPanelCloseButton">
163 <Anchors>
164 <Anchor point="TOPRIGHT">
165 <Offset>
166 <AbsDimension x="4" y="2"/>
167 </Offset>
168 </Anchor>
169 </Anchors>
170 <Scripts>
171 <OnClick>
172 ASO_Window_Toggle();
173 </OnClick>
174 <OnEnter>
175 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
176 GameTooltip:SetText(this.tooltip);
177 </OnEnter>
178 <OnLeave>
179 GameTooltip:Hide();
180 </OnLeave>
181 </Scripts>
182 </Button>
183  
184 <Frame name="ConfigurationsDropDown" inherits="UIDropDownMenuTemplate" id="10">
185 <Anchors>
186 <Anchor point="LEFT" relativeTo="AutoShoutOutWindow" relativePoint="TOPLEFT">
187 <Offset>
188 <AbsDimension x="0" y="-60"/> <!-- x="22" y="-35" -->
189 </Offset>
190 </Anchor>
191 </Anchors>
192 <Layers>
193 <Layer level="OVERLAY">
194 <FontString inherits="GameFontHighlight" name="$parentLabel" text="ASO_LOCSTR_UI_ConfigurationsDropDownLabel">
195 <Anchors>
196 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
197 <Offset>
198 <AbsDimension x="20" y="0"/>
199 </Offset>
200 </Anchor>
201 </Anchors>
202 </FontString>
203 </Layer>
204 </Layers>
205 <Scripts>
206 <OnLoad>
207 ASO_Window_ConfigurationsDropDown_OnLoad();
208 </OnLoad>
209 <OnShow>
210 ASO_Window_ConfigurationsDropDown_OnShow();
211 </OnShow>
212 <OnEnter>
213 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
214 GameTooltip:SetText(this.tooltip);
215 </OnEnter>
216 <OnLeave>
217 GameTooltip:Hide();
218 </OnLeave>
219 </Scripts>
220 </Frame>
221  
222 <CheckButton name="AutoSwitchCheckButton" inherits="UICheckButtonTemplate" id="22">
223 <Size>
224 <AbsDimension x="24" y="24"/>
225 </Size>
226 <Anchors>
227 <Anchor point="LEFT" relativeTo="ConfigurationsDropDownLabel" relativePoint="RIGHT">
228 <Offset>
229 <AbsDimension x="15" y="-21"/>
230 </Offset>
231 </Anchor>
232 </Anchors>
233 <Layers>
234 <Layer level="ARTWORK">
235 <FontString text="ASO_LOCSTR_UI_AutoSwitchCheckButtonLabel" name="$parentLabel" inherits="GameFontHighlight">
236 <Anchors>
237 <Anchor point="LEFT" relativePoint="RIGHT"/>
238 </Anchors>
239 </FontString>
240 </Layer>
241 </Layers>
242 <Scripts>
243 <OnClick>
244 if ( this:GetChecked() ) then
245 PlaySound("igMainMenuOptionCheckBoxOff");
246 else
247 PlaySound("igMainMenuOptionCheckBoxOn");
248 end
249 ASO_Window_OnClick_AutoSwitchCheckButton();
250 </OnClick>
251 <OnEnter>
252 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
253 GameTooltip:SetText(this.tooltip);
254 </OnEnter>
255 <OnLeave>
256 GameTooltip:Hide();
257 </OnLeave>
258 </Scripts>
259 </CheckButton>
260  
261 <!-- Event List Frame -->
262 <Frame name="AutoShoutOutWindow_EventList_Frame" inherits="UIParent" hidden="false">
263  
264 <Size>
265 <!-- Make sure it's 8 bigger than the contents, for borders -->
266 <AbsDimension x="142" y="92"/> <!-- 87 x 60, y is 16 per item-->
267 </Size>
268  
269 <Anchors>
270 <Anchor point="TOPLEFT" relativeTo="ConfigurationsDropDown" relativePoint="BOTTOMLEFT">
271 <Offset>
272 <AbsDimension x="16" y="-13"/>
273 </Offset>
274 </Anchor>
275 </Anchors>
276  
277 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background"
278 edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
279 <EdgeSize>
280 <AbsValue val="16"/>
281 </EdgeSize>
282 <TileSize>
283 <AbsValue val="16"/>
284 </TileSize>
285 <BackgroundInsets>
286 <AbsInset left="5" right="5" top="5" bottom="5"/>
287 </BackgroundInsets>
288 </Backdrop>
289  
290 <Scripts>
291 <OnLoad>
292 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
293 this:SetBackdropColor(0.1, 0.1, 0.1);
294 </OnLoad>
295 </Scripts>
296  
297 <Layers>
298 <Layer level="BACKGROUND">
299 <FontString name="AutoShoutOutWindow_EventListTitle" inherits="GameFontHighlight" text="ASO_LOCSTR_UI_Event_List_Title">
300 <Anchors>
301 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
302 <Offset>
303 <AbsDimension x="5" y="0"/>
304 </Offset>
305 </Anchor>
306 </Anchors>
307 </FontString>
308 </Layer>
309 </Layers>
310  
311 <Frames>
312  
313 <Button name="EventList_GlobalButton1" inherits="EventList_GlobalButtonTemplate" id="1">
314 <Anchors>
315 <Anchor point="TOPLEFT" relativeTo="AutoShoutOutWindow_EventList_Frame">
316 <Offset>
317 <AbsDimension x="4" y="-6"/>
318 </Offset>
319 </Anchor>
320 </Anchors>
321 <Layers>
322 <Layer level="BACKGROUND">
323 <FontString name="$parentLabel" inherits="GameFontNormal" text="ASO_LOCSTR_HEALTH_LABEL">
324 <Anchors>
325 <Anchor point="LEFT">
326 <Offset>
327 <AbsDimension x="2" y="0"/>
328 </Offset>
329 </Anchor>
330 </Anchors>
331 </FontString>
332 </Layer>
333 </Layers>
334 </Button>
335  
336 <Button name="EventList_GlobalButton2" inherits="EventList_GlobalButtonTemplate" id="2">
337 <Anchors>
338 <Anchor point="TOPLEFT" relativeTo="EventList_GlobalButton1"
339 relativePoint="BOTTOMLEFT"/>
340 </Anchors>
341 <Layers>
342 <Layer level="BACKGROUND">
343 <FontString name="$parentLabel" inherits="GameFontNormal" text="ASO_LOCSTR_LIFE_LABEL">
344 <Anchors>
345 <Anchor point="LEFT">
346 <Offset>
347 <AbsDimension x="2" y="0"/>
348 </Offset>
349 </Anchor>
350 </Anchors>
351 </FontString>
352 </Layer>
353 </Layers>
354 </Button>
355  
356 <Button name="EventList_GlobalButton3" inherits="EventList_GlobalButtonTemplate" id="3">
357 <Anchors>
358 <Anchor point="TOPLEFT" relativeTo="EventList_GlobalButton2"
359 relativePoint="BOTTOMLEFT"/>
360 </Anchors>
361 <Layers>
362 <Layer level="BACKGROUND">
363 <FontString name="$parentLabel" inherits="GameFontNormal" text="ASO_LOCSTR_MANA_LABEL">
364 <Anchors>
365 <Anchor point="LEFT">
366 <Offset>
367 <AbsDimension x="2" y="0"/>
368 </Offset>
369 </Anchor>
370 </Anchors>
371 </FontString>
372 </Layer>
373 </Layers>
374 </Button>
375  
376 <Button name="EventList_GlobalButton4" inherits="EventList_GlobalButtonTemplate" id="4">
377 <Anchors>
378 <Anchor point="TOPLEFT" relativeTo="EventList_GlobalButton3"
379 relativePoint="BOTTOMLEFT"/>
380 </Anchors>
381 <Layers>
382 <Layer level="BACKGROUND">
383 <FontString name="$parentLabel" inherits="GameFontNormal" text="ASO_LOCSTR_PETHEALTH_LABEL">
384 <Anchors>
385 <Anchor point="LEFT">
386 <Offset>
387 <AbsDimension x="2" y="0"/>
388 </Offset>
389 </Anchor>
390 </Anchors>
391 </FontString>
392 </Layer>
393 </Layers>
394 </Button>
395  
396 <Button name="EventList_GlobalButton5" inherits="EventList_GlobalButtonTemplate" id="5">
397 <Anchors>
398 <Anchor point="TOPLEFT" relativeTo="EventList_GlobalButton4"
399 relativePoint="BOTTOMLEFT"/>
400 </Anchors>
401 <Layers>
402 <Layer level="BACKGROUND">
403 <FontString name="$parentLabel" inherits="GameFontNormal" text="ASO_LOCSTR_REZSTONE_LABEL">
404 <Anchors>
405 <Anchor point="LEFT">
406 <Offset>
407 <AbsDimension x="2" y="0"/>
408 </Offset>
409 </Anchor>
410 </Anchors>
411 </FontString>
412 </Layer>
413 </Layers>
414 </Button>
415  
416 </Frames>
417  
418 </Frame>
419  
420 <EditBox name="NotifyPercentEditBox" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
421 <Size>
422 <AbsDimension x="30" y="16"/>
423 </Size>
424 <Anchors>
425 <Anchor point="TOPRIGHT" relativeTo="AutoShoutOutWindow" relativePoint="TOPRIGHT">
426 <Offset>
427 <AbsDimension x="-7" y="-86"/>
428 </Offset>
429 </Anchor>
430 </Anchors>
431 <Layers>
432 <Layer level="ARTWORK">
433 <FontString inherits="GameFontHighlight" name="$parentLabel" text="ASO_LOCSTR_UI_NotifyPercentEditBoxLabel">
434 <Anchors>
435 <Anchor point="RIGHT" relativePoint="LEFT">
436 <Offset>
437 <AbsDimension x="-5" y="1"/>
438 </Offset>
439 </Anchor>
440 </Anchors>
441 </FontString>
442 </Layer>
443 </Layers>
444 <Scripts>
445 <OnTabPressed>
446 ASO_Window_OnTabPressed_NotifyPercentEditBox();
447 </OnTabPressed>
448 <OnEnterPressed>
449 ASO_Window_OnEnterPressed_NotifyPercentEditBox();
450 </OnEnterPressed>
451 <OnEnter>
452 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
453 GameTooltip:SetText(this.tooltip);
454 </OnEnter>
455 <OnLeave>
456 GameTooltip:Hide();
457 </OnLeave>
458 </Scripts>
459 </EditBox>
460  
461 <EditBox name="NotifyFrequencyEditBox" letters="3" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
462 <Size>
463 <AbsDimension x="36" y="16"/>
464 </Size>
465 <Anchors>
466 <Anchor point="TOPRIGHT" relativeTo="NotifyPercentEditBox" relativePoint="TOPRIGHT">
467 <Offset>
468 <AbsDimension x="0" y="-23"/>
469 </Offset>
470 </Anchor>
471 </Anchors>
472 <Layers>
473 <Layer level="ARTWORK">
474 <FontString inherits="GameFontHighlight" name="$parentLabel" text="ASO_LOCSTR_UI_NotifyFrequencyEditBox">
475 <Anchors>
476 <Anchor point="RIGHT" relativePoint="LEFT">
477 <Offset>
478 <AbsDimension x="-11" y="1"/>
479 </Offset>
480 </Anchor>
481 </Anchors>
482 </FontString>
483 </Layer>
484 </Layers>
485 <Scripts>
486 <OnTabPressed>
487 ASO_Window_OnTabPressed_NotifyFrequencyEditBox();
488 </OnTabPressed>
489 <OnEnterPressed>
490 ASO_Window_OnEnterPressed_NotifyFrequencyEditBox();
491 </OnEnterPressed>
492 <OnEnter>
493 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
494 GameTooltip:SetText(this.tooltip);
495 </OnEnter>
496 <OnLeave>
497 GameTooltip:Hide();
498 </OnLeave>
499 </Scripts>
500 </EditBox>
501  
502 <CheckButton name="IsCombatOnlyCheckButton" inherits="UICheckButtonTemplate" id="4">
503 <Size>
504 <AbsDimension x="24" y="24"/>
505 </Size>
506 <Anchors>
507 <Anchor point="LEFT" relativeTo="AutoSwitchCheckButton" relativePoint="LEFT">
508 <Offset>
509 <AbsDimension x="0" y="-80"/>
510 </Offset>
511 </Anchor>
512 </Anchors>
513 <Layers>
514 <Layer level="ARTWORK">
515 <FontString text="ASO_LOCSTR_UI_IsCombatOnlyCheckButtonLabel" name="$parentLabel" inherits="GameFontHighlight">
516 <Anchors>
517 <Anchor point="LEFT" relativePoint="RIGHT"/>
518 </Anchors>
519 </FontString>
520 </Layer>
521 </Layers>
522 <Scripts>
523 <OnClick>
524 if ( this:GetChecked() ) then
525 PlaySound("igMainMenuOptionCheckBoxOff");
526 else
527 PlaySound("igMainMenuOptionCheckBoxOn");
528 end
529 ASO_Window_OnClick_IsCombatOnlyCheckButton();
530 </OnClick>
531 </Scripts>
532 </CheckButton>
533  
534 <CheckButton name="IsNotifyDuringDuelCheckButton" inherits="UICheckButtonTemplate" id="22">
535 <Size>
536 <AbsDimension x="24" y="24"/>
537 </Size>
538 <Anchors>
539 <Anchor point="LEFT" relativeTo="IsCombatOnlyCheckButton" relativePoint="LEFT">
540 <Offset>
541 <AbsDimension x="0" y="-22"/>
542 </Offset>
543 </Anchor>
544 </Anchors>
545 <Layers>
546 <Layer level="ARTWORK">
547 <FontString text="ASO_LOCSTR_UI_IsNotifyDuringDuelCheckButtonLabel" name="$parentLabel" inherits="GameFontHighlight">
548 <Anchors>
549 <Anchor point="LEFT" relativePoint="RIGHT"/>
550 </Anchors>
551 </FontString>
552 </Layer>
553 </Layers>
554 <Scripts>
555 <OnClick>
556 if ( this:GetChecked() ) then
557 PlaySound("igMainMenuOptionCheckBoxOff");
558 else
559 PlaySound("igMainMenuOptionCheckBoxOn");
560 end
561 ASO_Window_OnClick_IsNotifyDuringDuelCheckButton();
562 </OnClick>
563 </Scripts>
564 </CheckButton>
565  
566 <CheckButton name="IsShoutEnabledCheckButton" inherits="UICheckButtonTemplate" id="5">
567 <Size>
568 <AbsDimension x="24" y="24"/>
569 </Size>
570 <Anchors>
571 <Anchor point="TOPLEFT" relativeTo="AutoShoutOutWindow_EventListTitle" relativePoint="TOPLEFT">
572 <Offset>
573 <AbsDimension x="-5" y="-110"/>
574 </Offset>
575 </Anchor>
576 </Anchors>
577 <Layers>
578 <Layer level="ARTWORK">
579 <FontString text="ASO_LOCSTR_UI_IsShoutEnabledCheckButtonLabel" name="$parentLabel" inherits="GameFontHighlight">
580 <Anchors>
581 <Anchor point="LEFT" relativePoint="RIGHT"/>
582 </Anchors>
583 </FontString>
584 </Layer>
585 </Layers>
586 <Scripts>
587 <OnClick>
588 if ( this:GetChecked() ) then
589 PlaySound("igMainMenuOptionCheckBoxOff");
590 else
591 PlaySound("igMainMenuOptionCheckBoxOn");
592 end
593 ASO_Window_OnClick_IsShoutEnabledCheckButton();
594 </OnClick>
595 <OnEnter>
596 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
597 GameTooltip:SetText(this.tooltip);
598 </OnEnter>
599 <OnLeave>
600 GameTooltip:Hide();
601 </OnLeave>
602 </Scripts>
603 </CheckButton>
604  
605 <CheckButton name="IsMessagingEnabledCheckButton" inherits="UICheckButtonTemplate" id="6">
606 <Size>
607 <AbsDimension x="24" y="24"/>
608 </Size>
609 <Anchors>
610 <Anchor point="TOPLEFT" relativeTo="IsShoutEnabledCheckButton" relativePoint="TOPLEFT">
611 <Offset>
612 <AbsDimension x="0" y="-26"/>
613 </Offset>
614 </Anchor>
615 </Anchors>
616 <Layers>
617 <Layer level="ARTWORK">
618 <FontString text="ASO_LOCSTR_UI_IsMessagingEnabledCheckButtonLabel" name="$parentLabel" inherits="GameFontHighlight">
619 <Anchors>
620 <Anchor point="LEFT" relativePoint="RIGHT"/>
621 </Anchors>
622 </FontString>
623 </Layer>
624 </Layers>
625 <Scripts>
626 <OnClick>
627 if ( this:GetChecked() ) then
628 PlaySound("igMainMenuOptionCheckBoxOff");
629 else
630 PlaySound("igMainMenuOptionCheckBoxOn");
631 end
632 ASO_Window_OnClick_IsMessagingEnabledCheckButton();
633 </OnClick>
634 <OnEnter>
635 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
636 GameTooltip:SetText(this.tooltip);
637 </OnEnter>
638 <OnLeave>
639 GameTooltip:Hide();
640 </OnLeave>
641 </Scripts>
642 </CheckButton>
643  
644 <EditBox name="MessageTargetEditBox" letters="12" numeric="false" autoFocus="false" inherits="InputBoxTemplate">
645 <Size>
646 <AbsDimension x="115" y="16"/>
647 </Size>
648 <Anchors>
649 <Anchor point="TOPLEFT" relativeTo="IsMessagingEnabledCheckButton" relativePoint="TOPLEFT">
650 <Offset>
651 <AbsDimension x="60" y="-30"/>
652 </Offset>
653 </Anchor>
654 </Anchors>
655 <Layers>
656 <Layer level="ARTWORK">
657 <FontString inherits="GameFontHighlight" name="$parentLabel" text="ASO_LOCSTR_UI_MessageTargetEditBoxLabel">
658 <Anchors>
659 <Anchor point="RIGHT" relativePoint="LEFT">
660 <Offset>
661 <AbsDimension x="-11" y="1"/>
662 </Offset>
663 </Anchor>
664 </Anchors>
665 </FontString>
666 </Layer>
667 </Layers>
668 <Scripts>
669 <OnTabPressed>
670 ASO_Window_OnTabPressed_MessageTargetEditBox();
671 </OnTabPressed>
672 <OnEnterPressed>
673 ASO_Window_OnEnterPressed_MessageTargetEditBox();
674 </OnEnterPressed>
675 <OnEnter>
676 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
677 GameTooltip:SetText(this.tooltip);
678 </OnEnter>
679 <OnLeave>
680 GameTooltip:Hide();
681 </OnLeave>
682 </Scripts>
683 </EditBox>
684  
685 <EditBox name="MessageMessageEditBox" letters="250" numeric="false" autoFocus="false" inherits="InputBoxTemplate">
686 <Size>
687 <AbsDimension x="260" y="16"/> <!-- Too bad can't use localization variable name for width size here! -->
688 </Size>
689 <Anchors>
690 <Anchor point="TOPLEFT" relativeTo="IsMessagingEnabledCheckButton" relativePoint="TOPLEFT">
691 <Offset>
692 <AbsDimension x="79" y="-56"/>
693 </Offset>
694 </Anchor>
695 </Anchors>
696 <Layers>
697 <Layer level="ARTWORK">
698 <FontString inherits="GameFontHighlight" name="$parentLabel" text="ASO_LOCSTR_UI_MessageMessageEditBoxLabel">
699 <Anchors>
700 <Anchor point="RIGHT" relativePoint="LEFT">
701 <Offset>
702 <AbsDimension x="-11" y="1"/>
703 </Offset>
704 </Anchor>
705 </Anchors>
706 </FontString>
707 </Layer>
708 </Layers>
709 <Scripts>
710 <OnTabPressed>
711 ASO_Window_OnTabPressed_MessageMessageEditBox();
712 </OnTabPressed>
713 <OnEnterPressed>
714 ASO_Window_OnEnterPressed_MessageMessageEditBox();
715 </OnEnterPressed>
716 <OnEnter>
717 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
718 GameTooltip:SetText(this.tooltip);
719 </OnEnter>
720 <OnLeave>
721 GameTooltip:Hide();
722 </OnLeave>
723 </Scripts>
724 </EditBox>
725  
726 <Button name="TargetChannelsButton" inherits="UIPanelButtonTemplate" text="ASO_LOCSTR_UI_TargetChannelsButton">
727 <Size>
728 <AbsDimension x="85" y="25"/>
729 </Size>
730 <Anchors>
731 <Anchor point="LEFT" relativeTo="MessageTargetEditBox" relativePoint="RIGHT">
732 <Offset>
733 <AbsDimension x="-5" y="0"/>
734 </Offset>
735 </Anchor>
736 </Anchors>
737 <Scripts>
738 <OnClick>
739 ASO_Window_OnClick_ChannelsButton(this);
740 </OnClick>
741 <OnEnter>
742 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
743 GameTooltip:SetText(this.tooltip);
744 </OnEnter>
745 <OnLeave>
746 GameTooltip:Hide();
747 </OnLeave>
748 </Scripts>
749 </Button>
750  
751 </Frames>
752  
753 </Frame>
754  
755 </Ui>