parent
78770a0131
commit
adbb0c972d
1
TODO
1
TODO
|
@ -14,3 +14,4 @@
|
|||
|
||||
* EET uses malloc, not stringshare, change stringshare -> strdup
|
||||
* Fix has_focus.
|
||||
* Hook on feed events or something and let us see who gets what?
|
||||
|
|
|
@ -159,6 +159,7 @@ _obj_information_get(Tree_Item *treeit)
|
|||
Evas_Object *obj = treeit->ptr;
|
||||
oinfo = calloc(1, sizeof(*oinfo));
|
||||
|
||||
oinfo->evas_props.pass_events = evas_object_pass_events_get(obj);
|
||||
oinfo->evas_props.has_focus = evas_object_focus_get(obj);
|
||||
oinfo->evas_props.is_visible = evas_object_visible_get(obj);
|
||||
oinfo->evas_props.name = eina_stringshare_add(evas_object_name_get(obj));
|
||||
|
@ -372,6 +373,12 @@ clouseau_obj_information_list_populate(Tree_Item *treeit)
|
|||
tit->string = eina_stringshare_add(buf);
|
||||
main_tit->children = eina_list_append(main_tit->children, tit);
|
||||
|
||||
snprintf(buf, sizeof(buf), "Pass events: %d",
|
||||
(int) oinfo->evas_props.pass_events);
|
||||
tit = calloc(1, sizeof(*tit));
|
||||
tit->string = eina_stringshare_add(buf);
|
||||
main_tit->children = eina_list_append(main_tit->children, tit);
|
||||
|
||||
if (oinfo->evas_props.is_clipper)
|
||||
{
|
||||
snprintf(buf, sizeof(buf), "Has clipees");
|
||||
|
|
|
@ -15,6 +15,7 @@ struct _Obj_Information
|
|||
double align_x, align_y;
|
||||
double weight_x, weight_y;
|
||||
int r, g, b, a;
|
||||
Eina_Bool pass_events;
|
||||
Eina_Bool has_focus;
|
||||
Eina_Bool is_clipper;
|
||||
Eina_Bool is_visible;
|
||||
|
|
Loading…
Reference in New Issue