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 <Frame name="QuestHistoryOptionsFrame" frameStrata="DIALOG" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
4 <Size>
5 <AbsDimension x="384" y="512"/>
6 </Size>
7 <Anchors>
8 <Anchor point="TOPLEFT">
9 <Offset>
10 <AbsDimension x="0" y="-104"/>
11 </Offset>
12 </Anchor>
13 </Anchors>
14 <Backdrop name="QuestHistoryOptionsFrameBackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
15 <BackgroundInsets>
16 <AbsInset left="11" right="12" top="12" bottom="11"/>
17 </BackgroundInsets>
18 <TileSize>
19 <AbsValue val="32"/>
20 </TileSize>
21 <EdgeSize>
22 <AbsValue val="32"/>
23 </EdgeSize>
24 </Backdrop>
25 <Layers>
26 <Layer level="ARTWORK">
27 <Texture name="QuestHistoryOptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
28 <Size>
29 <AbsDimension x="320" y="64"/>
30 </Size>
31 <Anchors>
32 <Anchor point="TOP">
33 <Offset>
34 <AbsDimension x="0" y="12"/>
35 </Offset>
36 </Anchor>
37 </Anchors>
38 </Texture>
39 <FontString inherits="GameFontNormal" text="QUESTHISTORY_OPTIONS_MENU">
40 <Anchors>
41 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameHeader">
42 <Offset>
43 <AbsDimension x="0" y="-14"/>
44 </Offset>
45 </Anchor>
46 </Anchors>
47 </FontString>
48 </Layer>
49 </Layers>
50 <Frames>
51 <Frame name="QuestHistoryOptionsFrameShow" inherits="OptionFrameBoxTemplate">
52 <Size>
53 <AbsDimension x="359" y="66"/>
54 </Size>
55 <Anchors>
56 <Anchor point="TOPLEFT">
57 <Offset>
58 <AbsDimension x="12" y="-35"/>
59 </Offset>
60 </Anchor>
61 </Anchors>
62 <Frames>
63 <CheckButton name="QuestHistoryOptionsFrameCheckButton1" inherits="OptionsCheckButtonTemplate">
64 <Size>
65 <AbsDimension x="26" y="26"/>
66 </Size>
67 <Anchors>
68 <Anchor point="TOPLEFT">
69 <Offset>
70 <AbsDimension x="5" y="-5"/>
71 </Offset>
72 </Anchor>
73 </Anchors>
74 </CheckButton>
75 <CheckButton name="QuestHistoryOptionsFrameCheckButton2" inherits="OptionsCheckButtonTemplate">
76 <Size>
77 <AbsDimension x="26" y="26"/>
78 </Size>
79 <Anchors>
80 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton1" relativePoint="RIGHT">
81 <Offset>
82 <AbsDimension x="110" y="0"/>
83 </Offset>
84 </Anchor>
85 </Anchors>
86 </CheckButton>
87 <CheckButton name="QuestHistoryOptionsFrameCheckButton3" inherits="OptionsCheckButtonTemplate">
88 <Size>
89 <AbsDimension x="26" y="26"/>
90 </Size>
91 <Anchors>
92 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton2" relativePoint="RIGHT">
93 <Offset>
94 <AbsDimension x="100" y="0"/>
95 </Offset>
96 </Anchor>
97 </Anchors>
98 </CheckButton>
99 <Button name="QuestHistoryOptionsFrameAbandonedColorSwatch" inherits="QuestHistoryColorSwatchTemplate">
100 <Anchors>
101 <Anchor point="TOPLEFT" relativeTo="QuestHistoryOptionsFrameCheckButton1" relativePoint="BOTTOMLEFT">
102 <Offset>
103 <AbsDimension x="25" y="5"/>
104 </Offset>
105 </Anchor>
106 </Anchors>
107 <Scripts>
108 <OnShow>
109 QuestHistoryColorSwatch_OnShow("Abandoned");
110 </OnShow>
111 </Scripts>
112 </Button>
113 <Button name="QuestHistoryOptionsFrameCompletedColorSwatch" inherits="QuestHistoryColorSwatchTemplate">
114 <Anchors>
115 <Anchor point="TOPLEFT" relativeTo="QuestHistoryOptionsFrameCheckButton3" relativePoint="BOTTOMLEFT">
116 <Offset>
117 <AbsDimension x="25" y="5"/>
118 </Offset>
119 </Anchor>
120 </Anchors>
121 <Scripts>
122 <OnShow>
123 QuestHistoryColorSwatch_OnShow("Completed");
124 </OnShow>
125 </Scripts>
126 </Button>
127 <Frame name="QuestHistoryOptionsFrameCharacterDropDown" inherits="UIDropDownMenuTemplate" id="1">
128 <Anchors>
129 <Anchor point="TOPLEFT" relativeTo="QuestHistoryOptionsFrameCheckButton1" relativePoint="BOTTOMLEFT">
130 <Offset>
131 <AbsDimension x="90" y="0"/>
132 </Offset>
133 </Anchor>
134 </Anchors>
135 <Layers>
136 <Layer level="OVERLAY">
137 <FontString inherits="GameFontNormalSmall" text="QUESTHISTORY_CHARACTER_DROPDOWN_TEXT">
138 <Anchors>
139 <Anchor point="RIGHT" relativeTo="QuestHistoryOptionsFrameCharacterDropDown" relativePoint="LEFT">
140 <Offset>
141 <AbsDimension x="15" y="2"/>
142 </Offset>
143 </Anchor>
144 </Anchors>
145 </FontString>
146 </Layer>
147 </Layers>
148 <Scripts>
149 <OnShow>
150 QuestHistoryOptionsFrameCharacterDropDown_OnShow();
151 </OnShow>
152 <OnEnter>
153 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
154 GameTooltip:SetText(QUESTHISTORY_OPTION_TOOLTIP_SELECT_CHARACTER, nil, nil, nil, nil, 1);
155 </OnEnter>
156 <OnLeave>
157 GameTooltip:Hide();
158 </OnLeave>
159 </Scripts>
160 </Frame>
161 </Frames>
162 <Scripts>
163 <OnLoad>
164 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
165 this:SetBackdropColor(0.15, 0.15, 0.15);
166 getglobal(this:GetName().."Title"):SetText(QUESTHISTORY_SHOW);
167 </OnLoad>
168 </Scripts>
169 </Frame>
170 <Frame name="QuestHistoryOptionsFrameLog" inherits="OptionFrameBoxTemplate">
171 <Size>
172 <AbsDimension x="359" y="240"/>
173 </Size>
174 <Anchors>
175 <Anchor point="TOPLEFT" relativeTo="QuestHistoryOptionsFrameShow" relativePoint="BOTTOMLEFT">
176 <Offset>
177 <AbsDimension x="0" y="-15"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 <Frames>
182 <CheckButton name="QuestHistoryOptionsFrameCheckButton4" inherits="OptionsCheckButtonTemplate">
183 <Size>
184 <AbsDimension x="26" y="26"/>
185 </Size>
186 <Anchors>
187 <Anchor point="TOPLEFT">
188 <Offset>
189 <AbsDimension x="5" y="-5"/>
190 </Offset>
191 </Anchor>
192 </Anchors>
193 </CheckButton>
194 <CheckButton name="QuestHistoryOptionsFrameCheckButton5" inherits="OptionsCheckButtonTemplate">
195 <Size>
196 <AbsDimension x="26" y="26"/>
197 </Size>
198 <Anchors>
199 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton4" relativePoint="BOTTOM">
200 <Offset>
201 <AbsDimension x="0" y="8"/>
202 </Offset>
203 </Anchor>
204 </Anchors>
205 </CheckButton>
206 <CheckButton name="QuestHistoryOptionsFrameCheckButton6" inherits="OptionsCheckButtonTemplate">
207 <Size>
208 <AbsDimension x="26" y="26"/>
209 </Size>
210 <Anchors>
211 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton5" relativePoint="BOTTOM">
212 <Offset>
213 <AbsDimension x="0" y="8"/>
214 </Offset>
215 </Anchor>
216 </Anchors>
217 </CheckButton>
218 <CheckButton name="QuestHistoryOptionsFrameCheckButton7" inherits="OptionsCheckButtonTemplate">
219 <Size>
220 <AbsDimension x="26" y="26"/>
221 </Size>
222 <Anchors>
223 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton6" relativePoint="BOTTOM">
224 <Offset>
225 <AbsDimension x="0" y="8"/>
226 </Offset>
227 </Anchor>
228 </Anchors>
229 </CheckButton>
230 <CheckButton name="QuestHistoryOptionsFrameCheckButton8" inherits="OptionsCheckButtonTemplate">
231 <Size>
232 <AbsDimension x="26" y="26"/>
233 </Size>
234 <Anchors>
235 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton7" relativePoint="BOTTOM">
236 <Offset>
237 <AbsDimension x="0" y="8"/>
238 </Offset>
239 </Anchor>
240 </Anchors>
241 </CheckButton>
242 <CheckButton name="QuestHistoryOptionsFrameCheckButton9" inherits="OptionsCheckButtonTemplate">
243 <Size>
244 <AbsDimension x="26" y="26"/>
245 </Size>
246 <Anchors>
247 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton8" relativePoint="BOTTOM">
248 <Offset>
249 <AbsDimension x="0" y="8"/>
250 </Offset>
251 </Anchor>
252 </Anchors>
253 </CheckButton>
254 <CheckButton name="QuestHistoryOptionsFrameCheckButton10" inherits="OptionsCheckButtonTemplate">
255 <Size>
256 <AbsDimension x="26" y="26"/>
257 </Size>
258 <Anchors>
259 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton9" relativePoint="BOTTOM">
260 <Offset>
261 <AbsDimension x="0" y="8"/>
262 </Offset>
263 </Anchor>
264 </Anchors>
265 </CheckButton>
266 <CheckButton name="QuestHistoryOptionsFrameCheckButton11" inherits="OptionsCheckButtonTemplate">
267 <Size>
268 <AbsDimension x="26" y="26"/>
269 </Size>
270 <Anchors>
271 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton10" relativePoint="BOTTOM">
272 <Offset>
273 <AbsDimension x="0" y="8"/>
274 </Offset>
275 </Anchor>
276 </Anchors>
277 </CheckButton>
278 <CheckButton name="QuestHistoryOptionsFrameCheckButton12" inherits="OptionsCheckButtonTemplate">
279 <Size>
280 <AbsDimension x="26" y="26"/>
281 </Size>
282 <Anchors>
283 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton11" relativePoint="BOTTOM">
284 <Offset>
285 <AbsDimension x="0" y="8"/>
286 </Offset>
287 </Anchor>
288 </Anchors>
289 </CheckButton>
290 <CheckButton name="QuestHistoryOptionsFrameCheckButton13" inherits="OptionsCheckButtonTemplate">
291 <Size>
292 <AbsDimension x="26" y="26"/>
293 </Size>
294 <Anchors>
295 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton12" relativePoint="BOTTOM">
296 <Offset>
297 <AbsDimension x="0" y="8"/>
298 </Offset>
299 </Anchor>
300 </Anchors>
301 </CheckButton>
302 <CheckButton name="QuestHistoryOptionsFrameCheckButton14" inherits="OptionsCheckButtonTemplate">
303 <Size>
304 <AbsDimension x="26" y="26"/>
305 </Size>
306 <Anchors>
307 <Anchor point="TOP" relativeTo="QuestHistoryOptionsFrameCheckButton13" relativePoint="BOTTOM">
308 <Offset>
309 <AbsDimension x="0" y="8"/>
310 </Offset>
311 </Anchor>
312 </Anchors>
313 </CheckButton>
314 <CheckButton name="QuestHistoryOptionsFrameCheckButton15" inherits="OptionsCheckButtonTemplate">
315 <Size>
316 <AbsDimension x="26" y="26"/>
317 </Size>
318 <Anchors>
319 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton4" relativePoint="RIGHT">
320 <Offset>
321 <AbsDimension x="140" y="0"/>
322 </Offset>
323 </Anchor>
324 </Anchors>
325 </CheckButton>
326 <CheckButton name="QuestHistoryOptionsFrameCheckButton16" inherits="OptionsCheckButtonTemplate">
327 <Size>
328 <AbsDimension x="26" y="26"/>
329 </Size>
330 <Anchors>
331 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton5" relativePoint="RIGHT">
332 <Offset>
333 <AbsDimension x="140" y="0"/>
334 </Offset>
335 </Anchor>
336 </Anchors>
337 </CheckButton>
338 <CheckButton name="QuestHistoryOptionsFrameCheckButton17" inherits="OptionsCheckButtonTemplate">
339 <Size>
340 <AbsDimension x="26" y="26"/>
341 </Size>
342 <Anchors>
343 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton6" relativePoint="RIGHT">
344 <Offset>
345 <AbsDimension x="140" y="0"/>
346 </Offset>
347 </Anchor>
348 </Anchors>
349 </CheckButton>
350 <CheckButton name="QuestHistoryOptionsFrameCheckButton18" inherits="OptionsCheckButtonTemplate">
351 <Size>
352 <AbsDimension x="26" y="26"/>
353 </Size>
354 <Anchors>
355 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton7" relativePoint="RIGHT">
356 <Offset>
357 <AbsDimension x="140" y="0"/>
358 </Offset>
359 </Anchor>
360 </Anchors>
361 </CheckButton>
362 <CheckButton name="QuestHistoryOptionsFrameCheckButton19" inherits="OptionsCheckButtonTemplate">
363 <Size>
364 <AbsDimension x="26" y="26"/>
365 </Size>
366 <Anchors>
367 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton8" relativePoint="RIGHT">
368 <Offset>
369 <AbsDimension x="140" y="0"/>
370 </Offset>
371 </Anchor>
372 </Anchors>
373 </CheckButton>
374 <CheckButton name="QuestHistoryOptionsFrameCheckButton20" inherits="OptionsCheckButtonTemplate">
375 <Size>
376 <AbsDimension x="26" y="26"/>
377 </Size>
378 <Anchors>
379 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton9" relativePoint="RIGHT">
380 <Offset>
381 <AbsDimension x="140" y="0"/>
382 </Offset>
383 </Anchor>
384 </Anchors>
385 </CheckButton>
386 <CheckButton name="QuestHistoryOptionsFrameCheckButton21" inherits="OptionsCheckButtonTemplate">
387 <Size>
388 <AbsDimension x="26" y="26"/>
389 </Size>
390 <Anchors>
391 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton10" relativePoint="RIGHT">
392 <Offset>
393 <AbsDimension x="140" y="0"/>
394 </Offset>
395 </Anchor>
396 </Anchors>
397 </CheckButton>
398 <CheckButton name="QuestHistoryOptionsFrameCheckButton22" inherits="OptionsCheckButtonTemplate">
399 <Size>
400 <AbsDimension x="26" y="26"/>
401 </Size>
402 <Anchors>
403 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton11" relativePoint="RIGHT">
404 <Offset>
405 <AbsDimension x="140" y="0"/>
406 </Offset>
407 </Anchor>
408 </Anchors>
409 </CheckButton>
410 <CheckButton name="QuestHistoryOptionsFrameCheckButton23" inherits="OptionsCheckButtonTemplate">
411 <Size>
412 <AbsDimension x="26" y="26"/>
413 </Size>
414 <Anchors>
415 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton12" relativePoint="RIGHT">
416 <Offset>
417 <AbsDimension x="140" y="0"/>
418 </Offset>
419 </Anchor>
420 </Anchors>
421 </CheckButton>
422 <CheckButton name="QuestHistoryOptionsFrameCheckButton24" inherits="OptionsCheckButtonTemplate">
423 <Size>
424 <AbsDimension x="26" y="26"/>
425 </Size>
426 <Anchors>
427 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton13" relativePoint="RIGHT">
428 <Offset>
429 <AbsDimension x="140" y="0"/>
430 </Offset>
431 </Anchor>
432 </Anchors>
433 </CheckButton>
434 <CheckButton name="QuestHistoryOptionsFrameCheckButton25" inherits="OptionsCheckButtonTemplate">
435 <Size>
436 <AbsDimension x="26" y="26"/>
437 </Size>
438 <Anchors>
439 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton14" relativePoint="RIGHT">
440 <Offset>
441 <AbsDimension x="140" y="0"/>
442 </Offset>
443 </Anchor>
444 </Anchors>
445 </CheckButton>
446 <Button name="QuestHistoryOptionsFrameAddButton" inherits="UIPanelButtonTemplate" text="QUESTHISTORY_ADD_TEXT">
447 <Size>
448 <AbsDimension x="90" y="21"/>
449 </Size>
450 <Anchors>
451 <Anchor point="BOTTOMLEFT">
452 <Offset>
453 <AbsDimension x="20" y="8"/>
454 </Offset>
455 </Anchor>
456 </Anchors>
457 <Scripts>
458 <OnClick>
459 PlaySound("igMainMenuOptionCheckBoxOn");
460 QuestHistoryOptionsFrameOkayButton_OnClick();
461 QuestHistory_AddQuest();
462 </OnClick>
463 <OnEnter>
464 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
465 GameTooltip:SetText(QUESTHISTORY_OPTION_TOOLTIP_ADD_QUEST, nil, nil, nil, nil, 1);
466 </OnEnter>
467 <OnLeave>
468 GameTooltip:Hide();
469 </OnLeave>
470 </Scripts>
471 </Button>
472 <Button name="QuestHistoryOptionsFramePurgeButton" inherits="UIPanelButtonTemplate" text="QUESTHISTORY_PURGE_TEXT">
473 <Size>
474 <AbsDimension x="90" y="21"/>
475 </Size>
476 <Anchors>
477 <Anchor point="BOTTOM">
478 <Offset>
479 <AbsDimension x="0" y="8"/>
480 </Offset>
481 </Anchor>
482 </Anchors>
483 <Scripts>
484 <OnClick>
485 PlaySound("igMainMenuOptionCheckBoxOn");
486 QuestHistoryOptionsFrameOkayButton_OnClick();
487 QuestHistoryConfirmFrameExplanation:SetText(QUESTHISTORY_PURGE_CONFIRM_EXPLANATION);
488 ShowUIPanel(QuestHistoryConfirmFrame);
489 </OnClick>
490 <OnEnter>
491 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
492 GameTooltip:SetText(QUESTHISTORY_OPTION_TOOLTIP_PURGE, nil, nil, nil, nil, 1);
493 </OnEnter>
494 <OnLeave>
495 GameTooltip:Hide();
496 </OnLeave>
497 </Scripts>
498 </Button>
499 <Button name="QuestHistoryOptionsFrameDeleteButton" inherits="UIPanelButtonTemplate" text="QUESTHISTORY_DELETE_TEXT">
500 <Size>
501 <AbsDimension x="90" y="21"/>
502 </Size>
503 <Anchors>
504 <Anchor point="BOTTOMRIGHT">
505 <Offset>
506 <AbsDimension x="-20" y="8"/>
507 </Offset>
508 </Anchor>
509 </Anchors>
510 <Scripts>
511 <OnClick>
512 QuestHistoryOptionsFrameDeleteButton_OnClick()
513 </OnClick>
514 <OnEnter>
515 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
516 GameTooltip:SetText(QUESTHISTORY_OPTION_TOOLTIP_DELETE_CHARACTER, nil, nil, nil, nil, 1);
517 </OnEnter>
518 <OnLeave>
519 GameTooltip:Hide();
520 </OnLeave>
521 </Scripts>
522 </Button>
523 </Frames>
524 <Scripts>
525 <OnLoad>
526 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
527 this:SetBackdropColor(0.15, 0.15, 0.15);
528 getglobal(this:GetName().."Title"):SetText(QUESTHISTORY_LOG);
529 </OnLoad>
530 </Scripts>
531 </Frame>
532 <Frame name="QuestHistoryOptionsFrameRepair" inherits="OptionFrameBoxTemplate">
533 <Size>
534 <AbsDimension x="359" y="37"/>
535 </Size>
536 <Anchors>
537 <Anchor point="TOPLEFT" relativeTo="QuestHistoryOptionsFrameLog" relativePoint="BOTTOMLEFT">
538 <Offset>
539 <AbsDimension x="0" y="-15"/>
540 </Offset>
541 </Anchor>
542 </Anchors>
543 <Frames>
544 <CheckButton name="QuestHistoryOptionsFrameCheckButton26" inherits="OptionsCheckButtonTemplate">
545 <Size>
546 <AbsDimension x="26" y="26"/>
547 </Size>
548 <Anchors>
549 <Anchor point="TOPLEFT">
550 <Offset>
551 <AbsDimension x="5" y="-5"/>
552 </Offset>
553 </Anchor>
554 </Anchors>
555 </CheckButton>
556 <CheckButton name="QuestHistoryOptionsFrameCheckButton27" inherits="OptionsCheckButtonTemplate">
557 <Size>
558 <AbsDimension x="26" y="26"/>
559 </Size>
560 <Anchors>
561 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton26" relativePoint="RIGHT">
562 <Offset>
563 <AbsDimension x="110" y="0"/>
564 </Offset>
565 </Anchor>
566 </Anchors>
567 </CheckButton>
568 <Button name="QuestHistoryOptionsFrameRepairButton" inherits="UIPanelButtonTemplate" text="QUESTHISTORY_REPAIR">
569 <Size>
570 <AbsDimension x="90" y="21"/>
571 </Size>
572 <Anchors>
573 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton27" relativePoint="RIGHT">
574 <Offset>
575 <AbsDimension x="97" y="0"/>
576 </Offset>
577 </Anchor>
578 </Anchors>
579 <Scripts>
580 <OnClick>
581 PlaySound("igMainMenuOptionCheckBoxOn");
582 QuestHistoryOptionsFrameOkayButton_OnClick();
583 QuestHistoryConfirmFrameExplanation:SetText(QUESTHISTORY_REPAIR_CONFIRM_EXPLANATION);
584 ShowUIPanel(QuestHistoryConfirmFrame);
585 </OnClick>
586 <OnEnter>
587 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
588 GameTooltip:SetText(QUESTHISTORY_OPTION_TOOLTIP_REPAIR, nil, nil, nil, nil, 1);
589 </OnEnter>
590 <OnLeave>
591 GameTooltip:Hide();
592 </OnLeave>
593 </Scripts>
594 </Button>
595 </Frames>
596 <Scripts>
597 <OnLoad>
598 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
599 this:SetBackdropColor(0.15, 0.15, 0.15);
600 getglobal(this:GetName().."Title"):SetText(QUESTHISTORY_REPAIR);
601 </OnLoad>
602 </Scripts>
603 </Frame>
604 <Frame name="QuestHistoryOptionsFrameOther" inherits="OptionFrameBoxTemplate">
605 <Size>
606 <AbsDimension x="359" y="37"/>
607 </Size>
608 <Anchors>
609 <Anchor point="TOPLEFT" relativeTo="QuestHistoryOptionsFrameRepair" relativePoint="BOTTOMLEFT">
610 <Offset>
611 <AbsDimension x="0" y="-15"/>
612 </Offset>
613 </Anchor>
614 </Anchors>
615 <Frames>
616 <CheckButton name="QuestHistoryOptionsFrameCheckButton28" inherits="OptionsCheckButtonTemplate">
617 <Size>
618 <AbsDimension x="26" y="26"/>
619 </Size>
620 <Anchors>
621 <Anchor point="TOPLEFT">
622 <Offset>
623 <AbsDimension x="5" y="-5"/>
624 </Offset>
625 </Anchor>
626 </Anchors>
627 </CheckButton>
628 <CheckButton name="QuestHistoryOptionsFrameCheckButton29" inherits="OptionsCheckButtonTemplate">
629 <Size>
630 <AbsDimension x="26" y="26"/>
631 </Size>
632 <Anchors>
633 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton28" relativePoint="RIGHT">
634 <Offset>
635 <AbsDimension x="100" y="0"/>
636 </Offset>
637 </Anchor>
638 </Anchors>
639 </CheckButton>
640 <CheckButton name="QuestHistoryOptionsFrameCheckButton30" inherits="OptionsCheckButtonTemplate">
641 <Size>
642 <AbsDimension x="26" y="26"/>
643 </Size>
644 <Anchors>
645 <Anchor point="LEFT" relativeTo="QuestHistoryOptionsFrameCheckButton29" relativePoint="RIGHT">
646 <Offset>
647 <AbsDimension x="80" y="0"/>
648 </Offset>
649 </Anchor>
650 </Anchors>
651 </CheckButton>
652 </Frames>
653 <Scripts>
654 <OnLoad>
655 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
656 this:SetBackdropColor(0.15, 0.15, 0.15);
657 getglobal(this:GetName().."Title"):SetText(QUESTHISTORY_OTHER);
658 </OnLoad>
659 </Scripts>
660 </Frame>
661 <Button name="QuestHistoryOptionsFrameCancelButton" inherits="UIPanelButtonTemplate" text="QUESTHISTORY_CANCEL_TEXT">
662 <Size>
663 <AbsDimension x="90" y="21"/>
664 </Size>
665 <Anchors>
666 <Anchor point="BOTTOMRIGHT">
667 <Offset>
668 <AbsDimension x="-12" y="16"/>
669 </Offset>
670 </Anchor>
671 </Anchors>
672 <Scripts>
673 <OnClick>
674 HideUIPanel(QuestHistoryOptionsFrame);
675 </OnClick>
676 </Scripts>
677 </Button>
678 <Button name="QuestHistoryOptionsFrameOkayButton" inherits="UIPanelButtonTemplate" text="QUESTHISTORY_OKAY_TEXT">
679 <Size>
680 <AbsDimension x="90" y="21"/>
681 </Size>
682 <Anchors>
683 <Anchor point="RIGHT" relativeTo="QuestHistoryOptionsFrameCancelButton" relativePoint="LEFT">
684 <Offset>
685 <AbsDimension x="0" y="0"/>
686 </Offset>
687 </Anchor>
688 </Anchors>
689 <Scripts>
690 <OnClick>
691 PlaySound("gsTitleOptionOK");
692 QuestHistoryOptionsFrameOkayButton_OnClick();
693 </OnClick>
694 </Scripts>
695 </Button>
696 </Frames>
697 <Scripts>
698 <OnShow>
699 QuestHistoryOptionsFrame_OnShow();
700 </OnShow>
701 <OnHide>
702 PlaySound("gsTitleOptionExit");
703 </OnHide>
704 </Scripts>
705 </Frame>
706 <Frame name="QuestHistoryConfirmFrame" frameStrata="DIALOG" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
707 <Size>
708 <AbsDimension x="384" y="512"/>
709 </Size>
710 <Anchors>
711 <Anchor point="TOPLEFT">
712 <Offset>
713 <AbsDimension x="0" y="-104"/>
714 </Offset>
715 </Anchor>
716 </Anchors>
717 <Backdrop name="QuestHistoryConfirmFrameBackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
718 <BackgroundInsets>
719 <AbsInset left="11" right="12" top="12" bottom="11"/>
720 </BackgroundInsets>
721 <TileSize>
722 <AbsValue val="32"/>
723 </TileSize>
724 <EdgeSize>
725 <AbsValue val="32"/>
726 </EdgeSize>
727 </Backdrop>
728 <Layers>
729 <Layer level="ARTWORK">
730 <Texture name="QuestHistoryConfirmFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
731 <Size>
732 <AbsDimension x="320" y="64"/>
733 </Size>
734 <Anchors>
735 <Anchor point="TOP">
736 <Offset>
737 <AbsDimension x="0" y="12"/>
738 </Offset>
739 </Anchor>
740 </Anchors>
741 </Texture>
742 <FontString inherits="GameFontNormal" text="QUESTHISTORY_OPTIONS_MENU">
743 <Anchors>
744 <Anchor point="TOP" relativeTo="QuestHistoryConfirmFrameHeader">
745 <Offset>
746 <AbsDimension x="0" y="-14"/>
747 </Offset>
748 </Anchor>
749 </Anchors>
750 </FontString>
751 <FontString inherits="GameFontNormalLarge" text="QUESTHISTORY_CONFIRM_TEXT" justifyH="CENTER">
752 <Size>
753 <AbsDimension x="320" y="0"/>
754 </Size>
755 <Anchors>
756 <Anchor point="TOP">
757 <Offset>
758 <AbsDimension x="0" y="-75"/>
759 </Offset>
760 </Anchor>
761 </Anchors>
762 </FontString>
763 <FontString name="QuestHistoryConfirmFrameExplanation" inherits="GameFontHighlightLarge" justifyH="LEFT">
764 <Size>
765 <AbsDimension x="320" y="0"/>
766 </Size>
767 <Anchors>
768 <Anchor point="TOP">
769 <Offset>
770 <AbsDimension x="0" y="-150"/>
771 </Offset>
772 </Anchor>
773 </Anchors>
774 </FontString>
775 </Layer>
776 </Layers>
777 <Frames>
778 <Button name="QuestHistoryConfirmFrameCancelButton" inherits="UIPanelButtonTemplate" text="QUESTHISTORY_CANCEL_TEXT">
779 <Size>
780 <AbsDimension x="90" y="21"/>
781 </Size>
782 <Anchors>
783 <Anchor point="BOTTOMRIGHT">
784 <Offset>
785 <AbsDimension x="-12" y="16"/>
786 </Offset>
787 </Anchor>
788 </Anchors>
789 <Scripts>
790 <OnClick>
791 HideUIPanel(QuestHistoryConfirmFrame);
792 ShowUIPanel(QuestHistoryOptionsFrame);
793 </OnClick>
794 </Scripts>
795 </Button>
796 <Button name="QuestHistoryConfirmFrameOkayButton" inherits="UIPanelButtonTemplate" text="QUESTHISTORY_OKAY_TEXT">
797 <Size>
798 <AbsDimension x="90" y="21"/>
799 </Size>
800 <Anchors>
801 <Anchor point="BOTTOMLEFT">
802 <Offset>
803 <AbsDimension x="14" y="16"/>
804 </Offset>
805 </Anchor>
806 </Anchors>
807 <Scripts>
808 <OnClick>
809 QuestHistoryConfirmFrameOkayButton_OnClick();
810 HideUIPanel(QuestHistoryConfirmFrame);
811 ShowUIPanel(QuestHistoryOptionsFrame);
812 </OnClick>
813 </Scripts>
814 </Button>
815 </Frames>
816 <Scripts>
817 <OnHide>
818 PlaySound("gsTitleOptionExit");
819 </OnHide>
820 </Scripts>
821 </Frame>
822 </Ui>