Cedric Bail
On Apr 17, 2013 12:58 AM, "Daniel Juyung Seo - Enlightenment Git" <
no-re...@enlightenment.org> wrote:
>
> seoz pushed a commit to branch master.
>
> commit 4497815cafa4ecfbca6d564913da8fe2bec95c2e
> Author: Daniel Juyung Seo <seojuyu...@gmail.com>
> Date:   Wed Apr 17 16:58:27 2013 +0900
>
>     evas_object_main.c: added Clipper information for debug info.
>
>     Eina value type does not support pointer so I used int as of now.
>     This needs to be converted into hexa later.
>     By using Clouseau, one can see this Clipper information.

This is not going to work well on 64bits system.

> ---
>  src/lib/evas/canvas/evas_object_main.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/src/lib/evas/canvas/evas_object_main.c
b/src/lib/evas/canvas/evas_object_main.c
> index b4ec599..9ff56e8 100644
> --- a/src/lib/evas/canvas/evas_object_main.c
> +++ b/src/lib/evas/canvas/evas_object_main.c
> @@ -1919,6 +1919,10 @@ _dbg_info_get(Eo *eo_obj, void *_pd EINA_UNUSED,
va_list *list)
>     EO_DBG_INFO_APPEND(group, "Propagate Events", EINA_VALUE_TYPE_CHAR,
propagate_event);
>     EO_DBG_INFO_APPEND(group, "Has clipees", EINA_VALUE_TYPE_CHAR,
clipees_has);
>
> +   Evas_Object *clipper = NULL;
> +   eo_do((Eo *)eo_obj, evas_obj_clip_get(&clipper));
> +   EO_DBG_INFO_APPEND(group, "Clipper", EINA_VALUE_TYPE_INT,
(int)clipper);
> +
>     const Evas_Map *map = evas_object_map_get(eo_obj);
>     if (map)
>       {  /* Save map coords count info if object has map */
>
> --
>
>
------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to