elementary_test/3d: improve sample.
authorChunEon Park <hermet@hermet.pe.kr>
Thu, 30 Oct 2014 08:26:49 +0000 (17:26 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Thu, 30 Oct 2014 08:26:49 +0000 (17:26 +0900)
since the previous cube hide the progressbar control,
user couldn't control it.

So make it cube transparency and pass events to progressbar.

src/bin/test_3d.c

index 71ebc34..2fec4ee 100644 (file)
@@ -52,6 +52,8 @@ _cube_new(Evas *evas, Evas_Coord w, Evas_Coord h, Evas_Coord d)
         evas_object_image_fill_set(o, 0, 0, 256, 256);
         evas_object_resize(o, 256, 256);
         evas_object_image_smooth_scale_set(o, EINA_FALSE);
+        evas_object_pass_events_set(o, EINA_TRUE);
+        evas_object_color_set(o, 235, 235, 235, 235);
         evas_object_show(o);
      }
    POINT(0, 0, -w, -h, -d,   0,   0);