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  
5 <Frame name="UberQuest" toplevel="true" movable="true" parent="UIParent" enableMouse="true" hidden="true">
6 <Scripts>
7 <OnLoad>
8 UberQuest_OnLoad()
9 </OnLoad>
10 <OnEvent>
11 UberQuest_OnEvent(event)
12 </OnEvent>
13 <OnUpdate>
14 UberQuest_DelayedConfigInit_OnUpdate(arg1)
15 </OnUpdate>
16 </Scripts>
17 </Frame>
18 <Button name="UberQuest_TitleButtonTemplate" virtual="true">
19 <!-- Copied from QuestLogFrame.xml QuestLogTitleButtonTemplate -->
20 <Size>
21 <AbsDimension x="300" y="16"/>
22 </Size>
23 <Layers>
24 <Layer level="BACKGROUND">
25 <FontString name="$parentTag" inherits="GameFontNormal" justifyH="RIGHT">
26 <Size>
27 <AbsDimension x="80" y="16"/>
28 </Size>
29 <Anchors>
30 <Anchor point="RIGHT">
31 <Offset>
32 <AbsDimension x="-2" y="0"/>
33 </Offset>
34 </Anchor>
35 </Anchors>
36 </FontString>
37 <FontString name="$parentGroupMates" inherits="GameFontNormalSmall" justifyH="RIGHT">
38 <Size>
39 <AbsDimension x="0" y="16"/>
40 </Size>
41 <Anchors>
42 <Anchor point="LEFT">
43 <Offset>
44 <AbsDimension x="8" y="0"/>
45 </Offset>
46 </Anchor>
47 </Anchors>
48 </FontString>
49 </Layer>
50 </Layers>
51 <Scripts>
52 <OnLoad>
53 this:RegisterForClicks("LeftButtonUp", "RightButtonUp")
54 </OnLoad>
55 <OnClick>
56 UberQuest_TitleButton_OnClick(arg1)
57 </OnClick>
58 <OnEnter>
59 QuestLogTitleButton_OnEnter()
60 getglobal(this:GetName().."Tag"):SetTextColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b)
61 </OnEnter>
62 <OnLeave>
63 if (this:GetID() ~= (UberQuest_List.selectedButtonID - FauxScrollFrame_GetOffset(UberQuest_List_Scroll)))
64 then getglobal(this:GetName().."Tag"):SetTextColor(this.r, this.g, this.b)
65 end
66 GameTooltip:Hide()
67 </OnLeave>
68 </Scripts>
69 <NormalTexture file="Interface\Buttons\UI-MinusButton-UP">
70 <Size>
71 <AbsDimension x="16" y="16"/>
72 </Size>
73 <Anchors>
74 <Anchor point="LEFT">
75 <Offset>
76 <AbsDimension x="3" y="0"/>
77 </Offset>
78 </Anchor>
79 </Anchors>
80 </NormalTexture>
81 <HighlightTexture name="$parentHighlight" file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD">
82 <Size>
83 <AbsDimension x="16" y="16"/>
84 </Size>
85 <Anchors>
86 <Anchor point="LEFT">
87 <Offset>
88 <AbsDimension x="3" y="0"/>
89 </Offset>
90 </Anchor>
91 </Anchors>
92 </HighlightTexture>
93 <ButtonText name="$parentNormalText" nonspacewrap="true">
94 <Size>
95 <AbsDimension x="275" y="10"/>
96 </Size>
97 <Anchors>
98 <Anchor point="LEFT">
99 <Offset>
100 <AbsDimension x="35" y="0"/>
101 </Offset>
102 </Anchor>
103 </Anchors>
104 </ButtonText>
105 <NormalFont inherits="GameFontNormal" justifyH="LEFT"/>
106 <HighlightFont inherits="GameFontHighlight" justifyH="LEFT"/>
107 <DisabledFont inherits="GameFontHighlight" justifyH="LEFT"/>
108 <Frames>
109 <CheckButton name="$parent_MinionSelect" inherits="UICheckButtonTemplate">
110 <Size>
111 <AbsDimension x="16" y="16"/>
112 </Size>
113 <Scripts>
114 <OnClick>
115 UberQuest_MinionSelect_OnClick()
116 </OnClick>
117 </Scripts>
118 <Anchors>
119 <Anchor point="LEFT">
120 <Offset>
121 <AbsDimension x="25" y="0"/>
122 </Offset>
123 </Anchor>
124 </Anchors>
125 </CheckButton>
126 </Frames>
127 </Button>
128  
129  
130 <Frame name="UberQuest_List" toplevel="true" parent="UIParent" hidden="true" enableMouse="true" movable="true">
131 <Size>
132 <AbsDimension x="384" y="512"/>
133 </Size>
134 <Anchors>
135 <Anchor point="TOPLEFT">
136 <Offset>
137 <AbsDimension x="0" y="-104"/>
138 </Offset>
139 </Anchor>
140 </Anchors>
141 <HitRectInsets>
142 <AbsInset left="0" right="30" top="0" bottom="45"/>
143 </HitRectInsets>
144 <Scripts>
145 <OnLoad>
146 UberQuest_List_OnLoad()
147 </OnLoad>
148 <OnMouseDown>
149 if arg1 == "LeftButton" then
150 UberQuest_List:StartMoving()
151 end
152 </OnMouseDown>
153 <OnMouseUp>
154 if arg1 == "LeftButton" then
155 UberQuest_List:StopMovingOrSizing()
156 end
157 </OnMouseUp>
158 </Scripts>
159 <Layers>
160 <Layer level="ARTWORK">
161 <FontString name="$parent_Title" inherits="GameFontNormal">
162 <Anchors>
163 <Anchor point="TOP">
164 <Offset>
165 <AbsDimension x="0" y="-18"/>
166 </Offset>
167 </Anchor>
168 </Anchors>
169 </FontString>
170 <Texture file="Interface\QuestFrame\UI-QuestLog-BookIcon">
171 <Size>
172 <AbsDimension x="60" y="60"/>
173 </Size>
174 <Anchors>
175 <Anchor point="TOPLEFT">
176 <Offset>
177 <AbsDimension x="7" y="-6"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 </Texture>
182 <Texture name="$parentTopLeft" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
183 <Size>
184 <AbsDimension x="256" y="256"/>
185 </Size>
186 <Anchors>
187 <Anchor point="TOPLEFT"/>
188 </Anchors>
189 </Texture>
190 <Texture name="$parentTopRight" file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
191 <Size>
192 <AbsDimension x="128" y="256"/>
193 </Size>
194 <Anchors>
195 <Anchor point="TOPRIGHT"/>
196 </Anchors>
197 </Texture>
198 <Texture name="$parentBottomLeft" file="Interface\FriendsFrame\UI-IgnoreFrame-BotLeft">
199 <Size>
200 <AbsDimension x="256" y="256"/>
201 </Size>
202 <Anchors>
203 <Anchor point="BOTTOMLEFT"/>
204 </Anchors>
205 </Texture>
206 <Texture name="$parentBottomRight" file="Interface\FriendsFrame\UI-IgnoreFrame-BotRight">
207  
208 <Size>
209 <AbsDimension x="128" y="256"/>
210 </Size>
211 <Anchors>
212 <Anchor point="BOTTOMRIGHT"/>
213 </Anchors>
214 </Texture>
215 </Layer>
216 <Layer level="OVERLAY">
217 <Texture name="$parent_CountRight" file="Interface\Common\Common-Input-Border">
218 <Size>
219 <AbsDimension x="8" y="20"/>
220 </Size>
221 <Anchors>
222 <Anchor point="TOPRIGHT">
223 <Offset>
224 <AbsDimension x="-47" y="-41"/>
225 </Offset>
226 </Anchor>
227 </Anchors>
228 <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
229 </Texture>
230 <Texture name="$parent_CountMiddle" file="Interface\Common\Common-Input-Border">
231 <Size>
232 <AbsDimension x="100" y="20"/>
233 </Size>
234 <Anchors>
235 <Anchor point="RIGHT" relativeTo="$parent_CountRight" relativePoint="LEFT"/>
236 </Anchors>
237 <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
238 </Texture>
239 <Texture name="$parent_CountLeft" file="Interface\Common\Common-Input-Border">
240 <Size>
241 <AbsDimension x="8" y="20"/>
242 </Size>
243 <Anchors>
244 <Anchor point="RIGHT" relativeTo="$parent_CountMiddle" relativePoint="LEFT"/>
245 </Anchors>
246 <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
247 </Texture>
248 <FontString name="$parent_QuestCount" inherits="GameFontNormalSmall">
249 <Anchors>
250 <Anchor point="RIGHT" relativeTo="$parent_CountRight">
251 <Offset>
252 <AbsDimension x="-6" y="0"/>
253 </Offset>
254 </Anchor>
255 </Anchors>
256 </FontString>
257 </Layer>
258 </Layers>
259 <Frames>
260 <Button name="$parent_CloseButton" inherits="UIPanelCloseButton">
261 <Anchors>
262 <Anchor point="TOPRIGHT">
263 <Offset>
264 <AbsDimension x="-30" y="-8"/>
265 </Offset>
266 </Anchor>
267 </Anchors>
268 <Scripts>
269 <OnClick>
270 UberQuest_ListShowHide()
271 </OnClick>
272 </Scripts>
273 </Button>
274 <Button name="$parent_AbandonButton" inherits="UIPanelButtonTemplate" text="UBERQUEST_ABANDON">
275 <Size>
276 <AbsDimension x="131" y="21"/>
277 </Size>
278 <Anchors>
279 <Anchor point="BOTTOMLEFT">
280 <Offset>
281 <AbsDimension x="18" y="80"/>
282 </Offset>
283 </Anchor>
284 </Anchors>
285 <Scripts>
286 <OnClick>
287 SetAbandonQuest()
288 StaticPopup_Show("ABANDON_QUEST", GetAbandonQuestName())
289 </OnClick>
290 <OnEnter>
291 GameTooltip_AddNewbieTip(ABANDON_QUEST, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_ABANDONQUEST, 1)
292 </OnEnter>
293 <OnLeave>
294 GameTooltip:Hide()
295 </OnLeave>
296 </Scripts>
297 </Button>
298 <Button name="$parent_ShareButton" inherits="UIPanelButtonTemplate" text="UBERQUEST_SHARE">
299 <Size>
300 <AbsDimension x="66" y="21"/>
301 </Size>
302 <Anchors>
303 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_AbandonButton"/>
304 </Anchors>
305 <Scripts>
306 <OnClick>
307 QuestLogPushQuest()
308 </OnClick>
309 <OnEnter>
310 GameTooltip_AddNewbieTip(SHARE_QUEST, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_SHAREQUEST, 1)
311 </OnEnter>
312 <OnLeave>
313 GameTooltip:Hide()
314 </OnLeave>
315 </Scripts>
316 </Button>
317 <Button name="$parent_ConfigButton" inherits="UIPanelButtonTemplate" text="UBERQUEST_CONFIG">
318 <Size>
319 <AbsDimension x="66" y="21"/>
320 </Size>
321 <Anchors>
322 <Anchor point="TOPLEFT">
323 <Offset>
324 <AbsDimension x="159" y="-33"/>
325 </Offset>
326 </Anchor>
327 </Anchors>
328 <Scripts>
329 <OnLoad>
330 this:Disable()
331 </OnLoad>
332 <OnClick>
333 UberQuest_ConfigShowHide()
334 </OnClick>
335 </Scripts>
336 </Button>
337 <Button name="$parent_SummonMinion" inherits="UIPanelButtonTemplate" text="UBERQUEST_SUMMONMINION">
338 <Size>
339 <AbsDimension x="125" y="21"/>
340 </Size>
341 <Anchors>
342 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ConfigButton"/>
343 </Anchors>
344 <Scripts>
345 <OnLoad>
346 this:Disable()
347 </OnLoad>
348 <OnClick>
349 UberQuest_MinionShowHide()
350 </OnClick>
351 </Scripts>
352 </Button>
353 <Button name="$parent_CloseButton2" inherits="UIPanelButtonTemplate" text="UBERQUEST_EXIT">
354 <Size>
355 <AbsDimension x="131" y="21"/>
356 </Size>
357 <Anchors>
358 <Anchor point="BOTTOMRIGHT">
359 <Offset>
360 <AbsDimension x="-40" y="80"/>
361 </Offset>
362 </Anchor>
363 </Anchors>
364 <Scripts>
365 <OnClick>
366 UberQuest_ListShowHide()
367 </OnClick>
368 </Scripts>
369 </Button>
370 <ScrollFrame name="$parent_Scroll" inherits="FauxScrollFrameTemplate">
371 <Size>
372 <AbsDimension x="296" y="332"/>
373 </Size>
374 <Anchors>
375 <Anchor point="TOPRIGHT">
376 <Offset>
377 <AbsDimension x="-66" y="-78"/>
378 </Offset>
379 </Anchor>
380 </Anchors>
381 <Scripts>
382 <OnVerticalScroll>
383 FauxScrollFrame_OnVerticalScroll(UBERQUEST_QUESTLINE_HEIGHT, UberQuest_List_Update)
384 </OnVerticalScroll>
385 </Scripts>
386 <Layers>
387 <Layer level="BACKGROUND">
388 <Texture name="$parent_BarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
389 <Size>
390 <AbsDimension x="31" y="256"/>
391 </Size>
392 <Anchors>
393 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
394 <Offset>
395 <AbsDimension x="-2" y="5"/>
396 </Offset>
397 </Anchor>
398 </Anchors>
399 <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
400 </Texture>
401 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
402 <Size>
403 <AbsDimension x="31" y="108"/>
404 </Size>
405 <Anchors>
406 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
407 <Offset>
408 <AbsDimension x="-2" y="-2"/>
409 </Offset>
410 </Anchor>
411 </Anchors>
412 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.421875"/>
413 </Texture>
414 </Layer>
415 </Layers>
416 </ScrollFrame>
417 <Frame name="$parent_HighlightFrame" hidden="true">
418 <Size>
419 <AbsDimension x="293" y="16"/>
420 </Size>
421 <Anchors>
422 <Anchor point="TOPLEFT"/>
423 </Anchors>
424 <Layers>
425 <Layer level="ARTWORK">
426 <Texture name="$parent_SkillHighlight" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD"/>
427 </Layer>
428 </Layers>
429 </Frame>
430 <Button name="$parent_Title1" inherits="UberQuest_TitleButtonTemplate" id="1" hidden="true">
431 <Anchors>
432 <Anchor point="TOPLEFT" relativeTo="$parent">
433 <Offset>
434 <AbsDimension x="19" y="-75"/>
435 </Offset>
436 </Anchor>
437 </Anchors>
438 </Button>
439 <Button name="$parent_Title2" inherits="UberQuest_TitleButtonTemplate" id="2" hidden="true">
440 <Anchors>
441 <Anchor point="TOPLEFT" relativeTo="$parent_Title1" relativePoint="BOTTOMLEFT">
442 <Offset>
443 <AbsDimension x="0" y="1"/>
444 </Offset>
445 </Anchor>
446 </Anchors>
447 </Button>
448 <Button name="$parent_Title3" inherits="UberQuest_TitleButtonTemplate" id="3" hidden="true">
449 <Anchors>
450 <Anchor point="TOPLEFT" relativeTo="$parent_Title2" relativePoint="BOTTOMLEFT">
451 <Offset>
452 <AbsDimension x="0" y="1"/>
453 </Offset>
454 </Anchor>
455 </Anchors>
456 </Button>
457 <Button name="$parent_Title4" inherits="UberQuest_TitleButtonTemplate" id="4" hidden="true">
458 <Anchors>
459 <Anchor point="TOPLEFT" relativeTo="$parent_Title3" relativePoint="BOTTOMLEFT">
460 <Offset>
461 <AbsDimension x="0" y="1"/>
462 </Offset>
463 </Anchor>
464 </Anchors>
465 </Button>
466 <Button name="$parent_Title5" inherits="UberQuest_TitleButtonTemplate" id="5" hidden="true">
467 <Anchors>
468 <Anchor point="TOPLEFT" relativeTo="$parent_Title4" relativePoint="BOTTOMLEFT">
469 <Offset>
470 <AbsDimension x="0" y="1"/>
471 </Offset>
472 </Anchor>
473 </Anchors>
474 </Button>
475 <Button name="$parent_Title6" inherits="UberQuest_TitleButtonTemplate" id="6" hidden="true">
476 <Anchors>
477 <Anchor point="TOPLEFT" relativeTo="$parent_Title5" relativePoint="BOTTOMLEFT">
478 <Offset>
479 <AbsDimension x="0" y="1"/>
480 </Offset>
481 </Anchor>
482 </Anchors>
483 </Button>
484 <Button name="$parent_Title7" inherits="UberQuest_TitleButtonTemplate" id="7" hidden="true">
485 <Anchors>
486 <Anchor point="TOPLEFT" relativeTo="$parent_Title6" relativePoint="BOTTOMLEFT">
487 <Offset>
488 <AbsDimension x="0" y="1"/>
489 </Offset>
490 </Anchor>
491 </Anchors>
492 </Button>
493 <Button name="$parent_Title8" inherits="UberQuest_TitleButtonTemplate" id="8" hidden="true">
494 <Anchors>
495 <Anchor point="TOPLEFT" relativeTo="$parent_Title7" relativePoint="BOTTOMLEFT">
496 <Offset>
497 <AbsDimension x="0" y="1"/>
498 </Offset>
499 </Anchor>
500 </Anchors>
501 </Button>
502 <Button name="$parent_Title9" inherits="UberQuest_TitleButtonTemplate" id="9" hidden="true">
503 <Anchors>
504 <Anchor point="TOPLEFT" relativeTo="$parent_Title8" relativePoint="BOTTOMLEFT">
505 <Offset>
506 <AbsDimension x="0" y="1"/>
507 </Offset>
508 </Anchor>
509 </Anchors>
510 </Button>
511 <Button name="$parent_Title10" inherits="UberQuest_TitleButtonTemplate" id="10" hidden="true">
512 <Anchors>
513 <Anchor point="TOPLEFT" relativeTo="$parent_Title9" relativePoint="BOTTOMLEFT">
514 <Offset>
515 <AbsDimension x="0" y="1"/>
516 </Offset>
517 </Anchor>
518 </Anchors>
519 </Button>
520 <Button name="$parent_Title11" inherits="UberQuest_TitleButtonTemplate" id="11" hidden="true">
521 <Anchors>
522 <Anchor point="TOPLEFT" relativeTo="$parent_Title10" relativePoint="BOTTOMLEFT">
523 <Offset>
524 <AbsDimension x="0" y="1"/>
525 </Offset>
526 </Anchor>
527 </Anchors>
528 </Button>
529 <Button name="$parent_Title12" inherits="UberQuest_TitleButtonTemplate" id="12" hidden="true">
530 <Anchors>
531 <Anchor point="TOPLEFT" relativeTo="$parent_Title11" relativePoint="BOTTOMLEFT">
532 <Offset>
533 <AbsDimension x="0" y="1"/>
534 </Offset>
535 </Anchor>
536 </Anchors>
537 </Button>
538 <Button name="$parent_Title13" inherits="UberQuest_TitleButtonTemplate" id="13" hidden="true">
539 <Anchors>
540 <Anchor point="TOPLEFT" relativeTo="$parent_Title12" relativePoint="BOTTOMLEFT">
541 <Offset>
542 <AbsDimension x="0" y="1"/>
543 </Offset>
544 </Anchor>
545 </Anchors>
546 </Button>
547 <Button name="$parent_Title14" inherits="UberQuest_TitleButtonTemplate" id="14" hidden="true">
548 <Anchors>
549 <Anchor point="TOPLEFT" relativeTo="$parent_Title13" relativePoint="BOTTOMLEFT">
550 <Offset>
551 <AbsDimension x="0" y="1"/>
552 </Offset>
553 </Anchor>
554 </Anchors>
555 </Button>
556 <Button name="$parent_Title15" inherits="UberQuest_TitleButtonTemplate" id="15" hidden="true">
557 <Anchors>
558 <Anchor point="TOPLEFT" relativeTo="$parent_Title14" relativePoint="BOTTOMLEFT">
559 <Offset>
560 <AbsDimension x="0" y="1"/>
561 </Offset>
562 </Anchor>
563 </Anchors>
564 </Button>
565 <Button name="$parent_Title16" inherits="UberQuest_TitleButtonTemplate" id="16" hidden="true">
566 <Anchors>
567 <Anchor point="TOPLEFT" relativeTo="$parent_Title15" relativePoint="BOTTOMLEFT">
568 <Offset>
569 <AbsDimension x="0" y="1"/>
570 </Offset>
571 </Anchor>
572 </Anchors>
573 </Button>
574 <Button name="$parent_Title17" inherits="UberQuest_TitleButtonTemplate" id="17" hidden="true">
575 <Anchors>
576 <Anchor point="TOPLEFT" relativeTo="$parent_Title16" relativePoint="BOTTOMLEFT">
577 <Offset>
578 <AbsDimension x="0" y="1"/>
579 </Offset>
580 </Anchor>
581 </Anchors>
582 </Button>
583 <Button name="$parent_Title18" inherits="UberQuest_TitleButtonTemplate" id="18" hidden="true">
584 <Anchors>
585 <Anchor point="TOPLEFT" relativeTo="$parent_Title17" relativePoint="BOTTOMLEFT">
586 <Offset>
587 <AbsDimension x="0" y="1"/>
588 </Offset>
589 </Anchor>
590 </Anchors>
591 </Button>
592 <Button name="$parent_Title19" inherits="UberQuest_TitleButtonTemplate" id="19" hidden="true">
593 <Anchors>
594 <Anchor point="TOPLEFT" relativeTo="$parent_Title18" relativePoint="BOTTOMLEFT">
595 <Offset>
596 <AbsDimension x="0" y="1"/>
597 </Offset>
598 </Anchor>
599 </Anchors>
600 </Button>
601 <Button name="$parent_Title20" inherits="UberQuest_TitleButtonTemplate" id="20" hidden="true">
602 <Anchors>
603 <Anchor point="TOPLEFT" relativeTo="$parent_Title19" relativePoint="BOTTOMLEFT">
604 <Offset>
605 <AbsDimension x="0" y="1"/>
606 </Offset>
607 </Anchor>
608 </Anchors>
609 </Button>
610 <Button name="$parent_Title21" inherits="UberQuest_TitleButtonTemplate" id="21" hidden="true">
611 <Anchors>
612 <Anchor point="TOPLEFT" relativeTo="$parent_Title20" relativePoint="BOTTOMLEFT">
613 <Offset>
614 <AbsDimension x="0" y="1"/>
615 </Offset>
616 </Anchor>
617 </Anchors>
618 </Button>
619 <Button name="$parent_Title22" inherits="UberQuest_TitleButtonTemplate" id="22" hidden="true">
620 <Anchors>
621 <Anchor point="TOPLEFT" relativeTo="$parent_Title21" relativePoint="BOTTOMLEFT">
622 <Offset>
623 <AbsDimension x="0" y="1"/>
624 </Offset>
625 </Anchor>
626 </Anchors>
627 </Button>
628 <Frame name="$parent_ExpandButtonFrame">
629 <Size>
630 <AbsDimension x="54" y="32"/>
631 </Size>
632 <Anchors>
633 <Anchor point="TOPLEFT">
634 <Offset>
635 <AbsDimension x="70" y="-48"/>
636 </Offset>
637 </Anchor>
638 </Anchors>
639 <Frames>
640 <Button name="$parent_CollapseAllButton" hidden="false" inherits="QuestLogTitleButtonTemplate">
641 <Size>
642 <AbsDimension x="40" y="22"/>
643 </Size>
644 <Anchors>
645 <Anchor point="TOPLEFT">
646 <Offset>
647 <AbsDimension x="0" y="-2"/>
648 </Offset>
649 </Anchor>
650 </Anchors>
651 <Layers>
652 <Layer level="BACKGROUND">
653 <Texture name="$parent_ExpandTabLeft" file="Interface\QuestFrame\UI-QuestLogSortTab-Left">
654 <Size>
655 <AbsDimension x="8" y="32"/>
656 </Size>
657 <Anchors>
658 <Anchor point="TOPLEFT">
659 <Offset>
660 <AbsDimension x="-6" y="8"/>
661 </Offset>
662 </Anchor>
663 </Anchors>
664 </Texture>
665 <Texture name="$parent_ExpandTabMiddle" file="Interface\QuestFrame\UI-QuestLogSortTab-Middle">
666 <Size>
667 <AbsDimension x="38" y="32"/>
668 </Size>
669 <Anchors>
670 <Anchor point="LEFT" relativeTo="$parent_ExpandTabLeft" relativePoint="RIGHT">
671 <Offset>
672 <AbsDimension x="0" y="0"/>
673 </Offset>
674 </Anchor>
675 </Anchors>
676 </Texture>
677 <Texture file="Interface\QuestFrame\UI-QuestLogSortTab-Right">
678 <Size>
679 <AbsDimension x="8" y="32"/>
680 </Size>
681 <Anchors>
682 <Anchor point="LEFT" relativeTo="$parent_ExpandTabMiddle" relativePoint="RIGHT"/>
683 </Anchors>
684 </Texture>
685 </Layer>
686 </Layers>
687 <Scripts>
688 <OnLoad>
689 getglobal(this:GetName()):SetText(ALL)
690 </OnLoad>
691 <OnClick>
692 QuestLogCollapseAllButton_OnClick()
693 </OnClick>
694 <OnEnter>
695 --
696 </OnEnter>
697 <OnLeave>
698 --
699 </OnLeave>
700 </Scripts>
701 </Button>
702 </Frames>
703 </Frame>
704 <Frame name="UberQuest_Details" hidden="true">
705 <Size>
706 <AbsDimension x="384" y="512"/>
707 </Size>
708 <Anchors>
709 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
710 <Offset>
711 <AbsDimension x="-50" y="6"/>
712 </Offset>
713 </Anchor>
714 </Anchors>
715 <HitRectInsets>
716 <AbsInset left="0" right="30" top="0" bottom="45"/>
717 </HitRectInsets>
718 <Layers>
719 <Layer level="ARTWORK">
720 <FontString name="$parent_Title" inherits="GameFontNormal">
721 <Anchors>
722 <Anchor point="TOP">
723 <Offset>
724 <AbsDimension x="0" y="-20"/>
725 </Offset>
726 </Anchor>
727 </Anchors>
728 </FontString>
729 <Texture file="Interface\QuestFrame\UI-QuestLog-BookIcon">
730 <Size>
731 <AbsDimension x="60" y="60"/>
732 </Size>
733 <Anchors>
734 <Anchor point="TOPLEFT">
735 <Offset>
736 <AbsDimension x="7" y="-6"/>
737 </Offset>
738 </Anchor>
739 </Anchors>
740 </Texture>
741 <Texture name="$parentTopLeft" file="Interface\QuestFrame\UI-QuestGreeting-TopLeft">
742 <Size>
743 <AbsDimension x="256" y="256"/>
744 </Size>
745 <Anchors>
746 <Anchor point="TOPLEFT"/>
747 </Anchors>
748 </Texture>
749 <Texture name="$parentTopRight" file="Interface\QuestFrame\UI-QuestGreeting-TopRight">
750 <Size>
751 <AbsDimension x="128" y="256"/>
752 </Size>
753 <Anchors>
754 <Anchor point="TOPRIGHT"/>
755 </Anchors>
756 </Texture>
757 <Texture name="$parentBottomLeft" file="Interface\QuestFrame\UI-QuestGreeting-BotLeft">
758 <Size>
759 <AbsDimension x="256" y="256"/>
760 </Size>
761 <Anchors>
762 <Anchor point="BOTTOMLEFT"/>
763 </Anchors>
764 </Texture>
765 <Texture name="$parentBottomRight" file="Interface\QuestFrame\UI-QuestGreeting-BotRight">
766 <Size>
767 <AbsDimension x="128" y="256"/>
768 </Size>
769 <Anchors>
770 <Anchor point="BOTTOMRIGHT"/>
771 </Anchors>
772 </Texture>
773 <Texture file="Interface\QuestFrame\UI-Quest-BotLeftPatch">
774 <Size>
775 <AbsDimension x="128" y="64" />
776 </Size>
777 <Anchors>
778 <Anchor point="BOTTOMLEFT">
779 <Offset>
780 <AbsDimension x="22" y="68" />
781 </Offset>
782 </Anchor>
783 </Anchors>
784 </Texture>
785 </Layer>
786 </Layers>
787 <Frames>
788 <Button name="$parent_CloseButton" inherits="UIPanelCloseButton">
789 <Anchors>
790 <Anchor point="TOPRIGHT">
791 <Offset>
792 <AbsDimension x="-26" y="-15"/>
793 </Offset>
794 </Anchor>
795 </Anchors>
796 <Scripts>
797 <OnClick>
798 UberQuest_DetailsShowHide()
799 </OnClick>
800 </Scripts>
801 </Button>
802 <Button name="$parent_Exit" inherits="UIPanelButtonTemplate" text="CLOSE">
803 <Size>
804 <AbsDimension x="78" y="22" />
805 </Size>
806 <Anchors>
807 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
808 <Offset>
809 <AbsDimension x="-39" y="73" />
810 </Offset>
811 </Anchor>
812 </Anchors>
813 <Scripts>
814 <OnClick>
815 HideUIPanel(UberQuest_Details)
816 </OnClick>
817 </Scripts>
818 </Button>
819 <!--Details-->
820 <ScrollFrame name="$parent_Scroll" inherits="UIPanelScrollFrameTemplate">
821 <Size>
822 <AbsDimension x="300" y="334"/>
823 </Size>
824 <Anchors>
825 <Anchor point="TOPLEFT">
826 <Offset>
827 <AbsDimension x="23" y="-81"/>
828 </Offset>
829 </Anchor>
830 </Anchors>
831 <ScrollChild>
832 <Frame name="$parentChild">
833 <Size>
834 <AbsDimension x="300" y="334"/>
835 </Size>
836 <Layers>
837 <Layer level="BACKGROUND">
838 <FontString name="$parent_QuestTitle" inherits="QuestTitleFont" justifyH="LEFT" text="Quest title">
839 <Size>
840 <AbsDimension x="285" y="0"/>
841 </Size>
842 <Anchors>
843 <Anchor point="TOPLEFT">
844 <Offset>
845 <AbsDimension x="5" y="-5"/>
846 </Offset>
847 </Anchor>
848 </Anchors>
849 </FontString>
850 <FontString name="$parent_ObjectivesText" inherits="QuestFont" justifyH="LEFT">
851 <Size>
852 <AbsDimension x="275" y="0"/>
853 </Size>
854 <Anchors>
855 <Anchor point="TOPLEFT" relativeTo="$parent_QuestTitle" relativePoint="BOTTOMLEFT">
856 <Offset>
857 <AbsDimension x="0" y="-5"/>
858 </Offset>
859 </Anchor>
860 </Anchors>
861 </FontString>
862 <FontString name="$parent_TimerText" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
863 <Size>
864 <AbsDimension x="285" y="0"/>
865 </Size>
866 <Anchors>
867 <Anchor point="TOPLEFT" relativeTo="$parent_ObjectivesText" relativePoint="BOTTOMLEFT">
868 <Offset>
869 <AbsDimension x="0" y="-10"/>
870 </Offset>
871 </Anchor>
872 </Anchors>
873 </FontString>
874 <FontString name="$parent_Objective1" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
875 <Size>
876 <AbsDimension x="285" y="0"/>
877 </Size>
878 <Anchors>
879 <Anchor point="TOPLEFT" relativeTo="$parent_TimerText" relativePoint="BOTTOMLEFT">
880 <Offset>
881 <AbsDimension x="0" y="-10"/>
882 </Offset>
883 </Anchor>
884 </Anchors>
885 </FontString>
886 <FontString name="$parent_Objective2" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
887 <Size>
888 <AbsDimension x="285" y="0"/>
889 </Size>
890 <Anchors>
891 <Anchor point="TOPLEFT" relativeTo="$parent_Objective1" relativePoint="BOTTOMLEFT">
892 <Offset>
893 <AbsDimension x="0" y="-2"/>
894 </Offset>
895 </Anchor>
896 </Anchors>
897 </FontString>
898 <FontString name="$parent_Objective3" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
899 <Size>
900 <AbsDimension x="285" y="0"/>
901 </Size>
902 <Anchors>
903 <Anchor point="TOPLEFT" relativeTo="$parent_Objective2" relativePoint="BOTTOMLEFT">
904 <Offset>
905 <AbsDimension x="0" y="-2"/>
906 </Offset>
907 </Anchor>
908 </Anchors>
909 </FontString>
910 <FontString name="$parent_Objective4" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
911 <Size>
912 <AbsDimension x="285" y="0"/>
913 </Size>
914 <Anchors>
915 <Anchor point="TOPLEFT" relativeTo="$parent_Objective3" relativePoint="BOTTOMLEFT">
916 <Offset>
917 <AbsDimension x="0" y="-2"/>
918 </Offset>
919 </Anchor>
920 </Anchors>
921 </FontString>
922 <FontString name="$parent_Objective5" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
923 <Size>
924 <AbsDimension x="285" y="0"/>
925 </Size>
926 <Anchors>
927 <Anchor point="TOPLEFT" relativeTo="$parent_Objective4" relativePoint="BOTTOMLEFT">
928 <Offset>
929 <AbsDimension x="0" y="-2"/>
930 </Offset>
931 </Anchor>
932 </Anchors>
933 </FontString>
934 <FontString name="$parent_Objective6" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
935 <Size>
936 <AbsDimension x="285" y="0"/>
937 </Size>
938 <Anchors>
939 <Anchor point="TOPLEFT" relativeTo="$parent_Objective5" relativePoint="BOTTOMLEFT">
940 <Offset>
941 <AbsDimension x="0" y="-2"/>
942 </Offset>
943 </Anchor>
944 </Anchors>
945 </FontString>
946 <FontString name="$parent_Objective7" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
947 <Size>
948 <AbsDimension x="285" y="0"/>
949 </Size>
950 <Anchors>
951 <Anchor point="TOPLEFT" relativeTo="$parent_Objective6" relativePoint="BOTTOMLEFT">
952 <Offset>
953 <AbsDimension x="0" y="-2"/>
954 </Offset>
955 </Anchor>
956 </Anchors>
957 </FontString>
958 <FontString name="$parent_Objective8" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
959 <Size>
960 <AbsDimension x="285" y="0"/>
961 </Size>
962 <Anchors>
963 <Anchor point="TOPLEFT" relativeTo="$parent_Objective7" relativePoint="BOTTOMLEFT">
964 <Offset>
965 <AbsDimension x="0" y="-2"/>
966 </Offset>
967 </Anchor>
968 </Anchors>
969 </FontString>
970 <FontString name="$parent_Objective9" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
971 <Size>
972 <AbsDimension x="285" y="0"/>
973 </Size>
974 <Anchors>
975 <Anchor point="TOPLEFT" relativeTo="$parent_Objective8" relativePoint="BOTTOMLEFT">
976 <Offset>
977 <AbsDimension x="0" y="-2"/>
978 </Offset>
979 </Anchor>
980 </Anchors>
981 </FontString>
982 <FontString name="$parent_Objective10" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
983 <Size>
984 <AbsDimension x="285" y="0"/>
985 </Size>
986 <Anchors>
987 <Anchor point="TOPLEFT" relativeTo="$parent_Objective9" relativePoint="BOTTOMLEFT">
988 <Offset>
989 <AbsDimension x="0" y="-2"/>
990 </Offset>
991 </Anchor>
992 </Anchors>
993 </FontString>
994 <FontString name="$parent_RequiredMoneyText" inherits="QuestFontNormalSmall" text="REQUIRED_MONEY">
995 <Anchors>
996 <Anchor point="TOPLEFT"/>
997 </Anchors>
998 </FontString>
999 <FontString name="$parent_DescriptionTitle" inherits="QuestTitleFont" justifyH="LEFT" text="QUEST_DESCRIPTION">
1000 <Size>
1001 <AbsDimension x="285" y="0"/>
1002 </Size>
1003 <Anchors>
1004 <Anchor point="TOPLEFT" relativeTo="$parent_Objective10" relativePoint="BOTTOMLEFT">
1005 <Offset>
1006 <AbsDimension x="0" y="-10"/>
1007 </Offset>
1008 </Anchor>
1009 </Anchors>
1010 </FontString>
1011 <FontString name="$parent_QuestDescription" inherits="QuestFont" justifyH="LEFT">
1012 <Size>
1013 <AbsDimension x="270" y="0"/>
1014 </Size>
1015 <Anchors>
1016 <Anchor point="TOPLEFT" relativeTo="$parent_DescriptionTitle" relativePoint="BOTTOMLEFT">
1017 <Offset>
1018 <AbsDimension x="0" y="-5"/>
1019 </Offset>
1020 </Anchor>
1021 </Anchors>
1022 </FontString>
1023 <FontString name="$parent_RewardTitleText" inherits="QuestTitleFont" text="QUEST_REWARDS" justifyH="LEFT">
1024 <Size>
1025 <AbsDimension x="300" y="18"/>
1026 </Size>
1027 <Anchors>
1028 <Anchor point="TOPLEFT" relativeTo="$parent_QuestDescription" relativePoint="BOTTOMLEFT">
1029 <Offset>
1030 <AbsDimension x="0" y="-15"/>
1031 </Offset>
1032 </Anchor>
1033 </Anchors>
1034 </FontString>
1035 <FontString name="$parent_ItemChooseText" inherits="QuestFont" text="REWARD_CHOICES" hidden="true" justifyH="LEFT">
1036 <Size>
1037 <AbsDimension x="295" y="0"/>
1038 </Size>
1039 <Anchors>
1040 <Anchor point="TOPLEFT" relativeTo="$parent_RewardTitleText" relativePoint="BOTTOMLEFT">
1041 <Offset>
1042 <AbsDimension x="0" y="-5"/>
1043 </Offset>
1044 </Anchor>
1045 </Anchors>
1046 </FontString>
1047 <FontString name="$parent_ItemReceiveText" inherits="QuestFont" text="Reward receive text" hidden="true" justifyH="LEFT">
1048 <Anchors>
1049 <Anchor point="TOPLEFT"/>
1050 </Anchors>
1051 </FontString>
1052 </Layer>
1053 </Layers>
1054 <Frames>
1055 <Button name="$parent_Item1" inherits="QuestLogRewardItemTemplate" hidden="true">
1056 <Anchors>
1057 <Anchor point="TOPLEFT"/>
1058 </Anchors>
1059 </Button>
1060 <Button name="$parent_Item2" inherits="QuestLogRewardItemTemplate" hidden="true">
1061 <Anchors>
1062 <Anchor point="TOPLEFT"/>
1063 </Anchors>
1064 </Button>
1065 <Button name="$parent_Item3" inherits="QuestLogRewardItemTemplate" hidden="true">
1066 <Anchors>
1067 <Anchor point="TOPLEFT"/>
1068 </Anchors>
1069 </Button>
1070 <Button name="$parent_Item4" inherits="QuestLogRewardItemTemplate" hidden="true">
1071 <Anchors>
1072 <Anchor point="TOPLEFT"/>
1073 </Anchors>
1074 </Button>
1075 <Button name="$parent_Item5" inherits="QuestLogRewardItemTemplate" hidden="true">
1076 <Anchors>
1077 <Anchor point="TOPLEFT"/>
1078 </Anchors>
1079 </Button>
1080 <Button name="$parent_Item6" inherits="QuestLogRewardItemTemplate" hidden="true">
1081 <Anchors>
1082 <Anchor point="TOPLEFT"/>
1083 </Anchors>
1084 </Button>
1085 <Button name="$parent_Item7" inherits="QuestLogRewardItemTemplate" hidden="true">
1086 <Anchors>
1087 <Anchor point="TOPLEFT"/>
1088 </Anchors>
1089 </Button>
1090 <Button name="$parent_Item8" inherits="QuestLogRewardItemTemplate" hidden="true">
1091 <Anchors>
1092 <Anchor point="TOPLEFT"/>
1093 </Anchors>
1094 </Button>
1095 <Button name="$parent_Item9" inherits="QuestLogRewardItemTemplate" hidden="true">
1096 <Anchors>
1097 <Anchor point="TOPLEFT"/>
1098 </Anchors>
1099 </Button>
1100 <Button name="$parent_Item10" inherits="QuestLogRewardItemTemplate" hidden="true">
1101 <Anchors>
1102 <Anchor point="TOPLEFT"/>
1103 </Anchors>
1104 </Button>
1105 <Frame name="$parent_MoneyFrame" inherits="MoneyFrameTemplate">
1106 <Anchors>
1107 <Anchor point="LEFT" relativeTo="$parent_ItemReceiveText" relativePoint="RIGHT">
1108 <Offset>
1109 <AbsDimension x="15" y="0"/>
1110 </Offset>
1111 </Anchor>
1112 </Anchors>
1113 <Scripts>
1114 <OnLoad>
1115 QuestMoneyFrame_OnLoad()
1116 </OnLoad>
1117 </Scripts>
1118 </Frame>
1119 <Frame name="$parent_RequiredMoneyFrame" inherits="MoneyFrameTemplate">
1120 <Anchors>
1121 <Anchor point="LEFT" relativeTo="$parent_RequiredMoneyText" relativePoint="RIGHT">
1122 <Offset>
1123 <AbsDimension x="10" y="0"/>
1124 </Offset>
1125 </Anchor>
1126 </Anchors>
1127 <Scripts>
1128 <OnLoad>
1129 SmallMoneyFrame_OnLoad()
1130 MoneyFrame_SetType("STATIC")
1131 </OnLoad>
1132 </Scripts>
1133 </Frame>
1134 <Frame name="$parent_SpacerFrame">
1135 <Size>
1136 <AbsDimension x="5" y="25"/>
1137 </Size>
1138 <Anchors>
1139 <Anchor point="TOP">
1140 <Offset>
1141 <AbsDimension x="0" y="0"/>
1142 </Offset>
1143 </Anchor>
1144 </Anchors>
1145 </Frame>
1146 </Frames>
1147 </Frame>
1148 </ScrollChild>
1149 </ScrollFrame>
1150 </Frames>
1151 </Frame>
1152 <Frame name="UberQuest_ConfigFrame" hidden="true" frameStrata="HIGH">
1153 <Size>
1154 <AbsDimension x="250" y="270"/> <!-- EMERALD -->
1155 </Size>
1156 <Anchors>
1157 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
1158 <Offset>
1159 <AbsDimension x="-30" y="-30"/>
1160 </Offset>
1161 </Anchor>
1162 </Anchors>
1163 <Layers>
1164 <Layer level="BACKGROUND">
1165 <Texture file="Interface\RaidFrame\UI-RaidFrame-GroupBg">
1166 <Anchors>
1167 <Anchor point="TOPLEFT">
1168 <Offset>
1169 <AbsDimension x="5" y="-5"/>
1170 </Offset>
1171 </Anchor>
1172 <Anchor point="BOTTOMRIGHT">
1173 <Offset>
1174 <AbsDimension x="-5" y="5"/>
1175 </Offset>
1176 </Anchor>
1177 </Anchors>
1178 </Texture>
1179 </Layer>
1180 </Layers>
1181 <Frames>
1182 <Frame name="$parentBackdrop" frameStrata="BACKGROUND" setAllPoints="true">
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:SetFrameLevel("1")
1197 this:SetBackdropBorderColor(
1198 TOOLTIP_DEFAULT_COLOR.r,
1199 TOOLTIP_DEFAULT_COLOR.g,
1200 TOOLTIP_DEFAULT_COLOR.b)
1201 this:SetBackdropColor(
1202 TOOLTIP_DEFAULT_BACKGROUND_COLOR.r,
1203 TOOLTIP_DEFAULT_BACKGROUND_COLOR.g,
1204 TOOLTIP_DEFAULT_BACKGROUND_COLOR.b)
1205 </OnLoad>
1206 </Scripts>
1207 </Frame>
1208 <CheckButton name="$parent_ShowQuestLevels" inherits="OptionsCheckButtonTemplate" id="1">
1209 <Anchors>
1210 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
1211 <Offset>
1212 <AbsDimension x="5" y="-5"/>
1213 </Offset>
1214 </Anchor>
1215 </Anchors>
1216 <Scripts>
1217 <OnLoad>
1218 getglobal(this:GetName().."Text"):SetText(UBERQUEST_QLEVELS)
1219 this.tooltipText=UBERQUEST_QLEVELS_TOOLTIP
1220 </OnLoad>
1221 <OnClick>
1222 if (this:GetChecked()) then
1223 UberQuest_Config.showquestlevels = 1
1224 else
1225 UberQuest_Config.showquestlevels = nil
1226 end
1227 UberQuest_Config_Update()
1228 UberQuest_List_Update()
1229 UberQuest_Minion_Update()
1230 </OnClick>
1231 </Scripts>
1232 </CheckButton>
1233 <CheckButton name="$parent_UseMinion" inherits="OptionsCheckButtonTemplate" id="1">
1234 <Anchors>
1235 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ShowQuestLevels">
1236 <Offset>
1237 <AbsDimension x="0" y="10"/>
1238 </Offset>
1239 </Anchor>
1240 </Anchors>
1241 <Scripts>
1242 <OnLoad>
1243 getglobal(this:GetName().."Text"):SetText(UBERQUEST_QMINION)
1244 this.tooltipText=UBERQUEST_QMINION_TOOLTIP
1245 </OnLoad>
1246 <OnClick>
1247 if (this:GetChecked()) then
1248 UberQuest_Config.useminion = 1
1249 UberQuest_Minion_OnOff(true)
1250 else
1251 UberQuest_Config.useminion = nil
1252 UberQuest_Minion_OnOff(nil)
1253 end
1254 UberQuest_Config_Update()
1255 UberQuest_List_Update()
1256 </OnClick>
1257 </Scripts>
1258 </CheckButton>
1259 <CheckButton name="$parent_LockMinion" inherits="OptionsCheckButtonTemplate" id="1">
1260 <Anchors>
1261 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_UseMinion">
1262 <Offset>
1263 <AbsDimension x="0" y="10"/>
1264 </Offset>
1265 </Anchor>
1266 </Anchors>
1267 <Scripts>
1268 <OnLoad>
1269 getglobal(this:GetName().."Text"):SetText(UBERQUEST_LMINION)
1270 this.tooltipText=UBERQUEST_LMINION_TOOLTIP
1271 </OnLoad>
1272 <OnClick>
1273 if (this:GetChecked()) then
1274 UberQuest_Config[UberQuest_Player].lockminion = 1
1275 UberQuest_Minion_Move:Hide()
1276 else
1277 UberQuest_Config[UberQuest_Player].lockminion = nil
1278 UberQuest_Minion_Move:Show()
1279 end
1280 UberQuest_Config_Update()
1281 </OnClick>
1282 </Scripts>
1283 </CheckButton>
1284 <CheckButton name="$parent_MinionAddNew" inherits="OptionsCheckButtonTemplate" id="1">
1285 <Anchors>
1286 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_LockMinion">
1287 <Offset>
1288 <AbsDimension x="0" y="10"/>
1289 </Offset>
1290 </Anchor>
1291 </Anchors>
1292 <Scripts>
1293 <OnLoad>
1294 getglobal(this:GetName().."Text"):SetText(UBERQUEST_ADD_QMINION)
1295 this.tooltipText=UBERQUEST_ADD_QMINION_TOOLTIP
1296 </OnLoad>
1297 <OnClick>
1298 if (this:GetChecked()) then
1299 UberQuest_Config.addnewquests = 1
1300 else
1301 UberQuest_Config.addnewquests = nil
1302 end
1303 UberQuest_Config_Update()
1304 </OnClick>
1305 </Scripts>
1306 </CheckButton>
1307 <CheckButton name="$parent_ToggleMinionText" inherits="OptionsCheckButtonTemplate" id="1">
1308 <Anchors>
1309 <Anchor point="TOP" relativeTo="$parent_MinionAddNew" relativePoint="BOTTOM">
1310 <Offset>
1311 <AbsDimension x="0" y="10" />
1312 </Offset>
1313 </Anchor>
1314 </Anchors>
1315 <Scripts>
1316 <OnLoad>
1317 getglobal(this:GetName().."Text"):SetText(UBERQUEST_NOTEXT)
1318 this.tooltipText = UBERQUEST_NOTEXT_TOOLTIP
1319 </OnLoad>
1320 <OnClick>
1321 if (this:GetChecked()) then
1322 UberQuest_Config[UberQuest_Player].hidetext = 1
1323 else
1324 UberQuest_Config[UberQuest_Player].hidetext = nil
1325 end
1326 UberQuest_Config_Update()
1327 UberQuest_Minion_Update()
1328 </OnClick>
1329 </Scripts>
1330 </CheckButton>
1331 <CheckButton name="$parent_ExpireQuest" inherits="OptionsCheckButtonTemplate" id="1"> <!-- EMERALD START -->
1332 <Anchors>
1333 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ToggleMinionText">
1334 <Offset>
1335 <AbsDimension x="0" y="10"/>
1336 </Offset>
1337 </Anchor>
1338 </Anchors>
1339 <Scripts>
1340 <OnLoad>
1341 getglobal(this:GetName().."Text"):SetText(UBERQUEST_COQ_MINION)
1342 this.tooltipText=UBERQUEST_COQ_MINION_TOOLTIP
1343 </OnLoad>
1344 <OnClick>
1345 if (this:GetChecked()) then
1346 UberQuest_Config[UberQuest_Player].expirequests = 1
1347 else
1348 UberQuest_Config[UberQuest_Player].expirequests = nil
1349 end
1350 UberQuest_Config_Update()
1351 UberQuest_Minion_Update()
1352 </OnClick>
1353 </Scripts>
1354 </CheckButton>
1355 <CheckButton name="$parent_ExpireObjective" inherits="OptionsCheckButtonTemplate" id="1">
1356 <Anchors>
1357 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ExpireQuest">
1358 <Offset>
1359 <AbsDimension x="0" y="10"/>
1360 </Offset>
1361 </Anchor>
1362 </Anchors>
1363 <Scripts>
1364 <OnLoad>
1365 getglobal(this:GetName().."Text"):SetText(UBERQUEST_COMO_MINION)
1366 this.tooltipText=UBERQUEST_COMO_MINION_TOOLTIP
1367 </OnLoad>
1368 <OnClick>
1369 if (this:GetChecked()) then
1370 UberQuest_Config[UberQuest_Player].expireobjectives = 1
1371 else
1372 UberQuest_Config[UberQuest_Player].expireobjectives = nil
1373 end
1374 UberQuest_Config_Update()
1375 UberQuest_Minion_Update()
1376 </OnClick>
1377 </Scripts>
1378 </CheckButton> <!-- EMERALD END -->
1379 <CheckButton name="$parent_ColorizeObjective" inherits="OptionsCheckButtonTemplate" id="1">
1380 <Anchors>
1381 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ExpireObjective"> <!-- EMERALD -->
1382 <Offset>
1383 <AbsDimension x="0" y="10"/>
1384 </Offset>
1385 </Anchor>
1386 </Anchors>
1387 <Scripts>
1388 <OnLoad>
1389 getglobal(this:GetName().."Text"):SetText(UBERQUEST_COL_MINION)
1390 this.tooltipText=UBERQUEST_COL_MINION_TOOLTIP
1391 </OnLoad>
1392 <OnClick>
1393 if (this:GetChecked()) then
1394 UberQuest_Config[UberQuest_Player].colorizeobjectives = 1
1395 else
1396 UberQuest_Config[UberQuest_Player].colorizeobjectives = nil
1397 end
1398 UberQuest_Config_Update()
1399 UberQuest_Minion_Update()
1400 </OnClick>
1401 </Scripts>
1402 </CheckButton>
1403  
1404  
1405  
1406 <Button name="$parent_BGColor">
1407 <Size>
1408 <AbsDimension x="32" y="32"/>
1409 </Size>
1410 <Anchors>
1411 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ColorizeObjective">
1412 <Offset>
1413 <AbsDimension x="0" y="10"/>
1414 </Offset>
1415 </Anchor>
1416 </Anchors>
1417 <Layers>
1418 <Layer level="BACKGROUND">
1419 <Texture name="$parentSwatchBg">
1420 <Size>
1421 <AbsDimension x="14" y="14"/>
1422 </Size>
1423 <Anchors>
1424 <Anchor point="CENTER">
1425 <Offset>
1426 <AbsDimension x="0" y="0"/>
1427 </Offset>
1428 </Anchor>
1429 </Anchors>
1430 <Color r="1" g="1" b="1"/>
1431 </Texture>
1432 </Layer>
1433 <Layer level="ARTWORK">
1434 <FontString name="$parentText" inherits="GameFontNormalSmall">
1435 <Anchors>
1436 <Anchor point="LEFT" relativePoint="RIGHT">
1437 <Offset>
1438 <AbsDimension x="-2" y="0"/>
1439 </Offset>
1440 </Anchor>
1441 </Anchors>
1442 </FontString>
1443 </Layer>
1444 </Layers>
1445 <Scripts>
1446 <OnLoad>
1447 getglobal(this:GetName().."Text"):SetText(UBERQUEST_BG_MINION)
1448 </OnLoad>
1449 <OnClick>
1450 UberQuest_Minion_ColorPick()
1451 </OnClick>
1452 <OnEnter>
1453 getglobal(this:GetName().."SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b)
1454 </OnEnter>
1455 <OnLeave>
1456 if (UberQuest_Config.color) then
1457 getglobal(this:GetName().."SwatchBg"):SetVertexColor(UberQuest_Config.color.r, UberQuest_Config.color.g, UberQuest_Config.color.b)
1458 else
1459 getglobal(this:GetName().."SwatchBg"):SetVertexColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b)
1460 end
1461 </OnLeave>
1462 </Scripts>
1463 </Button>
1464  
1465  
1466 <Slider name="UberMinionScale" inherits="OptionsSliderTemplate">
1467 <Size>
1468 <AbsDimension x="180" y="16"/>
1469 </Size>
1470 <Anchors>
1471 <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parent">
1472 <Offset>
1473 <AbsDimension x="0" y="37"/>
1474 </Offset>
1475 </Anchor>
1476 </Anchors>
1477 <Scripts>
1478 <OnLoad>
1479  
1480 getglobal(this:GetName().."Text"):SetText(UBERQUEST_MINIONSCALE.." ["..this:GetValue().."%]")
1481 this.tooltipText=UBERQUEST_MINIONSCALE_TOOLTIP
1482 getglobal(this:GetName().."High"):SetText()
1483 getglobal(this:GetName().."Low"):SetText()
1484 UberMinionScale:SetMinMaxValues(50,150)
1485 UberMinionScale:SetValueStep(1)
1486 </OnLoad>
1487 <OnValueChanged>
1488 UberMinion_Scale_Update()
1489 getglobal(this:GetName().."Text"):SetText(UBERQUEST_MINIONSCALE.." ["..this:GetValue().."%]")
1490  
1491 </OnValueChanged>
1492 </Scripts>
1493 </Slider>
1494  
1495 <Button name="$parent_ResetMinion" inherits="UIPanelButtonTemplate" text="UBERQUEST_MINIONREST">
1496 <Size>
1497 <AbsDimension x="125" y="21"/>
1498 </Size>
1499 <Anchors>
1500 <Anchor point="BOTTOMRIGHT">
1501 <Offset>
1502 <AbsDimension x="0" y="5"/>
1503 </Offset>
1504 </Anchor>
1505 </Anchors>
1506 <Scripts>
1507 <OnClick>
1508 UberQuest_Minion_Reset()
1509 </OnClick>
1510 </Scripts>
1511 </Button>
1512  
1513 <Button name="$parent_CloseButton" inherits="UIPanelButtonTemplate" text="UBERQUEST_SAVE">
1514 <Size>
1515 <AbsDimension x="125" y="21"/>
1516 </Size>
1517 <Anchors>
1518 <Anchor point="BOTTOMLEFT">
1519 <Offset>
1520 <AbsDimension x="0" y="5"/>
1521 </Offset>
1522 </Anchor>
1523 </Anchors>
1524 <Scripts>
1525 <OnClick>
1526 UberQuest_ConfigShowHide()
1527 </OnClick>
1528 </Scripts>
1529 </Button>
1530  
1531 </Frames>
1532 </Frame>
1533 </Frames>
1534 </Frame>
1535 <Frame name="UberQuest_Minion" toplevel="true" parent="UIParent" hidden="true" frameStrata="BACKGROUND" enableMouse="false" movable="true">
1536 <Size>
1537 <AbsDimension x="210" y="48"/>
1538 </Size>
1539 <Anchors>
1540 <Anchor point="CENTER">
1541 <Offset>
1542 <AbsDimension x="0" y="0"/>
1543 </Offset>
1544 </Anchor>
1545 </Anchors>
1546 <Frames>
1547 <Frame name="$parent_Move" enableMouse="true" setAllPoints="true">
1548 <Scripts>
1549 <OnLoad>
1550 this:RegisterForDrag("LeftButton", "RightButton")
1551 </OnLoad>
1552 <OnDragStart>
1553 UberQuest_Minion:StartMoving()
1554 </OnDragStart>
1555 <OnDragStop>
1556 UberQuest_Minion:StopMovingOrSizing()
1557 UberQuest_Minion_LockCornerForGrowth()
1558 </OnDragStop>
1559 </Scripts>
1560 </Frame>
1561 <Frame name="$parentBackdrop" frameStrata="BACKGROUND" setAllPoints="true">
1562 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
1563 <EdgeSize>
1564 <AbsValue val="16"/>
1565 </EdgeSize>
1566 <TileSize>
1567 <AbsValue val="16"/>
1568 </TileSize>
1569 <BackgroundInsets>
1570 <AbsInset left="5" right="5" top="5" bottom="5"/>
1571 </BackgroundInsets>
1572 </Backdrop>
1573 <Scripts>
1574 <OnLoad>
1575 this:SetFrameLevel("1")
1576 </OnLoad>
1577 </Scripts>
1578 </Frame>
1579 </Frames>
1580 <Layers>
1581 <Layer level="BACKGROUND">
1582 <FontString name="$parent_Text" inherits="GameTooltipText" justifyH="LEFT">
1583 <Anchors>
1584 <Anchor point="TOPLEFT">
1585 <Offset>
1586 <AbsDimension x="5" y="-5"/>
1587 </Offset>
1588 </Anchor>
1589 </Anchors>
1590 </FontString>
1591 </Layer>
1592 </Layers>
1593 </Frame>
1594 </Ui>