diff options
Diffstat (limited to '')
-rw-r--r-- | src/extantz/ephysics_demo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/extantz/ephysics_demo.c b/src/extantz/ephysics_demo.c index a7d7c7b..2ff589b 100644 --- a/src/extantz/ephysics_demo.c +++ b/src/extantz/ephysics_demo.c | |||
@@ -34,9 +34,9 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) | |||
34 | sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); | 34 | sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); |
35 | box1 = eo_add(ELM_IMAGE_CLASS, ourGlobals->win, | 35 | box1 = eo_add(ELM_IMAGE_CLASS, ourGlobals->win, |
36 | efl_file_set(buf, "blue-cube"), | 36 | efl_file_set(buf, "blue-cube"), |
37 | evas_obj_size_set(70, 70), | 37 | efl_gfx_size_set(70, 70), |
38 | evas_obj_position_set(ourGlobals->win_w / 2 - 80, ourGlobals->win_h - 200), | 38 | efl_gfx_position_set(ourGlobals->win_w / 2 - 80, ourGlobals->win_h - 200), |
39 | evas_obj_visibility_set(EINA_TRUE) | 39 | efl_gfx_visible_set(EINA_TRUE) |
40 | ); | 40 | ); |
41 | 41 | ||
42 | box_body1 = ephysics_body_box_add(world); | 42 | box_body1 = ephysics_body_box_add(world); |
@@ -51,9 +51,9 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) | |||
51 | sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); | 51 | sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); |
52 | box2 = eo_add(ELM_IMAGE_CLASS, ourGlobals->win, | 52 | box2 = eo_add(ELM_IMAGE_CLASS, ourGlobals->win, |
53 | efl_file_set(buf, "purple-cube"), | 53 | efl_file_set(buf, "purple-cube"), |
54 | evas_obj_size_set(70, 70), | 54 | efl_gfx_size_set(70, 70), |
55 | evas_obj_position_set(ourGlobals->win_w / 2 + 10, ourGlobals->win_h - 200), | 55 | efl_gfx_position_set(ourGlobals->win_w / 2 + 10, ourGlobals->win_h - 200), |
56 | evas_obj_visibility_set(EINA_TRUE) | 56 | efl_gfx_visible_set(EINA_TRUE) |
57 | ); | 57 | ); |
58 | 58 | ||
59 | box_body2 = ephysics_body_box_add(world); | 59 | box_body2 = ephysics_body_box_add(world); |