Mercurial > wow > buffalo2
comparison ObjectiveTracker/ObjectiveTracker.xml @ 45:dd1ae565f559
Hooks and Handlers:
- correct argument mix-ups for AcceptQuest/QUEST_ACCEPTED handlers; fixes auto-watch
- respond to AcknowledgeAutoAcceptQuest; fixes lingering popups
- include Popup and Quest trackers in the response code for CompleteQuest; fixes content artifacts following the rollover of repeating popups seen in Ashran
- clean up wacky OnEvent header
Layout
- add alpha blend options
QuestData
- reset objectives data when a quest is in a completed state; keeps old data from ever reaching the Default.x code
author | Nenue |
---|---|
date | Tue, 26 Apr 2016 14:57:18 -0400 |
parents | 756e8aeb040b |
children | 1a322b92dbfa |
comparison
equal
deleted
inserted
replaced
44:756e8aeb040b | 45:dd1ae565f559 |
---|---|
160 | 160 |
161 <Frame name="$parentClock" parentKey="Clock" hidden="false"> | 161 <Frame name="$parentClock" parentKey="Clock" hidden="false"> |
162 <Anchors> | 162 <Anchors> |
163 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.QuestMapButton" /> | 163 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.QuestMapButton" /> |
164 </Anchors> | 164 </Anchors> |
165 <Size x="160" y="16" /> | 165 <Size x="280" y="16" /> |
166 <Layers> | 166 <Layers> |
167 <Layer level="OVERLAY"> | 167 <Layer level="OVERLAY"> |
168 <FontString font="Interface\Addons\SharedMedia_MyMedia\font\XOIREQE.TTF" parentKey="time" text="GAME_TIME"> | 168 <FontString font="Interface\Addons\SharedMedia_MyMedia\font\XOIREQE.TTF" parentKey="time" text="GAME_TIME" outline="NORMAL"> |
169 <FontHeight> | 169 <FontHeight> |
170 <AbsValue val="16" /> | 170 <AbsValue val="14" /> |
171 </FontHeight> | 171 </FontHeight> |
172 | 172 |
173 <Anchors> | 173 <Anchors> |
174 <Anchor point="CENTER" /> | 174 <Anchor point="RIGHT" /> |
175 </Anchors> | 175 </Anchors> |
176 <Color r="1" g="1" b="1" a="1" /> | 176 <Color r="1" g="1" b="1" a="1" /> |
177 </FontString> | 177 </FontString> |
178 </Layer> | 178 </Layer> |
179 </Layers> | 179 </Layers> |
180 <Scripts> | 180 <Scripts> |
181 <OnUpdate> | 181 <OnUpdate> |
182 local hour, min = GetGameTime() | |
183 self.time:SetFormattedText("%d:%02d", hour, min) | |
184 --self:SetWidth(self.time:GetWidth()+4) | |
185 </OnUpdate> | 182 </OnUpdate> |
186 </Scripts> | 183 </Scripts> |
187 </Frame> | 184 </Frame> |
188 | 185 |
189 | 186 |
371 </AnimationGroup> | 368 </AnimationGroup> |
372 <AnimationGroup name="$parent_BlockFadeIn" setToFinalAlpha="true" parentKey="questFadeIn" ignoreFramerateThrottle="true"> | 369 <AnimationGroup name="$parent_BlockFadeIn" setToFinalAlpha="true" parentKey="questFadeIn" ignoreFramerateThrottle="true"> |
373 </AnimationGroup> | 370 </AnimationGroup> |
374 <AnimationGroup name="$parent_BlockFade" parentKey="blockFadeOut" ignoreFramerateThrottle="true" looping="NONE"> | 371 <AnimationGroup name="$parent_BlockFade" parentKey="blockFadeOut" ignoreFramerateThrottle="true" looping="NONE"> |
375 <Alpha duration="0.25" order="1" fromAlpha="1" toAlpha="0" /> | 372 <Alpha duration="0.25" order="1" fromAlpha="1" toAlpha="0" /> |
376 <!--<Translation duration="0.25" order="1" offsetX="260" offsetY="0" smoothing="OUT" />--> | 373 <Translation duration="0.25" order="1" offsetX="-260" offsetY="0" smoothing="OUT" /> |
377 <Scale order="1" duration="0.25" scaleX="0.1" scaleY="0.1"> | 374 <Scale order="1" duration="0.25" scaleX="0.1" scaleY="0.1"> |
378 <Origin point="CENTER"> | 375 <Origin point="CENTER"> |
379 <Offset x="0" y="0" /> | 376 <Offset x="0" y="0" /> |
380 </Origin> | 377 </Origin> |
381 </Scale> | 378 </Scale> |
382 </AnimationGroup> | 379 </AnimationGroup> |
383 </Animations> | 380 </Animations> |
384 <Layers> | 381 <Layers> |
385 <Layer level="BACKGROUND"> | 382 <Layer level="BACKGROUND"> |
386 <Texture name="$parentTitleBackground" parentKey="titlebg"> | 383 <Texture name="$parentTitleBackground" parentKey="titlebg" alphaMode="MOD"> |
387 <Color r="1" g="1" b="1" a="1" /> | 384 <Color r="1" g="1" b="1" a="1" /> |
388 <Anchors> | 385 <Anchors> |
389 <Anchor point="TOPLEFT" x="0" y="0" /> | 386 <Anchor point="TOPLEFT" x="0" y="0" /> |
390 <Anchor point="RIGHT" /> | 387 <Anchor point="RIGHT" /> |
391 </Anchors> | 388 </Anchors> |
392 </Texture> | 389 </Texture> |
393 <Texture name="$parentStatusBackground" parentKey="statusbg"> | 390 <Texture name="$parentStatusBackground" parentKey="statusbg" alphaMode="MOD"> |
394 <Anchors> | 391 <Anchors> |
395 <Anchor point="LEFT" /> | 392 <Anchor point="LEFT" /> |
396 <Anchor point="RIGHT" /> | 393 <Anchor point="RIGHT" /> |
397 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.titlebg" /> | 394 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.titlebg" /> |
398 <Anchor point="BOTTOM" x="0" y="0" /> | 395 <Anchor point="BOTTOM" x="0" y="0" /> |