Hello all ~
I wanna get review of my patch about "focus movement in all directions".
Newly added internal APIs are as follows:
If elm_widget_focus_direction_go is called with specific object and degree,
- 1. check the current focused object in the sub-tree(root is obj).
- 2. Finding near object in the direction of degree in the sub-tree.
- 3. Set focus to near object.
When step 2 is executed, elm_widget_focus_direction_get is called.
In this function, current best(**direction) is competing with current object(*obj),
and if current object is better(has low weight), then current best is updated.
(current weight is also updated)
When current object is a kind of container (contains several widgets in it),
then _focus_direction_hook(registered by elm_widget_focus_direction_hook_set) is called,
and in that function elm_widget_focus_list_direction_get can be called if needed.
If there is anything to be discussed or indicated or blamed ~
please leave comments :)
I'll wait for some days ~ and if there is no comments ~
then commits this patch :)