summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-11-10 20:13:47 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-11-10 20:15:16 +0900
commit9a18cdfb961835120a4687afe4c3171badcd388d (patch)
treed2c71494e3d78db0f4117e4fdc6f2ac5278d577a
parent40cd308c019409baae50e00fba39150c7656d9a3 (diff)
example/evasmap3d: change to simpler call.
-rw-r--r--src/bin/test_3d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/test_3d.c b/src/bin/test_3d.c
index 2fec4eeb2..639e6c3dc 100644
--- a/src/bin/test_3d.c
+++ b/src/bin/test_3d.c
@@ -44,12 +44,11 @@ _cube_new(Evas *evas, Evas_Coord w, Evas_Coord h, Evas_Coord d)
44 { 44 {
45 Evas_Object *o; 45 Evas_Object *o;
46 char buf[PATH_MAX]; 46 char buf[PATH_MAX];
47 o = evas_object_image_add(evas); 47 o = evas_object_image_filled_add(evas);
48 c->side[i].o = o; 48 c->side[i].o = o;
49 snprintf(buf, sizeof(buf), "%s/images/%s", 49 snprintf(buf, sizeof(buf), "%s/images/%s",
50 elm_app_data_dir_get(), "twofish.jpg"); 50 elm_app_data_dir_get(), "twofish.jpg");
51 evas_object_image_file_set(o, buf, NULL); 51 evas_object_image_file_set(o, buf, NULL);
52 evas_object_image_fill_set(o, 0, 0, 256, 256);
53 evas_object_resize(o, 256, 256); 52 evas_object_resize(o, 256, 256);
54 evas_object_image_smooth_scale_set(o, EINA_FALSE); 53 evas_object_image_smooth_scale_set(o, EINA_FALSE);
55 evas_object_pass_events_set(o, EINA_TRUE); 54 evas_object_pass_events_set(o, EINA_TRUE);