Enlightenment CVS committal Author : rephorm Project : e17 Module : libs/esmart
Dir : e17/libs/esmart/src/lib/esmart_container Modified Files: esmart_container.c esmart_container_smart.c Log Message: stop setting stacking manual, and add elements as member's of the smart object so that stacking is handled 'automatically' =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/esmart/src/lib/esmart_container/esmart_container.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- esmart_container.c 6 Aug 2005 04:04:14 -0000 1.11 +++ esmart_container.c 20 Dec 2005 05:51:55 -0000 1.12 @@ -424,12 +424,15 @@ el->container = cont; evas_object_clip_set(el->obj, cont->clipper); evas_object_clip_set(el->grabber, cont->clipper); - +/* evas_object_layer_set(el->obj, evas_object_layer_get(cont->obj)); evas_object_layer_set(el->grabber, evas_object_layer_get(cont->obj)); evas_object_stack_above(el->grabber, cont->obj); evas_object_stack_above(el->obj, cont->obj); +*/ + evas_object_smart_member_add(el->obj, cont->obj); + evas_object_smart_member_add(el->grabber, cont->obj); evas_object_event_callback_add(el->grabber, EVAS_CALLBACK_MOUSE_DOWN, _cb_element_down, el); evas_object_event_callback_add(el->grabber, EVAS_CALLBACK_MOUSE_UP, _cb_element_up, el); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/esmart/src/lib/esmart_container/esmart_container_smart.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- esmart_container_smart.c 8 Jan 2005 20:04:08 -0000 1.4 +++ esmart_container_smart.c 20 Dec 2005 05:51:55 -0000 1.5 @@ -53,11 +53,14 @@ smart = evas_smart_new ("container", _container_add, _container_del, + NULL, NULL, NULL, NULL, NULL, + /* _container_layer_set, _container_raise, _container_lower, _container_stack_above, _container_stack_below, + */ _container_move, _container_resize, _container_show, ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs