raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a1b503d0adfcdb881e4fa71bcb9cfc8dcb0e8314
commit a1b503d0adfcdb881e4fa71bcb9cfc8dcb0e8314 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Sun Nov 17 14:03:36 2013 +0900 ecore-evas - example - fix lack of bg object in sub buffer this fixes T229 --- src/examples/ecore/ecore_evas_buffer_example_02.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/examples/ecore/ecore_evas_buffer_example_02.c b/src/examples/ecore/ecore_evas_buffer_example_02.c index 0d59e1f..15180b6 100644 --- a/src/examples/ecore/ecore_evas_buffer_example_02.c +++ b/src/examples/ecore/ecore_evas_buffer_example_02.c @@ -40,7 +40,7 @@ int main(void) { Evas *canvas, *sub_canvas; - Evas_Object *bg, *r1, *r2, *r3; /* "sub" canvas objects */ + Evas_Object *bg, *r0, *r1, *r2, *r3; /* "sub" canvas objects */ Evas_Object *border, *img; /* canvas objects */ Ecore_Evas *sub_ee; @@ -90,6 +90,12 @@ main(void) evas_object_resize(img, ((2 * WIDTH) / 3) - 6, ((2 * HEIGHT) / 3) - 6); ecore_evas_resize(sub_ee, ((2 * WIDTH) / 3) - 6, ((2 * HEIGHT) / 3) - 6); + r0 = evas_object_rectangle_add(sub_canvas); + evas_object_color_set(r0, 0, 0, 0, 255); /* 100% opaque black bg */ + evas_object_move(r0, 0, 0); + evas_object_resize(r0, ((2 * WIDTH) / 3) - 6, ((2 * HEIGHT) / 3) - 6); + evas_object_show(r0); + r1 = evas_object_rectangle_add(sub_canvas); evas_object_color_set(r1, 255, 0, 0, 255); /* 100% opaque red */ evas_object_move(r1, 10, 10); --