From: Enlightenment S. <no-...@en...> - 2011-08-25 07:57:44
|
Log: clouseau: Added the property 'has clipees'. Author: tasn Date: 2011-08-25 00:57:35 -0700 (Thu, 25 Aug 2011) New Revision: 62783 Trac: http://trac.enlightenment.org/e/changeset/62783 Modified: trunk/clouseau/src/lib/libclouseau.c Modified: trunk/clouseau/src/lib/libclouseau.c =================================================================== --- trunk/clouseau/src/lib/libclouseau.c 2011-08-25 07:25:37 UTC (rev 62782) +++ trunk/clouseau/src/lib/libclouseau.c 2011-08-25 07:57:35 UTC (rev 62783) @@ -74,9 +74,9 @@ char buf[256]; if (elm_widget_is(treeit->data.obj)) { - snprintf(buf, sizeof(buf), "%p %s (%s)", treeit->data.obj, - elm_widget_type_get(treeit->data.obj), - evas_object_type_get(treeit->data.obj)); + snprintf(buf, sizeof(buf), "%p %s: %s", treeit->data.obj, + evas_object_type_get(treeit->data.obj), + elm_widget_type_get(treeit->data.obj)); } else { @@ -170,6 +170,13 @@ snprintf(buf, sizeof(buf), "Color: %d %d %d %d", r, g, b, a); elm_list_item_append(prop_list, buf, NULL, NULL, NULL, NULL); } + + if (evas_object_clipees_get(obj)) + { + snprintf(buf, sizeof(buf), "Has clipees"); + elm_list_item_append(prop_list, buf, NULL, NULL, NULL, NULL); + } + elm_list_go(prop_list); } } |