summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_canvas_gesture.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-21 14:20:09 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-21 14:43:37 -0500
commitbbbdfbecc4ecafc25841fc1b36d82916f5db6e0e (patch)
tree08ac6fbf8dedaa1f4fe499418e8bbb172e3cb8be /src/lib/evas/gesture/efl_canvas_gesture.c
parenta0a80fc74af9f874c67bb8388d2d7de5d9feb24e (diff)
Efl.Gesture: rename to Efl.Canvas.Gesture
most C api remains unchanged ref T6714 ref T6716
Diffstat (limited to 'src/lib/evas/gesture/efl_canvas_gesture.c')
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture.c b/src/lib/evas/gesture/efl_canvas_gesture.c
new file mode 100644
index 0000000..b0fca13
--- /dev/null
+++ b/src/lib/evas/gesture/efl_canvas_gesture.c
@@ -0,0 +1,36 @@
1#include "efl_canvas_gesture_private.h"
2
3#define MY_CLASS EFL_CANVAS_GESTURE_CLASS
4
5EOLIAN static const Efl_Event_Description *
6 _efl_canvas_gesture_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd)
7{
8 return pd->type;
9}
10
11EOLIAN static Efl_Canvas_Gesture_State
12_efl_canvas_gesture_state_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd)
13{
14 return pd->state;
15}
16
17EOLIAN static void
18_efl_canvas_gesture_state_set(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd, Efl_Canvas_Gesture_State state)
19{
20 pd->state = state;
21}
22
23EOLIAN static void
24_efl_canvas_gesture_hotspot_set(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd, Eina_Vector2 hotspot)
25{
26 pd->hotspot = hotspot;
27}
28
29
30EOLIAN static Eina_Vector2
31_efl_canvas_gesture_hotspot_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd)
32{
33 return pd->hotspot;
34}
35
36#include "efl_canvas_gesture.eo.c" \ No newline at end of file