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="localization.lua"/>
4 <Script file="TitanQuestsUtils.lua"/>
5 <Script file="TitanQuestsDetails.lua"/>
6  
7  
8 <Frame name="TitanQuests_Details" enableMouse="true" movable="true" hidden="true" parent="UIParent">
9  
10 <TitleRegion setAllPoints="true"/>
11  
12 <Size>
13 <AbsDimension x="384" y="512"/>
14 </Size>
15 <Anchors>
16 <!-- <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> -->
17 <Anchor point ="CENTER">
18 <Offset>
19 <!-- <AbsDimension x="-50" y="0"/> -->
20 <!-- corgi <AbsDimension x="-450" y="-250"/> -->
21 <AbsDimension x="0" y="0"/>
22 </Offset>
23 </Anchor>
24 </Anchors>
25 <HitRectInsets>
26 <AbsInset left="0" right="30" top="0" bottom="45"/>
27 </HitRectInsets>
28 <Layers>
29 <Layer level="ARTWORK">
30 <FontString name = "$parent_Title" inherits="GameFontNormal">
31 <Anchors>
32 <Anchor point="TOP">
33 <Offset>
34 <AbsDimension x="0" y="-18"/>
35 </Offset>
36 </Anchor>
37 </Anchors>
38 </FontString>
39 <Texture file="Interface\QuestFrame\UI-QuestLog-BookIcon">
40 <Size>
41 <AbsDimension x="60" y="60"/>
42 </Size>
43 <Anchors>
44 <Anchor point="TOPLEFT">
45 <Offset>
46 <AbsDimension x="7" y="-6"/>
47 </Offset>
48 </Anchor>
49 </Anchors>
50 </Texture>
51 <Texture name="$parentTopLeft" file="Interface\ItemTextFrame\UI-ItemText-TopLeft">
52 <Size>
53 <AbsDimension x="256" y="256"/>
54 </Size>
55 <Anchors>
56 <Anchor point="TOPLEFT"/>
57 </Anchors>
58 </Texture>
59 <Texture name="$parentTopRight" file="Interface\Spellbook\UI-SpellbookPanel-TopRight">
60 <Size>
61 <AbsDimension x="128" y="256"/>
62 </Size>
63 <Anchors>
64 <Anchor point="TOPRIGHT"/>
65 </Anchors>
66 </Texture>
67 <Texture name="$parentBottomLeft" file="Interface\ItemTextFrame\UI-ItemText-BotLeft">
68 <Size>
69 <AbsDimension x="256" y="256"/>
70 </Size>
71 <Anchors>
72 <Anchor point="BOTTOMLEFT"/>
73 </Anchors>
74 </Texture>
75 <Texture name="$parentBottomRight" file="Interface\Spellbook\UI-SpellbookPanel-BotRight">
76  
77 <Size>
78 <AbsDimension x="128" y="256"/>
79 </Size>
80 <Anchors>
81 <Anchor point="BOTTOMRIGHT"/>
82 </Anchors>
83 </Texture>
84 </Layer>
85 </Layers>
86 <Frames>
87 <Button name="$parent_CloseButton" inherits="UIPanelCloseButton">
88 <Anchors>
89 <Anchor point="TOPRIGHT">
90 <Offset>
91 <AbsDimension x="-28" y="-9"/>
92 </Offset>
93 </Anchor>
94 </Anchors>
95 <Scripts>
96 <OnClick>
97 TitanQuests_DetailsShowHide();
98 </OnClick>
99 </Scripts>
100 </Button>
101  
102  
103 <Button name="$parent_AbandonButton" inherits="UIPanelButtonTemplate" text="Abandon Quest">
104 <Size>
105 <AbsDimension x="125" y="21"/>
106 </Size>
107 <Anchors>
108 <Anchor point="BOTTOMLEFT">
109 <Offset>
110 <!--17 54-->
111 <AbsDimension x="20" y="54"/>
112 </Offset>
113 </Anchor>
114 </Anchors>
115 <Scripts>
116 <OnClick>
117 SetAbandonQuest();
118 StaticPopup_Show("ABANDON_QUEST", GetAbandonQuestName());
119 TitanQuests_Details:Hide();
120 </OnClick>
121 <OnEnter>
122 GameTooltip_AddNewbieTip(ABANDON_QUEST, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_ABANDONQUEST, 1);
123 </OnEnter>
124 <OnLeave>
125 GameTooltip:Hide();
126 </OnLeave>
127 </Scripts>
128 </Button>
129  
130 <Button name="$parent_ShareButton" inherits="UIPanelButtonTemplate" text="Share">
131 <Size>
132 <AbsDimension x="66" y="21"/>
133 </Size>
134 <Anchors>
135 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_AbandonButton"/>
136 </Anchors>
137 <Scripts>
138 <OnClick>
139 QuestLogPushQuest();
140 </OnClick>
141 <OnEnter>
142 GameTooltip_AddNewbieTip(SHARE_QUEST, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_SHAREQUEST, 1);
143 </OnEnter>
144 <OnLeave>
145 GameTooltip:Hide();
146 </OnLeave>
147 </Scripts>
148 </Button>
149  
150 <Button name="$parent_WatchButton" inherits="UIPanelButtonTemplate" text="Watch">
151 <Size>
152 <AbsDimension x="66" y="21"/>
153 </Size>
154 <Anchors>
155 <!-- <Anchor point="BOTTOMRIGHT"> -->
156 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_ShareButton"/>
157 <!--
158 <Offset>
159 <AbsDimension x="-80" y="80"/>
160 </Offset>
161 </Anchor>
162 -->
163 </Anchors>
164 <Scripts>
165 <OnClick>
166 AddQuestWatch(questID);
167 QuestWatch_Update();
168 TitanQuests_Details:Show();
169 TitanQuests_Details_Update();
170  
171 </OnClick>
172 <OnEnter>
173 GameTooltip_AddNewbieTip(TITAN_QUESTS_DETAILS_WATCH_BUTTON_TEXT, 1.0, 1.0, 1.0, TITAN_QUESTS_NEWBIE_TOOLTIP_WATCHQUEST, 1);
174 </OnEnter>
175 <OnLeave>
176 GameTooltip:Hide();
177 </OnLeave>
178 </Scripts>
179 </Button>
180  
181 <Button name="$parent_CloseButton2" inherits="UIPanelButtonTemplate" text="Exit">
182 <Size>
183 <AbsDimension x="66" y="21"/>
184 </Size>
185 <Anchors>
186 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_WatchButton"/>
187 <!--
188 <Offset>
189 <AbsDimension x="-43" y="54"/>
190 </Offset>
191 </Anchor>
192 -->
193 </Anchors>
194 <Scripts>
195 <OnClick>
196 TitanQuests_DetailsShowHide();
197 </OnClick>
198 </Scripts>
199 </Button>
200  
201 <!--Details-->
202 <!-- <ScrollFrame name="$parent_Scroll" inherits="FauxScrollFrameTemplate">
203 -->
204 <ScrollFrame name="$parent_Scroll" inherits="UIPanelScrollFrameTemplate">
205 <Size>
206 <AbsDimension x="296" y="353"/>
207 </Size>
208 <Anchors>
209 <Anchor point="TOPRIGHT">
210 <Offset>
211 <AbsDimension x="-59" y="-78"/>
212 </Offset>
213 </Anchor>
214 </Anchors>
215 <ScrollChild>
216 <Frame name="$parentChild">
217 <Size>
218 <AbsDimension x="300" y="261"/>
219 </Size>
220 <Layers>
221 <Layer level="BACKGROUND">
222 <FontString name="$parent_QuestTitle" inherits="QuestTitleFont" justifyH="LEFT" text="Quest title">
223 <Size>
224 <AbsDimension x="285" y="0"/>
225 </Size>
226 <Anchors>
227 <Anchor point="TOPLEFT">
228 <Offset>
229 <AbsDimension x="5" y="-5"/>
230 </Offset>
231 </Anchor>
232 </Anchors>
233 </FontString>
234 <FontString name="$parent_ObjectivesText" inherits="QuestFont" justifyH="LEFT">
235 <Size>
236 <AbsDimension x="275" y="0"/>
237 </Size>
238 <Anchors>
239 <Anchor point="TOPLEFT" relativeTo="$parent_QuestTitle" relativePoint="BOTTOMLEFT">
240 <Offset>
241 <AbsDimension x="0" y="-5"/>
242 </Offset>
243 </Anchor>
244 </Anchors>
245 </FontString>
246 <FontString name="$parent_TimerText" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
247 <Size>
248 <AbsDimension x="285" y="0"/>
249 </Size>
250 <Anchors>
251 <Anchor point="TOPLEFT" relativeTo="$parent_ObjectivesText" relativePoint="BOTTOMLEFT">
252 <Offset>
253 <AbsDimension x="0" y="-10"/>
254 </Offset>
255 </Anchor>
256 </Anchors>
257 </FontString>
258 <FontString name="$parent_Objective1" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
259 <Size>
260 <AbsDimension x="285" y="0"/>
261 </Size>
262 <Anchors>
263 <Anchor point="TOPLEFT" relativeTo="$parent_TimerText" relativePoint="BOTTOMLEFT">
264 <Offset>
265 <AbsDimension x="0" y="-10"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269 </FontString>
270 <FontString name="$parent_Objective2" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
271 <Size>
272 <AbsDimension x="285" y="0"/>
273 </Size>
274 <Anchors>
275 <Anchor point="TOPLEFT" relativeTo="$parent_Objective1" relativePoint="BOTTOMLEFT">
276 <Offset>
277 <AbsDimension x="0" y="-2"/>
278 </Offset>
279 </Anchor>
280 </Anchors>
281 </FontString>
282 <FontString name="$parent_Objective3" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
283 <Size>
284 <AbsDimension x="285" y="0"/>
285 </Size>
286 <Anchors>
287 <Anchor point="TOPLEFT" relativeTo="$parent_Objective2" relativePoint="BOTTOMLEFT">
288 <Offset>
289 <AbsDimension x="0" y="-2"/>
290 </Offset>
291 </Anchor>
292 </Anchors>
293 </FontString>
294 <FontString name="$parent_Objective4" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
295 <Size>
296 <AbsDimension x="285" y="0"/>
297 </Size>
298 <Anchors>
299 <Anchor point="TOPLEFT" relativeTo="$parent_Objective3" relativePoint="BOTTOMLEFT">
300 <Offset>
301 <AbsDimension x="0" y="-2"/>
302 </Offset>
303 </Anchor>
304 </Anchors>
305 </FontString>
306 <FontString name="$parent_Objective5" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
307 <Size>
308 <AbsDimension x="285" y="0"/>
309 </Size>
310 <Anchors>
311 <Anchor point="TOPLEFT" relativeTo="$parent_Objective4" relativePoint="BOTTOMLEFT">
312 <Offset>
313 <AbsDimension x="0" y="-2"/>
314 </Offset>
315 </Anchor>
316 </Anchors>
317 </FontString>
318 <FontString name="$parent_Objective6" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
319 <Size>
320 <AbsDimension x="285" y="0"/>
321 </Size>
322 <Anchors>
323 <Anchor point="TOPLEFT" relativeTo="$parent_Objective5" relativePoint="BOTTOMLEFT">
324 <Offset>
325 <AbsDimension x="0" y="-2"/>
326 </Offset>
327 </Anchor>
328 </Anchors>
329 </FontString>
330 <FontString name="$parent_Objective7" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
331 <Size>
332 <AbsDimension x="285" y="0"/>
333 </Size>
334 <Anchors>
335 <Anchor point="TOPLEFT" relativeTo="$parent_Objective6" relativePoint="BOTTOMLEFT">
336 <Offset>
337 <AbsDimension x="0" y="-2"/>
338 </Offset>
339 </Anchor>
340 </Anchors>
341 </FontString>
342 <FontString name="$parent_Objective8" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
343 <Size>
344 <AbsDimension x="285" y="0"/>
345 </Size>
346 <Anchors>
347 <Anchor point="TOPLEFT" relativeTo="$parent_Objective7" relativePoint="BOTTOMLEFT">
348 <Offset>
349 <AbsDimension x="0" y="-2"/>
350 </Offset>
351 </Anchor>
352 </Anchors>
353 </FontString>
354 <FontString name="$parent_Objective9" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
355 <Size>
356 <AbsDimension x="285" y="0"/>
357 </Size>
358 <Anchors>
359 <Anchor point="TOPLEFT" relativeTo="$parent_Objective8" relativePoint="BOTTOMLEFT">
360 <Offset>
361 <AbsDimension x="0" y="-2"/>
362 </Offset>
363 </Anchor>
364 </Anchors>
365 </FontString>
366 <FontString name="$parent_Objective10" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
367 <Size>
368 <AbsDimension x="285" y="0"/>
369 </Size>
370 <Anchors>
371 <Anchor point="TOPLEFT" relativeTo="$parent_Objective9" relativePoint="BOTTOMLEFT">
372 <Offset>
373 <AbsDimension x="0" y="-2"/>
374 </Offset>
375 </Anchor>
376 </Anchors>
377 </FontString>
378  
379 <FontString name="$parent_RequiredMoneyText" inherits="QuestFontNormalSmall" text="REQUIRED_MONEY">
380 <Anchors>
381 <Anchor point="TOPLEFT"/>
382 </Anchors>
383 </FontString>
384  
385 <FontString name="$parent_DescriptionTitle" inherits="QuestTitleFont" justifyH="LEFT" text="QUEST_DESCRIPTION">
386 <Size>
387 <AbsDimension x="285" y="0"/>
388 </Size>
389 <Anchors>
390 <Anchor point="TOPLEFT" relativeTo="$parent_Objective10" relativePoint="BOTTOMLEFT">
391 <Offset>
392 <AbsDimension x="0" y="-10"/>
393 </Offset>
394 </Anchor>
395 </Anchors>
396 </FontString>
397 <FontString name="$parent_QuestDescription" inherits="QuestFont" justifyH="LEFT">
398 <Size>
399 <AbsDimension x="270" y="0"/>
400 </Size>
401 <Anchors>
402 <Anchor point="TOPLEFT" relativeTo="$parent_DescriptionTitle" relativePoint="BOTTOMLEFT">
403 <Offset>
404 <AbsDimension x="0" y="-5"/>
405 </Offset>
406 </Anchor>
407 </Anchors>
408 </FontString>
409  
410 <FontString name="$parent_RewardTitleText" inherits="QuestTitleFont" text="QUEST_REWARDS" justifyH="LEFT">
411 <Size>
412 <AbsDimension x="300" y="18"/>
413 </Size>
414 <Anchors>
415 <Anchor point="TOPLEFT" relativeTo="$parent_QuestDescription" relativePoint="BOTTOMLEFT">
416 <Offset>
417 <AbsDimension x="0" y="-15"/>
418 </Offset>
419 </Anchor>
420 </Anchors>
421 </FontString>
422 <FontString name="$parent_ItemChooseText" inherits="QuestFont" text="REWARD_CHOICES" hidden="true" justifyH="LEFT">
423 <Size>
424 <AbsDimension x="295" y="0"/>
425 </Size>
426 <Anchors>
427 <Anchor point="TOPLEFT" relativeTo="$parent_RewardTitleText" relativePoint="BOTTOMLEFT">
428 <Offset>
429 <AbsDimension x="0" y="-5"/>
430 </Offset>
431 </Anchor>
432 </Anchors>
433 </FontString>
434 <FontString name="$parent_ItemReceiveText" inherits="QuestFont" text="Reward receive text" hidden="true" justifyH="LEFT">
435 <Anchors>
436 <Anchor point="TOPLEFT"/>
437 </Anchors>
438 </FontString>
439  
440 </Layer>
441 </Layers>
442 <Frames>
443 <Button name="$parent_Item1" inherits="QuestLogRewardItemTemplate" hidden="true">
444 <Anchors>
445 <Anchor point="TOPLEFT"/>
446 </Anchors>
447 </Button>
448 <Button name="$parent_Item2" inherits="QuestLogRewardItemTemplate" hidden="true">
449 <Anchors>
450 <Anchor point="TOPLEFT"/>
451 </Anchors>
452 </Button>
453 <Button name="$parent_Item3" inherits="QuestLogRewardItemTemplate" hidden="true">
454 <Anchors>
455 <Anchor point="TOPLEFT"/>
456 </Anchors>
457 </Button>
458 <Button name="$parent_Item4" inherits="QuestLogRewardItemTemplate" hidden="true">
459 <Anchors>
460 <Anchor point="TOPLEFT"/>
461 </Anchors>
462 </Button>
463 <Button name="$parent_Item5" inherits="QuestLogRewardItemTemplate" hidden="true">
464 <Anchors>
465 <Anchor point="TOPLEFT"/>
466 </Anchors>
467 </Button>
468 <Button name="$parent_Item6" inherits="QuestLogRewardItemTemplate" hidden="true">
469 <Anchors>
470 <Anchor point="TOPLEFT"/>
471 </Anchors>
472 </Button>
473 <Button name="$parent_Item7" inherits="QuestLogRewardItemTemplate" hidden="true">
474 <Anchors>
475 <Anchor point="TOPLEFT"/>
476 </Anchors>
477 </Button>
478 <Button name="$parent_Item8" inherits="QuestLogRewardItemTemplate" hidden="true">
479 <Anchors>
480 <Anchor point="TOPLEFT"/>
481 </Anchors>
482 </Button>
483 <Button name="$parent_Item9" inherits="QuestLogRewardItemTemplate" hidden="true">
484 <Anchors>
485 <Anchor point="TOPLEFT"/>
486 </Anchors>
487 </Button>
488 <Button name="$parent_Item10" inherits="QuestLogRewardItemTemplate" hidden="true">
489 <Anchors>
490 <Anchor point="TOPLEFT"/>
491 </Anchors>
492 </Button>
493 <!--here-->
494  
495 <Frame name="$parent_MoneyFrame" inherits="MoneyFrameTemplate">
496 <Anchors>
497 <Anchor point="LEFT" relativeTo="$parent_ItemReceiveText" relativePoint="RIGHT">
498 <Offset>
499 <AbsDimension x="15" y="0"/>
500 </Offset>
501 </Anchor>
502 </Anchors>
503 <Scripts>
504 <OnLoad>
505 QuestMoneyFrame_OnLoad();
506 </OnLoad>
507 </Scripts>
508 </Frame>
509  
510 <!--tohere-->
511 <Frame name="$parent_RequiredMoneyFrame" inherits="MoneyFrameTemplate">
512 <Anchors>
513 <Anchor point="LEFT" relativeTo="$parent_RequiredMoneyText" relativePoint="RIGHT">
514 <Offset>
515 <AbsDimension x="10" y="0"/>
516 </Offset>
517 </Anchor>
518 </Anchors>
519 <Scripts>
520 <OnLoad>
521 SmallMoneyFrame_OnLoad();
522 MoneyFrame_SetType("STATIC");
523 </OnLoad>
524 </Scripts>
525 </Frame>
526  
527 <Frame name="$parent_SpacerFrame">
528 <Size>
529 <AbsDimension x="5" y="25"/>
530 </Size>
531 <Anchors>
532 <Anchor point="TOP">
533 <Offset>
534 <AbsDimension x="0" y="0"/>
535 </Offset>
536 </Anchor>
537 </Anchors>
538 </Frame>
539 </Frames>
540 </Frame>
541 </ScrollChild>
542 <!--
543 <Layers>
544 <Layer level="BACKGROUND">
545 <Texture name="$parent_BarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
546 <Size>
547 <AbsDimension x="31" y="256"/>
548 </Size>
549 <Anchors>
550 <Anchor point="TOP" relativeTo="$parentScrollBarScrollUpButton">
551 <Offset>
552 <AbsDimension x="0" y="5"/>
553 </Offset>
554 </Anchor>
555 </Anchors>
556 <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
557 </Texture>
558 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
559 <Size>
560 <AbsDimension x="31" y="108"/>
561 </Size>
562 <Anchors>
563 <Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton">
564 <Offset>
565 <AbsDimension x="0" y="-4"/>
566 </Offset>
567 </Anchor>
568 </Anchors>
569 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.421875"/>
570 </Texture>
571 </Layer>
572 </Layers>
573 -->
574 </ScrollFrame>
575 </Frames>
576 </Frame>
577  
578 </Ui>