vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 ..\FrameXML\UI.xsd">
3 <Script file="MegaMacroFrame.lua"/>
4 <CheckButton name="MegaMacroFrameButtonTemplate" virtual="true">
5 <Size>
6 <AbsDimension x="36" y="36"/>
7 </Size>
8 <Layers>
9 <Layer level="OVERLAY">
10 <FontString name="$parentName" inherits="GameFontHighlightSmallOutline">
11 <Size>
12 <AbsDimension x="36" y="10"/>
13 </Size>
14 <Anchors>
15 <Anchor point="BOTTOM">
16 <Offset>
17 <AbsDimension x="0" y="2"/>
18 </Offset>
19 </Anchor>
20 </Anchors>
21 </FontString>
22 </Layer>
23 <Layer level="BACKGROUND">
24 <Texture file="Interface\Buttons\UI-EmptySlot-Disabled">
25 <Size>
26 <AbsDimension x="64" y="64"/>
27 </Size>
28 <Anchors>
29 <Anchor point="CENTER">
30 <Offset>
31 <AbsDimension x="0" y="-1"/>
32 </Offset>
33 </Anchor>
34 </Anchors>
35 </Texture>
36 </Layer>
37 </Layers>
38 <NormalTexture name="$parentIcon">
39 <Size>
40 <AbsDimension x="36" y="36"/>
41 </Size>
42 <Anchors>
43 <Anchor point="CENTER">
44 <Offset>
45 <AbsDimension x="0" y="-1"/>
46 </Offset>
47 </Anchor>
48 </Anchors>
49 </NormalTexture>
50 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
51 <CheckedTexture alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight"/>
52 </CheckButton>
53 <CheckButton name="MegaMacroButtonTemplate" inherits="MegaMacroFrameButtonTemplate" virtual="true">
54 <Scripts>
55 <OnLoad>
56 this:RegisterForDrag("LeftButton");
57 </OnLoad>
58 <OnClick>
59 MegaMacroButton_OnClick();
60 </OnClick>
61 <OnDragStart>
62 PickupMacro(this:GetID());
63 </OnDragStart>
64 </Scripts>
65 </CheckButton>
66 <CheckButton name="MegaMacroPopupButtonTemplate" inherits="MegaMacroFrameButtonTemplate" virtual="true">
67 <Scripts>
68 <OnClick>
69 MegaMacroPopupButton_OnClick();
70 </OnClick>
71 </Scripts>
72 </CheckButton>
73  
74 <Frame name="MegaMacroFrame" toplevel="true" movable="true" parent="UIParent" enableMouse="true" hidden="true">
75 <Size>
76 <AbsDimension x="684" y="512"/>
77 </Size>
78 <Anchors>
79 <Anchor point="TOPLEFT">
80 <Offset>
81 <AbsDimension x="0" y="-104"/>
82 </Offset>
83 </Anchor>
84 </Anchors>
85 <HitRectInsets>
86 <AbsInset left="0" right="34" top="0" bottom="75"/>
87 </HitRectInsets>
88 <Layers>
89 <Layer level="BACKGROUND">
90 <Texture name="MegaMacroFramePortrait" file="Interface\MacroFrame\MacroFrame-Icon">
91 <Size>
92 <AbsDimension x="60" y="60"/>
93 </Size>
94 <Anchors>
95 <Anchor point="TOPLEFT">
96 <Offset>
97 <AbsDimension x="7" y="-6"/>
98 </Offset>
99 </Anchor>
100 </Anchors>
101 </Texture>
102 </Layer>
103 <Layer level="BORDER">
104 <Texture file="Interface\Addons\MegaMacro\Images\Macro-TopLeft">
105 <Size>
106 <AbsDimension x="256" y="256"/>
107 </Size>
108 <Anchors>
109 <Anchor point="TOPLEFT"/>
110 </Anchors>
111 </Texture>
112 <Texture file="Interface\Addons\MegaMacro\Images\Macro-Top">
113 <Size>
114 <AbsDimension x="256" y="256"/>
115 </Size>
116 <Anchors>
117 <Anchor point="TOP"/>
118 </Anchors>
119 </Texture>
120 <Texture file="Interface\Addons\MegaMacro\Images\Macro-TopRight">
121 <Size>
122 <AbsDimension x="256" y="256"/>
123 </Size>
124 <Anchors>
125 <Anchor point="TOPRIGHT"/>
126 </Anchors>
127 </Texture>
128 <Texture file="Interface\Addons\MegaMacro\Images\MacroFrame-BotLeft">
129 <Size>
130 <AbsDimension x="256" y="256"/>
131 </Size>
132 <Anchors>
133 <Anchor point="BOTTOMLEFT"/>
134 </Anchors>
135 </Texture>
136 <Texture file="Interface\Addons\MegaMacro\Images\MacroFrame-Bot">
137 <Size>
138 <AbsDimension x="256" y="256"/>
139 </Size>
140 <Anchors>
141 <Anchor point="BOTTOM"/>
142 </Anchors>
143 </Texture>
144 <Texture file="Interface\Addons\MegaMacro\Images\MacroFrame-BotRight">
145 <Size>
146 <AbsDimension x="256" y="256"/>
147 </Size>
148 <Anchors>
149 <Anchor point="BOTTOMRIGHT"/>
150 </Anchors>
151 </Texture>
152 <FontString inherits="GameFontNormal" text="CREATE_MACROS">
153 <Anchors>
154 <Anchor point="TOP" relativeTo="MegaMacroFrame">
155 <Offset>
156 <AbsDimension x="0" y="-17"/>
157 </Offset>
158 </Anchor>
159 </Anchors>
160 </FontString>
161 </Layer>
162 <Layer level="ARTWORK">
163 <Texture name="MegaMacroFrameSelectedMacroBackground" file="Interface\Buttons\UI-EmptySlot">
164 <Size>
165 <AbsDimension x="64" y="64"/>
166 </Size>
167 <Anchors>
168 <Anchor point="TOPLEFT">
169 <Offset>
170 <AbsDimension x="16" y="-228"/>
171 </Offset>
172 </Anchor>
173 </Anchors>
174 </Texture>
175 <FontString name="MegaMacroFrameSelectedMacroName" inherits="GameFontNormalLarge">
176 <Anchors>
177 <Anchor point="TOPLEFT" relativeTo="MegaMacroFrameSelectedMacroBackground" relativePoint="TOPRIGHT">
178 <Offset>
179 <AbsDimension x="-4" y="-15"/>
180 </Offset>
181 </Anchor>
182 </Anchors>
183 </FontString>
184 <FontString name="MegaMacroFrameEnterMacroText" inherits="GameFontHighlightSmall" text="ENTER_MACRO_LABEL">
185 <Anchors>
186 <Anchor point="TOPLEFT" relativeTo="MegaMacroFrameSelectedMacroBackground" relativePoint="BOTTOMLEFT">
187 <Offset>
188 <AbsDimension x="8" y="0"/>
189 </Offset>
190 </Anchor>
191 </Anchors>
192 </FontString>
193 <FontString name="MegaMacroFrameCharLimitText" inherits="GameFontHighlightSmall">
194 <Anchors>
195 <Anchor point="BOTTOM">
196 <Offset>
197 <AbsDimension x="-15" y="105"/>
198 </Offset>
199 </Anchor>
200 </Anchors>
201 </FontString>
202 </Layer>
203 </Layers>
204 <Frames>
205 <CheckButton name="MegaMacroFrameSelectedMacroButton" inherits="MegaMacroButtonTemplate" id="0">
206 <Anchors>
207 <Anchor point="TOPLEFT" relativeTo="MegaMacroFrameSelectedMacroBackground">
208 <Offset>
209 <AbsDimension x="14" y="-14"/>
210 </Offset>
211 </Anchor>
212 </Anchors>
213 <Scripts>
214 <OnClick>
215 this:SetChecked(nil);
216 PickupMacro(MegaMacroFrame.selectedMacro);
217 </OnClick>
218 </Scripts>
219 </CheckButton>
220 <ScrollFrame name="MegaMacroButtonFrameScrollFrame" inherits="FauxScrollFrameTemplate">
221 <Size>
222 <AbsDimension x="624" y="150"/>
223 </Size>
224 <Anchors>
225 <Anchor point="TOPRIGHT" relativeTo="MegaMacroFrame" relativePoint="TOPRIGHT">
226 <Offset>
227 <AbsDimension x="-67" y="-75"/>
228 </Offset>
229 </Anchor>
230 </Anchors>
231 <ScrollChild>
232 <Frame name="MegaMacroButtonFrameScrollChildFrame">
233 <Size>
234 <AbsDimension x="624" y="150"/>
235 </Size>
236 <Frames>
237 <CheckButton name="MegaMacroButton1" inherits="MegaMacroButtonTemplate" id="1">
238 <Anchors>
239 <Anchor point="TOPLEFT">
240 <Offset>
241 <AbsDimension x="35" y="-13"/>
242 </Offset>
243 </Anchor>
244 </Anchors>
245 </CheckButton>
246 <CheckButton name="MegaMacroButton2" inherits="MegaMacroButtonTemplate" id="2">
247 <Anchors>
248 <Anchor point="LEFT" relativeTo="MegaMacroButton1" relativePoint="RIGHT">
249 <Offset>
250 <AbsDimension x="13" y="0"/>
251 </Offset>
252 </Anchor>
253 </Anchors>
254 </CheckButton>
255 <CheckButton name="MegaMacroButton3" inherits="MegaMacroButtonTemplate" id="3">
256 <Anchors>
257 <Anchor point="LEFT" relativeTo="MegaMacroButton2" relativePoint="RIGHT">
258 <Offset>
259 <AbsDimension x="13" y="0"/>
260 </Offset>
261 </Anchor>
262 </Anchors>
263 </CheckButton>
264 <CheckButton name="MegaMacroButton4" inherits="MegaMacroButtonTemplate" id="4">
265 <Anchors>
266 <Anchor point="LEFT" relativeTo="MegaMacroButton3" relativePoint="RIGHT">
267 <Offset>
268 <AbsDimension x="13" y="0"/>
269 </Offset>
270 </Anchor>
271 </Anchors>
272 </CheckButton>
273 <CheckButton name="MegaMacroButton5" inherits="MegaMacroButtonTemplate" id="5">
274 <Anchors>
275 <Anchor point="LEFT" relativeTo="MegaMacroButton4" relativePoint="RIGHT">
276 <Offset>
277 <AbsDimension x="13" y="0"/>
278 </Offset>
279 </Anchor>
280 </Anchors>
281 </CheckButton>
282 <CheckButton name="MegaMacroButton6" inherits="MegaMacroButtonTemplate" id="6">
283 <Anchors>
284 <Anchor point="LEFT" relativeTo="MegaMacroButton5" relativePoint="RIGHT">
285 <Offset>
286 <AbsDimension x="13" y="0"/>
287 </Offset>
288 </Anchor>
289 </Anchors>
290 </CheckButton>
291 <CheckButton name="MegaMacroButton7" inherits="MegaMacroButtonTemplate" id="7">
292 <Anchors>
293 <Anchor point="LEFT" relativeTo="MegaMacroButton6" relativePoint="RIGHT">
294 <Offset>
295 <AbsDimension x="13" y="0"/>
296 </Offset>
297 </Anchor>
298 </Anchors>
299 </CheckButton>
300 <CheckButton name="MegaMacroButton8" inherits="MegaMacroButtonTemplate" id="8">
301 <Anchors>
302 <Anchor point="LEFT" relativeTo="MegaMacroButton7" relativePoint="RIGHT">
303 <Offset>
304 <AbsDimension x="13" y="0"/>
305 </Offset>
306 </Anchor>
307 </Anchors>
308 </CheckButton>
309 <CheckButton name="MegaMacroButton9" inherits="MegaMacroButtonTemplate" id="9">
310 <Anchors>
311 <Anchor point="LEFT" relativeTo="MegaMacroButton8" relativePoint="RIGHT">
312 <Offset>
313 <AbsDimension x="13" y="0"/>
314 </Offset>
315 </Anchor>
316 </Anchors>
317 </CheckButton>
318 <CheckButton name="MegaMacroButton10" inherits="MegaMacroButtonTemplate" id="10">
319 <Anchors>
320 <Anchor point="LEFT" relativeTo="MegaMacroButton9" relativePoint="RIGHT">
321 <Offset>
322 <AbsDimension x="13" y="0"/>
323 </Offset>
324 </Anchor>
325 </Anchors>
326 </CheckButton>
327 <CheckButton name="MegaMacroButton11" inherits="MegaMacroButtonTemplate" id="11">
328 <Anchors>
329 <Anchor point="LEFT" relativeTo="MegaMacroButton10" relativePoint="RIGHT">
330 <Offset>
331 <AbsDimension x="13" y="0"/>
332 </Offset>
333 </Anchor>
334 </Anchors>
335 </CheckButton>
336 <CheckButton name="MegaMacroButton12" inherits="MegaMacroButtonTemplate" id="12">
337 <Anchors>
338 <Anchor point="LEFT" relativeTo="MegaMacroButton11" relativePoint="RIGHT">
339 <Offset>
340 <AbsDimension x="13" y="0"/>
341 </Offset>
342 </Anchor>
343 </Anchors>
344 </CheckButton>
345 <CheckButton name="MegaMacroButton13" inherits="MegaMacroButtonTemplate" id="13">
346 <Anchors>
347 <Anchor point="TOP" relativeTo="MegaMacroButton1" relativePoint="BOTTOM">
348 <Offset>
349 <AbsDimension x="0" y="-10"/>
350 </Offset>
351 </Anchor>
352 </Anchors>
353 </CheckButton>
354 <CheckButton name="MegaMacroButton14" inherits="MegaMacroButtonTemplate" id="14">
355 <Anchors>
356 <Anchor point="LEFT" relativeTo="MegaMacroButton13" relativePoint="RIGHT">
357 <Offset>
358 <AbsDimension x="13" y="0"/>
359 </Offset>
360 </Anchor>
361 </Anchors>
362 </CheckButton>
363 <CheckButton name="MegaMacroButton15" inherits="MegaMacroButtonTemplate" id="15">
364 <Anchors>
365 <Anchor point="LEFT" relativeTo="MegaMacroButton14" relativePoint="RIGHT">
366 <Offset>
367 <AbsDimension x="13" y="0"/>
368 </Offset>
369 </Anchor>
370 </Anchors>
371 </CheckButton>
372 <CheckButton name="MegaMacroButton16" inherits="MegaMacroButtonTemplate" id="16">
373 <Anchors>
374 <Anchor point="LEFT" relativeTo="MegaMacroButton15" relativePoint="RIGHT">
375 <Offset>
376 <AbsDimension x="13" y="0"/>
377 </Offset>
378 </Anchor>
379 </Anchors>
380 </CheckButton>
381 <CheckButton name="MegaMacroButton17" inherits="MegaMacroButtonTemplate" id="17">
382 <Anchors>
383 <Anchor point="LEFT" relativeTo="MegaMacroButton16" relativePoint="RIGHT">
384 <Offset>
385 <AbsDimension x="13" y="0"/>
386 </Offset>
387 </Anchor>
388 </Anchors>
389 </CheckButton>
390 <CheckButton name="MegaMacroButton18" inherits="MegaMacroButtonTemplate" id="18">
391 <Anchors>
392 <Anchor point="LEFT" relativeTo="MegaMacroButton17" relativePoint="RIGHT">
393 <Offset>
394 <AbsDimension x="13" y="0"/>
395 </Offset>
396 </Anchor>
397 </Anchors>
398 </CheckButton>
399 <CheckButton name="MegaMacroButton19" inherits="MegaMacroButtonTemplate" id="19">
400 <Anchors>
401 <Anchor point="LEFT" relativeTo="MegaMacroButton18" relativePoint="RIGHT">
402 <Offset>
403 <AbsDimension x="13" y="0"/>
404 </Offset>
405 </Anchor>
406 </Anchors>
407 </CheckButton>
408 <CheckButton name="MegaMacroButton20" inherits="MegaMacroButtonTemplate" id="20">
409 <Anchors>
410 <Anchor point="LEFT" relativeTo="MegaMacroButton19" relativePoint="RIGHT">
411 <Offset>
412 <AbsDimension x="13" y="0"/>
413 </Offset>
414 </Anchor>
415 </Anchors>
416 </CheckButton>
417 <CheckButton name="MegaMacroButton21" inherits="MegaMacroButtonTemplate" id="21">
418 <Anchors>
419 <Anchor point="LEFT" relativeTo="MegaMacroButton20" relativePoint="RIGHT">
420 <Offset>
421 <AbsDimension x="13" y="0"/>
422 </Offset>
423 </Anchor>
424 </Anchors>
425 </CheckButton>
426 <CheckButton name="MegaMacroButton22" inherits="MegaMacroButtonTemplate" id="22">
427 <Anchors>
428 <Anchor point="LEFT" relativeTo="MegaMacroButton21" relativePoint="RIGHT">
429 <Offset>
430 <AbsDimension x="13" y="0"/>
431 </Offset>
432 </Anchor>
433 </Anchors>
434 </CheckButton>
435 <CheckButton name="MegaMacroButton23" inherits="MegaMacroButtonTemplate" id="23">
436 <Anchors>
437 <Anchor point="LEFT" relativeTo="MegaMacroButton22" relativePoint="RIGHT">
438 <Offset>
439 <AbsDimension x="13" y="0"/>
440 </Offset>
441 </Anchor>
442 </Anchors>
443 </CheckButton>
444 <CheckButton name="MegaMacroButton24" inherits="MegaMacroButtonTemplate" id="24">
445 <Anchors>
446 <Anchor point="LEFT" relativeTo="MegaMacroButton23" relativePoint="RIGHT">
447 <Offset>
448 <AbsDimension x="13" y="0"/>
449 </Offset>
450 </Anchor>
451 </Anchors>
452 </CheckButton>
453 <CheckButton name="MegaMacroButton25" inherits="MegaMacroButtonTemplate" id="25">
454 <Anchors>
455 <Anchor point="TOP" relativeTo="MegaMacroButton13" relativePoint="BOTTOM">
456 <Offset>
457 <AbsDimension x="0" y="-10"/>
458 </Offset>
459 </Anchor>
460 </Anchors>
461 </CheckButton>
462 <CheckButton name="MegaMacroButton26" inherits="MegaMacroButtonTemplate" id="26">
463 <Anchors>
464 <Anchor point="LEFT" relativeTo="MegaMacroButton25" relativePoint="RIGHT">
465 <Offset>
466 <AbsDimension x="13" y="0"/>
467 </Offset>
468 </Anchor>
469 </Anchors>
470 </CheckButton>
471 <CheckButton name="MegaMacroButton27" inherits="MegaMacroButtonTemplate" id="27">
472 <Anchors>
473 <Anchor point="LEFT" relativeTo="MegaMacroButton26" relativePoint="RIGHT">
474 <Offset>
475 <AbsDimension x="13" y="0"/>
476 </Offset>
477 </Anchor>
478 </Anchors>
479 </CheckButton>
480 <CheckButton name="MegaMacroButton28" inherits="MegaMacroButtonTemplate" id="28">
481 <Anchors>
482 <Anchor point="LEFT" relativeTo="MegaMacroButton27" relativePoint="RIGHT">
483 <Offset>
484 <AbsDimension x="13" y="0"/>
485 </Offset>
486 </Anchor>
487 </Anchors>
488 </CheckButton>
489 <CheckButton name="MegaMacroButton29" inherits="MegaMacroButtonTemplate" id="29">
490 <Anchors>
491 <Anchor point="LEFT" relativeTo="MegaMacroButton28" relativePoint="RIGHT">
492 <Offset>
493 <AbsDimension x="13" y="0"/>
494 </Offset>
495 </Anchor>
496 </Anchors>
497 </CheckButton>
498  
499 <CheckButton name="MegaMacroButton30" inherits="MegaMacroButtonTemplate" id="30">
500 <Anchors>
501 <Anchor point="LEFT" relativeTo="MegaMacroButton29" relativePoint="RIGHT">
502 <Offset>
503 <AbsDimension x="13" y="0"/>
504 </Offset>
505 </Anchor>
506 </Anchors>
507 </CheckButton>
508 <CheckButton name="MegaMacroButton31" inherits="MegaMacroButtonTemplate" id="31">
509 <Anchors>
510 <Anchor point="LEFT" relativeTo="MegaMacroButton30" relativePoint="RIGHT">
511 <Offset>
512 <AbsDimension x="13" y="0"/>
513 </Offset>
514 </Anchor>
515 </Anchors>
516 </CheckButton>
517  
518 <CheckButton name="MegaMacroButton32" inherits="MegaMacroButtonTemplate" id="32">
519 <Anchors>
520 <Anchor point="LEFT" relativeTo="MegaMacroButton31" relativePoint="RIGHT">
521 <Offset>
522 <AbsDimension x="13" y="0"/>
523 </Offset>
524 </Anchor>
525 </Anchors>
526 </CheckButton>
527 <CheckButton name="MegaMacroButton33" inherits="MegaMacroButtonTemplate" id="33">
528 <Anchors>
529 <Anchor point="LEFT" relativeTo="MegaMacroButton32" relativePoint="RIGHT">
530 <Offset>
531 <AbsDimension x="13" y="0"/>
532 </Offset>
533 </Anchor>
534 </Anchors>
535 </CheckButton>
536 <CheckButton name="MegaMacroButton34" inherits="MegaMacroButtonTemplate" id="34">
537 <Anchors>
538 <Anchor point="LEFT" relativeTo="MegaMacroButton33" relativePoint="RIGHT">
539 <Offset>
540 <AbsDimension x="13" y="0"/>
541 </Offset>
542 </Anchor>
543 </Anchors>
544 </CheckButton>
545 <CheckButton name="MegaMacroButton35" inherits="MegaMacroButtonTemplate" id="35">
546 <Anchors>
547 <Anchor point="LEFT" relativeTo="MegaMacroButton34" relativePoint="RIGHT">
548 <Offset>
549 <AbsDimension x="13" y="0"/>
550 </Offset>
551 </Anchor>
552 </Anchors>
553 </CheckButton>
554 <CheckButton name="MegaMacroButton36" inherits="MegaMacroButtonTemplate" id="36">
555 <Anchors>
556 <Anchor point="LEFT" relativeTo="MegaMacroButton35" relativePoint="RIGHT">
557 <Offset>
558 <AbsDimension x="13" y="0"/>
559 </Offset>
560 </Anchor>
561 </Anchors>
562 </CheckButton>
563 <CheckButton name="MegaMacroButton37" inherits="MegaMacroButtonTemplate" id="37">
564 <Anchors>
565 <Anchor point="TOP" relativeTo="MegaMacroButton25" relativePoint="BOTTOM">
566 <Offset>
567 <AbsDimension x="0" y="-10"/>
568 </Offset>
569 </Anchor>
570 </Anchors>
571 </CheckButton>
572 <CheckButton name="MegaMacroButton38" inherits="MegaMacroButtonTemplate" id="38">
573 <Anchors>
574 <Anchor point="LEFT" relativeTo="MegaMacroButton37" relativePoint="RIGHT">
575 <Offset>
576 <AbsDimension x="13" y="0"/>
577 </Offset>
578 </Anchor>
579 </Anchors>
580 </CheckButton>
581 <CheckButton name="MegaMacroButton39" inherits="MegaMacroButtonTemplate" id="39">
582 <Anchors>
583 <Anchor point="LEFT" relativeTo="MegaMacroButton38" relativePoint="RIGHT">
584 <Offset>
585 <AbsDimension x="13" y="0"/>
586 </Offset>
587 </Anchor>
588 </Anchors>
589 </CheckButton>
590 <CheckButton name="MegaMacroButton40" inherits="MegaMacroButtonTemplate" id="40">
591 <Anchors>
592 <Anchor point="LEFT" relativeTo="MegaMacroButton39" relativePoint="RIGHT">
593 <Offset>
594 <AbsDimension x="13" y="0"/>
595 </Offset>
596 </Anchor>
597 </Anchors>
598 </CheckButton>
599 <CheckButton name="MegaMacroButton41" inherits="MegaMacroButtonTemplate" id="41">
600 <Anchors>
601 <Anchor point="LEFT" relativeTo="MegaMacroButton40" relativePoint="RIGHT">
602 <Offset>
603 <AbsDimension x="13" y="0"/>
604 </Offset>
605 </Anchor>
606 </Anchors>
607 </CheckButton>
608 <CheckButton name="MegaMacroButton42" inherits="MegaMacroButtonTemplate" id="42">
609 <Anchors>
610 <Anchor point="LEFT" relativeTo="MegaMacroButton41" relativePoint="RIGHT">
611 <Offset>
612 <AbsDimension x="13" y="0"/>
613 </Offset>
614 </Anchor>
615 </Anchors>
616 </CheckButton>
617 <CheckButton name="MegaMacroButton43" inherits="MegaMacroButtonTemplate" id="43">
618 <Anchors>
619 <Anchor point="LEFT" relativeTo="MegaMacroButton42" relativePoint="RIGHT">
620 <Offset>
621 <AbsDimension x="13" y="0"/>
622 </Offset>
623 </Anchor>
624 </Anchors>
625 </CheckButton>
626 <CheckButton name="MegaMacroButton44" inherits="MegaMacroButtonTemplate" id="44">
627 <Anchors>
628 <Anchor point="LEFT" relativeTo="MegaMacroButton43" relativePoint="RIGHT">
629 <Offset>
630 <AbsDimension x="13" y="0"/>
631 </Offset>
632 </Anchor>
633 </Anchors>
634 </CheckButton>
635 <CheckButton name="MegaMacroButton45" inherits="MegaMacroButtonTemplate" id="45">
636 <Anchors>
637 <Anchor point="LEFT" relativeTo="MegaMacroButton44" relativePoint="RIGHT">
638 <Offset>
639 <AbsDimension x="13" y="0"/>
640 </Offset>
641 </Anchor>
642 </Anchors>
643 </CheckButton>
644 <CheckButton name="MegaMacroButton46" inherits="MegaMacroButtonTemplate" id="46">
645 <Anchors>
646 <Anchor point="LEFT" relativeTo="MegaMacroButton45" relativePoint="RIGHT">
647 <Offset>
648 <AbsDimension x="13" y="0"/>
649 </Offset>
650 </Anchor>
651 </Anchors>
652 </CheckButton>
653 <CheckButton name="MegaMacroButton47" inherits="MegaMacroButtonTemplate" id="47">
654 <Anchors>
655 <Anchor point="LEFT" relativeTo="MegaMacroButton46" relativePoint="RIGHT">
656 <Offset>
657 <AbsDimension x="13" y="0"/>
658 </Offset>
659 </Anchor>
660 </Anchors>
661 </CheckButton>
662 <CheckButton name="MegaMacroButton48" inherits="MegaMacroButtonTemplate" id="48">
663 <Anchors>
664 <Anchor point="LEFT" relativeTo="MegaMacroButton47" relativePoint="RIGHT">
665 <Offset>
666 <AbsDimension x="13" y="0"/>
667 </Offset>
668 </Anchor>
669 </Anchors>
670 </CheckButton>
671 <CheckButton name="MegaMacroButton49" inherits="MegaMacroButtonTemplate" id="49">
672 <Anchors>
673 <Anchor point="TOP" relativeTo="MegaMacroButton37" relativePoint="BOTTOM">
674 <Offset>
675 <AbsDimension x="0" y="-10"/>
676 </Offset>
677 </Anchor>
678 </Anchors>
679 </CheckButton>
680 <CheckButton name="MegaMacroButton50" inherits="MegaMacroButtonTemplate" id="50">
681 <Anchors>
682 <Anchor point="LEFT" relativeTo="MegaMacroButton49" relativePoint="RIGHT">
683 <Offset>
684 <AbsDimension x="13" y="0"/>
685 </Offset>
686 </Anchor>
687 </Anchors>
688 </CheckButton>
689 <CheckButton name="MegaMacroButton51" inherits="MegaMacroButtonTemplate" id="51">
690 <Anchors>
691 <Anchor point="LEFT" relativeTo="MegaMacroButton50" relativePoint="RIGHT">
692 <Offset>
693 <AbsDimension x="13" y="0"/>
694 </Offset>
695 </Anchor>
696 </Anchors>
697 </CheckButton>
698 <CheckButton name="MegaMacroButton52" inherits="MegaMacroButtonTemplate" id="52">
699 <Anchors>
700 <Anchor point="LEFT" relativeTo="MegaMacroButton51" relativePoint="RIGHT">
701 <Offset>
702 <AbsDimension x="13" y="0"/>
703 </Offset>
704 </Anchor>
705 </Anchors>
706 </CheckButton>
707 <CheckButton name="MegaMacroButton53" inherits="MegaMacroButtonTemplate" id="53">
708 <Anchors>
709 <Anchor point="LEFT" relativeTo="MegaMacroButton52" relativePoint="RIGHT">
710 <Offset>
711 <AbsDimension x="13" y="0"/>
712 </Offset>
713 </Anchor>
714 </Anchors>
715 </CheckButton>
716 <CheckButton name="MegaMacroButton54" inherits="MegaMacroButtonTemplate" id="54">
717 <Anchors>
718 <Anchor point="LEFT" relativeTo="MegaMacroButton53" relativePoint="RIGHT">
719 <Offset>
720 <AbsDimension x="13" y="0"/>
721 </Offset>
722 </Anchor>
723 </Anchors>
724 </CheckButton>
725 <CheckButton name="MegaMacroButton55" inherits="MegaMacroButtonTemplate" id="55">
726 <Anchors>
727 <Anchor point="LEFT" relativeTo="MegaMacroButton54" relativePoint="RIGHT">
728 <Offset>
729 <AbsDimension x="13" y="0"/>
730 </Offset>
731 </Anchor>
732 </Anchors>
733 </CheckButton>
734 <CheckButton name="MegaMacroButton56" inherits="MegaMacroButtonTemplate" id="56">
735 <Anchors>
736 <Anchor point="LEFT" relativeTo="MegaMacroButton55" relativePoint="RIGHT">
737 <Offset>
738 <AbsDimension x="13" y="0"/>
739 </Offset>
740 </Anchor>
741 </Anchors>
742 </CheckButton>
743 <CheckButton name="MegaMacroButton57" inherits="MegaMacroButtonTemplate" id="57">
744 <Anchors>
745 <Anchor point="LEFT" relativeTo="MegaMacroButton56" relativePoint="RIGHT">
746 <Offset>
747 <AbsDimension x="13" y="0"/>
748 </Offset>
749 </Anchor>
750 </Anchors>
751 </CheckButton>
752 <CheckButton name="MegaMacroButton58" inherits="MegaMacroButtonTemplate" id="58">
753 <Anchors>
754 <Anchor point="LEFT" relativeTo="MegaMacroButton57" relativePoint="RIGHT">
755 <Offset>
756 <AbsDimension x="13" y="0"/>
757 </Offset>
758 </Anchor>
759 </Anchors>
760 </CheckButton>
761 <CheckButton name="MegaMacroButton59" inherits="MegaMacroButtonTemplate" id="59">
762 <Anchors>
763 <Anchor point="LEFT" relativeTo="MegaMacroButton58" relativePoint="RIGHT">
764 <Offset>
765 <AbsDimension x="13" y="0"/>
766 </Offset>
767 </Anchor>
768 </Anchors>
769 </CheckButton>
770 <CheckButton name="MegaMacroButton60" inherits="MegaMacroButtonTemplate" id="60">
771 <Anchors>
772 <Anchor point="LEFT" relativeTo="MegaMacroButton59" relativePoint="RIGHT">
773 <Offset>
774 <AbsDimension x="13" y="0"/>
775 </Offset>
776 </Anchor>
777 </Anchors>
778 </CheckButton>
779 <CheckButton name="MegaMacroButton61" inherits="MegaMacroButtonTemplate" id="61">
780 <Anchors>
781 <Anchor point="TOP" relativeTo="MegaMacroButton49" relativePoint="BOTTOM">
782 <Offset>
783 <AbsDimension x="0" y="-10"/>
784 </Offset>
785 </Anchor>
786 </Anchors>
787 </CheckButton>
788 <CheckButton name="MegaMacroButton62" inherits="MegaMacroButtonTemplate" id="62">
789 <Anchors>
790 <Anchor point="LEFT" relativeTo="MegaMacroButton61" relativePoint="RIGHT">
791 <Offset>
792 <AbsDimension x="13" y="0"/>
793 </Offset>
794 </Anchor>
795 </Anchors>
796 </CheckButton>
797 <CheckButton name="MegaMacroButton63" inherits="MegaMacroButtonTemplate" id="63">
798 <Anchors>
799 <Anchor point="LEFT" relativeTo="MegaMacroButton62" relativePoint="RIGHT">
800 <Offset>
801 <AbsDimension x="13" y="0"/>
802 </Offset>
803 </Anchor>
804 </Anchors>
805 </CheckButton>
806 <CheckButton name="MegaMacroButton64" inherits="MegaMacroButtonTemplate" id="64">
807 <Anchors>
808 <Anchor point="LEFT" relativeTo="MegaMacroButton63" relativePoint="RIGHT">
809 <Offset>
810 <AbsDimension x="13" y="0"/>
811 </Offset>
812 </Anchor>
813 </Anchors>
814 </CheckButton>
815 <CheckButton name="MegaMacroButton65" inherits="MegaMacroButtonTemplate" id="65">
816 <Anchors>
817 <Anchor point="LEFT" relativeTo="MegaMacroButton64" relativePoint="RIGHT">
818 <Offset>
819 <AbsDimension x="13" y="0"/>
820 </Offset>
821 </Anchor>
822 </Anchors>
823 </CheckButton>
824 <CheckButton name="MegaMacroButton66" inherits="MegaMacroButtonTemplate" id="66">
825 <Anchors>
826 <Anchor point="LEFT" relativeTo="MegaMacroButton65" relativePoint="RIGHT">
827 <Offset>
828 <AbsDimension x="13" y="0"/>
829 </Offset>
830 </Anchor>
831 </Anchors>
832 </CheckButton>
833 <CheckButton name="MegaMacroButton67" inherits="MegaMacroButtonTemplate" id="67">
834 <Anchors>
835 <Anchor point="LEFT" relativeTo="MegaMacroButton66" relativePoint="RIGHT">
836 <Offset>
837 <AbsDimension x="13" y="0"/>
838 </Offset>
839 </Anchor>
840 </Anchors>
841 </CheckButton>
842 <CheckButton name="MegaMacroButton68" inherits="MegaMacroButtonTemplate" id="68">
843 <Anchors>
844 <Anchor point="LEFT" relativeTo="MegaMacroButton67" relativePoint="RIGHT">
845 <Offset>
846 <AbsDimension x="13" y="0"/>
847 </Offset>
848 </Anchor>
849 </Anchors>
850 </CheckButton>
851 <CheckButton name="MegaMacroButton69" inherits="MegaMacroButtonTemplate" id="69">
852 <Anchors>
853 <Anchor point="LEFT" relativeTo="MegaMacroButton68" relativePoint="RIGHT">
854 <Offset>
855 <AbsDimension x="13" y="0"/>
856 </Offset>
857 </Anchor>
858 </Anchors>
859 </CheckButton>
860 <CheckButton name="MegaMacroButton70" inherits="MegaMacroButtonTemplate" id="70">
861 <Anchors>
862 <Anchor point="LEFT" relativeTo="MegaMacroButton69" relativePoint="RIGHT">
863 <Offset>
864 <AbsDimension x="13" y="0"/>
865 </Offset>
866 </Anchor>
867 </Anchors>
868 </CheckButton>
869 <CheckButton name="MegaMacroButton71" inherits="MegaMacroButtonTemplate" id="71">
870 <Anchors>
871 <Anchor point="LEFT" relativeTo="MegaMacroButton70" relativePoint="RIGHT">
872 <Offset>
873 <AbsDimension x="13" y="0"/>
874 </Offset>
875 </Anchor>
876 </Anchors>
877 </CheckButton>
878 <CheckButton name="MegaMacroButton72" inherits="MegaMacroButtonTemplate" id="72">
879 <Anchors>
880 <Anchor point="LEFT" relativeTo="MegaMacroButton71" relativePoint="RIGHT">
881 <Offset>
882 <AbsDimension x="13" y="0"/>
883 </Offset>
884 </Anchor>
885 </Anchors>
886 </CheckButton>
887 <CheckButton name="MegaMacroButton73" inherits="MegaMacroButtonTemplate" id="73">
888 <Anchors>
889 <Anchor point="TOP" relativeTo="MegaMacroButton61" relativePoint="BOTTOM">
890 <Offset>
891 <AbsDimension x="0" y="-10"/>
892 </Offset>
893 </Anchor>
894 </Anchors>
895 </CheckButton>
896 <CheckButton name="MegaMacroButton74" inherits="MegaMacroButtonTemplate" id="74">
897 <Anchors>
898 <Anchor point="LEFT" relativeTo="MegaMacroButton73" relativePoint="RIGHT">
899 <Offset>
900 <AbsDimension x="13" y="0"/>
901 </Offset>
902 </Anchor>
903 </Anchors>
904 </CheckButton>
905 <CheckButton name="MegaMacroButton75" inherits="MegaMacroButtonTemplate" id="75">
906 <Anchors>
907 <Anchor point="LEFT" relativeTo="MegaMacroButton74" relativePoint="RIGHT">
908 <Offset>
909 <AbsDimension x="13" y="0"/>
910 </Offset>
911 </Anchor>
912 </Anchors>
913 </CheckButton>
914 <CheckButton name="MegaMacroButton76" inherits="MegaMacroButtonTemplate" id="76">
915 <Anchors>
916 <Anchor point="LEFT" relativeTo="MegaMacroButton75" relativePoint="RIGHT">
917 <Offset>
918 <AbsDimension x="13" y="0"/>
919 </Offset>
920 </Anchor>
921 </Anchors>
922 </CheckButton>
923 <CheckButton name="MegaMacroButton77" inherits="MegaMacroButtonTemplate" id="77">
924 <Anchors>
925 <Anchor point="LEFT" relativeTo="MegaMacroButton76" relativePoint="RIGHT">
926 <Offset>
927 <AbsDimension x="13" y="0"/>
928 </Offset>
929 </Anchor>
930 </Anchors>
931 </CheckButton>
932 <CheckButton name="MegaMacroButton78" inherits="MegaMacroButtonTemplate" id="78">
933 <Anchors>
934 <Anchor point="LEFT" relativeTo="MegaMacroButton77" relativePoint="RIGHT">
935 <Offset>
936 <AbsDimension x="13" y="0"/>
937 </Offset>
938 </Anchor>
939 </Anchors>
940 </CheckButton>
941 <CheckButton name="MegaMacroButton79" inherits="MegaMacroButtonTemplate" id="79">
942 <Anchors>
943 <Anchor point="LEFT" relativeTo="MegaMacroButton78" relativePoint="RIGHT">
944 <Offset>
945 <AbsDimension x="13" y="0"/>
946 </Offset>
947 </Anchor>
948 </Anchors>
949 </CheckButton>
950 <CheckButton name="MegaMacroButton80" inherits="MegaMacroButtonTemplate" id="80">
951 <Anchors>
952 <Anchor point="LEFT" relativeTo="MegaMacroButton79" relativePoint="RIGHT">
953 <Offset>
954 <AbsDimension x="13" y="0"/>
955 </Offset>
956 </Anchor>
957 </Anchors>
958 </CheckButton>
959 <CheckButton name="MegaMacroButton81" inherits="MegaMacroButtonTemplate" id="81">
960 <Anchors>
961 <Anchor point="LEFT" relativeTo="MegaMacroButton80" relativePoint="RIGHT">
962 <Offset>
963 <AbsDimension x="13" y="0"/>
964 </Offset>
965 </Anchor>
966 </Anchors>
967 </CheckButton>
968 <CheckButton name="MegaMacroButton82" inherits="MegaMacroButtonTemplate" id="82">
969 <Anchors>
970 <Anchor point="LEFT" relativeTo="MegaMacroButton81" relativePoint="RIGHT">
971 <Offset>
972 <AbsDimension x="13" y="0"/>
973 </Offset>
974 </Anchor>
975 </Anchors>
976 </CheckButton>
977 <CheckButton name="MegaMacroButton83" inherits="MegaMacroButtonTemplate" id="83">
978 <Anchors>
979 <Anchor point="LEFT" relativeTo="MegaMacroButton82" relativePoint="RIGHT">
980 <Offset>
981 <AbsDimension x="13" y="0"/>
982 </Offset>
983 </Anchor>
984 </Anchors>
985 </CheckButton>
986 <CheckButton name="MegaMacroButton84" inherits="MegaMacroButtonTemplate" id="84">
987 <Anchors>
988 <Anchor point="LEFT" relativeTo="MegaMacroButton83" relativePoint="RIGHT">
989 <Offset>
990 <AbsDimension x="13" y="0"/>
991 </Offset>
992 </Anchor>
993 </Anchors>
994 </CheckButton>
995  
996  
997 </Frames>
998 </Frame>
999 </ScrollChild>
1000 </ScrollFrame>
1001  
1002  
1003  
1004  
1005 <ScrollFrame name="MegaMacroFrameScrollFrame" inherits="UIPanelScrollFrameTemplate">
1006 <Size>
1007 <AbsDimension x="293" y="85"/>
1008 </Size>
1009 <Anchors>
1010 <Anchor point="TOPLEFT" relativeTo="MegaMacroFrameSelectedMacroBackground" relativePoint="BOTTOMLEFT">
1011 <Offset>
1012 <AbsDimension x="11" y="-18"/>
1013 </Offset>
1014 </Anchor>
1015 </Anchors>
1016 <ScrollChild>
1017 <EditBox name="MegaMacroFrameText" multiLine="true" letters="1000" autoFocus="false">
1018 <Size>
1019 <AbsDimension x="293" y="85"/>
1020 </Size>
1021 <Scripts>
1022 <OnTextChanged>
1023 MegaMacroFrame.textChanged = 1;
1024 if ( MegaMacroPopupFrame.mode == "new" ) then
1025 MegaMacroPopupFrame:Hide();
1026 end
1027 MegaMacroFrameCharLimitText:SetText(format(TEXT(MACROFRAME_CHAR_LIMIT), MegaMacroFrameText:GetNumLetters()));
1028  
1029 local scrollBar = getglobal(this:GetParent():GetName().."ScrollBar")
1030 this:GetParent():UpdateScrollChildRect();
1031 local min;
1032 local max;
1033 min, max = scrollBar:GetMinMaxValues();
1034 if ( max > 0 and (this.max ~= max) ) then
1035 this.max = max;
1036 scrollBar:SetValue(max);
1037 end
1038 </OnTextChanged>
1039 <OnEscapePressed>
1040 this:ClearFocus();
1041 </OnEscapePressed>
1042 <OnEditFocusGained>
1043 MegaMacroNewButton:SetText(COMPLETE);
1044 </OnEditFocusGained>
1045 <OnEditFocusLost>
1046 MegaMacroNewButton:SetText(NEW);
1047 </OnEditFocusLost>
1048 </Scripts>
1049 <FontString inherits="GameFontHighlightSmall"/>
1050 </EditBox>
1051 </ScrollChild>
1052 </ScrollFrame>
1053 <ScrollFrame name="MegaMacroScrollFrame" inherits="UIPanelScrollFrameTemplate">
1054 <Size>
1055 <AbsDimension x="265" y="155"/>
1056 </Size>
1057 <Anchors>
1058 <Anchor point="TOPLEFT" relativeTo="MegaMacroFrameSelectedMacroBackground" relativePoint="BOTTOMLEFT">
1059 <Offset>
1060 <AbsDimension x="335" y="50"/>
1061 </Offset>
1062 </Anchor>
1063 </Anchors>
1064 <ScrollChild>
1065 <Frame name="MegaMacroScrollChildFrame" enableMouse="true">
1066 <Size>
1067 <AbsDimension x="265" y="155"/>
1068 </Size>
1069 <Anchors>
1070 <Anchor point="TOPLEFT">
1071 <Offset>
1072 <AbsDimension x="0" y="0"/>
1073 </Offset>
1074 </Anchor>
1075 </Anchors>
1076 <Frames>
1077 <EditBox name="MegaMacroEditBox" letters="7500" multiLine="true" enableMouse="true" autoFocus="false">
1078 <Size>
1079 <AbsDimension x="265" y="155"/>
1080 </Size>
1081 <Anchors>
1082 <Anchor point="TOPLEFT">
1083 <Offset>
1084 <AbsDimension x="0" y="0"/>
1085 </Offset>
1086 </Anchor>
1087 </Anchors>
1088 <Scripts>
1089 <OnTextChanged>
1090 local scrollBar = getglobal(this:GetParent():GetParent():GetName().."ScrollBar")
1091 this:GetParent():GetParent():UpdateScrollChildRect();
1092 local min;
1093 local max;
1094 min, max = scrollBar:GetMinMaxValues();
1095 if ( max > 0 and (this.max ~= max) ) then
1096 this.max = max;
1097 scrollBar:SetValue(max);
1098 end
1099 MegaMacroID = MegaMacroFrame.selectedMacro;
1100 MegaMacroNewButton:Enable();
1101 if ( not MegaMacroID ) then
1102 -- Hmm
1103 else
1104 macroName = GetMacroInfo(MegaMacroID);
1105 MegaMacro_UpdateText(macroName);
1106 end
1107 </OnTextChanged>
1108 <OnClick>
1109 this:SetFocus();
1110 </OnClick>
1111 <OnEditFocusGained>
1112 MegaMegaMacroNewButton:SetText("Save Extended");
1113 MegaMegaMacroNewButton:Enable();
1114 </OnEditFocusGained>
1115 <OnEditFocusLost>
1116 MegaMegaMacroNewButton:Disable();
1117 </OnEditFocusLost>
1118 </Scripts>
1119 <FontString inherits="ChatFontNormal"/>
1120 </EditBox>
1121 </Frames>
1122 <Scripts>
1123 <OnMouseUp>
1124 MegaMacroEditBox:SetFocus();
1125 </OnMouseUp>
1126 </Scripts>
1127 </Frame>
1128 </ScrollChild>
1129 </ScrollFrame>
1130 <Button name="MegaMacroFrameTextButton">
1131 <Size>
1132 <AbsDimension x="286" y="85"/>
1133 </Size>
1134 <Anchors>
1135 <Anchor point="TOPLEFT" relativeTo="MegaMacroFrameText"/>
1136 </Anchors>
1137 <Scripts>
1138 <OnClick>
1139 MegaMacroFrameText:SetFocus();
1140 </OnClick>
1141 </Scripts>
1142 </Button>
1143 <Frame name="MegaMacroFrameTextBackground">
1144 <Size>
1145 <AbsDimension x="330" y="95"/>
1146 </Size>
1147 <Anchors>
1148 <Anchor point="TOPLEFT" relativeTo="MegaMacroFrame">
1149 <Offset>
1150 <AbsDimension x="18" y="-305"/>
1151 </Offset>
1152 </Anchor>
1153 </Anchors>
1154 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1155 <EdgeSize>
1156 <AbsValue val="16"/>
1157 </EdgeSize>
1158 <TileSize>
1159 <AbsValue val="16"/>
1160 </TileSize>
1161 <BackgroundInsets>
1162 <AbsInset left="5" right="5" top="5" bottom="5"/>
1163 </BackgroundInsets>
1164 </Backdrop>
1165 <Scripts>
1166 <OnLoad>
1167 this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
1168 this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
1169 </OnLoad>
1170 </Scripts>
1171 </Frame>
1172 <Frame name="MegaMegaMacroFrameTextBackground">
1173 <Size>
1174 <AbsDimension x="296" y="165"/>
1175 </Size>
1176 <Anchors>
1177 <Anchor point="TOPLEFT" relativeTo="MegaMacroScrollFrame">
1178 <Offset>
1179 <AbsDimension x="-5" y="5"/>
1180 </Offset>
1181 </Anchor>
1182 </Anchors>
1183 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1184 <EdgeSize>
1185 <AbsValue val="16"/>
1186 </EdgeSize>
1187 <TileSize>
1188 <AbsValue val="16"/>
1189 </TileSize>
1190 <BackgroundInsets>
1191 <AbsInset left="5" right="5" top="5" bottom="5"/>
1192 </BackgroundInsets>
1193 </Backdrop>
1194 <Scripts>
1195 <OnLoad>
1196 this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
1197 this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
1198 </OnLoad>
1199 </Scripts>
1200 </Frame>
1201 <Frame name="MegaMacroFrameTab">
1202 <Size>
1203 <AbsDimension x="154" y="32"/>
1204 </Size>
1205 <Anchors>
1206 <Anchor point="TOP">
1207 <Offset>
1208 <AbsDimension x="0" y="-42"/>
1209 </Offset>
1210 </Anchor>
1211 </Anchors>
1212 <Layers>
1213 <Layer level="BACKGROUND">
1214 <Texture name="$parentLeft" file="Interface\HelpFrame\HelpFrameTab-Inactive">
1215 <Size>
1216 <AbsDimension x="16" y="32"/>
1217 </Size>
1218 <Anchors>
1219 <Anchor point="BOTTOMLEFT"/>
1220 </Anchors>
1221 <TexCoords left="0" right="0.25" top="0" bottom="1.0"/>
1222 </Texture>
1223 <Texture name="$parentMiddle" file="Interface\HelpFrame\HelpFrameTab-Inactive">
1224 <Size>
1225 <AbsDimension x="122" y="32"/>
1226 </Size>
1227 <Anchors>
1228 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
1229 </Anchors>
1230 <TexCoords left="0.25" right="0.75" top="0" bottom="1.0"/>
1231 </Texture>
1232 <Texture name="$parentRight" file="Interface\HelpFrame\HelpFrameTab-Inactive">
1233 <Size>
1234 <AbsDimension x="16" y="32"/>
1235 </Size>
1236 <Anchors>
1237 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
1238 </Anchors>
1239 <TexCoords left="0.75" right="1.0" top="0" bottom="1.0"/>
1240 </Texture>
1241 <FontString name="MegaMacroFrameTabText" inherits="GameFontHighlight" text="CURRENT_MACROS">
1242 <Anchors>
1243 <Anchor point="TOP" relativeTo="$parentMiddle">
1244 <Offset>
1245 <AbsDimension x="0" y="-14"/>
1246 </Offset>
1247 </Anchor>
1248 </Anchors>
1249 </FontString>
1250 </Layer>
1251 </Layers>
1252 </Frame>
1253 <Button name="MegaMacroEditButton" inherits="UIPanelButtonTemplate" text="CHANGE_MACRO_NAME_ICON">
1254 <Size>
1255 <AbsDimension x="170" y="22"/>
1256 </Size>
1257 <Anchors>
1258 <Anchor point="TOPLEFT" relativeTo="MegaMacroFrameSelectedMacroBackground">
1259 <Offset>
1260 <AbsDimension x="51" y="-30"/>
1261 </Offset>
1262 </Anchor>
1263 </Anchors>
1264 <Scripts>
1265 <OnClick>
1266 MegaMacroEditButton_OnClick();
1267 </OnClick>
1268 </Scripts>
1269 </Button>
1270 <Button name="MegaMacroDeleteButton" inherits="UIPanelButtonGrayTemplate" text="DELETE">
1271 <Size>
1272 <AbsDimension x="80" y="22"/>
1273 </Size>
1274 <Anchors>
1275 <Anchor point="BOTTOMLEFT" relativeTo="MegaMacroFrame">
1276 <Offset>
1277 <AbsDimension x="17" y="79"/>
1278 </Offset>
1279 </Anchor>
1280 </Anchors>
1281 <Scripts>
1282 <OnClick>
1283 MegaMacroID = MegaMacroFrame.selectedMacro;
1284 if ( not MegaMacroID ) then
1285 -- Hmm
1286 else
1287 macroName = GetMacroInfo(MegaMacroID);
1288 MegaMacroText[macroName] = nil;
1289 end
1290 DeleteMacro(MegaMacroFrame.selectedMacro);
1291 DeleteMegaMacroFrame_OnLoad();
1292 MegaMacroFrame_Update();
1293 </OnClick>
1294 </Scripts>
1295 </Button>
1296 <Button name="MegaMacroNewButton" inherits="UIPanelButtonTemplate" text="NEW">
1297 <Size>
1298 <AbsDimension x="80" y="22"/>
1299 </Size>
1300 <Anchors>
1301 <Anchor point="CENTER" relativeTo="MegaMacroFrame" relativePoint="TOPLEFT">
1302 <Offset>
1303 <AbsDimension x="522" y="-422"/>
1304 </Offset>
1305 </Anchor>
1306 </Anchors>
1307 <Scripts>
1308 <OnClick>
1309 MegaMacroNewButton_OnClick();
1310 </OnClick>
1311 </Scripts>
1312 </Button>
1313 <Button name="MegaMegaMacroNewButton" inherits="UIPanelButtonTemplate" text="Save Extended">
1314 <Size>
1315 <AbsDimension x="120" y="22"/>
1316 </Size>
1317 <Anchors>
1318 <Anchor point="CENTER" relativeTo="MegaMacroFrame" relativePoint="TOPLEFT">
1319 <Offset>
1320 <AbsDimension x="422" y="-422"/>
1321 </Offset>
1322 </Anchor>
1323 </Anchors>
1324 <Scripts>
1325 <OnClick>
1326 MegaMacro_Execute();
1327 </OnClick>
1328 </Scripts>
1329 </Button>
1330 <Button name="MegaMacroExitButton" inherits="UIPanelButtonTemplate" text="EXIT">
1331 <Size>
1332 <AbsDimension x="80" y="22"/>
1333 </Size>
1334 <Anchors>
1335 <Anchor point="CENTER" relativeTo="MegaMacroFrame" relativePoint="TOPLEFT">
1336 <Offset>
1337 <AbsDimension x="603" y="-422"/>
1338 </Offset>
1339 </Anchor>
1340 </Anchors>
1341 <Scripts>
1342 <OnClick>
1343 HideUIPanel(this:GetParent());
1344 </OnClick>
1345 </Scripts>
1346 </Button>
1347 <Button name="MegaMacroFrameCloseButton" inherits="UIPanelCloseButton">
1348 <Anchors>
1349 <Anchor point="TOPRIGHT" relativeTo="MegaMacroFrame" relativePoint="TOPRIGHT">
1350 <Offset>
1351 <AbsDimension x="-29" y="-8"/>
1352 </Offset>
1353 </Anchor>
1354 </Anchors>
1355 </Button>
1356 </Frames>
1357 <Scripts>
1358 <OnLoad>
1359 MegaMacroFrame_OnLoad();
1360 </OnLoad>
1361 <OnShow>
1362 MegaMacroFrame_OnShow();
1363 </OnShow>
1364 <OnHide>
1365 MegaMacroFrame_OnHide();
1366 </OnHide>
1367 <OnEvent>
1368 MegaMacro_OnEvent();
1369 </OnEvent>
1370 <OnMouseWheel>
1371 return;
1372 </OnMouseWheel>
1373 </Scripts>
1374 </Frame>
1375 <Frame name="MegaMacroPopupFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
1376 <Size>
1377 <AbsDimension x="297" y="298"/>
1378 </Size>
1379 <Anchors>
1380 <Anchor point="TOPLEFT" relativeTo="MegaMacroFrame" relativePoint="TOPRIGHT">
1381 <Offset>
1382 <AbsDimension x="-40" y="-40"/>
1383 </Offset>
1384 </Anchor>
1385 </Anchors>
1386 <Layers>
1387 <Layer level="BACKGROUND">
1388 <Texture file="Interface\MacroFrame\MacroPopup-TopLeft">
1389 <Size>
1390 <AbsDimension x="256" y="256"/>
1391 </Size>
1392 <Anchors>
1393 <Anchor point="TOPLEFT"/>
1394 </Anchors>
1395 </Texture>
1396 <Texture file="Interface\MacroFrame\MacroPopup-TopRight">
1397 <Size>
1398 <AbsDimension x="64" y="256"/>
1399 </Size>
1400 <Anchors>
1401 <Anchor point="TOPLEFT">
1402 <Offset>
1403 <AbsDimension x="256" y="0"/>
1404 </Offset>
1405 </Anchor>
1406 </Anchors>
1407 </Texture>
1408 <Texture file="Interface\MacroFrame\MacroPopup-BotLeft">
1409 <Size>
1410 <AbsDimension x="256" y="64"/>
1411 </Size>
1412 <Anchors>
1413 <Anchor point="TOPLEFT">
1414 <Offset>
1415 <AbsDimension x="0" y="-256"/>
1416 </Offset>
1417 </Anchor>
1418 </Anchors>
1419 </Texture>
1420 <Texture file="Interface\MacroFrame\MacroPopup-BotRight">
1421 <Size>
1422 <AbsDimension x="64" y="64"/>
1423 </Size>
1424 <Anchors>
1425 <Anchor point="TOPLEFT">
1426 <Offset>
1427 <AbsDimension x="256" y="-256"/>
1428 </Offset>
1429 </Anchor>
1430 </Anchors>
1431 </Texture>
1432 <FontString inherits="GameFontHighlightSmall" text="MACRO_POPUP_TEXT">
1433 <Anchors>
1434 <Anchor point="TOPLEFT">
1435 <Offset>
1436 <AbsDimension x="24" y="-21"/>
1437 </Offset>
1438 </Anchor>
1439 </Anchors>
1440 </FontString>
1441 <FontString inherits="GameFontHighlightSmall" text="MACRO_POPUP_CHOOSE_ICON">
1442 <Anchors>
1443 <Anchor point="TOPLEFT">
1444 <Offset>
1445 <AbsDimension x="24" y="-69"/>
1446 </Offset>
1447 </Anchor>
1448 </Anchors>
1449 </FontString>
1450 </Layer>
1451 </Layers>
1452 <Frames>
1453 <EditBox name="MegaMacroPopupEditBox" letters="16" historyLines="0">
1454 <Size>
1455 <AbsDimension x="200" y="20"/>
1456 </Size>
1457 <Anchors>
1458 <Anchor point="TOPLEFT">
1459 <Offset>
1460 <AbsDimension x="29" y="-35"/>
1461 </Offset>
1462 </Anchor>
1463 </Anchors>
1464 <Layers>
1465 <Layer level="BACKGROUND">
1466 <Texture name="MegaMacroPopupNameLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
1467 <Size>
1468 <AbsDimension x="12" y="29"/>
1469 </Size>
1470 <Anchors>
1471 <Anchor point="TOPLEFT">
1472 <Offset>
1473 <AbsDimension x="-11" y="0"/>
1474 </Offset>
1475 </Anchor>
1476 </Anchors>
1477 <TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
1478 </Texture>
1479 <Texture name="MegaMacroPopupNameMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
1480 <Size>
1481 <AbsDimension x="175" y="29"/>
1482 </Size>
1483 <Anchors>
1484 <Anchor point="LEFT" relativeTo="MegaMacroPopupNameLeft" relativePoint="RIGHT"/>
1485 </Anchors>
1486 <TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
1487 </Texture>
1488 <Texture name="MegaMacroPopupNameRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
1489 <Size>
1490 <AbsDimension x="12" y="29"/>
1491 </Size>
1492 <Anchors>
1493 <Anchor point="LEFT" relativeTo="MegaMacroPopupNameMiddle" relativePoint="RIGHT"/>
1494 </Anchors>
1495 <TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
1496 </Texture>
1497 </Layer>
1498 </Layers>
1499 <Scripts>
1500 <OnTextChanged>
1501 MegaMacroPopupOkayButton_Update();
1502 MegaMacroFrameSelectedMacroName:SetText(this:GetText());
1503 </OnTextChanged>
1504 <OnEscapePressed>
1505 MegaMacroPopupFrame:Hide();
1506 </OnEscapePressed>
1507 <OnEnterPressed>
1508 if ( MegaMacroPopupOkayButton:IsEnabled() ~= 0 ) then
1509 MegaMacroPopupOkayButton_OnClick();
1510 end
1511 </OnEnterPressed>
1512 </Scripts>
1513 <FontString inherits="ChatFontNormal"/>
1514 </EditBox>
1515 <ScrollFrame name="MegaMacroPopupScrollFrame" inherits="ClassTrainerListScrollFrameTemplate">
1516 <Size>
1517 <AbsDimension x="296" y="195"/>
1518 </Size>
1519 <Anchors>
1520 <Anchor point="TOPRIGHT" relativeTo="MegaMacroPopupFrame" relativePoint="TOPRIGHT">
1521 <Offset>
1522 <AbsDimension x="-39" y="-67"/>
1523 </Offset>
1524 </Anchor>
1525 </Anchors>
1526 <Scripts>
1527 <OnVerticalScroll>
1528 FauxScrollFrame_OnVerticalScroll(MACRO_ICON_ROW_HEIGHT, MegaMacroPopupFrame_Update);
1529 </OnVerticalScroll>
1530 </Scripts>
1531 </ScrollFrame>
1532 <CheckButton name="MegaMacroPopupButton1" inherits="MegaMacroPopupButtonTemplate" id="1">
1533 <Anchors>
1534 <Anchor point="TOPLEFT">
1535 <Offset>
1536 <AbsDimension x="24" y="-85"/>
1537 </Offset>
1538 </Anchor>
1539 </Anchors>
1540 </CheckButton>
1541 <CheckButton name="MegaMacroPopupButton2" inherits="MegaMacroPopupButtonTemplate" id="2">
1542 <Anchors>
1543 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton1" relativePoint="RIGHT">
1544 <Offset>
1545 <AbsDimension x="10" y="0"/>
1546 </Offset>
1547 </Anchor>
1548 </Anchors>
1549 </CheckButton>
1550 <CheckButton name="MegaMacroPopupButton3" inherits="MegaMacroPopupButtonTemplate" id="3">
1551 <Anchors>
1552 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton2" relativePoint="RIGHT">
1553 <Offset>
1554 <AbsDimension x="10" y="0"/>
1555 </Offset>
1556 </Anchor>
1557 </Anchors>
1558 </CheckButton>
1559 <CheckButton name="MegaMacroPopupButton4" inherits="MegaMacroPopupButtonTemplate" id="4">
1560 <Anchors>
1561 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton3" relativePoint="RIGHT">
1562 <Offset>
1563 <AbsDimension x="10" y="0"/>
1564 </Offset>
1565 </Anchor>
1566 </Anchors>
1567 </CheckButton>
1568 <CheckButton name="MegaMacroPopupButton5" inherits="MegaMacroPopupButtonTemplate" id="5">
1569 <Anchors>
1570 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton4" relativePoint="RIGHT">
1571 <Offset>
1572 <AbsDimension x="10" y="0"/>
1573 </Offset>
1574 </Anchor>
1575 </Anchors>
1576 </CheckButton>
1577 <CheckButton name="MegaMacroPopupButton6" inherits="MegaMacroPopupButtonTemplate" id="6">
1578 <Anchors>
1579 <Anchor point="TOPLEFT" relativeTo="MegaMacroPopupButton1" relativePoint="BOTTOMLEFT">
1580 <Offset>
1581 <AbsDimension x="0" y="-8"/>
1582 </Offset>
1583 </Anchor>
1584 </Anchors>
1585 </CheckButton>
1586 <CheckButton name="MegaMacroPopupButton7" inherits="MegaMacroPopupButtonTemplate" id="7">
1587 <Anchors>
1588 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton6" relativePoint="RIGHT">
1589 <Offset>
1590 <AbsDimension x="10" y="0"/>
1591 </Offset>
1592 </Anchor>
1593 </Anchors>
1594 </CheckButton>
1595 <CheckButton name="MegaMacroPopupButton8" inherits="MegaMacroPopupButtonTemplate" id="8">
1596 <Anchors>
1597 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton7" relativePoint="RIGHT">
1598 <Offset>
1599 <AbsDimension x="10" y="0"/>
1600 </Offset>
1601 </Anchor>
1602 </Anchors>
1603 </CheckButton>
1604 <CheckButton name="MegaMacroPopupButton9" inherits="MegaMacroPopupButtonTemplate" id="9">
1605 <Anchors>
1606 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton8" relativePoint="RIGHT">
1607 <Offset>
1608 <AbsDimension x="10" y="0"/>
1609 </Offset>
1610 </Anchor>
1611 </Anchors>
1612 </CheckButton>
1613 <CheckButton name="MegaMacroPopupButton10" inherits="MegaMacroPopupButtonTemplate" id="10">
1614 <Anchors>
1615 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton9" relativePoint="RIGHT">
1616 <Offset>
1617 <AbsDimension x="10" y="0"/>
1618 </Offset>
1619 </Anchor>
1620 </Anchors>
1621 </CheckButton>
1622 <CheckButton name="MegaMacroPopupButton11" inherits="MegaMacroPopupButtonTemplate" id="11">
1623 <Anchors>
1624 <Anchor point="TOPLEFT" relativeTo="MegaMacroPopupButton6" relativePoint="BOTTOMLEFT">
1625 <Offset>
1626 <AbsDimension x="0" y="-8"/>
1627 </Offset>
1628 </Anchor>
1629 </Anchors>
1630 </CheckButton>
1631 <CheckButton name="MegaMacroPopupButton12" inherits="MegaMacroPopupButtonTemplate" id="12">
1632 <Anchors>
1633 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton11" relativePoint="RIGHT">
1634 <Offset>
1635 <AbsDimension x="10" y="0"/>
1636 </Offset>
1637 </Anchor>
1638 </Anchors>
1639 </CheckButton>
1640 <CheckButton name="MegaMacroPopupButton13" inherits="MegaMacroPopupButtonTemplate" id="13">
1641 <Anchors>
1642 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton12" relativePoint="RIGHT">
1643 <Offset>
1644 <AbsDimension x="10" y="0"/>
1645 </Offset>
1646 </Anchor>
1647 </Anchors>
1648 </CheckButton>
1649 <CheckButton name="MegaMacroPopupButton14" inherits="MegaMacroPopupButtonTemplate" id="14">
1650 <Anchors>
1651 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton13" relativePoint="RIGHT">
1652 <Offset>
1653 <AbsDimension x="10" y="0"/>
1654 </Offset>
1655 </Anchor>
1656 </Anchors>
1657 </CheckButton>
1658 <CheckButton name="MegaMacroPopupButton15" inherits="MegaMacroPopupButtonTemplate" id="15">
1659 <Anchors>
1660 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton14" relativePoint="RIGHT">
1661 <Offset>
1662 <AbsDimension x="10" y="0"/>
1663 </Offset>
1664 </Anchor>
1665 </Anchors>
1666 </CheckButton>
1667 <CheckButton name="MegaMacroPopupButton16" inherits="MegaMacroPopupButtonTemplate" id="16">
1668 <Anchors>
1669 <Anchor point="TOPLEFT" relativeTo="MegaMacroPopupButton11" relativePoint="BOTTOMLEFT">
1670 <Offset>
1671 <AbsDimension x="0" y="-8"/>
1672 </Offset>
1673 </Anchor>
1674 </Anchors>
1675 </CheckButton>
1676 <CheckButton name="MegaMacroPopupButton17" inherits="MegaMacroPopupButtonTemplate" id="17">
1677 <Anchors>
1678 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton16" relativePoint="RIGHT">
1679 <Offset>
1680 <AbsDimension x="10" y="0"/>
1681 </Offset>
1682 </Anchor>
1683 </Anchors>
1684 </CheckButton>
1685 <CheckButton name="MegaMacroPopupButton18" inherits="MegaMacroPopupButtonTemplate" id="18">
1686 <Anchors>
1687 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton17" relativePoint="RIGHT">
1688 <Offset>
1689 <AbsDimension x="10" y="0"/>
1690 </Offset>
1691 </Anchor>
1692 </Anchors>
1693 </CheckButton>
1694 <CheckButton name="MegaMacroPopupButton19" inherits="MegaMacroPopupButtonTemplate" id="19">
1695 <Anchors>
1696 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton18" relativePoint="RIGHT">
1697 <Offset>
1698 <AbsDimension x="10" y="0"/>
1699 </Offset>
1700 </Anchor>
1701 </Anchors>
1702 </CheckButton>
1703 <CheckButton name="MegaMacroPopupButton20" inherits="MegaMacroPopupButtonTemplate" id="20">
1704 <Anchors>
1705 <Anchor point="LEFT" relativeTo="MegaMacroPopupButton19" relativePoint="RIGHT">
1706 <Offset>
1707 <AbsDimension x="10" y="0"/>
1708 </Offset>
1709 </Anchor>
1710 </Anchors>
1711 </CheckButton>
1712 <Button name="MegaMacroPopupCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
1713 <Size>
1714 <AbsDimension x="78" y="22"/>
1715 </Size>
1716 <Anchors>
1717 <Anchor point="BOTTOMRIGHT" relativeTo="MegaMacroPopupFrame">
1718 <Offset>
1719 <AbsDimension x="-11" y="13"/>
1720 </Offset>
1721 </Anchor>
1722 </Anchors>
1723 <Scripts>
1724 <OnClick>
1725 this:GetParent():Hide();
1726 MegaMacroFrame_Update();
1727 PlaySound("gsTitleOptionOK");
1728 </OnClick>
1729 </Scripts>
1730 </Button>
1731 <Button name="MegaMacroPopupOkayButton" inherits="UIPanelButtonTemplate" text="OKAY">
1732 <Size>
1733 <AbsDimension x="78" y="22"/>
1734 </Size>
1735 <Anchors>
1736 <Anchor point="RIGHT" relativeTo="MegaMacroPopupCancelButton" relativePoint="LEFT">
1737 <Offset>
1738 <AbsDimension x="-2" y="0"/>
1739 </Offset>
1740 </Anchor>
1741 </Anchors>
1742 <Scripts>
1743 <OnClick>
1744 MegaMacroPopupOkayButton_OnClick();
1745 PlaySound("gsTitleOptionOK");
1746 </OnClick>
1747 </Scripts>
1748 </Button>
1749 </Frames>
1750 <Scripts>
1751 <OnShow>
1752 MegaMacroPopupFrame_OnShow();
1753 </OnShow>
1754 <OnHide>
1755 MegaMacroPopupFrame_OnHide();
1756 </OnHide>
1757 <OnMouseWheel>
1758 return;
1759 </OnMouseWheel>
1760 </Scripts>
1761 </Frame>
1762 </Ui>