summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_stack.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-02 16:25:36 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-02 17:03:06 +0100
commit5766d172cbf8befa9dea0e9f31a14bde9d278e21 (patch)
treecaf4d7cd90b7c00125b88fd4d6e2f04529480588 /src/lib/elementary/efl_ui_stack.c
parent3ee12d7cc651e0cea851b175c62773cb86c09ff4 (diff)
introduce efl_ui_{pager/scroller}devs/bu5hm4n/work_spotlight2
They are just helpers, so a user does not need to handcreate spotlight managers. This also leaves us the possibility of letting spotlight_managers beeing @beta. ref T7991 Differential Revision: https://phab.enlightenment.org/D10773
Diffstat (limited to 'src/lib/elementary/efl_ui_stack.c')
-rw-r--r--src/lib/elementary/efl_ui_stack.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_stack.c b/src/lib/elementary/efl_ui_stack.c
new file mode 100644
index 0000000000..e1769b7603
--- /dev/null
+++ b/src/lib/elementary/efl_ui_stack.c
@@ -0,0 +1,27 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Efl_Ui.h>
6#include "elm_priv.h"
7
8#define MY_CLASS EFL_UI_STACK_CLASS
9
10typedef struct {
11
12} Efl_Ui_Stack_Data;
13
14EOLIAN static Efl_Object *
15_efl_ui_stack_efl_object_constructor(Eo *obj, Efl_Ui_Stack_Data *sd EINA_UNUSED)
16{
17 Eo *stack;
18
19 obj = efl_constructor(efl_super(obj, MY_CLASS));
20
21 stack = efl_new(EFL_UI_SPOTLIGHT_MANAGER_STACK_CLASS);
22 efl_ui_spotlight_manager_set(obj, stack);
23
24 return obj;
25}
26
27#include "efl_ui_stack.eo.c"