summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_canvas_gesture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/gesture/efl_canvas_gesture.c')
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture.c b/src/lib/evas/gesture/efl_canvas_gesture.c
index 26f279f..231bc86 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture.c
@@ -1,3 +1,4 @@
1#define EFL_CANVAS_GESTURE_PROTECTED
1#include "efl_canvas_gesture_private.h" 2#include "efl_canvas_gesture_private.h"
2 3
3#define MY_CLASS EFL_CANVAS_GESTURE_CLASS 4#define MY_CLASS EFL_CANVAS_GESTURE_CLASS
@@ -28,7 +29,6 @@ _efl_canvas_gesture_hotspot_set(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd
28 pd->hotspot = hotspot; 29 pd->hotspot = hotspot;
29} 30}
30 31
31
32EOLIAN static Eina_Position2D 32EOLIAN static Eina_Position2D
33_efl_canvas_gesture_hotspot_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) 33_efl_canvas_gesture_hotspot_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd)
34{ 34{
@@ -41,12 +41,23 @@ _efl_canvas_gesture_timestamp_set(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *
41 pd->timestamp = timestamp; 41 pd->timestamp = timestamp;
42} 42}
43 43
44
45EOLIAN static unsigned int 44EOLIAN static unsigned int
46_efl_canvas_gesture_timestamp_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) 45_efl_canvas_gesture_timestamp_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd)
47{ 46{
48 return pd->timestamp; 47 return pd->timestamp;
49} 48}
50 49
50EOLIAN static void
51_efl_canvas_gesture_touch_count_set(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd, unsigned int touch_count)
52{
53 pd->touch_count = touch_count;
54}
55
56EOLIAN static unsigned int
57_efl_canvas_gesture_touch_count_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd)
58{
59 return pd->touch_count;
60}
61
51#include "efl_canvas_gesture.eo.c" 62#include "efl_canvas_gesture.eo.c"
52#include "efl_canvas_gesture_events.eo.c" 63#include "efl_canvas_gesture_events.eo.c"