summaryrefslogtreecommitdiff
path: root/unsorted/elementary/efl_ui_scroller_example.c
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-04-05 10:47:26 +0200
committerCedric Bail <cedric@osg.samsung.com>2018-04-24 09:03:32 -0700
commitfb666f9788c9cb0d86b47a78b58183a6acac013d (patch)
treed931d390b4515025f8c10389b94c54eb5c368fc9 /unsorted/elementary/efl_ui_scroller_example.c
parentf05ba502b356ef077ad3678909ae3dd808046d86 (diff)
Efl.Gfx.Entity (from Efl.Gfx)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'unsorted/elementary/efl_ui_scroller_example.c')
-rw-r--r--unsorted/elementary/efl_ui_scroller_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsorted/elementary/efl_ui_scroller_example.c b/unsorted/elementary/efl_ui_scroller_example.c
index e5588ab3..99a7a552 100644
--- a/unsorted/elementary/efl_ui_scroller_example.c
+++ b/unsorted/elementary/efl_ui_scroller_example.c
@@ -17,7 +17,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev)
17 17
18 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), "TEST", ELM_WIN_BASIC, 18 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), "TEST", ELM_WIN_BASIC,
19 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 19 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
20 efl_gfx_size_set(win, EINA_SIZE2D(300, 400)); 20 efl_gfx_entity_size_set(win, EINA_SIZE2D(300, 400));
21 21
22 scroller = efl_add(EFL_UI_SCROLLER_CLASS, win); 22 scroller = efl_add(EFL_UI_SCROLLER_CLASS, win);
23 efl_content_set(win, scroller); 23 efl_content_set(win, scroller);
@@ -25,7 +25,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev)
25 content = efl_add(EFL_UI_IMAGE_CLASS, scroller); 25 content = efl_add(EFL_UI_IMAGE_CLASS, scroller);
26 snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", elm_app_data_dir_get()); 26 snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", elm_app_data_dir_get());
27 efl_file_set(content, buf, NULL); 27 efl_file_set(content, buf, NULL);
28 efl_gfx_size_set(content, EINA_SIZE2D(5000, 5000)); 28 efl_gfx_entity_size_set(content, EINA_SIZE2D(5000, 5000));
29 efl_content_set(scroller, content); 29 efl_content_set(scroller, content);
30} 30}
31EFL_MAIN() 31EFL_MAIN()