diff options
author | David Walter Seikel | 2014-08-30 10:27:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-08-30 10:27:10 +1000 |
commit | 295b61c1c6de555ea6a8d03af1b8b850cbbc635e (patch) | |
tree | d38d4e7c8d93ee54211b1b1aebf46d111adfae4a /src/extantz | |
parent | LSL functions, gotta get them all. (diff) | |
download | SledjHamr-295b61c1c6de555ea6a8d03af1b8b850cbbc635e.zip SledjHamr-295b61c1c6de555ea6a8d03af1b8b850cbbc635e.tar.gz SledjHamr-295b61c1c6de555ea6a8d03af1b8b850cbbc635e.tar.bz2 SledjHamr-295b61c1c6de555ea6a8d03af1b8b850cbbc635e.tar.xz |
Update to new file getting API.
Diffstat (limited to 'src/extantz')
-rw-r--r-- | src/extantz/ephysics_demo.c | 4 | ||||
-rw-r--r-- | src/extantz/extantz.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/extantz/ephysics_demo.c b/src/extantz/ephysics_demo.c index 23bc125..7ba1fc8 100644 --- a/src/extantz/ephysics_demo.c +++ b/src/extantz/ephysics_demo.c | |||
@@ -33,7 +33,7 @@ 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 | elm_obj_image_file_set(buf, "blue-cube"), | 36 | efl_file_set(buf, "blue-cube"), |
37 | evas_obj_size_set(70, 70), | 37 | evas_obj_size_set(70, 70), |
38 | evas_obj_position_set(ourGlobals->win_w / 2 - 80, ourGlobals->win_h - 200), | 38 | evas_obj_position_set(ourGlobals->win_w / 2 - 80, ourGlobals->win_h - 200), |
39 | evas_obj_visibility_set(EINA_TRUE) | 39 | evas_obj_visibility_set(EINA_TRUE) |
@@ -50,7 +50,7 @@ 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 | elm_obj_image_file_set(buf, "purple-cube"), | 53 | efl_file_set(buf, "purple-cube"), |
54 | evas_obj_size_set(70, 70), | 54 | evas_obj_size_set(70, 70), |
55 | evas_obj_position_set(ourGlobals->win_w / 2 + 10, ourGlobals->win_h - 200), | 55 | evas_obj_position_set(ourGlobals->win_w / 2 + 10, ourGlobals->win_h - 200), |
56 | evas_obj_visibility_set(EINA_TRUE) | 56 | evas_obj_visibility_set(EINA_TRUE) |
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 053b843..833e67e 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -674,7 +674,7 @@ EAPI_MAIN int elm_main(int argc, char **argv) | |||
674 | ourGlobals.mainWindow->bg = eo_add(ELM_IMAGE_CLASS, ourGlobals.mainWindow->win, | 674 | ourGlobals.mainWindow->bg = eo_add(ELM_IMAGE_CLASS, ourGlobals.mainWindow->win, |
675 | evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), | 675 | evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), |
676 | elm_obj_image_fill_outside_set(EINA_TRUE), | 676 | elm_obj_image_fill_outside_set(EINA_TRUE), |
677 | elm_obj_image_file_set(buf, NULL), | 677 | efl_file_set(buf, NULL), |
678 | evas_obj_visibility_set(EINA_TRUE) | 678 | evas_obj_visibility_set(EINA_TRUE) |
679 | ); | 679 | ); |
680 | elm_win_resize_object_add(ourGlobals.mainWindow->win, ourGlobals.mainWindow->bg); | 680 | elm_win_resize_object_add(ourGlobals.mainWindow->win, ourGlobals.mainWindow->bg); |