summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_input_pointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/efl_input_pointer.c')
-rw-r--r--src/lib/evas/canvas/efl_input_pointer.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_input_pointer.c b/src/lib/evas/canvas/efl_input_pointer.c
index 2d30ddb910..6e95a11bc0 100644
--- a/src/lib/evas/canvas/efl_input_pointer.c
+++ b/src/lib/evas/canvas/efl_input_pointer.c
@@ -224,6 +224,20 @@ _efl_input_pointer_position_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd)
224} 224}
225 225
226EOLIAN static void 226EOLIAN static void
227_efl_input_pointer_precise_position_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Eina_Vector2 pos)
228{
229 _efl_input_value_mark(pd, EFL_INPUT_VALUE_X);
230 _efl_input_value_mark(pd, EFL_INPUT_VALUE_Y);
231 pd->cur = pos;
232}
233
234EOLIAN static Eina_Vector2
235_efl_input_pointer_precise_position_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd)
236{
237 return pd->cur;
238}
239
240EOLIAN static void
227_efl_input_pointer_previous_position_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Eina_Position2D pos) 241_efl_input_pointer_previous_position_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Eina_Position2D pos)
228{ 242{
229 _efl_input_value_mark(pd, EFL_INPUT_VALUE_PREVIOUS_X); 243 _efl_input_value_mark(pd, EFL_INPUT_VALUE_PREVIOUS_X);