add helper ecore_evas_object_associate.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 23 Oct 2008 01:00:16 +0000 (01:00 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 23 Oct 2008 01:00:16 +0000 (01:00 +0000)
commitd92eb5cc881a7fd1654fb15c2234e9e520306a90
tree6c1b60f07647c834b68012e28a627581da287b80
parent9171f4923f4dd2989fe1bd15a196d8c15584f0fb
add helper ecore_evas_object_associate.

We usually want to create an Ecore_Evas and attach an object to it, be
it the background, your smart object that will manage the scene (ie:
edje) and this is replicated everywhere. Not anymore!

ecore_evas_new() and ecore_evas_object_associate() will behave much
like regular toolkits "window-new()" and "window-main-child-add()",
actually it was based on elm_win.c and hopefully we can remove that,
or most of that code and replace with this helper.

I'll add an Evas smart object to handle stacks of objects, that is, it
will be a clipped smart object that on resize it will resize every
child to the same size. This means we can associate this stack object
and add a background and then your stuff on top of it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@37010 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore_evas/Ecore_Evas.h
src/lib/ecore_evas/Makefile.am
src/lib/ecore_evas/ecore_evas.c
src/lib/ecore_evas/ecore_evas_private.h
src/lib/ecore_evas/ecore_evas_util.c [new file with mode: 0644]