X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Finput%2Fgesturedetector.h;h=fdd083de0372feb7cb4cde113881f6175d1e27cb;hb=a5be5c703808817dda8feafb03b0aec04b20afbb;hp=b2d0d4fdd36139411c3fb61e8b1062e575ea3ba4;hpb=5858aa055277dbd376c33bb3bbeb6aa74137a17f;p=libs%2Fgui.git diff --git a/source/input/gesturedetector.h b/source/input/gesturedetector.h index b2d0d4f..fdd083d 100644 --- a/source/input/gesturedetector.h +++ b/source/input/gesturedetector.h @@ -11,17 +11,14 @@ class Touchscreen; enum Gesture { GESTURE_NONE, - GESTURE_SWIPE_DOWN, - GESTURE_SWIPE_UP, - GESTURE_SWIPE_LEFT, - GESTURE_SWIPE_RIGHT, + GESTURE_DRAG, GESTURE_PINCH }; /** Interprets events from a Touchscreen as high-level gestures. One button is provided for each type of gesture. Axes 0 and 1 indicate the starting position -of the gesture; axis 2 tracks its progress. The progress axis may exhibit +of the gesture; axes 2 and 3 track its progress. The progress axis may exhibit absolute values greater than one. */ class GestureDetector: public Device