From: Godly Thekkethottiyil Alias Date: Mon, 10 Feb 2020 09:01:01 +0000 (+0530) Subject: [Scrollable] Go To Top API removal X-Git-Tag: submit/tizen/20200213.221652~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c869da67f091b73e2e932d45f47b2c60dd1ed86b;p=platform%2Fcore%2Fuifw%2Fefl-ext.git [Scrollable] Go To Top API removal [Model] Noblesse [BinType] N/A [Customer] N/A [Issue#] FWGOVERSEA-1775 [Request] UX [Occurrence Version] N/A [Problem] N/A [Cause & Measure] N/A [Checking Method] N/A [Team] (UIFW/EFL) [Developer] Godly T.Alias [Solution company] Samsung [Change Type] New Feature Change-Id: If5409f1cb70923f1d3a5eee430912f2902ed5dfb Signed-off-by: Godly Thekkethottiyil Alias --- diff --git a/inc/wearable/circle/efl_extension_circle_object_scroller.h b/inc/wearable/circle/efl_extension_circle_object_scroller.h index 96fb427..7e2a749 100644 --- a/inc/wearable/circle/efl_extension_circle_object_scroller.h +++ b/inc/wearable/circle/efl_extension_circle_object_scroller.h @@ -100,26 +100,6 @@ EAPI void eext_circle_object_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v); - -//TIZEN_ONLY(24Jan2020): Go To Top Feature -/** - * @WEARABLE_ONLY - * @brief Enables the scroll to top button in genlist / scroller layout - * - * @param[in] obj The scroller / genlist object - * @param[in] enable Whether to enable or disable the feature - * @param[in] func Callback function in case the button click is to be handled by application - * Default scrolling will not be done in this scenario - * @details Application have to take care of padding in bottom to avoid overlap - * - * - * @if WEARABLE @since_tizen 5.5 - * @endif - */ -EAPI void eext_circle_object_scroller_gototop_enable_set(Evas_Object *obj, - Eina_Bool enable, - Evas_Smart_Cb func); -// /** * @} */ diff --git a/src/wearable/circle/efl_extension_circle_object_scroller.c b/src/wearable/circle/efl_extension_circle_object_scroller.c index 223f760..13c132b 100644 --- a/src/wearable/circle/efl_extension_circle_object_scroller.c +++ b/src/wearable/circle/efl_extension_circle_object_scroller.c @@ -1566,28 +1566,6 @@ _eext_circle_object_scroller_init(Eext_Circle_Object *obj, Evas_Object *scroller LOGE("scroller(%p), obj->main_obj(%p)", scroller, obj->main_obj); } -//TIZEN_ONLY(24Jan2020): Go To Top Feature -EAPI void -eext_circle_object_scroller_gototop_enable_set(Evas_Object *obj, Eina_Bool enable, Evas_Smart_Cb func) -{ - if (!obj) return; - - EEXT_CIRCLE_OBJECT_SCROLLER_SCROLL_IFACE_DATA_GET(obj, sid); - - if (enable) - { - sid->is_gotop_enabled = EINA_TRUE; - sid->gototop_cb = func; - } - else - { - sid->is_gotop_enabled = EINA_FALSE; - sid->gototop_cb = NULL; - } - sid->is_gotop_shown = EINA_FALSE; -} -// - EAPI Evas_Object * eext_circle_object_scroller_add(Evas_Object *scroller, Eext_Circle_Surface *surface) {