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/ C:ProjectsWoWBinInterfaceFrameXMLUI.xsd">
2  
3 <Script file="localization.lua"/>
4 <Script file="WatchTower.lua"/>
5  
6 <Frame name="WT_FrameTemplate" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
7 <Size>
8 <AbsDimension x="400" y="250"/>
9 </Size>
10 <Anchors>
11 <Anchor point="CENTER"/>
12 </Anchors>
13  
14 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
15 <BackgroundInsets>
16 <AbsInset left="11" right="12" top="12" bottom="11"/>
17 </BackgroundInsets>
18 <TileSize>
19 <AbsValue val="32"/>
20 </TileSize>
21 <EdgeSize>
22 <AbsValue val="32"/>
23 </EdgeSize>
24  
25 </Backdrop>
26  
27 <Layers>
28  
29  
30 <Layer level="ARTWORK">
31 <FontString name="WTTitle" inherits="GameFontHighlight" text="WATCHTOWERTITLE">
32 <Size>
33 <AbsDimension x="125" y="15"/>
34 </Size>
35 <Anchors>
36 <Anchor point="TOPLEFT" relativeTo="WT_FrameTemplate">
37 <Offset>
38 <AbsDimension x="139" y="-15"/>
39 </Offset>
40 </Anchor>
41 </Anchors>
42 </FontString>
43  
44 </Layer>
45 </Layers>
46  
47 <Frames>
48 <CheckButton name="WT_Checkbox0" id="0">
49 <Size>
50 <AbsDimension x="20" y="20"/>
51 </Size>
52 <Anchors>
53 <Anchor point="TOPLEFT">
54 <Offset>
55 <AbsDimension x="330" y="-40"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 <Layers>
60 <Layer name="PARTYLABEL">
61 <FontString name="WT_PARTY_TEXT" inherits="GameFontHighlight" text="WT_PARTY">
62 <Anchors>
63 <Anchor point="RIGHT" relativePoint="LEFT" >
64 <Offset>
65 <AbsDimension x="-5" y="-1"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 </FontString>
70 </Layer>
71 </Layers>
72 <Scripts>
73 <OnLoad>
74 this:SetFrameLevel(10);
75  
76 </OnLoad>
77 <OnClick>
78 WatchTower_SendParty = not WatchTower_SendParty;
79 if ( this:GetChecked() ) then
80 PlaySound("igMainMenuOptionCheckBoxOff");
81 else
82 PlaySound("igMainMenuOptionCheckBoxOn");
83 end
84 </OnClick>
85 </Scripts>
86 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
87 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
88 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
89 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
90 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
91 </CheckButton>
92  
93 <CheckButton name="WT_Checkbox1" id="1">
94 <Size>
95 <AbsDimension x="20" y="20"/>
96 </Size>
97 <Anchors>
98 <Anchor point="TOPLEFT">
99 <Offset>
100 <AbsDimension x="330" y="-60"/>
101 </Offset>
102 </Anchor>
103 </Anchors>
104 <Layers>
105 <Layer name="PARTYLABEL">
106 <FontString name="WT_RAID_TEXT" inherits="GameFontHighlight" text="WT_RAID">
107 <Anchors>
108 <Anchor point="RIGHT" relativePoint="LEFT" >
109 <Offset>
110 <AbsDimension x="-5" y="-1"/>
111 </Offset>
112 </Anchor>
113 </Anchors>
114 </FontString>
115 </Layer>
116 </Layers>
117 <Scripts>
118 <OnLoad>
119 this:SetFrameLevel(10);
120  
121 </OnLoad>
122 <OnClick>
123 WatchTower_SendRaid = not WatchTower_SendRaid;
124 if ( this:GetChecked() ) then
125 PlaySound("igMainMenuOptionCheckBoxOff");
126 else
127 PlaySound("igMainMenuOptionCheckBoxOn");
128 end
129 </OnClick>
130 </Scripts>
131 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
132 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
133 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
134 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
135 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
136 </CheckButton>
137  
138 <CheckButton name="WT_Checkbox2" id="2">
139 <Size>
140 <AbsDimension x="20" y="20"/>
141 </Size>
142 <Anchors>
143 <Anchor point="TOPLEFT">
144 <Offset>
145 <AbsDimension x="330" y="-80"/>
146 </Offset>
147 </Anchor>
148 </Anchors>
149 <Layers>
150 <Layer name="GUILDLABEL">
151 <FontString name="WT_GUILD_TEXT" inherits="GameFontHighlight" text="WT_GUILD">
152 <Anchors>
153 <Anchor point="RIGHT" relativePoint="LEFT">
154 <Offset>
155 <AbsDimension x="-5" y="-1"/>
156 </Offset>
157 </Anchor>
158 </Anchors>
159 </FontString>
160 </Layer>
161 </Layers>
162 <Scripts>
163 <OnLoad>
164 this:SetFrameLevel(10);
165  
166 </OnLoad>
167 <OnClick>
168 WatchTower_SendGuild = not WatchTower_SendGuild;
169 if ( this:GetChecked() ) then
170 PlaySound("igMainMenuOptionCheckBoxOff");
171 else
172 PlaySound("igMainMenuOptionCheckBoxOn");
173 end
174 </OnClick>
175 </Scripts>
176 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
177 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
178 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
179 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
180 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
181 </CheckButton>
182  
183  
184  
185 <CheckButton name="WT_Checkbox3" id="3">
186 <Size>
187 <AbsDimension x="20" y="20"/>
188 </Size>
189 <Anchors>
190 <Anchor point="TOPLEFT">
191 <Offset>
192 <AbsDimension x="330" y="-100"/>
193 </Offset>
194 </Anchor>
195 </Anchors>
196 <Layers>
197 <Layer name="WT_DEFENSE_LABEL">
198 <FontString name="WT_DEFENSE_TEXT" inherits="GameFontHighlight" text="WT_DEFENSE">
199 <Anchors>
200 <Anchor point="RIGHT" relativePoint="LEFT">
201 <Offset>
202 <AbsDimension x="-5" y="-1"/>
203 </Offset>
204 </Anchor>
205 </Anchors>
206 </FontString>
207 </Layer>
208 </Layers>
209 <Scripts>
210 <OnLoad>
211 this:SetFrameLevel(10);
212  
213 </OnLoad>
214 <OnClick>
215 WatchTower_SendLocal = not WatchTower_SendLocal;
216 if ( this:GetChecked() ) then
217 PlaySound("igMainMenuOptionCheckBoxOff");
218 else
219 PlaySound("igMainMenuOptionCheckBoxOn");
220 end
221 </OnClick>
222 </Scripts>
223 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
224 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
225 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
226 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
227 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
228 </CheckButton>
229 <CheckButton name="WT_Checkbox10" id="10">
230 <Size>
231 <AbsDimension x="20" y="20"/>
232 </Size>
233 <Anchors>
234 <Anchor point="TOPLEFT">
235 <Offset>
236 <AbsDimension x="130" y="-40"/>
237 </Offset>
238 </Anchor>
239 </Anchors>
240 <Layers>
241 <Layer name="REPORT_PVP_LABEL">
242 <FontString name="WT_REPORT_PVP_TEXT" inherits="GameFontHighlight" text="WT_REPORT_PVP">
243  
244 <Anchors>
245 <Anchor point="RIGHT" relativePoint="LEFT" >
246 <Offset>
247 <AbsDimension x="-5" y="-1"/>
248 </Offset>
249 </Anchor>
250 </Anchors>
251 </FontString>
252 </Layer>
253 </Layers>
254 <Scripts>
255 <OnLoad>
256 this:SetFrameLevel(10);
257  
258 </OnLoad>
259 <OnClick>
260 WatchTower_ReportPvP = not WatchTower_ReportPvP;
261 if ( this:GetChecked() ) then
262 PlaySound("igMainMenuOptionCheckBoxOff");
263 else
264 PlaySound("igMainMenuOptionCheckBoxOn");
265 end
266 </OnClick>
267 </Scripts>
268 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
269 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
270 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
271 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
272 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
273 </CheckButton>
274  
275 <CheckButton name="WT_Checkbox11" id="11">
276 <Size>
277 <AbsDimension x="20" y="20"/>
278 </Size>
279 <Anchors>
280 <Anchor point="TOPLEFT">
281 <Offset>
282 <AbsDimension x="130" y="-60"/>
283 </Offset>
284 </Anchor>
285 </Anchors>
286 <Layers>
287 <Layer name="REPORT_FACTION_LABEL">
288 <FontString name="WT_REPORT_FACTION_TEXT" inherits="GameFontHighlight" text="WT_REPORT_FACTION">
289 <Anchors>
290 <Anchor point="RIGHT" relativePoint="LEFT" >
291 <Offset>
292 <AbsDimension x="-5" y="-1"/>
293 </Offset>
294 </Anchor>
295 </Anchors>
296 </FontString>
297 </Layer>
298 </Layers>
299 <Scripts>
300 <OnLoad>
301 this:SetFrameLevel(10);
302  
303 </OnLoad>
304 <OnClick>
305 WatchTower_ReportFaction = not WatchTower_ReportFaction;
306 if ( this:GetChecked() ) then
307 PlaySound("igMainMenuOptionCheckBoxOff");
308 else
309 PlaySound("igMainMenuOptionCheckBoxOn");
310 end
311 </OnClick>
312 </Scripts>
313 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
314 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
315 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
316 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
317 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
318 </CheckButton>
319  
320 <CheckButton name="WT_Checkbox12" id="12">
321 <Size>
322 <AbsDimension x="20" y="20"/>
323 </Size>
324 <Anchors>
325 <Anchor point="TOPLEFT">
326 <Offset>
327 <AbsDimension x="130" y="-80"/>
328 </Offset>
329 </Anchor>
330 </Anchors>
331 <Layers>
332 <Layer name="REPORT_GUILD_LABEL">
333 <FontString name="WT_REPORT_GUILD_TEXT" inherits="GameFontHighlight" text="WT_REPORT_GUILD">
334 <Anchors>
335 <Anchor point="RIGHT" relativePoint="LEFT">
336 <Offset>
337 <AbsDimension x="-5" y="-1"/>
338 </Offset>
339 </Anchor>
340 </Anchors>
341 </FontString>
342 </Layer>
343 </Layers>
344 <Scripts>
345 <OnLoad>
346 this:SetFrameLevel(10);
347  
348 </OnLoad>
349 <OnClick>
350 WatchTower_ReportGuild = not WatchTower_ReportGuild;
351 if ( this:GetChecked() ) then
352 PlaySound("igMainMenuOptionCheckBoxOff");
353 else
354 PlaySound("igMainMenuOptionCheckBoxOn");
355 end
356 </OnClick>
357 </Scripts>
358 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
359 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
360 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
361 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
362 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
363 </CheckButton>
364 <CheckButton name="WT_Checkbox13" id="13">
365 <Size>
366 <AbsDimension x="20" y="20"/>
367 </Size>
368 <Anchors>
369 <Anchor point="TOPLEFT">
370 <Offset>
371 <AbsDimension x="130" y="-100"/>
372 </Offset>
373 </Anchor>
374 </Anchors>
375 <Layers>
376 <Layer name="REPORT_NAME_LABEL">
377 <FontString name="WT_REPORT_NAME_TEXT" inherits="GameFontHighlight" text="WT_REPORT_NAME">
378 <Anchors>
379 <Anchor point="RIGHT" relativePoint="LEFT">
380 <Offset>
381 <AbsDimension x="-5" y="-1"/>
382 </Offset>
383 </Anchor>
384 </Anchors>
385 </FontString>
386 </Layer>
387 </Layers>
388 <Scripts>
389 <OnLoad>
390 this:SetFrameLevel(10);
391  
392 </OnLoad>
393 <OnClick>
394 WatchTower_ReportName = not WatchTower_ReportName;
395 if ( this:GetChecked() ) then
396 PlaySound("igMainMenuOptionCheckBoxOff");
397 else
398 PlaySound("igMainMenuOptionCheckBoxOn");
399 end
400 </OnClick>
401 </Scripts>
402 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
403 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
404 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
405 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
406 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
407 </CheckButton>
408 <CheckButton name="WT_Checkbox14" id="14">
409 <Size>
410 <AbsDimension x="20" y="20"/>
411 </Size>
412 <Anchors>
413 <Anchor point="TOPLEFT">
414 <Offset>
415 <AbsDimension x="130" y="-120"/>
416 </Offset>
417 </Anchor>
418 </Anchors>
419 <Layers>
420 <Layer name="REPORT_RACE_LABEL">
421 <FontString name="WT_REPORT_RACE_TEXT" inherits="GameFontHighlight" text="WT_REPORT_RACE">
422 <Anchors>
423 <Anchor point="RIGHT" relativePoint="LEFT">
424 <Offset>
425 <AbsDimension x="-5" y="-1"/>
426 </Offset>
427 </Anchor>
428 </Anchors>
429 </FontString>
430 </Layer>
431 </Layers>
432 <Scripts>
433 <OnLoad>
434 this:SetFrameLevel(10);
435  
436 </OnLoad>
437 <OnClick>
438 WatchTower_ReportRace = not WatchTower_ReportRace;
439 if ( this:GetChecked() ) then
440 PlaySound("igMainMenuOptionCheckBoxOff");
441 else
442 PlaySound("igMainMenuOptionCheckBoxOn");
443 end
444 </OnClick>
445 </Scripts>
446 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
447 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
448 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
449 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
450 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
451 </CheckButton>
452 <CheckButton name="WT_Checkbox15" id="15">
453 <Size>
454 <AbsDimension x="20" y="20"/>
455 </Size>
456 <Anchors>
457 <Anchor point="TOPLEFT">
458 <Offset>
459 <AbsDimension x="130" y="-140"/>
460 </Offset>
461 </Anchor>
462 </Anchors>
463 <Layers>
464 <Layer name="REPORT_CLASS_LABEL">
465 <FontString name="WT_REPORT_CLASS_TEXT" inherits="GameFontHighlight" text="WT_REPORT_CLASS">
466 <Anchors>
467 <Anchor point="RIGHT" relativePoint="LEFT">
468 <Offset>
469 <AbsDimension x="-5" y="-1"/>
470 </Offset>
471 </Anchor>
472 </Anchors>
473 </FontString>
474 </Layer>
475 </Layers>
476 <Scripts>
477 <OnLoad>
478 this:SetFrameLevel(10);
479  
480 </OnLoad>
481 <OnClick>
482 WatchTower_ReportClass = not WatchTower_ReportClass;
483 if ( this:GetChecked() ) then
484 PlaySound("igMainMenuOptionCheckBoxOff");
485 else
486 PlaySound("igMainMenuOptionCheckBoxOn");
487 end
488 </OnClick>
489 </Scripts>
490 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
491 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
492 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
493 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
494 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
495 </CheckButton>
496 <CheckButton name="WT_Checkbox16" id="16">
497 <Size>
498 <AbsDimension x="20" y="20"/>
499 </Size>
500 <Anchors>
501 <Anchor point="TOPLEFT">
502 <Offset>
503 <AbsDimension x="130" y="-160"/>
504 </Offset>
505 </Anchor>
506 </Anchors>
507 <Layers>
508 <Layer name="REPORT_LEVEL_LABEL">
509 <FontString name="WT_REPORT_LEVEL_TEXT" inherits="GameFontHighlight" text="WT_REPORT_LEVEL">
510 <Anchors>
511 <Anchor point="RIGHT" relativePoint="LEFT">
512 <Offset>
513 <AbsDimension x="-5" y="-1"/>
514 </Offset>
515 </Anchor>
516 </Anchors>
517 </FontString>
518 </Layer>
519 </Layers>
520 <Scripts>
521 <OnLoad>
522 this:SetFrameLevel(10);
523  
524 </OnLoad>
525 <OnClick>
526 WatchTower_ReportLevel = not WatchTower_ReportLevel;
527 if ( this:GetChecked() ) then
528 PlaySound("igMainMenuOptionCheckBoxOff");
529 else
530 PlaySound("igMainMenuOptionCheckBoxOn");
531 end
532 </OnClick>
533 </Scripts>
534 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
535 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
536 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
537 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
538 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
539 </CheckButton>
540 <CheckButton name="WT_Checkbox17" id="17">
541 <Size>
542 <AbsDimension x="20" y="20"/>
543 </Size>
544 <Anchors>
545 <Anchor point="TOPLEFT">
546 <Offset>
547 <AbsDimension x="130" y="-180"/>
548 </Offset>
549 </Anchor>
550 </Anchors>
551 <Layers>
552 <Layer name="REPORT_LOCATION_LABEL">
553 <FontString name="WT_REPORT_LOCATION_TEXT" inherits="GameFontHighlight" text="WT_REPORT_LOCATION">
554 <Anchors>
555 <Anchor point="RIGHT" relativePoint="LEFT">
556 <Offset>
557 <AbsDimension x="-5" y="-1"/>
558 </Offset>
559 </Anchor>
560 </Anchors>
561 </FontString>
562 </Layer>
563 </Layers>
564 <Scripts>
565 <OnLoad>
566 this:SetFrameLevel(10);
567  
568 </OnLoad>
569 <OnClick>
570 WatchTower_ReportLocation = not WatchTower_ReportLocation;
571 if ( this:GetChecked() ) then
572 PlaySound("igMainMenuOptionCheckBoxOff");
573 else
574 PlaySound("igMainMenuOptionCheckBoxOn");
575 end
576 </OnClick>
577 </Scripts>
578 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
579 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
580 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
581 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
582 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
583 </CheckButton>
584 <CheckButton name="WT_Checkbox18" id="18">
585 <Size>
586 <AbsDimension x="20" y="20"/>
587 </Size>
588 <Anchors>
589 <Anchor point="TOPLEFT">
590 <Offset>
591 <AbsDimension x="130" y="-200"/>
592 </Offset>
593 </Anchor>
594 </Anchors>
595 <Layers>
596 <Layer name="REPORT_COORDINATES_LABEL">
597 <FontString name="WT_REPORT_COORDINATES_TEXT" inherits="GameFontHighlight" text="WT_REPORT_COORDINATES">
598 <Anchors>
599 <Anchor point="RIGHT" relativePoint="LEFT">
600 <Offset>
601 <AbsDimension x="-5" y="-1"/>
602 </Offset>
603 </Anchor>
604 </Anchors>
605 </FontString>
606 </Layer>
607 </Layers>
608 <Scripts>
609 <OnLoad>
610 this:SetFrameLevel(10);
611  
612 </OnLoad>
613 <OnClick>
614 WatchTower_ReportCoordinates = not WatchTower_ReportCoordinates;
615 if ( this:GetChecked() ) then
616 PlaySound("igMainMenuOptionCheckBoxOff");
617 else
618 PlaySound("igMainMenuOptionCheckBoxOn");
619 end
620 </OnClick>
621 </Scripts>
622 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
623 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
624 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
625 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
626 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
627 </CheckButton>
628  
629 <Button name="WT_CloseButton" inherits="UIPanelCloseButton">
630 <Anchors>
631 <Anchor point="TOPRIGHT">
632 <Offset>
633 <AbsDimension x="-5" y="-5"/>
634 </Offset>
635 </Anchor>
636 </Anchors>
637 <Scripts>
638 <OnClick>
639 PlaySound("igMainMenuOptionCheckBoxOn");
640 HideUIPanel(WT_FrameTemplate);
641 </OnClick>
642 </Scripts>
643 </Button>
644 <Button name="WT_ExitButton" inherits="UIPanelButtonTemplate" text="Exit">
645 <Size>
646 <AbsDimension x="77" y="21"/>
647 </Size>
648 <Anchors>
649 <Anchor point="BOTTOMRIGHT" relativeTo="WT_FrameTemplate" relativePoint="BOTTOMRIGHT">
650 <Offset>
651 <AbsDimension x="-15" y="15"/>
652 </Offset>
653 </Anchor>
654 </Anchors>
655 <Scripts>
656 <OnClick>
657 PlaySound("igMainMenuOptionCheckBoxOn");
658 HideUIPanel(WT_FrameTemplate);
659 </OnClick>
660 </Scripts>
661 </Button>
662 </Frames>
663  
664 <Scripts>
665 <OnLoad>
666 WT_OnLoad();
667 </OnLoad>
668 <OnEvent>
669 WT_OnEvent(event);
670 </OnEvent>
671 </Scripts>
672 </Frame>
673 <Button name="WT_Template" hidden="true" virtual="true">
674 <Size>
675 <AbsDimension x="12" y="12"/>
676 </Size>
677 <Anchors>
678 <Anchor point="CENTER"/>
679 </Anchors>
680 <Scripts>
681 <OnEnter>
682 local x, y = this:GetCenter();
683 local parentX, parentY = this:GetParent():GetCenter();
684 if ( x > parentX ) then
685 WorldMapTooltip:SetOwner(this, "ANCHOR_LEFT");
686 else
687 WorldMapTooltip:SetOwner(this, "ANCHOR_RIGHT");
688 end
689 WorldMapTooltip:SetText(this.toolTip);
690 WorldMapTooltip:Show();
691 </OnEnter>
692 <OnLeave>
693 WorldMapTooltip:Hide();
694 </OnLeave>
695 </Scripts>
696 <NormalTexture name="$parentTexture" file="Interface\AddOns\Gatherer\IconGatherTest"/>
697 </Button>
698  
699 <Button name="WTNote1000" inherits="WT_Template" id="1000" parent="WorldMapDetailFrame" toplevel="true"/>
700 <Button name="WTNote1001" inherits="WT_Template" id="1001" parent="WorldMapDetailFrame" toplevel="true"/>
701 <Button name="WTNote1002" inherits="WT_Template" id="1002" parent="WorldMapDetailFrame" toplevel="true"/>
702 <Button name="WTNote1003" inherits="WT_Template" id="1003" parent="WorldMapDetailFrame" toplevel="true"/>
703 <Button name="WTNote1004" inherits="WT_Template" id="1004" parent="WorldMapDetailFrame" toplevel="true"/>
704 <Button name="WTNote1005" inherits="WT_Template" id="1005" parent="WorldMapDetailFrame" toplevel="true"/>
705 <Button name="WTNote1006" inherits="WT_Template" id="1006" parent="WorldMapDetailFrame" toplevel="true"/>
706 <Button name="WTNote1007" inherits="WT_Template" id="1007" parent="WorldMapDetailFrame" toplevel="true"/>
707 <Button name="WTNote1008" inherits="WT_Template" id="1008" parent="WorldMapDetailFrame" toplevel="true"/>
708 <Button name="WTNote1009" inherits="WT_Template" id="1009" parent="WorldMapDetailFrame" toplevel="true"/>
709 <Button name="WTNote1010" inherits="WT_Template" id="1010" parent="WorldMapDetailFrame" toplevel="true"/>
710 <Button name="WTNote1011" inherits="WT_Template" id="1011" parent="WorldMapDetailFrame" toplevel="true"/>
711 <Button name="WTNote1012" inherits="WT_Template" id="1012" parent="WorldMapDetailFrame" toplevel="true"/>
712 <Button name="WTNote1013" inherits="WT_Template" id="1013" parent="WorldMapDetailFrame" toplevel="true"/>
713 <Button name="WTNote1014" inherits="WT_Template" id="1014" parent="WorldMapDetailFrame" toplevel="true"/>
714 <Button name="WTNote1015" inherits="WT_Template" id="1015" parent="WorldMapDetailFrame" toplevel="true"/>
715 <Button name="WTNote1016" inherits="WT_Template" id="1016" parent="WorldMapDetailFrame" toplevel="true"/>
716 <Button name="WTNote1017" inherits="WT_Template" id="1017" parent="WorldMapDetailFrame" toplevel="true"/>
717 <Button name="WTNote1018" inherits="WT_Template" id="1018" parent="WorldMapDetailFrame" toplevel="true"/>
718 <Button name="WTNote1019" inherits="WT_Template" id="1019" parent="WorldMapDetailFrame" toplevel="true"/>
719 <Button name="WTNote1020" inherits="WT_Template" id="1020" parent="WorldMapDetailFrame" toplevel="true"/>
720 <Button name="WTNote1021" inherits="WT_Template" id="1021" parent="WorldMapDetailFrame" toplevel="true"/>
721 <Button name="WTNote1022" inherits="WT_Template" id="1022" parent="WorldMapDetailFrame" toplevel="true"/>
722 <Button name="WTNote1023" inherits="WT_Template" id="1023" parent="WorldMapDetailFrame" toplevel="true"/>
723 <Button name="WTNote1024" inherits="WT_Template" id="1024" parent="WorldMapDetailFrame" toplevel="true"/>
724 <Button name="WTNote1025" inherits="WT_Template" id="1025" parent="WorldMapDetailFrame" toplevel="true"/>
725 <Button name="WTNote1026" inherits="WT_Template" id="1026" parent="WorldMapDetailFrame" toplevel="true"/>
726 <Button name="WTNote1027" inherits="WT_Template" id="1027" parent="WorldMapDetailFrame" toplevel="true"/>
727 <Button name="WTNote1028" inherits="WT_Template" id="1028" parent="WorldMapDetailFrame" toplevel="true"/>
728 <Button name="WTNote1029" inherits="WT_Template" id="1029" parent="WorldMapDetailFrame" toplevel="true"/>
729 <Button name="WTNote1030" inherits="WT_Template" id="1030" parent="WorldMapDetailFrame" toplevel="true"/>
730  
731  
732  
733 </Ui>