diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-23 21:07:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-26 09:14:00 +0000 |
commit | 903a420609252aff12d9481b5fd8cc8d1f1d445f (patch) | |
tree | 1b5266949021523603134c793ae4f1d286980618 /sd/source/ui/slideshow/slideshowimpl.hxx | |
parent | 82f4f6b19febb607d8823923380777f27e0ab3d9 (diff) |
add GtkSwipeGesture support and implement swipe left/right to change slides
keep it simple for now.
deliver to the same target window that gets the MouseWheel events, maybe worth combining
MouseWheel and Gestures into the same thing
and use it in slideshows so swipe toward the left to advance to the next slide,
to the right to return to the previous slide.
swipes are followed by mouse up events, impress already has a similar hack
to hide an mouse-up from the (incredibly complicated) interaction with
the slideshow so simply use that
Change-Id: Ib34f6fa0f15f3aa34eef887eb9d5642de9e5cdd1
Diffstat (limited to 'sd/source/ui/slideshow/slideshowimpl.hxx')
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index 5506007286f8..97fe5e3342f3 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -218,6 +218,7 @@ public: void slideEnded(const bool bReverse); void hyperLinkClicked(const OUString & hyperLink) throw (css::uno::RuntimeException); void click(const css::uno::Reference< css::drawing::XShape > & xShape, const css::awt::MouseEvent & aOriginalEvent); + bool swipe(const CommandSwipeData &rSwipeData); /// ends the presentation async void endPresentation(); |