aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/ephysics_demo.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2015-06-18 20:57:40 +1000
committerDavid Walter Seikel2015-06-18 20:57:40 +1000
commit5a8e243c6658f829495d7999fd6e02fd4c4f65c0 (patch)
treead5c803d3d4f175a943f656496ab15a683fbb16b /src/extantz/ephysics_demo.c
parentUncomment this now that EFL got fixed. (diff)
downloadSledjHamr-5a8e243c6658f829495d7999fd6e02fd4c4f65c0.zip
SledjHamr-5a8e243c6658f829495d7999fd6e02fd4c4f65c0.tar.gz
SledjHamr-5a8e243c6658f829495d7999fd6e02fd4c4f65c0.tar.bz2
SledjHamr-5a8e243c6658f829495d7999fd6e02fd4c4f65c0.tar.xz
Fix up yet another API break.
These APIs will settle down soonish, they promise.
Diffstat (limited to '')
-rw-r--r--src/extantz/ephysics_demo.c12
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);