aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/gesture/efl_canvas_gesture_types.eot
blob: 96a2ff629327fe370ab801eccd5e66d6b758ac7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
enum @beta Efl.Canvas.Gesture_Touch_State
{
   [[ This enum type describes the state of a touch event. ]]
   legacy: efl_gesture_touch;
   unknown = 0, [[Gesture Touch State unknown]]
   begin ,      [[First fingure touch down]]
   update,      [[fingure touch update]]
   end,         [[Last fingure touch up]]
}

enum @beta Efl.Canvas.Gesture_State
{
   [[ This enum type describes the state of a gesture. ]]
   legacy: efl_gesture;
   none    = 0, [[No gesture state]]
   started = 1, [[A continuous gesture has started.]]
   updated,     [[A gesture continues.]]
   finished,    [[A gesture has finished.]]
   canceled,    [[A gesture was canceled.]]
}

enum @beta Efl.Canvas.Gesture_Recognizer_Result
{
   [[ This enum type describes the state of a gesture recognizer. ]]
   legacy: efl_gesture;

   ignore    = 0x0001, [[The event does not change the state of the recognizer.]]
   maybe     = 0x0002, [[The event changed the internal state of the recognizer, but it isn't clear yet if it is a  gesture or not. The recognizer needs to filter more events to decide.]]
   trigger   = 0x0004, [[The gesture has been triggered]]
   finish    = 0x0008, [[The gesture has been finished successfully.]]
   cancel    = 0x0010, [[The event made it clear that it is not a gesture. If the gesture recognizer was in Triggered state before, then the gesture is canceled.]]
   result_mask = 0x00ff, [[The gesture result mask]]
}

enum @beta Efl.Canvas.Gesture_Recognizer_Type
{
   [[ This enum type describes the state of a touch event. ]]
   legacy: efl_gesture;
   tap = 0,
   doubleTap,
   tripleTap,
   longTap,
   momentum,
   flick,
   zoom,
}