From: Jehun Lim Date: Wed, 18 Mar 2015 04:32:19 +0000 (+0900) Subject: support circular focus for menu buttons in all source view X-Git-Tag: accepted/tizen/tv/20150319.020412~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F37011%2F1;p=profile%2Ftv%2Fapps%2Fnative%2Fsource.git support circular focus for menu buttons in all source view Change-Id: Iaa19bf01b9f4b5dfe36ea994ac2765af12648b36 Signed-off-by: Jehun Lim --- diff --git a/src/view/allsource_view.cpp b/src/view/allsource_view.cpp index 0984b62..b9d2d42 100644 --- a/src/view/allsource_view.cpp +++ b/src/view/allsource_view.cpp @@ -131,6 +131,9 @@ bool CAllSourceView::m_AddMenuArea(void) Connect(m->near_btn, ALL_NEAR_BTN, TYPE_KEY_DOWN | TYPE_MOUSE_MOVE | TYPE_FOCUSED); + elm_object_focus_next_object_set(m->plug_btn, m->near_btn, ELM_FOCUS_UP); + elm_object_focus_next_object_set(m->near_btn, m->plug_btn, ELM_FOCUS_DOWN); + return true; }