efl_ui_focus_manager: more debug information
This commit is contained in:
parent
6d1df04f24
commit
0c1c2711f3
|
@ -1216,6 +1216,19 @@ _efl_ui_focus_manager_fetch(Eo *obj, Efl_Ui_Focus_Manager_Data *pd, Efl_Ui_Focus
|
|||
res->down = DIR_CLONE(EFL_UI_FOCUS_DIRECTION_DOWN);
|
||||
res->next = _next(n)->focusable;
|
||||
res->prev = _prev(n)->focusable;
|
||||
switch(n->type)
|
||||
{
|
||||
case NODE_TYPE_LISTENER:
|
||||
res->type = "listener";
|
||||
break;
|
||||
case NODE_TYPE_ONLY_LOGICAL:
|
||||
res->type = "logical";
|
||||
break;
|
||||
case NODE_TYPE_NORMAL:
|
||||
res->type = "normal";
|
||||
break;
|
||||
}
|
||||
res->parent = T(n).parent->focusable;
|
||||
res->redirect = n->type == NODE_TYPE_LISTENER ? n->data.listener.manager : NULL;
|
||||
#undef DIR_CLONE
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@ struct Efl.Ui.Focus.Relations{
|
|||
down : list<Efl.Ui.Focus.Object>;
|
||||
next : Efl.Ui.Focus.Object;
|
||||
prev : Efl.Ui.Focus.Object;
|
||||
type : string;
|
||||
parent : Efl.Ui.Focus.Object;
|
||||
redirect : Efl.Ui.Focus.Manager;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue