summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spotlight_util.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-07-04 16:02:43 -0700
committerXavi Artigas <xavierartigas@yahoo.es>2019-07-05 19:18:22 +0200
commit47c5736ef9198c2b41d98ade601114f329b69b24 (patch)
treedd2a65058a99fbb20ded3ba222cd733cb93c6579 /src/lib/elementary/efl_ui_spotlight_util.c
parentfaaba156ab35c32a740f3847cd592cd21424ff25 (diff)
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/lib/elementary/efl_ui_spotlight_util.c')
-rw-r--r--src/lib/elementary/efl_ui_spotlight_util.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_spotlight_util.c b/src/lib/elementary/efl_ui_spotlight_util.c
new file mode 100644
index 0000000000..308b4f3eaa
--- /dev/null
+++ b/src/lib/elementary/efl_ui_spotlight_util.c
@@ -0,0 +1,21 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Efl_Ui.h>
6#include "elm_priv.h"
7
8typedef struct {
9
10} Efl_Ui_Spotlight_Util_Data;
11
12EOLIAN static Efl_Ui_Spotlight_Container*
13_efl_ui_spotlight_util_stack_gen(Efl_Ui_Widget *parent)
14{
15 Efl_Ui_Spotlight_Manager *manager = efl_add(EFL_UI_SPOTLIGHT_MANAGER_STACK_CLASS, parent);
16 return efl_add(EFL_UI_SPOTLIGHT_CONTAINER_CLASS, parent,
17 efl_ui_spotlight_manager_set(efl_added, manager));
18}
19
20
21#include "efl_ui_spotlight_util.eo.c"