From: Oleksander Kostenko Date: Mon, 30 Jan 2017 13:34:26 +0000 (+0200) Subject: TizenRefApp-7955 Implement task items navigation by rotating bezel X-Git-Tag: submit/tizen/20170203.123749~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec492c0adc849654b9a352b0be3d293f0b1d115b;p=profile%2Fwearable%2Fapps%2Fnative%2Ftaskmanager.git TizenRefApp-7955 Implement task items navigation by rotating bezel Change-Id: I96b79a9cd3c1a2bc5f16696aa65f2666e76c1634 Signed-off-by: Oleksander Kostenko --- diff --git a/src/App/src/TaskListView.cpp b/src/App/src/TaskListView.cpp index 2345678..eca3223 100644 --- a/src/App/src/TaskListView.cpp +++ b/src/App/src/TaskListView.cpp @@ -17,6 +17,7 @@ #include "TaskListView.h" #include "App.h" #include "Window.h" +#include using namespace TaskMngr; @@ -36,6 +37,11 @@ TaskListView::TaskListView(Evas_Object *parent) elm_object_scroll_lock_y_set(m_pScroller, true); elm_object_style_set(m_pScroller, "effect"); + Evas_Object *circleScroller = eext_circle_object_scroller_add(m_pScroller, nullptr); + eext_circle_object_scroller_policy_set(circleScroller, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF); + eext_rotary_object_event_activated_set(circleScroller, true); + evas_object_show(circleScroller); + m_pBox = elm_box_add(m_pScroller); elm_box_pack_end(m_pBox, createPadding()); m_RightPadding = createPadding();