clouseau: Added "pass_events".

SVN revision: 62911
This commit is contained in:
Tom Hacohen 2011-08-28 09:46:40 +00:00
parent 78770a0131
commit adbb0c972d
3 changed files with 9 additions and 0 deletions

1
TODO
View File

@ -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?

View File

@ -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");

View File

@ -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;