Sevcsik András schrieb:
> Hi list,
>
> What's the purpose of esmart_container.c:442 line?
>
> evas_object_clip_set(el->obj, cont->clipper);
>
>
>  It clips the elements with the container, but I don't see a reason to do
> so. My application needs elements to be able to drawn outside the container
> (toolbar icons wich are zoomed), so I commented out that line and it works
> fine now. Is it possible to modify esmart this way? If you prefer to make it
> an option (with a function like esmart_container_clip_elements_set(con,
> 0/1), i'll write a patch.
>   
esmart_container can be used as a scrollpane (it doesn't provide 
scrollbars that's up the app). So the size of  the viewport, i.e. the 
size of the evas object can be smaller then the size needed to show the 
full content. Hence you need a clipper to only show the objects areas 
inside of the viewport. Making it optional is, imho, a good idea. 
Remember to also hide the clipper if you don't use it.

Peter


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to