[vlc-commits] Add Win32 gestures helper

Ludovic Fauvet git at videolan.org
Sun Feb 16 23:52:09 CET 2014


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Feb 14 20:00:48 2014 +0100| [20c8e19ed360854cbc77b6b55285e04d651c1b50] | committer: Jean-Baptiste Kempf

Add Win32 gestures helper

This is a helper to take action on touchscreens on Windows 7 or later
It uses the braindead WM_GESTURE API and supports volume, seek (1 and 2
fingers), play/pause (2finger touch) and fullscreen (zoom gesture)

The API is simple so other UI element can use it, notably Qt and the
vouts

This has been edited by jb too

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20c8e19ed360854cbc77b6b55285e04d651c1b50
---

 modules/control/win32touch.c |  242 ++++++++++++++++++++++++++++++++++++++++++
 modules/control/win32touch.h |   83 +++++++++++++++
 2 files changed, 325 insertions(+)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=20c8e19ed360854cbc77b6b55285e04d651c1b50


More information about the vlc-commits mailing list