Add Evas Clipped Smart Object.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 7 Sep 2008 02:10:17 +0000 (02:10 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 7 Sep 2008 02:10:17 +0000 (02:10 +0000)
commit2cc958bcd60807e7ede5feb5a546e55a692f81f8
tree18319b761b2d78225bb93180e9d3bbf29e77e50f
parentb25b16968f078945836c8be48c646c0ac4f6000f
Add Evas Clipped Smart Object.

This class covers the most common cases, usually its sub-classes will
have to implement resize and override one or two methods at most,
making the smart object usage less error prone and easier.

Default behavior is:
 - add: creates a hidden clipper with "infinite" size;
 - del: delete all children objects;
 - move: move all objects relative relatively;
 - resize: not defined;
 - show: if there are children objects, show clipper;
 - hide: hides clipper;
 - color_set: set the color of clipper;
 - clip_set: set clipper of clipper;
 - clip_unset: unset the clipper of clipper;

Documentation explains an easy way to inherit from this class and
still be able to use overridden methods.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35861 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/Evas.h
src/lib/canvas/Makefile.am
src/lib/canvas/evas_object_smart_clipped.c [new file with mode: 0644]