summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_gesture_types.eot
blob: 5a41938f20fbb17195f1d0319e0d9c804c85b1aa (plain)
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
enum Efl.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 Efl.Gesture.State
{
   [[ This enum type describes the state of a gesture. ]]
   legacy: efl_gesture;
   none    = 0,
   started = 1, [[A continuous gesture has started.]]
   updated,     [[A gesture continues.]]
   finished,    [[A gesture has finished.]]
   canceled,    [[A gesture was canceled.]]
}

enum Efl.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,
}