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 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
3  
4 <Script file="GuildAdsFrame.lua"/>
5  
6 <Button name="GuildAdsMinimapButton" parent="Minimap" toplevel="true" hidden="true">
7 <Size>
8 <AbsDimension x="34" y="34"/>
9 </Size>
10 <Scripts>
11 <OnLoad>
12 this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
13 </OnLoad>
14 <OnClick>
15 if (arg1 == "LeftButton") then
16 GuildAds_Toggle();
17 else
18 GuildAdsConfig_Toggle();
19 end
20 </OnClick>
21 <OnEnter>
22 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
23 GameTooltip:SetText(GUILDADS_TITLE);
24 </OnEnter>
25 <OnLeave>
26 GameTooltip:Hide();
27 </OnLeave>
28 </Scripts>
29 <NormalTexture file="Interface\AddOns\GuildAds\GuildAds_Button"/>
30 <PushedTexture file="Interface\AddOns\GuildAds\GuildAds_ButtonDown"/>
31 <DisabledTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Disabled"/>
32 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
33 </Button>
34  
35 <Button name="GuildAdsGlobalAdButtonTemplate" virtual="true">
36 <!--
37 this.groupId set if the button is a header
38 this.idAd set if the button is a global ads
39 -->
40 <Size>
41 <AbsDimension x="490" y="16"/>
42 </Size>
43 <Layers>
44 <Layer level="BORDER">
45 <FontString name="$parentOwner" inherits="GameFontNormalSmall" justifyH="LEFT">
46 <Size>
47 <AbsDimension x="75" y="14"/>
48 </Size>
49 <Anchors>
50 <Anchor point="TOPLEFT">
51 <Offset>
52 <AbsDimension x="10" y="-3"/>
53 </Offset>
54 </Anchor>
55 </Anchors>
56 </FontString>
57 <FontString name="$parentText" inherits="GameFontHighlightSmall" justifyH="LEFT">
58 <Size>
59 <AbsDimension x="395" y="14"/>
60 </Size>
61 <Anchors>
62 <Anchor point="LEFT" relativeTo="$parentOwner" relativePoint="RIGHT">
63 <Offset>
64 <AbsDimension x="2" y="0"/>
65 </Offset>
66 </Anchor>
67 </Anchors>
68 </FontString>
69 <FontString name="$parentClass" inherits="GameFontHighlightSmall" justifyH="LEFT">
70 <Size>
71 <AbsDimension x="90" y="14"/>
72 </Size>
73 <Anchors>
74 <Anchor point="LEFT" relativeTo="$parentOwner" relativePoint="RIGHT">
75 <Offset>
76 <AbsDimension x="90" y="0"/>
77 </Offset>
78 </Anchor>
79 </Anchors>
80 </FontString>
81 <FontString name="$parentRace" inherits="GameFontHighlightSmall" justifyH="LEFT">
82 <Size>
83 <AbsDimension x="100" y="14"/>
84 </Size>
85 <Anchors>
86 <Anchor point="LEFT" relativeTo="$parentOwner" relativePoint="RIGHT">
87 <Offset>
88 <AbsDimension x="180" y="0"/>
89 </Offset>
90 </Anchor>
91 </Anchors>
92 </FontString>
93 <FontString name="$parentTitle" inherits="GameFontHighlight" justifyH="LEFT">
94 <Size>
95 <AbsDimension x="395" y="14"/>
96 </Size>
97 <Anchors>
98 <Anchor point="TOPLEFT">
99 <Offset>
100 <AbsDimension x="25" y="-3"/>
101 </Offset>
102 </Anchor>
103 </Anchors>
104 </FontString>
105 </Layer>
106 </Layers>
107 <NormalTexture file="Interface\Buttons\UI-MinusButton-UP">
108 <Size>
109 <AbsDimension x="16" y="16"/>
110 </Size>
111 <Anchors>
112 <Anchor point="LEFT">
113 <Offset>
114 <AbsDimension x="6" y="-2"/>
115 </Offset>
116 </Anchor>
117 </Anchors>
118 </NormalTexture>
119 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
120 <Size>
121 <AbsDimension x="490" y="16"/>
122 </Size>
123 <Anchors>
124 <Anchor point="TOP">
125 <Offset>
126 <AbsDimension x="5" y="-2"/>
127 </Offset>
128 </Anchor>
129 </Anchors>
130 </HighlightTexture>
131 <Frames>
132 <StatusBar name="$parentSkillBar" drawLayer="BACKGROUND" minValue="0" maxValue="300" defaultValue="0">
133 <Size>
134 <AbsDimension x="268" y="15"/>
135 </Size>
136 <Anchors>
137 <Anchor point="TOPLEFT">
138 <Offset>
139 <AbsDimension x="80" y="-3"/>
140 </Offset>
141 </Anchor>
142 </Anchors>
143 <Layers>
144 <Layer level="ARTWORK">
145 <FontString name="$parentSkillName" inherits="GameFontNormalSmall">
146 <Anchors>
147 <Anchor point="LEFT">
148 <Offset>
149 <AbsDimension x="6" y="1"/>
150 </Offset>
151 </Anchor>
152 </Anchors>
153 </FontString>
154 <FontString name="$parentSkillRank" inherits="GameFontHighlightSmall" justifyH="LEFT">
155 <Size>
156 <AbsDimension x="128" y="0"/>
157 </Size>
158 <Anchors>
159 <Anchor point="LEFT" relativeTo="$parentSkillName" relativePoint="RIGHT">
160 <Offset>
161 <AbsDimension x="13" y="0"/>
162 </Offset>
163 </Anchor>
164 </Anchors>
165 </FontString>
166 </Layer>
167 </Layers>
168 <Frames>
169 <Button name="$parentBorder">
170 <Size>
171 <AbsDimension x="281" y="32"/>
172 </Size>
173 <Anchors>
174 <Anchor point="LEFT">
175 <Offset>
176 <AbsDimension x="-5" y="0"/>
177 </Offset>
178 </Anchor>
179 </Anchors>
180 <NormalTexture name="$parentNormal" file="Interface\PaperDollInfoFrame\UI-Character-Skills-BarBorder" />
181 <Scripts>
182 <OnEnter>
183 GuildAds_GlobalAdButton_OnEnter(this:GetParent():GetParent());
184 </OnEnter>
185 <OnLeave>
186 GameTooltip:Hide();
187 </OnLeave>
188 </Scripts>
189 </Button>
190 </Frames>
191 <BarTexture name="$parentBar" file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" />
192 <BarColor r="0.25" g="0.25" b="0.75" />
193 </StatusBar>
194 </Frames>
195 <Scripts>
196 <OnLoad>
197 this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
198 </OnLoad>
199 <OnEnter>
200 GuildAds_GlobalAdButton_OnEnter();
201 </OnEnter>
202 <OnLeave>
203 GameTooltip:Hide();
204 </OnLeave>
205 <OnClick>
206 GuildAds_GlobalAdButton_OnClick(arg1);
207 </OnClick>
208 </Scripts>
209 </Button>
210  
211 <Button name="GuildAdsMyAdButtonTemplate" virtual="true">
212 <Size>
213 <AbsDimension x="484" y="16"/>
214 </Size>
215 <Layers>
216 <Layer level="BORDER">
217 <FontString name="$parentText" inherits="GameFontHighlightSmall" justifyH="LEFT">
218 <Size>
219 <AbsDimension x="445" y="14"/>
220 </Size>
221 <Anchors>
222 <Anchor point="TOPLEFT">
223 <Offset>
224 <AbsDimension x="25" y="-3"/>
225 </Offset>
226 </Anchor>
227 </Anchors>
228 </FontString>
229 </Layer>
230 </Layers>
231 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
232 <Size>
233 <AbsDimension x="484" y="16"/>
234 </Size>
235 <Anchors>
236 <Anchor point="TOP">
237 <Offset>
238 <AbsDimension x="5" y="-2"/>
239 </Offset>
240 </Anchor>
241 </Anchors>
242 </HighlightTexture>
243 <Frames>
244 <CheckButton name="$parentCheckButton">
245 <Size>
246 <AbsDimension x="16" y="16"/>
247 </Size>
248 <Anchors>
249 <Anchor point="LEFT">
250 <Offset>
251 <AbsDimension x="0" y="-2"/>
252 </Offset>
253 </Anchor>
254 </Anchors>
255 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
256 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
257 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
258 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
259 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
260 <Scripts>
261 <OnLoad>
262 this:SetChecked(false);
263 </OnLoad>
264 <OnClick>
265 GuildAds_MyCheckButton_OnClick();
266 </OnClick>
267 </Scripts>
268 </CheckButton>
269 </Frames>
270 <Scripts>
271 <OnClick>
272 GuildAds_MyAdButton_OnClick();
273 </OnClick>
274 </Scripts>
275 </Button>
276  
277 <!--
278 <Button name="GuildAdsColumnHeaderTemplate" virtual="true">
279 <Size>
280 <AbsDimension x="10" y="24" />
281 </Size>
282  
283 <Layers>
284 <Layer level="BACKGROUND">
285 <Texture file="Interface\FriendsFrame\WhoFrame-ColumnTabs" name="$parentLeft">
286 <Size>
287 <AbsDimension x="5" y="24" />
288 </Size>
289  
290 <Anchors>
291 <Anchor point="TOPLEFT" />
292 </Anchors>
293  
294 <TexCoords bottom="0.75" left="0" right="0.078125" top="0" />
295 </Texture>
296  
297 <Texture file="Interface\FriendsFrame\WhoFrame-ColumnTabs" name="$parentMiddle">
298 <Size>
299 <AbsDimension x="53" y="24" />
300 </Size>
301  
302 <Anchors>
303 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLeft" />
304 </Anchors>
305  
306 <TexCoords bottom="0.75" left="0.078125" right="0.90625" top="0" />
307 </Texture>
308  
309 <Texture file="Interface\FriendsFrame\WhoFrame-ColumnTabs" name="$parentRight">
310 <Size>
311 <AbsDimension x="4" y="24" />
312 </Size>
313  
314 <Anchors>
315 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentMiddle" />
316 </Anchors>
317  
318 <TexCoords bottom="0.75" left="0.90625" right="0.96875" top="0" />
319 </Texture>
320 </Layer>
321 </Layers>
322  
323 <Scripts>
324 <OnClick> PlaySound("igMainMenuOptionCheckBoxOn"); </OnClick>
325 </Scripts>
326  
327 <NormalText inherits="GameFontHighlightSmall">
328 <Anchors>
329 <Anchor point="LEFT">
330 <Offset>
331 <AbsDimension x="8" y="0" />
332 </Offset>
333 </Anchor>
334 </Anchors>
335 </NormalText>
336 <HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
337 <Anchors>
338 <Anchor point="LEFT" relativeTo="$parentLeft">
339 <Offset>
340 <AbsDimension x="0" y="-1"/>
341 </Offset>
342 </Anchor>
343 <Anchor point="RIGHT" relativeTo="$parentRight">
344 <Offset>
345 <AbsDimension x="0" y="-1"/>
346 </Offset>
347 </Anchor>
348 </Anchors>
349 </HighlightTexture>
350 </Button>
351 -->
352  
353 <Frame name="GuildAdsFrame" parent="UIParent" hidden="true" toplevel="true" enableMouse="true" movable="true">
354 <Size>
355 <AbsDimension x="512" y="512"/>
356 </Size>
357 <Anchors>
358 <Anchor point="TOPLEFT">
359 <Offset>
360 <AbsDimension x="256" y="-104"/>
361 </Offset>
362 </Anchor>
363 </Anchors>
364 <Layers>
365 <Layer level="BACKGROUND">
366 <Texture file="Interface\AddOns\GuildAds\GuildAds_Window">
367 <Size>
368 <AbsDimension x="512" y="512"/>
369 </Size>
370 <Anchors>
371 <Anchor point="TOPLEFT">
372 <Offset>
373 <AbsDimension x="0" y="0"/>
374 </Offset>
375 </Anchor>
376 </Anchors>
377 </Texture>
378 <FontString name="GuildAdsVersion" inherits="GameFontNormalSmall" text="GUILDADS_VERSION">
379 <Anchors>
380 <Anchor point="TOPRIGHT">
381 <Offset>
382 <AbsDimension x="-40" y="-10"/>
383 </Offset>
384 </Anchor>
385 </Anchors>
386 </FontString>
387 </Layer>
388 <Layer level="ARTWORK">
389 <FontString name="GuildAdsText" inherits="GameFontHighlight" text="GUILDADS_TITLE">
390 <Anchors>
391 <Anchor point="TOPLEFT" relativeTo="GuildAdsFrame" relativeFrom="TOPLEFT">
392 <Offset>
393 <AbsDimension x="15" y="-15"/>
394 </Offset>
395 </Anchor>
396 </Anchors>
397 </FontString>
398 </Layer>
399 </Layers>
400 <Frames>
401 <Button name="GuildAdsCloseButton" inherits="UIPanelCloseButton">
402 <Anchors>
403 <Anchor point="TOPRIGHT">
404 <Offset>
405 <AbsDimension x="4" y="2"/>
406 </Offset>
407 </Anchor>
408 </Anchors>
409 </Button>
410  
411 <Button name="GuildAdsGlobalAdButton1" inherits="GuildAdsGlobalAdButtonTemplate" id="1">
412 <Anchors>
413 <Anchor point="TOPLEFT" relativeTo="GuildAdsFrame">
414 <Offset>
415 <AbsDimension x="10" y="-35"/>
416 </Offset>
417 </Anchor>
418 </Anchors>
419 </Button>
420 <Button name="GuildAdsGlobalAdButton2" inherits="GuildAdsGlobalAdButtonTemplate" id="2">
421 <Anchors>
422 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton1" relativePoint="BOTTOMLEFT">
423 <Offset>
424 <AbsDimension x="0" y="0"/>
425 </Offset>
426 </Anchor>
427 </Anchors>
428 </Button>
429 <Button name="GuildAdsGlobalAdButton3" inherits="GuildAdsGlobalAdButtonTemplate" id="3">
430 <Anchors>
431 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton2" relativePoint="BOTTOMLEFT">
432 <Offset>
433 <AbsDimension x="0" y="0"/>
434 </Offset>
435 </Anchor>
436 </Anchors>
437 </Button>
438 <Button name="GuildAdsGlobalAdButton4" inherits="GuildAdsGlobalAdButtonTemplate" id="4">
439 <Anchors>
440 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton3" relativePoint="BOTTOMLEFT">
441 <Offset>
442 <AbsDimension x="0" y="0"/>
443 </Offset>
444 </Anchor>
445 </Anchors>
446 </Button>
447 <Button name="GuildAdsGlobalAdButton5" inherits="GuildAdsGlobalAdButtonTemplate" id="5">
448 <Anchors>
449 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton4" relativePoint="BOTTOMLEFT">
450 <Offset>
451 <AbsDimension x="0" y="0"/>
452 </Offset>
453 </Anchor>
454 </Anchors>
455 </Button>
456 <Button name="GuildAdsGlobalAdButton6" inherits="GuildAdsGlobalAdButtonTemplate" id="6">
457 <Anchors>
458 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton5" relativePoint="BOTTOMLEFT">
459 <Offset>
460 <AbsDimension x="0" y="0"/>
461 </Offset>
462 </Anchor>
463 </Anchors>
464 </Button>
465 <Button name="GuildAdsGlobalAdButton7" inherits="GuildAdsGlobalAdButtonTemplate" id="7">
466 <Anchors>
467 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton6" relativePoint="BOTTOMLEFT">
468 <Offset>
469 <AbsDimension x="0" y="0"/>
470 </Offset>
471 </Anchor>
472 </Anchors>
473 </Button>
474 <Button name="GuildAdsGlobalAdButton8" inherits="GuildAdsGlobalAdButtonTemplate" id="8">
475 <Anchors>
476 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton7" relativePoint="BOTTOMLEFT">
477 <Offset>
478 <AbsDimension x="0" y="0"/>
479 </Offset>
480 </Anchor>
481 </Anchors>
482 </Button>
483 <Button name="GuildAdsGlobalAdButton9" inherits="GuildAdsGlobalAdButtonTemplate" id="9">
484 <Anchors>
485 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton8" relativePoint="BOTTOMLEFT">
486 <Offset>
487 <AbsDimension x="0" y="0"/>
488 </Offset>
489 </Anchor>
490 </Anchors>
491 </Button>
492 <Button name="GuildAdsGlobalAdButton10" inherits="GuildAdsGlobalAdButtonTemplate" id="10">
493 <Anchors>
494 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton9" relativePoint="BOTTOMLEFT">
495 <Offset>
496 <AbsDimension x="0" y="0"/>
497 </Offset>
498 </Anchor>
499 </Anchors>
500 </Button>
501 <Button name="GuildAdsGlobalAdButton11" inherits="GuildAdsGlobalAdButtonTemplate" id="11">
502 <Anchors>
503 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton10" relativePoint="BOTTOMLEFT">
504 <Offset>
505 <AbsDimension x="0" y="0"/>
506 </Offset>
507 </Anchor>
508 </Anchors>
509 </Button>
510 <Button name="GuildAdsGlobalAdButton12" inherits="GuildAdsGlobalAdButtonTemplate" id="12">
511 <Anchors>
512 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton11" relativePoint="BOTTOMLEFT">
513 <Offset>
514 <AbsDimension x="0" y="0"/>
515 </Offset>
516 </Anchor>
517 </Anchors>
518 </Button>
519 <Button name="GuildAdsGlobalAdButton13" inherits="GuildAdsGlobalAdButtonTemplate" id="13">
520 <Anchors>
521 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton12" relativePoint="BOTTOMLEFT">
522 <Offset>
523 <AbsDimension x="0" y="0"/>
524 </Offset>
525 </Anchor>
526 </Anchors>
527 </Button>
528 <Button name="GuildAdsGlobalAdButton14" inherits="GuildAdsGlobalAdButtonTemplate" id="14">
529 <Anchors>
530 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton13" relativePoint="BOTTOMLEFT">
531 <Offset>
532 <AbsDimension x="0" y="0"/>
533 </Offset>
534 </Anchor>
535 </Anchors>
536 </Button>
537 <Button name="GuildAdsGlobalAdButton15" inherits="GuildAdsGlobalAdButtonTemplate" id="15">
538 <Anchors>
539 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton14" relativePoint="BOTTOMLEFT">
540 <Offset>
541 <AbsDimension x="0" y="0"/>
542 </Offset>
543 </Anchor>
544 </Anchors>
545 </Button>
546 <Button name="GuildAdsGlobalAdButton16" inherits="GuildAdsGlobalAdButtonTemplate" id="16">
547 <Anchors>
548 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton15" relativePoint="BOTTOMLEFT">
549 <Offset>
550 <AbsDimension x="0" y="0"/>
551 </Offset>
552 </Anchor>
553 </Anchors>
554 </Button>
555 <Button name="GuildAdsGlobalAdButton17" inherits="GuildAdsGlobalAdButtonTemplate" id="17">
556 <Anchors>
557 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton16" relativePoint="BOTTOMLEFT">
558 <Offset>
559 <AbsDimension x="0" y="0"/>
560 </Offset>
561 </Anchor>
562 </Anchors>
563 </Button>
564 <ScrollFrame name="GuildAdsGlobalAdScrollFrame" inherits="FauxScrollFrameTemplate">
565 <Size>
566 <AbsDimension x="475" y="272"/>
567 </Size>
568 <Anchors>
569 <Anchor point="TOPLEFT" relativeTo="GuildAdsGlobalAdButton1" relativePoint="TOPLEFT">
570 <Offset>
571 <AbsDimension x="0" y="0"/>
572 </Offset>
573 </Anchor>
574 </Anchors>
575 <Scripts>
576 <OnVerticalScroll>
577 FauxScrollFrame_OnVerticalScroll(GUILDADS_ADBUTTONSIZEY, GuildAds_UpdateGlobalAdButtons);
578 </OnVerticalScroll>
579 </Scripts>
580 </ScrollFrame>
581  
582 <Button name="GuildAds_MyTab1" inherits="TabButtonTemplate" text="GUILDADS_MYADS" id="1">
583 <Anchors>
584 <Anchor point="TOPLEFT" relativeTo="GuildAdsFrame">
585 <Offset>
586 <AbsDimension x="20" y="-305"/>
587 </Offset>
588 </Anchor>
589 </Anchors>
590 <Scripts>
591 <OnLoad>
592 PanelTemplates_SelectTab(this);
593 PanelTemplates_TabResize(0);
594 getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 31);
595 </OnLoad>
596 <OnClick>
597 GuildAds_MySelectTab(GUILDADS_MY_ADS);
598 </OnClick>
599 </Scripts>
600 </Button>
601 <Button name="GuildAds_MyTab2" inherits="TabButtonTemplate" text="FILTERS" id="2" hidden="false">
602 <Anchors>
603 <Anchor point="LEFT" relativeTo="GuildAds_MyTab1" relativePoint="RIGHT">
604 <Offset>
605 <AbsDimension x="0" y="0"/>
606 </Offset>
607 </Anchor>
608 </Anchors>
609 <Scripts>
610 <OnClick>
611 GuildAds_MySelectTab(GUILDADS_MY_FILTER);
612 </OnClick>
613 </Scripts>
614 </Button>
615  
616 <Button name="GuildAdsMyAdButton1" inherits="GuildAdsMyAdButtonTemplate" id="1">
617 <Anchors>
618 <Anchor point="TOPLEFT" relativeTo="GuildAdsFrame">
619 <Offset>
620 <AbsDimension x="16" y="-340"/> <!-- -335 -->
621 </Offset>
622 </Anchor>
623 </Anchors>
624 </Button>
625  
626 <Button name="GuildAdsMyAdButton2" inherits="GuildAdsMyAdButtonTemplate" id="2">
627 <Anchors>
628 <Anchor point="TOPLEFT" relativeTo="GuildAdsMyAdButton1" relativePoint="BOTTOMLEFT">
629 <Offset>
630 <AbsDimension x="0" y="0"/>
631 </Offset>
632 </Anchor>
633 </Anchors>
634 </Button>
635  
636 <Button name="GuildAdsMyAdButton3" inherits="GuildAdsMyAdButtonTemplate" id="3">
637 <Anchors>
638 <Anchor point="TOPLEFT" relativeTo="GuildAdsMyAdButton2" relativePoint="BOTTOMLEFT">
639 <Offset>
640 <AbsDimension x="0" y="0"/>
641 </Offset>
642 </Anchor>
643 </Anchors>
644 </Button>
645  
646 <Button name="GuildAdsMyAdButton4" inherits="GuildAdsMyAdButtonTemplate" id="4">
647 <Anchors>
648 <Anchor point="TOPLEFT" relativeTo="GuildAdsMyAdButton3" relativePoint="BOTTOMLEFT">
649 <Offset>
650 <AbsDimension x="0" y="0"/>
651 </Offset>
652 </Anchor>
653 </Anchors>
654 </Button>
655  
656 <Button name="GuildAdsMyAdButton5" inherits="GuildAdsMyAdButtonTemplate" id="5">
657 <Anchors>
658 <Anchor point="TOPLEFT" relativeTo="GuildAdsMyAdButton4" relativePoint="BOTTOMLEFT">
659 <Offset>
660 <AbsDimension x="0" y="0"/>
661 </Offset>
662 </Anchor>
663 </Anchors>
664 </Button>
665  
666 <ScrollFrame name="GuildAdsMyAdScrollFrame" inherits="FauxScrollFrameTemplate">
667 <Size>
668 <AbsDimension x="465" y="83"/>
669 </Size>
670 <Anchors>
671 <Anchor point="TOPLEFT" relativeTo="GuildAdsMyAdButton1" relativePoint="TOPLEFT">
672 <Offset>
673 <AbsDimension x="0" y="0"/>
674 </Offset>
675 </Anchor>
676 </Anchors>
677 <Scripts>
678 <OnVerticalScroll>
679 FauxScrollFrame_OnVerticalScroll(GUILDADS_ADBUTTONSIZEY, GuildAds_UpdateMyFrame);
680 </OnVerticalScroll>
681 </Scripts>
682 </ScrollFrame>
683  
684 <CheckButton name="GuildAdsGroupByAccountCheckButton" hidden="true">
685 <Anchors>
686 <Anchor point="TOPLEFT" relativeTo="GuildAdsMyAdButton5" relativePoint="BOTTOMLEFT">
687 <Offset>
688 <AbsDimension x="10" y="-10"/>
689 </Offset>
690 </Anchor>
691 </Anchors>
692 <Size>
693 <AbsDimension x="20" y="20"/>
694 </Size>
695 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
696 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
697 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
698 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
699 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
700 <Layers>
701 <Layer level="ARTWORK">
702 <FontString name="GuildAdsGroupByAccountCheckButtonText" inherits="GameFontNormalSmall" text="GUILDADS_GROUPBYACCOUNT">
703 <Anchors>
704 <Anchor point="LEFT" relativePoint="RIGHT">
705 <Offset>
706 <AbsDimension x="5" y="1"/>
707 </Offset>
708 </Anchor>
709 </Anchors>
710 </FontString>
711 <FontString name="GuildAdsCountText" inherits="GameFontNormalSmall" text="">
712 <Anchors>
713 <Anchor point="TOPRIGHT" relativeTo="GuildAdsFrame" relativeFrom="TOPLEFT">
714 <Offset>
715 <AbsDimension x="-15" y="-435"/>
716 </Offset>
717 </Anchor>
718 </Anchors>
719 </FontString>
720 </Layer>
721 </Layers>
722 <Scripts>
723 <OnClick>
724 if ( this:GetChecked() ) then
725 PlaySound("igMainMenuOptionCheckBoxOn");
726 GuildAdsConfig_SetGroupByAccount(true);
727 else
728 PlaySound("igMainMenuOptionCheckBoxOff");
729 GuildAdsConfig_SetGroupByAccount(false);
730 end
731 </OnClick>
732 </Scripts>
733 </CheckButton>
734  
735 <CheckButton name="GuildAdsGuildShowOfflinesCheckButton" hidden="true">
736 <Anchors>
737 <Anchor point="TOPLEFT" relativeTo="GuildAdsGroupByAccountCheckButton" relativePoint="BOTTOMLEFT">
738 <Offset>
739 <AbsDimension x="0" y="0"/>
740 </Offset>
741 </Anchor>
742 </Anchors>
743 <Size>
744 <AbsDimension x="20" y="20"/>
745 </Size>
746 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
747 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
748 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
749 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
750 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
751 <Layers>
752 <Layer level="ARTWORK">
753 <FontString name="GuildAdsGuildShowOfflinesCheckButtonText" inherits="GameFontNormalSmall" text="SHOW_OFFLINE_MEMBERS">
754 <Anchors>
755 <Anchor point="LEFT" relativePoint="RIGHT">
756 <Offset>
757 <AbsDimension x="5" y="1"/>
758 </Offset>
759 </Anchor>
760 </Anchors>
761 </FontString>
762 </Layer>
763 </Layers>
764 <Scripts>
765 <OnClick>
766 if ( this:GetChecked() ) then
767 PlaySound("igMainMenuOptionCheckBoxOn");
768 GuildAds_GuildShowOfflines(true);
769 else
770 PlaySound("igMainMenuOptionCheckBoxOff");
771 GuildAds_GuildShowOfflines(false);
772 end
773 </OnClick>
774 </Scripts>
775 </CheckButton>
776  
777 <EditBox name="GuildAdsEditBox" letters="200" autoFocus="false" historyLines="256">
778 <Size>
779 <AbsDimension x="465" y="26"/>
780 </Size>
781 <Anchors>
782 <Anchor point="TOPLEFT" relativeTo="GuildAdsMyAdButton5" relativePoint="BOTTOMLEFT">
783 <Offset>
784 <AbsDimension x="10" y="-10"/>
785 </Offset>
786 </Anchor>
787 </Anchors>
788 <TextInsets>
789 <AbsInset left="0" right="5" />
790 </TextInsets>
791 <Layers>
792 <Layer level="BACKGROUND">
793 <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
794 <Size>
795 <AbsDimension x="8" y="26"/>
796 </Size>
797 <Anchors>
798 <Anchor point="TOPLEFT">
799 <Offset>
800 <AbsDimension x="-5" y="0"/>
801 </Offset>
802 </Anchor>
803 </Anchors>
804 <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
805 </Texture>
806 <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
807 <Size>
808 <AbsDimension x="8" y="26"/>
809 </Size>
810 <Anchors>
811 <Anchor point="RIGHT">
812 <Offset>
813 <AbsDimension x="0" y="0"/>
814 </Offset>
815 </Anchor>
816 </Anchors>
817 <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
818 </Texture>
819 <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
820 <Size>
821 <AbsDimension x="10" y="26"/>
822 </Size>
823 <Anchors>
824 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
825 <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
826 </Anchors>
827 <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
828 </Texture>
829 </Layer>
830 </Layers>
831  
832 <Scripts>
833 <OnShow>
834 this:ClearFocus();
835 </OnShow>
836 <OnEnterPressed>
837 this:ClearFocus();
838 </OnEnterPressed>
839 <OnEscapePressed>
840 this:ClearFocus();
841 </OnEscapePressed>
842 <OnTextChanged>
843 GuildAds_AddButtonUpdate();
844 </OnTextChanged>
845 </Scripts>
846 <FontString inherits="ChatFontNormal" bytes="256"/>
847 </EditBox>
848  
849 <Frame name="GuildAds_Event_ZoneDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true" hidden="true">
850 <Anchors>
851 <Anchor point="TOPLEFT" relativeTo="GuildAdsMyAdButton5" relativePoint="BOTTOMRIGHT">
852 <Offset>
853 <AbsDimension x="-140" y="-10"/>
854 </Offset>
855 </Anchor>
856 </Anchors>
857 <Scripts>
858 <OnShow> GuildAds_Event_ZoneDropDown_OnShow(); </OnShow>
859 </Scripts>
860 </Frame>
861  
862 <Slider name="GuildAds_DateFilter" orientation="HORIZONTAL" enableMouse="true">
863 <Size>
864 <AbsDimension x="100" y="16"/>
865 </Size>
866 <Anchors>
867 <Anchor point="TOPRIGHT" relativeTo="GuildAdsFrame" relativeFrom="TOPLEFT">
868 <Offset>
869 <AbsDimension x="-15" y="-320"/>
870 </Offset>
871 </Anchor>
872 </Anchors>
873 <Layers>
874 <Layer level="ARTWORK">
875 <FontString name="$parentLabel" inherits="GameFontNormalSmall">
876 <Anchors>
877 <Anchor point="RIGHT" relativePoint="LEFT">
878 <Offset>
879 <AbsDimension x="-5" y="2"/>
880 </Offset>
881 </Anchor>
882 </Anchors>
883 </FontString>
884 </Layer>
885 </Layers>
886 <HitRectInsets>
887 <AbsInset left="0" right="0" top="-10" bottom="-10"/>
888 </HitRectInsets>
889 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
890 <EdgeSize>
891 <AbsValue val="8"/>
892 </EdgeSize>
893 <TileSize>
894 <AbsValue val="8"/>
895 </TileSize>
896 <BackgroundInsets>
897 <AbsInset left="3" right="3" top="6" bottom="6"/>
898 </BackgroundInsets>
899 </Backdrop>
900 <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
901 <Size>
902 <AbsDimension x="32" y="32"/>
903 </Size>
904 </ThumbTexture>
905 <Scripts>
906 <OnValueChanged>
907 GuildAds_DateFilter_OnValueChanged();
908 </OnValueChanged>
909 </Scripts>
910 </Slider>
911  
912 <Frame name="GuildAdsEditItem" hidden="false">
913 <Frames>
914  
915 <Button name="GuildAdsEditTexture">
916 <Size>
917 <AbsDimension x="36" y="36"/>
918 </Size>
919 <Anchors>
920 <Anchor point="TOPLEFT" relativeTo="GuildAdsEditBox" relativePoint="BOTTOMLEFT">
921 <Offset>
922 <AbsDimension x="0" y="-5"/>
923 </Offset>
924 </Anchor>
925 </Anchors>
926 <Layers>
927 <Layer level="BACKGROUND">
928 <Texture file="Interface\Buttons\UI-EmptySlot-Disabled">
929 <Size>
930 <AbsDimension x="56" y="56"/>
931 </Size>
932 <Anchors>
933 <Anchor point="CENTER">
934 <Offset>
935 <AbsDimension x="0" y="-1"/>
936 </Offset>
937 </Anchor>
938 </Anchors>
939 </Texture>
940 <Texture name="$parentNameFrame" file="Interface\QuestFrame\UI-QuestItemNameFrame">
941 <Size>
942 <AbsDimension x="150" y="64"/>
943 </Size>
944 <Anchors>
945 <Anchor point="LEFT">
946 <Offset>
947 <AbsDimension x="32" y="0"/>
948 </Offset>
949 </Anchor>
950 </Anchors>
951 </Texture>
952 <FontString name="$parentName" inherits="GameFontHighlight" justifyH="LEFT">
953 <Size>
954 <AbsDimension x="120" y="36"/>
955 </Size>
956 <Anchors>
957 <Anchor point="LEFT">
958 <Offset>
959 <AbsDimension x="48" y="0"/>
960 </Offset>
961 </Anchor>
962 </Anchors>
963 </FontString>
964 </Layer>
965 </Layers>
966 <NormalTexture>
967 <Size>
968 <AbsDimension x="36" y="36"/>
969 </Size>
970 <Anchors>
971 <Anchor point="CENTER">
972 <Offset>
973 <AbsDimension x="0" y="-1"/>
974 </Offset>
975 </Anchor>
976 </Anchors>
977 </NormalTexture>
978 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
979 <Scripts>
980 <OnClick>
981 GuildAds_MyAdsEdit(nil);
982 </OnClick>
983 </Scripts>
984 </Button>
985  
986 <EditBox name="GuildAdsEditCount" letters="3" historyLines="0" numeric="true" autoFocus="false">
987 <Size>
988 <AbsDimension x="55" y="20"/>
989 </Size>
990 <Anchors>
991 <Anchor point="LEFT" relativeTo="GuildAdsEditTexture" relativePoint="RIGHT">
992 <Offset>
993 <AbsDimension x="150" y="-8"/>
994 </Offset>
995 </Anchor>
996 </Anchors>
997 <Layers>
998 <Layer level="BACKGROUND">
999 <FontString name="$parentName" inherits="GameFontHighlightSmall" justifyH="LEFT" text="GUILDADS_QUANTITY">
1000 <Size>
1001 <AbsDimension x="55" y="16"/>
1002 </Size>
1003 <Anchors>
1004 <Anchor point="TOP">
1005 <Offset>
1006 <AbsDimension x="0" y="16" />
1007 </Offset>
1008 </Anchor>
1009 </Anchors>
1010 </FontString>
1011 <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
1012 <Size>
1013 <AbsDimension x="8" y="20"/>
1014 </Size>
1015 <Anchors>
1016 <Anchor point="TOPLEFT">
1017 <Offset>
1018 <AbsDimension x="-5" y="0"/>
1019 </Offset>
1020 </Anchor>
1021 </Anchors>
1022 <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
1023 </Texture>
1024 <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
1025 <Size>
1026 <AbsDimension x="8" y="20"/>
1027 </Size>
1028 <Anchors>
1029 <Anchor point="RIGHT">
1030 <Offset>
1031 <AbsDimension x="0" y="0"/>
1032 </Offset>
1033 </Anchor>
1034 </Anchors>
1035 <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
1036 </Texture>
1037 <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
1038 <Size>
1039 <AbsDimension x="10" y="20"/>
1040 </Size>
1041 <Anchors>
1042 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
1043 <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
1044 </Anchors>
1045 <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
1046 </Texture>
1047 </Layer>
1048 </Layers>
1049 <Scripts>
1050 <OnEnterPressed>
1051 this:ClearFocus();
1052 </OnEnterPressed>
1053 <OnEscapePressed>
1054 this:ClearFocus();
1055 </OnEscapePressed>
1056 <OnEditFocusLost>
1057 this:HighlightText(0, 0);
1058 </OnEditFocusLost>
1059 <OnEditFocusGained>
1060 this:HighlightText();
1061 </OnEditFocusGained>
1062 </Scripts>
1063 <FontString inherits="ChatFontNormal"/>
1064 </EditBox>
1065  
1066 </Frames>
1067 </Frame>
1068  
1069  
1070 <Button name="GuildAdsRemoveButton" inherits="UIPanelButtonTemplate" text="GUILDADS_BUTTON_REMOVE">
1071 <Size>
1072 <AbsDimension x="100" y="21"/>
1073 </Size>
1074 <Anchors>
1075 <Anchor point="TOPRIGHT" relativeTo="GuildAdsMyAdButton5" relativePoint="BOTTOMRIGHT">
1076 <Offset>
1077 <AbsDimension x="-5" y="-50"/>
1078 </Offset>
1079 </Anchor>
1080 </Anchors>
1081 <Scripts>
1082 <OnClick>
1083 GuildAds_RemoveButton_OnClick();
1084 </OnClick>
1085 </Scripts>
1086 </Button>
1087  
1088 <Button name="GuildAdsAddButtonLookFor" inherits="UIPanelButtonTemplate" text="GUILDADS_BUTTON_ADDREQUEST">
1089 <Size>
1090 <AbsDimension x="100" y="21"/>
1091 </Size>
1092 <Anchors>
1093 <Anchor point="RIGHT" relativeTo="GuildAdsRemoveButton" relativePoint="LEFT">
1094 <Offset>
1095 <AbsDimension x="-10" y="0"/>
1096 </Offset>
1097 </Anchor>
1098 </Anchors>
1099 <Scripts>
1100 <OnClick>
1101 GuildAds_AddButton_OnClick(GUILDADS_MSG_TYPE_REQUEST);
1102 </OnClick>
1103 </Scripts>
1104 </Button>
1105  
1106 <Button name="GuildAdsAddButtonAvailable" inherits="UIPanelButtonTemplate" text="GUILDADS_BUTTON_ADDAVAILABLE" hidden="true">
1107 <Size>
1108 <AbsDimension x="100" y="21"/>
1109 </Size>
1110 <Anchors>
1111 <Anchor point="RIGHT" relativeTo="GuildAdsRemoveButton" relativePoint="LEFT">
1112 <Offset>
1113 <AbsDimension x="-10" y="0"/>
1114 </Offset>
1115 </Anchor>
1116 </Anchors>
1117 <Scripts>
1118 <OnClick>
1119 GuildAds_AddButton_OnClick(GUILDADS_MSG_TYPE_AVAILABLE);
1120 </OnClick>
1121 </Scripts>
1122 </Button>
1123  
1124 <Button name="GuildAdsAddButtonEvent" inherits="UIPanelButtonTemplate" text="CREATE" hidden="true">
1125 <Size>
1126 <AbsDimension x="100" y="21"/>
1127 </Size>
1128 <Anchors>
1129 <Anchor point="RIGHT" relativeTo="GuildAdsRemoveButton" relativePoint="LEFT">
1130 <Offset>
1131 <AbsDimension x="-10" y="0"/>
1132 </Offset>
1133 </Anchor>
1134 </Anchors>
1135 <Scripts>
1136 <OnClick>
1137 GuildAds_AddButton_OnClick(GUILDADS_MSG_TYPE_EVENT);
1138 </OnClick>
1139 </Scripts>
1140 </Button>
1141  
1142 <Button name="GuildAdsFrameTab1" inherits="CharacterFrameTabButtonTemplate" id="1" text="GUILDADS_HEADER_REQUEST">
1143 <Anchors>
1144 <Anchor point="CENTER" relativePoint="BOTTOMLEFT" relativeTo="GuildAdsFrame">
1145 <Offset>
1146 <AbsDimension x="65" y="-14"/>
1147 </Offset>
1148 </Anchor>
1149 </Anchors>
1150 <Scripts>
1151 <OnClick>GuildAds_SelectTab(GUILDADS_MSG_TYPE_REQUEST);</OnClick>
1152 </Scripts>
1153 </Button>
1154  
1155 <Button name="GuildAdsFrameTab2" inherits="CharacterFrameTabButtonTemplate" id="2" text="GUILDADS_HEADER_AVAILABLE">
1156 <Anchors>
1157 <Anchor point="LEFT" relativeTo="GuildAdsFrameTab1" relativePoint="RIGHT">
1158 <Offset>
1159 <AbsDimension x="-14" y="0"/>
1160 </Offset>
1161 </Anchor>
1162 </Anchors>
1163 <Scripts>
1164 <OnClick>GuildAds_SelectTab(GUILDADS_MSG_TYPE_AVAILABLE);</OnClick>
1165 </Scripts>
1166 </Button>
1167  
1168 <Button name="GuildAdsFrameTab3" inherits="CharacterFrameTabButtonTemplate" id="3" text="GUILDADS_HEADER_SKILL">
1169 <Anchors>
1170 <Anchor point="LEFT" relativeTo="GuildAdsFrameTab2" relativePoint="RIGHT">
1171 <Offset>
1172 <AbsDimension x="-14" y="0"/>
1173 </Offset>
1174 </Anchor>
1175 </Anchors>
1176 <Scripts>
1177 <OnClick>GuildAds_SelectTab(GUILDADS_MSG_TYPE_SKILL);</OnClick>
1178 </Scripts>
1179 </Button>
1180  
1181 <Button name="GuildAdsFrameTab4" inherits="CharacterFrameTabButtonTemplate" id="4" text="GUILDADS_HEADER_EVENT">
1182 <Anchors>
1183 <Anchor point="LEFT" relativeTo="GuildAdsFrameTab3" relativePoint="RIGHT">
1184 <Offset>
1185 <AbsDimension x="-14" y="0"/>
1186 </Offset>
1187 </Anchor>
1188 </Anchors>
1189 <Scripts>
1190 <OnClick>GuildAds_SelectTab(GUILDADS_MSG_TYPE_EVENT);</OnClick>
1191 </Scripts>
1192 </Button>
1193  
1194 <Button name="GuildAdsFrameTab5" inherits="CharacterFrameTabButtonTemplate" id="5" text="GUILDADS_HEADER_ANNONCE">
1195 <Anchors>
1196 <Anchor point="LEFT" relativeTo="GuildAdsFrameTab4" relativePoint="RIGHT">
1197 <Offset>
1198 <AbsDimension x="-14" y="0"/>
1199 </Offset>
1200 </Anchor>
1201 </Anchors>
1202 <Scripts>
1203 <OnClick>GuildAds_SelectTab(GUILDADS_MSG_TYPE_ANNONCE);</OnClick>
1204 </Scripts>
1205 </Button>
1206 </Frames>
1207 <Scripts>
1208 <OnShow>
1209 GuildAds_OnShow();
1210 </OnShow>
1211 <OnEscapePressed>
1212 this:Hide();
1213 </OnEscapePressed>
1214 <OnMouseUp>
1215 if ( this.isMoving ) then
1216 this:StopMovingOrSizing();
1217 this.isMoving = false;
1218 end
1219 </OnMouseUp>
1220 <OnMouseDown>
1221 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
1222 this:StartMoving();
1223 this.isMoving = true;
1224 end
1225 </OnMouseDown>
1226 <OnHide>
1227 if ( this.isMoving ) then
1228 this:StopMovingOrSizing();
1229 this.isMoving = false;
1230 end
1231 </OnHide>
1232 <OnLoad>
1233 GuildAdsFrame_OnLoad();
1234 </OnLoad>
1235 </Scripts>
1236 </Frame>
1237  
1238 <Frame name="GuildAdsFromAdsMenu" inherits="UIDropDownMenuTemplate">
1239 <Scripts>
1240 <OnLoad>
1241 GuildAdsFromAdsMenu_OnLoad();
1242 </OnLoad>
1243 </Scripts>
1244 </Frame>
1245 </Ui>