diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-29 16:49:43 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-30 17:29:52 +0900 |
commit | c690469fcc9d314144f432a6b74c20ea396d5cb7 (patch) | |
tree | 9a025e0de3c1130dfb559e1e55890896147c8508 /src/lib/elementary/elm_widget.h | |
parent | ac215dba0f0b3d81dab0986bc3d3a40cbabd6782 (diff) |
widget: Rename drag_lock to scroll_lock (EO)
This also includes the drag_child_lock APIs. This had nothing to do with
dragging beyond maybe the case where scrolling is done by thumbscroll
(ie. finger drag).
Note that the EAPI were called already scroll_lock, not drag_lock.
Ref T5363
Diffstat (limited to 'src/lib/elementary/elm_widget.h')
-rw-r--r-- | src/lib/elementary/elm_widget.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h index 695324d4f1..cc17e77911 100644 --- a/src/lib/elementary/elm_widget.h +++ b/src/lib/elementary/elm_widget.h | |||
@@ -445,8 +445,8 @@ typedef struct _Elm_Widget_Smart_Data | |||
445 | Efl_Ui_Focus_User *provider; | 445 | Efl_Ui_Focus_User *provider; |
446 | } manager; | 446 | } manager; |
447 | 447 | ||
448 | Eina_Bool drag_x_locked : 1; | 448 | Eina_Bool scroll_x_locked : 1; |
449 | Eina_Bool drag_y_locked : 1; | 449 | Eina_Bool scroll_y_locked : 1; |
450 | 450 | ||
451 | Eina_Bool can_focus : 1; | 451 | Eina_Bool can_focus : 1; |
452 | Eina_Bool child_can_focus : 1; | 452 | Eina_Bool child_can_focus : 1; |
@@ -739,12 +739,12 @@ EAPI void elm_widget_tooltip_add(Evas_Object *obj, Elm_Tooltip *tt); | |||
739 | EAPI void elm_widget_tooltip_del(Evas_Object *obj, Elm_Tooltip *tt); | 739 | EAPI void elm_widget_tooltip_del(Evas_Object *obj, Elm_Tooltip *tt); |
740 | EAPI void elm_widget_cursor_add(Evas_Object *obj, Elm_Cursor *cur); | 740 | EAPI void elm_widget_cursor_add(Evas_Object *obj, Elm_Cursor *cur); |
741 | EAPI void elm_widget_cursor_del(Evas_Object *obj, Elm_Cursor *cur); | 741 | EAPI void elm_widget_cursor_del(Evas_Object *obj, Elm_Cursor *cur); |
742 | EAPI void elm_widget_drag_lock_x_set(Evas_Object *obj, Eina_Bool lock); | 742 | EAPI void elm_widget_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock); |
743 | EAPI void elm_widget_drag_lock_y_set(Evas_Object *obj, Eina_Bool lock); | 743 | EAPI void elm_widget_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock); |
744 | EAPI Eina_Bool elm_widget_drag_lock_x_get(const Evas_Object *obj); | 744 | EAPI Eina_Bool elm_widget_scroll_lock_x_get(const Evas_Object *obj); |
745 | EAPI Eina_Bool elm_widget_drag_lock_y_get(const Evas_Object *obj); | 745 | EAPI Eina_Bool elm_widget_scroll_lock_y_get(const Evas_Object *obj); |
746 | EAPI int elm_widget_drag_child_locked_x_get(const Evas_Object *obj); | 746 | EAPI int elm_widget_scroll_child_locked_x_get(const Evas_Object *obj); |
747 | EAPI int elm_widget_drag_child_locked_y_get(const Evas_Object *obj); | 747 | EAPI int elm_widget_scroll_child_locked_y_get(const Evas_Object *obj); |
748 | EAPI void elm_widget_item_loop_enabled_set(Evas_Object *obj, Eina_Bool enable); | 748 | EAPI void elm_widget_item_loop_enabled_set(Evas_Object *obj, Eina_Bool enable); |
749 | EAPI Eina_Bool elm_widget_item_loop_enabled_get(const Evas_Object *obj); | 749 | EAPI Eina_Bool elm_widget_item_loop_enabled_get(const Evas_Object *obj); |
750 | EAPI Efl_Ui_Theme_Apply elm_widget_theme_object_set(Evas_Object *obj, Evas_Object *edj, const char *wname, const char *welement, const char *wstyle); | 750 | EAPI Efl_Ui_Theme_Apply elm_widget_theme_object_set(Evas_Object *obj, Evas_Object *edj, const char *wname, const char *welement, const char *wstyle); |