diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2019-07-04 16:02:43 -0700 |
---|---|---|
committer | Xavi Artigas <xavierartigas@yahoo.es> | 2019-07-05 19:18:22 +0200 |
commit | 47c5736ef9198c2b41d98ade601114f329b69b24 (patch) | |
tree | dd2a65058a99fbb20ded3ba222cd733cb93c6579 /src/bin/elementary/test_ui_stack.c | |
parent | faaba156ab35c32a740f3847cd592cd21424ff25 (diff) | |
download | efl-47c5736ef9198c2b41d98ade601114f329b69b24.tar.gz |
elementary: rename Activew_View to Spotlight.
View is something that is expected in the context of MVVM, so using it somewhere else is
going to lead to some confusion. Spotlight does descrive the objective of all of this
widget in actually a more explicit way as they all give the spotlight to one sub widget
at a time.
I have also renamed the View_Manager to be just Manager as the View there wasn't useful.
Diffstat (limited to 'src/bin/elementary/test_ui_stack.c')
-rw-r--r-- | src/bin/elementary/test_ui_stack.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/elementary/test_ui_stack.c b/src/bin/elementary/test_ui_stack.c index f5ef762d8e..bd1c475959 100644 --- a/src/bin/elementary/test_ui_stack.c +++ b/src/bin/elementary/test_ui_stack.c @@ -19,7 +19,7 @@ static void _stack_pop(void *data, const Efl_Event *ev EINA_UNUSED) { Eo *stack = data; - efl_ui_active_view_pop(stack, EINA_TRUE); + efl_ui_spotlight_pop(stack, EINA_TRUE); } static void @@ -99,7 +99,7 @@ _fifth_layout_insert(void *data, const Efl_Event *ev EINA_UNUSED) Eo *nl = _navigation_layout_create(stack, "5th layout", btn); - efl_ui_active_view_push(stack, nl); + efl_ui_spotlight_push(stack, nl); } static void @@ -115,7 +115,7 @@ _third_layout_push(void *data, const Efl_Event *ev EINA_UNUSED) _bar_right_btn_set(nl, _fifth_layout_insert, stack); - efl_ui_active_view_push(stack, nl); + efl_ui_spotlight_push(stack, nl); } static void @@ -131,7 +131,7 @@ _second_layout_push(void *data, const Efl_Event *ev EINA_UNUSED) _bar_right_btn_set(nl, _third_layout_push, stack); - efl_ui_active_view_push(stack, nl); + efl_ui_spotlight_push(stack, nl); } static void @@ -146,7 +146,7 @@ _first_layout_push(Eo *win, Eo *stack) _bar_left_btn_set(nl, _win_del, win); _bar_right_btn_set(nl, _second_layout_push, stack); - efl_ui_active_view_push(stack, nl); + efl_ui_spotlight_push(stack, nl); } void @@ -158,7 +158,7 @@ test_ui_stack(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ efl_gfx_entity_size_set(win, EINA_SIZE2D(500, 500)); - Eo *stack = efl_ui_active_view_util_stack_gen(win); + Eo *stack = efl_ui_spotlight_util_stack_gen(win); efl_content_set(win, stack); |