Mercurial > wow > devian
diff Dock.xml @ 100:790dca545f1d v3.0
- Configuration structure overheal; clearing 'Devian.lua' from SaveVariables will be necessary
- Removed dependence on embedded libraries.
- Console/dock frames are now implemented as XML mixin structures
- Console dropdown menu option to 'Pin' frames
- Hold SHIFT while clicking dock buttons will cause all but that tab to be closed
author | Nenue |
---|---|
date | Tue, 17 Jan 2017 14:25:18 -0500 |
parents | 7d94df3804a7 |
children | 8dc0c1917890 |
line wrap: on
line diff
--- a/Dock.xml Thu Oct 27 06:11:04 2016 -0400 +++ b/Dock.xml Tue Jan 17 14:25:18 2017 -0500 @@ -43,7 +43,6 @@ <OnShow method="OnShow" /> <OnEnter method="OnEnter" /> <OnMouseDown method="OnMouseDown" /> - <OnClick method="Select" /> </Scripts> <Layers> <Layer level="BACKGROUND"> @@ -51,6 +50,11 @@ <Color a="0.5" r="0" g="0" b="0" /> </Texture> </Layer> + <Layer level="BORDER"> + <Texture parentKey="BackgroundGlow" setAllPoints="true" hidden="true"> + <Color a="1" r="0" g="1" b="0.5" /> + </Texture> + </Layer> <Layer level="OVERLAY"> <Texture parentKey="Stripe"> <Anchors> @@ -80,14 +84,27 @@ </FontString> </Layer> </Layers> - <Animations> - <AnimationGroup parentKey="pulse" looping="BOUNCE" setToFinalAlpha="false"> - <Alpha fromAlpha=".5" toAlpha="1" duration="0.4" endDelay="0.6" order="1" childKey="name" /> - - </AnimationGroup> - </Animations> </Frame> </Frames> + <Animations> + <AnimationGroup parentKey="pulse" looping="REPEAT" setToFinalAlpha="true"> + <Alpha fromAlpha=".15" toAlpha=".65" duration="0.4" order="1" childKey="BackgroundGlow" /> + <Alpha fromAlpha=".65" toAlpha=".15" duration="0.4" order="2" childKey="BackgroundGlow" /> + <Alpha fromAlpha=".15" toAlpha=".15" duration="0.6" order="3" childKey="BackgroundGlow" /> + <Scripts> + <OnPlay> + self:GetParent().BackgroundGlow:SetAlpha(.65) + self:GetParent().BackgroundGlow:Show() + </OnPlay> + <OnStop> + self:GetParent().BackgroundGlow:Hide() + </OnStop> + <OnFinished> + self:GetParent().BackgroundGlow:Hide() + </OnFinished> + </Scripts> + </AnimationGroup> + </Animations> </Button> </Ui> \ No newline at end of file