summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_map.c')
-rw-r--r--src/lib/elementary/elm_map.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/lib/elementary/elm_map.c b/src/lib/elementary/elm_map.c
index c22f6d9..e42a6a0 100644
--- a/src/lib/elementary/elm_map.c
+++ b/src/lib/elementary/elm_map.c
@@ -3932,12 +3932,12 @@ _elm_map_pan_efl_canvas_group_group_calculate(Eo *obj, Elm_Map_Pan_Data *psd)
3932} 3932}
3933 3933
3934EOLIAN static void 3934EOLIAN static void
3935_elm_map_pan_efl_gfx_position_set(Eo *obj, Elm_Map_Pan_Data *_pd EINA_UNUSED, Evas_Coord x, Evas_Coord y) 3935_elm_map_pan_efl_gfx_position_set(Eo *obj, Elm_Map_Pan_Data *_pd EINA_UNUSED, Eina_Position2D pos)
3936{ 3936{
3937 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 3937 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
3938 return; 3938 return;
3939 3939
3940 efl_gfx_position_set(efl_super(obj, MY_PAN_CLASS), x, y); 3940 efl_gfx_position_set(efl_super(obj, MY_PAN_CLASS), pos);
3941 evas_object_smart_changed(obj); 3941 evas_object_smart_changed(obj);
3942} 3942}
3943 3943
@@ -4249,14 +4249,13 @@ _elm_map_efl_canvas_group_group_del(Eo *obj, Elm_Map_Data *sd)
4249} 4249}
4250 4250
4251EOLIAN static void 4251EOLIAN static void
4252_elm_map_efl_gfx_position_set(Eo *obj, Elm_Map_Data *sd, Evas_Coord x, Evas_Coord y) 4252_elm_map_efl_gfx_position_set(Eo *obj, Elm_Map_Data *sd, Eina_Position2D pos)
4253{ 4253{
4254 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, x, y)) 4254 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_MOVE, 0, pos.x, pos.y))
4255 return; 4255 return;
4256 4256
4257 efl_gfx_position_set(efl_super(obj, MY_CLASS), x, y); 4257 efl_gfx_position_set(efl_super(obj, MY_CLASS), pos);
4258 4258 efl_gfx_position_set(sd->hit_rect, pos);
4259 evas_object_move(sd->hit_rect, x, y);
4260} 4259}
4261 4260
4262EOLIAN static void 4261EOLIAN static void