list: implemented widget item focus feature

Desktop / Enlightenment / Elementary - Amitesh Singh [samsung.com] - 25 February 2014 10:26 UTC

@feature

Summary:

# Added "item,focused" and "item,unfocused" smart callbacks. # Added elm_object_focused_item_get() in elm_widget # Added elm_object_item_focus_set and elm_object_item_focus_get() APIs for # Added one argument in existing _focus_highlight_geometry_get(...,is_next) This is required to find out previous and current widget item. # Added a elm_win function _focus_highlight_start() which starts the focus

Test Plan: elementary_test->List Focus , List Horizontal Focus

Reviewers: seoz, woohyun

Reviewers Comments: SeoZ - there are some known bugs. we will actively fix them in a near future.

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D532

f79ef26 list: implemented widget item focus feature.
data/themes/edc/elm/list.edc | 2 +
src/bin/test_list.c | 18 +++
src/lib/elm_focus.h | 45 ++++++
src/lib/elm_list.c | 331 +++++++++++++++++++++++++++++++++++++-----
src/lib/elm_main.c | 19 +++
src/lib/elm_widget.c | 151 ++++++++++++++++---
src/lib/elm_widget.h | 63 +++++++-
src/lib/elm_widget_list.h | 5 +-
src/lib/elm_win.c | 19 ++-
src/lib/elm_win_eo.h | 4 +
10 files changed, 586 insertions(+), 71 deletions(-)

Upstream: git.enlightenment.org


  • Share