aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/ephysics_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/extantz/ephysics_demo.c')
-rw-r--r--src/extantz/ephysics_demo.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/extantz/ephysics_demo.c b/src/extantz/ephysics_demo.c
index 2ff589b..e8ca8e2 100644
--- a/src/extantz/ephysics_demo.c
+++ b/src/extantz/ephysics_demo.c
@@ -33,10 +33,10 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals)
33 33
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(eoid, buf, "blue-cube"),
37 efl_gfx_size_set(70, 70), 37 efl_gfx_size_set(eoid, 70, 70),
38 efl_gfx_position_set(ourGlobals->win_w / 2 - 80, ourGlobals->win_h - 200), 38 efl_gfx_position_set(eoid, ourGlobals->win_w / 2 - 80, ourGlobals->win_h - 200),
39 efl_gfx_visible_set(EINA_TRUE) 39 efl_gfx_visible_set(eoid, EINA_TRUE)
40 ); 40 );
41 41
42 box_body1 = ephysics_body_box_add(world); 42 box_body1 = ephysics_body_box_add(world);
@@ -50,10 +50,10 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals)
50 50
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(eoid, buf, "purple-cube"),
54 efl_gfx_size_set(70, 70), 54 efl_gfx_size_set(eoid, 70, 70),
55 efl_gfx_position_set(ourGlobals->win_w / 2 + 10, ourGlobals->win_h - 200), 55 efl_gfx_position_set(eoid, ourGlobals->win_w / 2 + 10, ourGlobals->win_h - 200),
56 efl_gfx_visible_set(EINA_TRUE) 56 efl_gfx_visible_set(eoid, EINA_TRUE)
57 ); 57 );
58 58
59 box_body2 = ephysics_body_box_add(world); 59 box_body2 = ephysics_body_box_add(world);