Mercurial > wow > buffalo2
diff 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 |
line wrap: on
line diff
--- a/ObjectiveTracker/ObjectiveTracker.xml Wed Apr 13 21:53:24 2016 -0400 +++ b/ObjectiveTracker/ObjectiveTracker.xml Thu Apr 14 17:11:13 2016 -0400 @@ -1,4 +1,6 @@ -<Ui> +<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/ +..\FrameXML\UI.xsd"> + <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" frameStrata="LOW"> <TitleRegion> @@ -49,39 +51,9 @@ <Anchor point="BOTTOMRIGHT" /> </Anchors> </Texture> - <!--<Texture desatuated="true" parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> - <Anchors> - <Anchor point="LEFT" relativeKey="$parent.Background" x="-21" y="18"/> - </Anchors> - </Texture> - <Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true"> - <Anchors> - <Anchor point="CENTER" relativeKey="$parent.Background" relativePoint="LEFT" x="49" y="20"/> - </Anchors> - </Texture> - <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true"> - <Anchors> - <Anchor point="CENTER" relativeKey="$parent.SoftGlow" x="29"/> - </Anchors> - </Texture> - <Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> - <Size x="60" y="15"/> - <Anchors> - <Anchor point="CENTER" relativeKey="$parent.SoftGlow" x="29" y="-13"/> - </Anchors> - </Texture>--> </Layer> <Layer level="OVERLAY"> - <!--<Texture name="$parentTCR" parentKey="outlineClosed" file="Interface\FrameGeneral\UI-Frame"> - <Size x="40" y="30" /> - <Color r="1" g="1" b="1" a="1" /> - <TexCoords top=".0156" bottom=".0265" left=".625" right=".875" /> - <Anchors> - <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="2" y="2" /> - </Anchors> - </Texture>--> - </Layer> </Layers> <Frames> @@ -191,6 +163,35 @@ <!-- Background panels --> <Frame name="VeneerTrackerTemplate" parent="UIParent" virtual="true" hidden="true"> + <Scripts> + <OnHide> + self.headerFade:Stop() + </OnHide> + </Scripts> + <Animations> + <AnimationGroup name="$parentSlideIn" parentKey="SlideIn" ignoreFramerateThrottle="true"> + <Translation parentKey="translation" offsetX="0" offsetY="0" smoothing="OUT" order="1" duration=".25" /> + </AnimationGroup> + <AnimationGroup name="$parentHeaderFade" parentKey="headerFade" setToFinalAlpha="true" ignoreFramerateThrottle="true"> + <Alpha childKey="LineGlow" duration="0.15" order="1" fromAlpha="0" toAlpha="1"/> + <Alpha childKey="LineGlow" startDelay="0.25" duration="0.65" order="1" fromAlpha="1" toAlpha="0"/> + <Scale childKey="LineGlow" duration="0.15" order="1" fromScaleX="0.1" fromScaleY="1.5" toScaleX="2" toScaleY="1.5"> + <Origin point="CENTER"> + <Offset x="-50" y="0"/> + </Origin> + </Scale> + <Translation childKey="LineGlow" duration="0.75" order="1" offsetX="65" offsetY="0"/> + <Alpha childKey="SoftGlow" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> + <Alpha childKey="SoftGlow" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> + <Scale childKey="SoftGlow" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="0.8" toScaleY="0.8"/> + <Alpha childKey="StarBurst" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> + <Alpha childKey="StarBurst" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> + <Scale childKey="StarBurst" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="1" toScaleY="1"/> + <Alpha childKey="LineSheen" startDelay="0.15" duration="0.5" order="1" fromAlpha="0" toAlpha="0.75"/> + <Alpha childKey="LineSheen" startDelay="0.75" duration="0.5" order="1" fromAlpha="0.75" toAlpha="0"/> + <Translation childKey="LineSheen" startDelay="0.15" duration="1.5" order="1" offsetX="280" offsetY="0"/> + </AnimationGroup> + </Animations> <Layers> <Layer level="BACKGROUND"> <Texture name="$parentTitleBackground" parentKey="titlebg"> @@ -205,6 +206,29 @@ </Gradient> </Texture> </Layer> + <Layer level="ARTWORK"> + <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true"> + <Anchors> + <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg"/> + </Anchors> + </Texture> + <Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> + <Size x="60" y="15"/> + <Anchors> + <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="0" y="0"/> + </Anchors> + </Texture> + <Texture parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> + <Anchors> + <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="-50" y="18"/> + </Anchors> + </Texture> + <Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true"> + <Anchors> + <Anchor point="CENTER" relativeKey="$parent.titlebg" relativePoint="BOTTOMLEFT" x="20" y="20"/> + </Anchors> + </Texture> + </Layer> <Layer level="OVERLAY"> <FontString name="$parentTitle" inherits="VeneerFontHighlight" text="OBJ" parentKey="title" justifyH="LEFT"> <Anchors> @@ -224,21 +248,47 @@ </FontString> </Layer> </Layers> + </Frame> + + + <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true"> <Animations> - <AnimationGroup parentKey="headerFade" setToFinalAlpha="true"> - <Alpha childKey="titlebg" duration="0.7" fromAlpha="1" toAlpha="0" order="1" /> + <AnimationGroup name="$parentSlideIn" parentKey="SlideIn" ignoreFramerateThrottle="true"> + <Translation parentKey="translation" offsetX="0" offsetY="0" smoothing="OUT" order="1" duration=".25" /> + </AnimationGroup> + <AnimationGroup parentKey="questFadeIn" setToFinalAlpha="true" ignoreFramerateThrottle="true"> + <Alpha duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> + <Scale duration="0.25" order="1" fromScaleX="0.1" fromScaleY="0.1" toScaleX="1" toScaleY="1"> + <Origin point="CENTER"> + <Offset x="-50" y="0"/> + </Origin> + </Scale> + <Translation childKey="LineGlow" duration="0.75" order="1" offsetX="65" offsetY="0"/> + <Alpha childKey="SoftGlow" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> + <Alpha childKey="SoftGlow" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> + <Scale childKey="SoftGlow" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="0.8" toScaleY="0.8"/> + <Alpha childKey="StarBurst" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> + <Alpha childKey="StarBurst" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> + <Scale childKey="StarBurst" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="1" toScaleY="1"/> + <Alpha childKey="LineSheen" startDelay="0.15" duration="0.5" order="1" fromAlpha="0" toAlpha="0.75"/> + <Alpha childKey="LineSheen" startDelay="0.75" duration="0.5" order="1" fromAlpha="0.75" toAlpha="0"/> + <Translation childKey="LineSheen" startDelay="0.15" duration="1.5" order="1" offsetX="280" offsetY="0"/> + <Scripts> + <OnPlay> + self.animating = true + </OnPlay> + <OnFinished> + self.animating = nil + </OnFinished> + </Scripts> </AnimationGroup> </Animations> - </Frame> - - - <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true"> <Layers> <Layer level="BACKGROUND"> <Texture name="$parentTitleBackground" parentKey="titlebg"> <Color r="1" g="1" b="1" a="1" /> <Anchors> - <Anchor point="LEFTTOP" x="0" y="0" /> + <Anchor point="TOPLEFT" x="0" y="0" /> <Anchor point="RIGHT" /> </Anchors> </Texture> @@ -257,6 +307,28 @@ </Texture> </Layer> <Layer level="ARTWORK"> + <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true"> + <Anchors> + <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg"/> + </Anchors> + </Texture> + <Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> + <Size x="60" y="15"/> + <Anchors> + <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="0" y="0"/> + </Anchors> + </Texture> + <Texture parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> + <Anchors> + <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="-50" y="18"/> + </Anchors> + </Texture> + <Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true"> + <Anchors> + <Anchor point="CENTER" relativeKey="$parent.titlebg" relativePoint="BOTTOMLEFT" x="20" y="20"/> + </Anchors> + </Texture> + <Texture name="$parentItemTile" parentKey="icon" alphaMode="BLEND" hidden="true"> <Anchors> <Anchor point="TOPRIGHT" x="0" y="0" /> @@ -487,13 +559,13 @@ <Include file="Widgets.xml" /> <Script file="ObjectiveTracker.lua" /> - <Script file="Frame.lua" /> <Script file="Quests.lua" /> <Script file="Achievements.lua" /> <Script file="AutoQuestPopups.lua" /> <Script file="BonusObjectives.lua" /> <Script file="ScenarioObjectives.lua" /> <Script file="ExerienceBar.lua" /> + <Script file="Frame.lua" /> <Script file="Events.lua" /> <Script file="Widgets.lua" /> <!-- <Script file="ObjectiveStyle.lua" /> -->