summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_gesture_touch.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/gesture/efl_gesture_touch.eo')
-rw-r--r--src/lib/evas/gesture/efl_gesture_touch.eo61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/lib/evas/gesture/efl_gesture_touch.eo b/src/lib/evas/gesture/efl_gesture_touch.eo
new file mode 100644
index 0000000..9df3ed9
--- /dev/null
+++ b/src/lib/evas/gesture/efl_gesture_touch.eo
@@ -0,0 +1,61 @@
1import efl_gesture_types;
2import efl_input_types;
3
4class Efl.Gesture.Touch(Efl.Object)
5{
6 methods {
7 point_record {
8 params {
9 @in tool : int; [[The finger id ]]
10 @in x : double; [[The x co-ordinate of the event]]
11 @in y : double; [[The y co-ordinate of the event]]
12 @in timestamp : double; [[The timestamp of the event]]
13 @in action : Efl.Pointer.Action; [[action of the event]]
14 }
15 }
16 delta {
17 params {
18 @in tool : int; [[The finger id ]]
19 @out x : double; [[The x co-ordinate of the event]]
20 @out y : double; [[The y co-ordinate of the event]]
21 }
22 }
23 distance {
24 params {
25 @in tool : int; [[The finger id ]]
26 @out x : double; [[The x co-ordinate of the event]]
27 @out y : double; [[The y co-ordinate of the event]]
28 }
29 }
30 start_point {
31 params {
32 @out x : double; [[The x co-ordinate of the event]]
33 @out y : double; [[The y co-ordinate of the event]]
34 }
35 }
36 @property multi_touch {
37 [[This property tells if the event is multi touch.]]
38 get {
39 return: bool; [[returns true if its a multi touch]]
40 }
41 }
42 @property state {
43 [[This property holds the state of the touch event.]]
44 get {
45 return : Efl.Gesture.Touch.State; [[touch event state]]
46 }
47 }
48 @property finger_list {
49 get {
50 [[Get the list of finger id .]]
51 }
52 values {
53 ret: const(list<int>); [[List of finger id]]
54 }
55 }
56 }
57 implements {
58 Efl.Object.constructor;
59 Efl.Object.destructor;
60 }
61} \ No newline at end of file