summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_gesture_touch.eo
blob: 9df3ed95f4e7c1addbc156665db15d3a31bf2173 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import efl_gesture_types;
import efl_input_types;

class Efl.Gesture.Touch(Efl.Object)
{
   methods {
      point_record {
         params {
            @in tool       : int; [[The finger id ]]
            @in x          : double; [[The x co-ordinate of the event]]
            @in y          : double; [[The y co-ordinate of the event]]
            @in timestamp  : double; [[The timestamp of the event]]
            @in action     : Efl.Pointer.Action; [[action of the event]]
         }
      }
      delta {
         params {
            @in tool        : int; [[The finger id ]]
            @out x          : double; [[The x co-ordinate of the event]]
            @out y          : double; [[The y co-ordinate of the event]]
         }
      }
      distance {
         params {
            @in tool        : int; [[The finger id ]]
            @out x          : double; [[The x co-ordinate of the event]]
            @out y          : double; [[The y co-ordinate of the event]]
         }
      }
      start_point {
         params {
            @out x          : double; [[The x co-ordinate of the event]]
            @out y          : double; [[The y co-ordinate of the event]]
         }
      }
      @property multi_touch {
         [[This property tells if the event is multi touch.]]
         get {
            return: bool; [[returns true if its a multi touch]]
         }
      }
      @property state {
         [[This property holds the state of the touch event.]]
         get {
            return : Efl.Gesture.Touch.State; [[touch event state]]
         }
      }
      @property finger_list {
         get {
            [[Get the list of finger id .]]
         }
         values {
            ret: const(list<int>); [[List of finger id]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
   }
}