summaryrefslogtreecommitdiff
path: root/sd/xml
diff options
context:
space:
mode:
authorSarper Akdemir <q.sarperakdemir@gmail.com>2020-08-30 02:34:21 +0300
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-08-31 12:28:35 +0200
commitd616104eeedef9ee32707c1b437c3e538de0ae25 (patch)
treeca3982d4765c9352b68cac1a1b0d4d2ff989d6ed /sd/xml
parentf525b8898dcefe9e43e63e475c18d754ef000007 (diff)
add two physics based emphasis animation effects presets
Adding two physics based emphasis animation effects presets called Shoot right/left and return. Change-Id: I38ea22a4347c83b7065476b9f673a900566b045f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101657 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sd/xml')
-rw-r--r--sd/xml/effects.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/sd/xml/effects.xml b/sd/xml/effects.xml
index df76e4e7c341..d910aa51c5a4 100644
--- a/sd/xml/effects.xml
+++ b/sd/xml/effects.xml
@@ -2648,6 +2648,26 @@
</anim:par>
<anim:par smil:begin="indefinite" smil:fill="hold">
<anim:par smil:begin="0" smil:fill="hold">
+ <anim:par smil:begin="0" smil:fill="hold" pres:node-type="on-click" pres:preset-class="emphasis" pres:preset-id="libo-physics-shoot-right-return">
+ <anim:animatePhysics smil:dur="4" anim:bounciness="0.6" anim:velocity-x="10000" smil:fill="hold"/>
+ <anim:animate smil:begin="4s" smil:dur="2s" smil:fill="hold" smil:accelerate="0.2" smil:decelerate="0.5" smil:attributeName="x" smil:to="x"/>
+ <anim:animate smil:begin="4s" smil:dur="2s" smil:fill="hold" smil:accelerate="0.2" smil:decelerate="0.5" smil:attributeName="y" smil:to="y"/>
+ <anim:animate smil:begin="4s" smil:dur="2s" smil:fill="hold" smil:accelerate="0.2" smil:decelerate="0.5" smil:attributeName="rotate" smil:to="0"/>
+ </anim:par>
+ </anim:par>
+ </anim:par>
+ <anim:par smil:begin="indefinite" smil:fill="hold">
+ <anim:par smil:begin="0" smil:fill="hold">
+ <anim:par smil:begin="0" smil:fill="hold" pres:node-type="on-click" pres:preset-class="emphasis" pres:preset-id="libo-physics-shoot-left-return">
+ <anim:animatePhysics smil:dur="4" anim:bounciness="0.6" anim:velocity-x="-10000" smil:fill="hold"/>
+ <anim:animate smil:begin="4s" smil:dur="2s" smil:fill="hold" smil:accelerate="0.2" smil:decelerate="0.5" smil:attributeName="x" smil:to="x"/>
+ <anim:animate smil:begin="4s" smil:dur="2s" smil:fill="hold" smil:accelerate="0.2" smil:decelerate="0.5" smil:attributeName="y" smil:to="y"/>
+ <anim:animate smil:begin="4s" smil:dur="2s" smil:fill="hold" smil:accelerate="0.2" smil:decelerate="0.5" smil:attributeName="rotate" smil:to="0"/>
+ </anim:par>
+ </anim:par>
+ </anim:par>
+ <anim:par smil:begin="indefinite" smil:fill="hold">
+ <anim:par smil:begin="0" smil:fill="hold">
<anim:par smil:begin="0" smil:fill="hold" pres:node-type="on-click" pres:preset-class="media-call" pres:preset-id="ooo-media-start">
<anim:command smil:begin="0" smil:dur="0.001" smil:fill="hold" anim:command="play"/>
</anim:par>