Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/bin Modified Files: ecore_evas_test_bg.c Log Message: basic core of shape support =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/bin/ecore_evas_test_bg.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- ecore_evas_test_bg.c 27 Apr 2004 10:34:47 -0000 1.3 +++ ecore_evas_test_bg.c 13 Apr 2005 15:47:34 -0000 1.4 @@ -332,9 +332,17 @@ if (!strcmp(ev->keyname, "s")) { if (!ecore_evas_shaped_get(ee)) - ecore_evas_shaped_set(ee, 1); + { + evas_object_hide(o_bg_rect); + evas_object_hide(o_bg); + ecore_evas_shaped_set(ee, 1); + } else - ecore_evas_shaped_set(ee, 0); + { + evas_object_show(o_bg_rect); + evas_object_show(o_bg); + ecore_evas_shaped_set(ee, 0); + } } if (!strcmp(ev->keyname, "Up")) { ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs