aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-08-30 10:27:10 +1000
committerDavid Walter Seikel2014-08-30 10:27:10 +1000
commit295b61c1c6de555ea6a8d03af1b8b850cbbc635e (patch)
treed38d4e7c8d93ee54211b1b1aebf46d111adfae4a
parentLSL functions, gotta get them all. (diff)
downloadSledjHamr-295b61c1c6de555ea6a8d03af1b8b850cbbc635e.zip
SledjHamr-295b61c1c6de555ea6a8d03af1b8b850cbbc635e.tar.gz
SledjHamr-295b61c1c6de555ea6a8d03af1b8b850cbbc635e.tar.bz2
SledjHamr-295b61c1c6de555ea6a8d03af1b8b850cbbc635e.tar.xz
Update to new file getting API.
-rw-r--r--src/extantz/ephysics_demo.c4
-rw-r--r--src/extantz/extantz.c2
-rw-r--r--src/libraries/winFang.c4
3 files changed, 5 insertions, 5 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);
diff --git a/src/libraries/winFang.c b/src/libraries/winFang.c
index 0176a1b..8bcfe3a 100644
--- a/src/libraries/winFang.c
+++ b/src/libraries/winFang.c
@@ -215,7 +215,7 @@ winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, ch
215 evas_obj_size_set(w, h), 215 evas_obj_size_set(w, h),
216 evas_obj_position_set(x, y), 216 evas_obj_position_set(x, y),
217 evas_obj_name_set(WF_LAYOUT), 217 evas_obj_name_set(WF_LAYOUT),
218 elm_obj_layout_file_set(buf, WF_LAYOUT), 218 efl_file_set(buf, WF_LAYOUT),
219 evas_obj_visibility_set(EINA_TRUE) 219 evas_obj_visibility_set(EINA_TRUE)
220 ); 220 );
221 result->e = evas_object_evas_get(result->layout); 221 result->e = evas_object_evas_get(result->layout);
@@ -251,7 +251,7 @@ winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, ch
251 else if (i == 3) cy += result->h; 251 else if (i == 3) cy += result->h;
252 result->hand[i] = eo_add(EVAS_IMAGE_CLASS, result->e, 252 result->hand[i] = eo_add(EVAS_IMAGE_CLASS, result->e,
253 evas_obj_image_filled_set(EINA_TRUE), 253 evas_obj_image_filled_set(EINA_TRUE),
254 evas_obj_image_file_set(buf, NULL), 254 efl_file_set(buf, NULL),
255 evas_obj_size_set(31, 31), 255 evas_obj_size_set(31, 31),
256 evas_obj_position_set(cx - 15, cy - 15), 256 evas_obj_position_set(cx - 15, cy - 15),
257 evas_obj_visibility_set(EINA_TRUE) 257 evas_obj_visibility_set(EINA_TRUE)