Mercurial > wow > buffalo2
comparison ObjectiveTracker/ObjectiveTracker.xml @ 30:7583684becf4
- implement procedural block contents generation
- redo anchor calculations to allow for transitional animation
- attempt to sort out event handling quirks related to autopopup quest completion and turn-in
- revise the data structures created by the different GetInfo's
- start on trimming out redundant variables
author | Nenue |
---|---|
date | Thu, 14 Apr 2016 17:11:13 -0400 |
parents | adcd7c328d07 |
children | a3afe6c3771e |
comparison
equal
deleted
inserted
replaced
29:adcd7c328d07 | 30:7583684becf4 |
---|---|
1 <Ui> | 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 | |
2 | 4 |
3 <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" frameStrata="LOW"> | 5 <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" frameStrata="LOW"> |
4 <TitleRegion> | 6 <TitleRegion> |
5 <Size x="300" y="30" /> | 7 <Size x="300" y="30" /> |
6 <Anchors> | 8 <Anchors> |
47 <Anchors> | 49 <Anchors> |
48 <Anchor point="TOPLEFT" /> | 50 <Anchor point="TOPLEFT" /> |
49 <Anchor point="BOTTOMRIGHT" /> | 51 <Anchor point="BOTTOMRIGHT" /> |
50 </Anchors> | 52 </Anchors> |
51 </Texture> | 53 </Texture> |
52 <!--<Texture desatuated="true" parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> | |
53 <Anchors> | |
54 <Anchor point="LEFT" relativeKey="$parent.Background" x="-21" y="18"/> | |
55 </Anchors> | |
56 </Texture> | |
57 <Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true"> | |
58 <Anchors> | |
59 <Anchor point="CENTER" relativeKey="$parent.Background" relativePoint="LEFT" x="49" y="20"/> | |
60 </Anchors> | |
61 </Texture> | |
62 <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true"> | |
63 <Anchors> | |
64 <Anchor point="CENTER" relativeKey="$parent.SoftGlow" x="29"/> | |
65 </Anchors> | |
66 </Texture> | |
67 <Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> | |
68 <Size x="60" y="15"/> | |
69 <Anchors> | |
70 <Anchor point="CENTER" relativeKey="$parent.SoftGlow" x="29" y="-13"/> | |
71 </Anchors> | |
72 </Texture>--> | |
73 </Layer> | 54 </Layer> |
74 <Layer level="OVERLAY"> | 55 <Layer level="OVERLAY"> |
75 | |
76 <!--<Texture name="$parentTCR" parentKey="outlineClosed" file="Interface\FrameGeneral\UI-Frame"> | |
77 <Size x="40" y="30" /> | |
78 <Color r="1" g="1" b="1" a="1" /> | |
79 <TexCoords top=".0156" bottom=".0265" left=".625" right=".875" /> | |
80 <Anchors> | |
81 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="2" y="2" /> | |
82 </Anchors> | |
83 </Texture>--> | |
84 | 56 |
85 </Layer> | 57 </Layer> |
86 </Layers> | 58 </Layers> |
87 <Frames> | 59 <Frames> |
88 | 60 |
189 <!-- Header Panel --> | 161 <!-- Header Panel --> |
190 | 162 |
191 <!-- Background panels --> | 163 <!-- Background panels --> |
192 | 164 |
193 <Frame name="VeneerTrackerTemplate" parent="UIParent" virtual="true" hidden="true"> | 165 <Frame name="VeneerTrackerTemplate" parent="UIParent" virtual="true" hidden="true"> |
166 <Scripts> | |
167 <OnHide> | |
168 self.headerFade:Stop() | |
169 </OnHide> | |
170 </Scripts> | |
171 <Animations> | |
172 <AnimationGroup name="$parentSlideIn" parentKey="SlideIn" ignoreFramerateThrottle="true"> | |
173 <Translation parentKey="translation" offsetX="0" offsetY="0" smoothing="OUT" order="1" duration=".25" /> | |
174 </AnimationGroup> | |
175 <AnimationGroup name="$parentHeaderFade" parentKey="headerFade" setToFinalAlpha="true" ignoreFramerateThrottle="true"> | |
176 <Alpha childKey="LineGlow" duration="0.15" order="1" fromAlpha="0" toAlpha="1"/> | |
177 <Alpha childKey="LineGlow" startDelay="0.25" duration="0.65" order="1" fromAlpha="1" toAlpha="0"/> | |
178 <Scale childKey="LineGlow" duration="0.15" order="1" fromScaleX="0.1" fromScaleY="1.5" toScaleX="2" toScaleY="1.5"> | |
179 <Origin point="CENTER"> | |
180 <Offset x="-50" y="0"/> | |
181 </Origin> | |
182 </Scale> | |
183 <Translation childKey="LineGlow" duration="0.75" order="1" offsetX="65" offsetY="0"/> | |
184 <Alpha childKey="SoftGlow" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> | |
185 <Alpha childKey="SoftGlow" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> | |
186 <Scale childKey="SoftGlow" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="0.8" toScaleY="0.8"/> | |
187 <Alpha childKey="StarBurst" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> | |
188 <Alpha childKey="StarBurst" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> | |
189 <Scale childKey="StarBurst" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="1" toScaleY="1"/> | |
190 <Alpha childKey="LineSheen" startDelay="0.15" duration="0.5" order="1" fromAlpha="0" toAlpha="0.75"/> | |
191 <Alpha childKey="LineSheen" startDelay="0.75" duration="0.5" order="1" fromAlpha="0.75" toAlpha="0"/> | |
192 <Translation childKey="LineSheen" startDelay="0.15" duration="1.5" order="1" offsetX="280" offsetY="0"/> | |
193 </AnimationGroup> | |
194 </Animations> | |
194 <Layers> | 195 <Layers> |
195 <Layer level="BACKGROUND"> | 196 <Layer level="BACKGROUND"> |
196 <Texture name="$parentTitleBackground" parentKey="titlebg"> | 197 <Texture name="$parentTitleBackground" parentKey="titlebg"> |
197 <Anchors> | 198 <Anchors> |
198 <Anchor point="TOPLEFT" /> | 199 <Anchor point="TOPLEFT" /> |
203 <MinColor r="0" g="0" b="0" a="0.1" /> | 204 <MinColor r="0" g="0" b="0" a="0.1" /> |
204 <MaxColor r="0" g="0" b="0" a="0" /> | 205 <MaxColor r="0" g="0" b="0" a="0" /> |
205 </Gradient> | 206 </Gradient> |
206 </Texture> | 207 </Texture> |
207 </Layer> | 208 </Layer> |
209 <Layer level="ARTWORK"> | |
210 <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true"> | |
211 <Anchors> | |
212 <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg"/> | |
213 </Anchors> | |
214 </Texture> | |
215 <Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> | |
216 <Size x="60" y="15"/> | |
217 <Anchors> | |
218 <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="0" y="0"/> | |
219 </Anchors> | |
220 </Texture> | |
221 <Texture parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> | |
222 <Anchors> | |
223 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="-50" y="18"/> | |
224 </Anchors> | |
225 </Texture> | |
226 <Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true"> | |
227 <Anchors> | |
228 <Anchor point="CENTER" relativeKey="$parent.titlebg" relativePoint="BOTTOMLEFT" x="20" y="20"/> | |
229 </Anchors> | |
230 </Texture> | |
231 </Layer> | |
208 <Layer level="OVERLAY"> | 232 <Layer level="OVERLAY"> |
209 <FontString name="$parentTitle" inherits="VeneerFontHighlight" text="OBJ" parentKey="title" justifyH="LEFT"> | 233 <FontString name="$parentTitle" inherits="VeneerFontHighlight" text="OBJ" parentKey="title" justifyH="LEFT"> |
210 <Anchors> | 234 <Anchors> |
211 <Anchor point="TOP" relativeKey="$parent.titlebg" /> | 235 <Anchor point="TOP" relativeKey="$parent.titlebg" /> |
212 <Anchor point="BOTTOM" relativeKey="$parent.titlebg" /> | 236 <Anchor point="BOTTOM" relativeKey="$parent.titlebg" /> |
222 <Anchor point="RIGHT" relativeKey="$parent" /> | 246 <Anchor point="RIGHT" relativeKey="$parent" /> |
223 </Anchors> | 247 </Anchors> |
224 </FontString> | 248 </FontString> |
225 </Layer> | 249 </Layer> |
226 </Layers> | 250 </Layers> |
251 </Frame> | |
252 | |
253 | |
254 <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true"> | |
227 <Animations> | 255 <Animations> |
228 <AnimationGroup parentKey="headerFade" setToFinalAlpha="true"> | 256 <AnimationGroup name="$parentSlideIn" parentKey="SlideIn" ignoreFramerateThrottle="true"> |
229 <Alpha childKey="titlebg" duration="0.7" fromAlpha="1" toAlpha="0" order="1" /> | 257 <Translation parentKey="translation" offsetX="0" offsetY="0" smoothing="OUT" order="1" duration=".25" /> |
258 </AnimationGroup> | |
259 <AnimationGroup parentKey="questFadeIn" setToFinalAlpha="true" ignoreFramerateThrottle="true"> | |
260 <Alpha duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> | |
261 <Scale duration="0.25" order="1" fromScaleX="0.1" fromScaleY="0.1" toScaleX="1" toScaleY="1"> | |
262 <Origin point="CENTER"> | |
263 <Offset x="-50" y="0"/> | |
264 </Origin> | |
265 </Scale> | |
266 <Translation childKey="LineGlow" duration="0.75" order="1" offsetX="65" offsetY="0"/> | |
267 <Alpha childKey="SoftGlow" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> | |
268 <Alpha childKey="SoftGlow" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> | |
269 <Scale childKey="SoftGlow" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="0.8" toScaleY="0.8"/> | |
270 <Alpha childKey="StarBurst" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> | |
271 <Alpha childKey="StarBurst" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> | |
272 <Scale childKey="StarBurst" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="1" toScaleY="1"/> | |
273 <Alpha childKey="LineSheen" startDelay="0.15" duration="0.5" order="1" fromAlpha="0" toAlpha="0.75"/> | |
274 <Alpha childKey="LineSheen" startDelay="0.75" duration="0.5" order="1" fromAlpha="0.75" toAlpha="0"/> | |
275 <Translation childKey="LineSheen" startDelay="0.15" duration="1.5" order="1" offsetX="280" offsetY="0"/> | |
276 <Scripts> | |
277 <OnPlay> | |
278 self.animating = true | |
279 </OnPlay> | |
280 <OnFinished> | |
281 self.animating = nil | |
282 </OnFinished> | |
283 </Scripts> | |
230 </AnimationGroup> | 284 </AnimationGroup> |
231 </Animations> | 285 </Animations> |
232 </Frame> | |
233 | |
234 | |
235 <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true"> | |
236 <Layers> | 286 <Layers> |
237 <Layer level="BACKGROUND"> | 287 <Layer level="BACKGROUND"> |
238 <Texture name="$parentTitleBackground" parentKey="titlebg"> | 288 <Texture name="$parentTitleBackground" parentKey="titlebg"> |
239 <Color r="1" g="1" b="1" a="1" /> | 289 <Color r="1" g="1" b="1" a="1" /> |
240 <Anchors> | 290 <Anchors> |
241 <Anchor point="LEFTTOP" x="0" y="0" /> | 291 <Anchor point="TOPLEFT" x="0" y="0" /> |
242 <Anchor point="RIGHT" /> | 292 <Anchor point="RIGHT" /> |
243 </Anchors> | 293 </Anchors> |
244 </Texture> | 294 </Texture> |
245 <Texture name="$parentStatusBackground" parentKey="statusbg"> | 295 <Texture name="$parentStatusBackground" parentKey="statusbg"> |
246 <Anchors> | 296 <Anchors> |
255 <MaxColor r="0" g="0" b="0" a=".35" /> | 305 <MaxColor r="0" g="0" b="0" a=".35" /> |
256 </Gradient> | 306 </Gradient> |
257 </Texture> | 307 </Texture> |
258 </Layer> | 308 </Layer> |
259 <Layer level="ARTWORK"> | 309 <Layer level="ARTWORK"> |
310 <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true"> | |
311 <Anchors> | |
312 <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg"/> | |
313 </Anchors> | |
314 </Texture> | |
315 <Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> | |
316 <Size x="60" y="15"/> | |
317 <Anchors> | |
318 <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="0" y="0"/> | |
319 </Anchors> | |
320 </Texture> | |
321 <Texture parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> | |
322 <Anchors> | |
323 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="-50" y="18"/> | |
324 </Anchors> | |
325 </Texture> | |
326 <Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true"> | |
327 <Anchors> | |
328 <Anchor point="CENTER" relativeKey="$parent.titlebg" relativePoint="BOTTOMLEFT" x="20" y="20"/> | |
329 </Anchors> | |
330 </Texture> | |
331 | |
260 <Texture name="$parentItemTile" parentKey="icon" alphaMode="BLEND" hidden="true"> | 332 <Texture name="$parentItemTile" parentKey="icon" alphaMode="BLEND" hidden="true"> |
261 <Anchors> | 333 <Anchors> |
262 <Anchor point="TOPRIGHT" x="0" y="0" /> | 334 <Anchor point="TOPRIGHT" x="0" y="0" /> |
263 </Anchors> | 335 </Anchors> |
264 </Texture> | 336 </Texture> |
485 | 557 |
486 <Include file="SecureButton.xml" /> | 558 <Include file="SecureButton.xml" /> |
487 <Include file="Widgets.xml" /> | 559 <Include file="Widgets.xml" /> |
488 | 560 |
489 <Script file="ObjectiveTracker.lua" /> | 561 <Script file="ObjectiveTracker.lua" /> |
490 <Script file="Frame.lua" /> | |
491 <Script file="Quests.lua" /> | 562 <Script file="Quests.lua" /> |
492 <Script file="Achievements.lua" /> | 563 <Script file="Achievements.lua" /> |
493 <Script file="AutoQuestPopups.lua" /> | 564 <Script file="AutoQuestPopups.lua" /> |
494 <Script file="BonusObjectives.lua" /> | 565 <Script file="BonusObjectives.lua" /> |
495 <Script file="ScenarioObjectives.lua" /> | 566 <Script file="ScenarioObjectives.lua" /> |
496 <Script file="ExerienceBar.lua" /> | 567 <Script file="ExerienceBar.lua" /> |
568 <Script file="Frame.lua" /> | |
497 <Script file="Events.lua" /> | 569 <Script file="Events.lua" /> |
498 <Script file="Widgets.lua" /> | 570 <Script file="Widgets.lua" /> |
499 <!-- <Script file="ObjectiveStyle.lua" /> --> | 571 <!-- <Script file="ObjectiveStyle.lua" /> --> |
500 <!-- <Script file="ObjectiveInfo.lua" /> --> | 572 <!-- <Script file="ObjectiveInfo.lua" /> --> |
501 </Ui> | 573 </Ui> |