efl_ui_focus_manager: split this of tinto a class and a interface

Desktop / Enlightenment / EFL Core Libraries - Marcel Hollerbach [t-online.de] - 10 August 2017 14:55 EDT

it turns out to be very handy to have a interface for the moving and border elements, that is unconnected to the way of how widgets are registering themself.

This for example enables us to get a simple focus manager that just redirects the call into a internal 2 dimensional data struct

d4cd85a efl_ui_focus_manager: split this of tinto a class and a interface
src/Makefile_Elementary.am | 2 +
src/lib/elementary/Elementary.h | 1 +
src/lib/elementary/efl_ui_focus_manager.c | 1452 -------------------
src/lib/elementary/efl_ui_focus_manager.eo | 88 +-
src/lib/elementary/efl_ui_focus_manager_calc.c | 1459 ++++++++++++++++++++
src/lib/elementary/efl_ui_focus_manager_calc.eo | 107 ++
.../elementary/efl_ui_focus_manager_root_focus.c | 12 +-
.../elementary/efl_ui_focus_manager_root_focus.eo | 6 +-
src/lib/elementary/efl_ui_focus_manager_sub.c | 6 +-
src/lib/elementary/efl_ui_focus_manager_sub.eo | 2 +-
src/lib/elementary/efl_ui_win.c | 2 +-
src/lib/elementary/elc_fileselector.c | 2 +-
src/lib/elementary/elm_box.c | 2 +-
src/lib/elementary/elm_gengrid.c | 10 +-
src/lib/elementary/elm_grid.c | 2 +-
src/lib/elementary/elm_hover.c | 2 +-
src/lib/elementary/elm_menu.c | 2 +-
src/lib/elementary/elm_scroller.c | 2 +-
src/lib/elementary/elm_table.c | 2 +-
src/lib/elementary/elm_toolbar.c | 10 +-
src/lib/elementary/elm_widget.c | 12 +-
src/tests/elementary/elm_test_focus.c | 104 +-
src/tests/elementary/elm_test_focus_common.c | 2 +-
src/tests/elementary/elm_test_focus_sub.c | 40 +-
24 files changed, 1680 insertions(+), 1649 deletions(-)

Upstream: git.enlightenment.org


  • Share