summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-29 16:49:43 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 17:29:52 +0900
commitc690469fcc9d314144f432a6b74c20ea396d5cb7 (patch)
tree9a025e0de3c1130dfb559e1e55890896147c8508 /src/lib/elementary/elm_widget.h
parentac215dba0f0b3d81dab0986bc3d3a40cbabd6782 (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.h16
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);
739EAPI void elm_widget_tooltip_del(Evas_Object *obj, Elm_Tooltip *tt); 739EAPI void elm_widget_tooltip_del(Evas_Object *obj, Elm_Tooltip *tt);
740EAPI void elm_widget_cursor_add(Evas_Object *obj, Elm_Cursor *cur); 740EAPI void elm_widget_cursor_add(Evas_Object *obj, Elm_Cursor *cur);
741EAPI void elm_widget_cursor_del(Evas_Object *obj, Elm_Cursor *cur); 741EAPI void elm_widget_cursor_del(Evas_Object *obj, Elm_Cursor *cur);
742EAPI void elm_widget_drag_lock_x_set(Evas_Object *obj, Eina_Bool lock); 742EAPI void elm_widget_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock);
743EAPI void elm_widget_drag_lock_y_set(Evas_Object *obj, Eina_Bool lock); 743EAPI void elm_widget_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock);
744EAPI Eina_Bool elm_widget_drag_lock_x_get(const Evas_Object *obj); 744EAPI Eina_Bool elm_widget_scroll_lock_x_get(const Evas_Object *obj);
745EAPI Eina_Bool elm_widget_drag_lock_y_get(const Evas_Object *obj); 745EAPI Eina_Bool elm_widget_scroll_lock_y_get(const Evas_Object *obj);
746EAPI int elm_widget_drag_child_locked_x_get(const Evas_Object *obj); 746EAPI int elm_widget_scroll_child_locked_x_get(const Evas_Object *obj);
747EAPI int elm_widget_drag_child_locked_y_get(const Evas_Object *obj); 747EAPI int elm_widget_scroll_child_locked_y_get(const Evas_Object *obj);
748EAPI void elm_widget_item_loop_enabled_set(Evas_Object *obj, Eina_Bool enable); 748EAPI void elm_widget_item_loop_enabled_set(Evas_Object *obj, Eina_Bool enable);
749EAPI Eina_Bool elm_widget_item_loop_enabled_get(const Evas_Object *obj); 749EAPI Eina_Bool elm_widget_item_loop_enabled_get(const Evas_Object *obj);
750EAPI Efl_Ui_Theme_Apply elm_widget_theme_object_set(Evas_Object *obj, Evas_Object *edj, const char *wname, const char *welement, const char *wstyle); 750EAPI Efl_Ui_Theme_Apply elm_widget_theme_object_set(Evas_Object *obj, Evas_Object *edj, const char *wname, const char *welement, const char *wstyle);