summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/animationnodes/animationphysicsnode.hxx
diff options
context:
space:
mode:
authorSarper Akdemir <q.sarperakdemir@gmail.com>2020-08-14 01:18:14 +0300
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-08-22 11:24:16 +0200
commit394f74e6f168f034f7ed73e3027e4ff07f6b94b9 (patch)
treeb4da98e1d95e6bd3bf0e0a1cf30a9a5769907dc3 /slideshow/source/engine/animationnodes/animationphysicsnode.hxx
parent8a360d04e43410e729c0ee270be5447ce6c1cd03 (diff)
add bounciness velocity and density options to physics animations
Adding new xml options to specify the starting velocity, bounciness, and density of the rigid body that physics animation control. Change-Id: Ifaba785e82c8ee17be00711a3e7a75257e7704ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101141 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'slideshow/source/engine/animationnodes/animationphysicsnode.hxx')
-rw-r--r--slideshow/source/engine/animationnodes/animationphysicsnode.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/slideshow/source/engine/animationnodes/animationphysicsnode.hxx b/slideshow/source/engine/animationnodes/animationphysicsnode.hxx
index 8517dbbb803b..d9af6802a037 100644
--- a/slideshow/source/engine/animationnodes/animationphysicsnode.hxx
+++ b/slideshow/source/engine/animationnodes/animationphysicsnode.hxx
@@ -20,6 +20,7 @@
#include "animationbasenode.hxx"
#include <com/sun/star/animations/XAnimateMotion.hpp>
+#include <com/sun/star/animations/XAnimatePhysics.hpp>
namespace slideshow
{
@@ -46,7 +47,7 @@ private:
virtual AnimationActivitySharedPtr createActivity() const override;
virtual bool enqueueActivity() const override;
- css::uno::Reference<css::animations::XAnimateMotion> mxPhysicsMotionNode;
+ css::uno::Reference<css::animations::XAnimatePhysics> mxPhysicsMotionNode;
};
} // namespace internal