focus: add the focus region show mode

Desktop / Enlightenment / Elementary - Jaehwan Kim [samsung.com] - 12 August 2015 03:30 UTC

When the focus is move to the object in scroller, it is scrolled to show the focus region as a widget. If the focus region want to be shown as an item, set the mode ELM_FOCUS_REGION_SHOW_ITEM. If then, it will be scrolled as an item. TODO: Widgets have items are added on_focus_region function.

@feature

b4e50ef focus: add the focus region show mode
src/bin/test_gengrid.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++--
src/lib/elm_focus.h | 44 +++++++++++++++++++++++++++
src/lib/elm_gengrid.c | 20 ++++++++++++
src/lib/elm_gengrid.eo | 1 +
src/lib/elm_main.c | 12 ++++++++
src/lib/elm_widget.c | 13 ++++++++
src/lib/elm_widget.eo | 10 ++++++
src/lib/elm_widget.h | 3 ++
8 files changed, 179 insertions(+), 3 deletions(-)

Upstream: git.enlightenment.org


  • Share