summaryrefslogtreecommitdiff
path: root/src/benchmarks
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-24 17:57:01 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-25 20:27:39 +0200
commita4f7baa911a07d225e81d747bd7d79a177aae552 (patch)
treeaff892ace767ef9e35784a690bf59e9937c32bc3 /src/benchmarks
parent167d2475e8f879e96d80fa4a03eb3ab06098bfe5 (diff)
downloadefl-a4f7baa911a07d225e81d747bd7d79a177aae552.tar.gz
rename efl_ui_item_container -> efl_ui_collection
this is the first rename of the main widget, the renames of the test suites will follow Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9408
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/elementary/item_container.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/benchmarks/elementary/item_container.c b/src/benchmarks/elementary/item_container.c
index 5419756e09..982df1df81 100644
--- a/src/benchmarks/elementary/item_container.c
+++ b/src/benchmarks/elementary/item_container.c
@@ -10,11 +10,11 @@ _timer_tick(void *data, const Efl_Event *ev)
{
if (timer % 2 == 0)
{
- efl_ui_item_container_item_scroll(data, last, EINA_TRUE);
+ efl_ui_collection_item_scroll(data, last, EINA_TRUE);
}
else
{
- efl_ui_item_container_item_scroll(data, first, EINA_TRUE);
+ efl_ui_collection_item_scroll(data, first, EINA_TRUE);
}
timer--;
@@ -51,7 +51,7 @@ _started_cb(void *data, const Efl_Event *ev EINA_UNUSED)
static void
_first_frame_cb(void *data, const Efl_Event *ev EINA_UNUSED)
{
- efl_ui_item_container_item_scroll(data, middle, EINA_FALSE);
+ efl_ui_collection_item_scroll(data, middle, EINA_FALSE);
//give time to stabelize
efl_add(EFL_LOOP_TIMER_CLASS, efl_main_loop_get(),
efl_loop_timer_interval_set(efl_added, 15.0),
@@ -72,8 +72,8 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
);
list = efl_new(EFL_UI_POSITION_MANAGER_LIST_CLASS);
- item_container = efl_add(EFL_UI_ITEM_CONTAINER_CLASS, win,
- efl_ui_item_container_position_manager_set(efl_added, list));
+ item_container = efl_add(EFL_UI_COLLECTION_CLASS, win,
+ efl_ui_collection_position_manager_set(efl_added, list));
efl_content_set(win, item_container);
printf("Building 5000 objects\n");