diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-29 18:15:33 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-30 17:29:52 +0900 |
commit | 6bb9f4fd16a279f0e04156f8e2a64bfb65e83ca4 (patch) | |
tree | d17b5a0573afd4ccc35c0b72febcd268c59052f5 /src/lib/elementary/elm_widget.h | |
parent | ffa041fe58f63ad961ca88e3bbe1f696b1f8e1ea (diff) |
widget: Remove scroll_lock from EO
1. Uniformize the API, which is now for internal use:
This uses the same enum as scroller "movement_block" instead
of 2 separate properties. Less APIs, more consistence.
2. Remove scroll_lock x/y from EO widget. I was told it is not going to
exist in the upcoming scrollable interface.
3. Remove scroll hold/freeze getters.
scroll hold/freeze push/pop are still there but it remains to be seen
how the EO scrollable interface will exploit them. Right now they are
full of bugs.
Ref T5363
Diffstat (limited to 'src/lib/elementary/elm_widget.h')
-rw-r--r-- | src/lib/elementary/elm_widget.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h index cc17e77911..482490d896 100644 --- a/src/lib/elementary/elm_widget.h +++ b/src/lib/elementary/elm_widget.h | |||
@@ -739,10 +739,8 @@ 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_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock); | 742 | EAPI void elm_widget_scroll_lock_set(Evas_Object *obj, Efl_Ui_Scroll_Block block); |
743 | EAPI void elm_widget_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock); | 743 | EAPI Efl_Ui_Scroll_Block elm_widget_scroll_lock_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_scroll_lock_y_get(const Evas_Object *obj); | ||
746 | EAPI int elm_widget_scroll_child_locked_x_get(const Evas_Object *obj); | 744 | EAPI int elm_widget_scroll_child_locked_x_get(const Evas_Object *obj); |
747 | EAPI int elm_widget_scroll_child_locked_y_get(const Evas_Object *obj); | 745 | 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); | 746 | EAPI void elm_widget_item_loop_enabled_set(Evas_Object *obj, Eina_Bool enable); |