summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-05 17:00:37 -0500
committerCedric BAIL <cedric.bail@free.fr>2019-03-07 14:16:15 -0800
commit9ec139cefd86105e3b7b86af7600ce955a8f01da (patch)
treec26bf21b6a2aa7f1fc1d55f7b837f40229869ad6 /src
parentef173e184f16d231cbfc8f86c50a5e527d9e6cd0 (diff)
elm_segment_control*: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in efl and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8197
Diffstat (limited to 'src')
-rw-r--r--src/Makefile_Elementary.am10
-rw-r--r--src/lib/elementary/elm_segment_control.c8
-rw-r--r--src/lib/elementary/elm_segment_control.eo147
-rw-r--r--src/lib/elementary/elm_segment_control_eo.c95
-rw-r--r--src/lib/elementary/elm_segment_control_eo.h186
-rw-r--r--src/lib/elementary/elm_segment_control_eo.legacy.c48
-rw-r--r--src/lib/elementary/elm_segment_control_eo.legacy.h170
-rw-r--r--src/lib/elementary/elm_segment_control_item.eo47
-rw-r--r--src/lib/elementary/elm_segment_control_item_eo.c84
-rw-r--r--src/lib/elementary/elm_segment_control_item_eo.h72
-rw-r--r--src/lib/elementary/elm_segment_control_item_eo.legacy.c18
-rw-r--r--src/lib/elementary/elm_segment_control_item_eo.legacy.h65
-rw-r--r--src/lib/elementary/elm_segment_control_legacy.h4
-rw-r--r--src/lib/elementary/meson.build6
14 files changed, 756 insertions, 204 deletions
diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index 2c5c61b..8e91c28 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -205,8 +205,6 @@ elm_legacy_eolian_files = \
205 lib/elementary/elm_actionslider_part.eo \ 205 lib/elementary/elm_actionslider_part.eo \
206 lib/elementary/elm_bubble_part.eo \ 206 lib/elementary/elm_bubble_part.eo \
207 lib/elementary/elm_fileselector_part.eo \ 207 lib/elementary/elm_fileselector_part.eo \
208 lib/elementary/elm_segment_control.eo \
209 lib/elementary/elm_segment_control_item.eo \
210 lib/elementary/elm_separator.eo \ 208 lib/elementary/elm_separator.eo \
211 lib/elementary/elm_slideshow.eo \ 209 lib/elementary/elm_slideshow.eo \
212 lib/elementary/elm_slideshow_item.eo \ 210 lib/elementary/elm_slideshow_item.eo \
@@ -382,6 +380,10 @@ lib/elementary/elm_route_eo.c \
382lib/elementary/elm_route_eo.legacy.c \ 380lib/elementary/elm_route_eo.legacy.c \
383lib/elementary/elm_scroller_eo.c \ 381lib/elementary/elm_scroller_eo.c \
384lib/elementary/elm_scroller_eo.legacy.c \ 382lib/elementary/elm_scroller_eo.legacy.c \
383lib/elementary/elm_segment_control_eo.c \
384lib/elementary/elm_segment_control_eo.legacy.c \
385lib/elementary/elm_segment_control_item_eo.c \
386lib/elementary/elm_segment_control_item_eo.legacy.c \
385$(NULL) 387$(NULL)
386 388
387elm_legacy_eo_headers = \ 389elm_legacy_eo_headers = \
@@ -557,6 +559,10 @@ lib/elementary/elm_route_eo.h \
557lib/elementary/elm_route_eo.legacy.h \ 559lib/elementary/elm_route_eo.legacy.h \
558lib/elementary/elm_scroller_eo.h \ 560lib/elementary/elm_scroller_eo.h \
559lib/elementary/elm_scroller_eo.legacy.h \ 561lib/elementary/elm_scroller_eo.legacy.h \
562lib/elementary/elm_segment_control_eo.h \
563lib/elementary/elm_segment_control_eo.legacy.h \
564lib/elementary/elm_segment_control_item_eo.h \
565lib/elementary/elm_segment_control_item_eo.legacy.h \
560$(NULL) 566$(NULL)
561 567
562 568
diff --git a/src/lib/elementary/elm_segment_control.c b/src/lib/elementary/elm_segment_control.c
index 01719c0..96d7558 100644
--- a/src/lib/elementary/elm_segment_control.c
+++ b/src/lib/elementary/elm_segment_control.c
@@ -10,8 +10,8 @@
10#include <Elementary.h> 10#include <Elementary.h>
11 11
12#include "elm_priv.h" 12#include "elm_priv.h"
13#include "elm_segment_control.eo.h" 13#include "elm_segment_control_eo.h"
14#include "elm_segment_control_item.eo.h" 14#include "elm_segment_control_item_eo.h"
15#include "elm_widget_segment_control.h" 15#include "elm_widget_segment_control.h"
16 16
17#define MY_CLASS ELM_SEGMENT_CONTROL_CLASS 17#define MY_CLASS ELM_SEGMENT_CONTROL_CLASS
@@ -829,5 +829,5 @@ _elm_segment_control_item_efl_ui_focus_object_focus_parent_get(const Eo *obj EIN
829 ELM_LAYOUT_SIZING_EVAL_OPS(elm_segment_control), \ 829 ELM_LAYOUT_SIZING_EVAL_OPS(elm_segment_control), \
830 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_segment_control) 830 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_segment_control)
831 831
832#include "elm_segment_control_item.eo.c" 832#include "elm_segment_control_item_eo.c"
833#include "elm_segment_control.eo.c" 833#include "elm_segment_control_eo.c"
diff --git a/src/lib/elementary/elm_segment_control.eo b/src/lib/elementary/elm_segment_control.eo
deleted file mode 100644
index 74b65b4..0000000
--- a/src/lib/elementary/elm_segment_control.eo
+++ /dev/null
@@ -1,147 +0,0 @@
1class Elm.Segment_Control extends Efl.Ui.Layout_Base implements Efl.Ui.Focus.Composition, Efl.Ui.Legacy
2{
3 [[Elementary segment control class]]
4 legacy_prefix: elm_segment_control;
5 eo_prefix: elm_obj_segment_control;
6 event_prefix: elm_segment_control;
7 methods {
8 @property item_count {
9 get {
10 [[Get the Segment items count from segment control.
11
12 It will just return the number of items added to segment control $obj.]]
13 return: int; [[Segment items count.]]
14 }
15 }
16 @property item_selected {
17 get {
18 [[Get the selected item.
19
20 The selected item can be unselected with function
21 elm_segment_control_item_selected_set().
22
23 The selected item always will be highlighted on segment control.]]
24
25 return: Elm.Widget.Item; [[The selected item or $NULL if none of segment items is selected.]]
26
27 }
28 }
29 item_label_get @const {
30 [[Get the label of item.
31
32 The return value is a pointer to the label associated to the item when
33 it was created, with function elm_segment_control_item_add(), or later
34 with function elm_object_item_text_set. If no label
35 was passed as argument, it will return $NULL.]]
36
37 return: string; [[The label of the item at $index.]]
38 params {
39 @in idx: int; [[The index of the segment item.]]
40 }
41 }
42 item_insert_at {
43 [[Insert a new item to the segment control object at specified position.
44
45 Index values must be between $0, when item will be prepended to
46 segment control, and items count, that can be get with
47 elm_segment_control_item_count_get(), case when item will be appended
48 to segment control, just like elm_segment_control_item_add().
49
50 Items created with this function can be deleted with function
51 elm_object_item_del() or elm_segment_control_item_del_at().
52
53 Note: $label set to $NULL is different from empty string "".
54 If an item
55 only has icon, it will be displayed bigger and centered. If it has
56 icon and label, even that an empty string, icon will be smaller and
57 positioned at left.]]
58
59 return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
60 params {
61 @in icon: Efl.Canvas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
62 @in label: string @optional; [[The label of the item.]]
63 @in idx: int; [[Item position. Value should be between 0 and items count.]]
64 }
65 }
66 item_get @const {
67 [[Get the item placed at specified index.
68
69 Index is the position of an item in segment control widget. Its
70 range is from $0 to <tt> count - 1 </tt>.
71 Count is the number of items, that can be get with
72 elm_segment_control_item_count_get().]]
73
74 return: Elm.Widget.Item; [[The segment control item or $NULL on failure.]]
75 params {
76 @in idx: int; [[The index of the segment item.]]
77 }
78 }
79 item_del_at {
80 [[Remove a segment control item at given index from its parent, deleting it.
81
82 Items can be added with elm_segment_control_item_add() or elm_segment_control_item_insert_at().]]
83
84 params {
85 @in idx: int; [[The position of the segment control item to be deleted.]]
86 }
87 }
88 item_add {
89 [[Append a new item to the segment control object.
90
91 A new item will be created and appended to the segment control, i.e., will
92 be set as last item.
93
94 If it should be inserted at another position,
95 elm_segment_control_item_insert_at() should be used instead.
96
97 Items created with this function can be deleted with function
98 elm_object_item_del() or elm_object_item_del_at().
99
100 Note: $label set to $NULL is different from empty string "".
101 If an item
102 only has icon, it will be displayed bigger and centered. If it has
103 icon and label, even that an empty string, icon will be smaller and
104 positioned at left.]]
105
106 /* FIXME-doc
107 Simple example:
108 @code
109 sc = elm_segment_control_add(win);
110 ic = elm_icon_add(win);
111 elm_image_file_set(ic, "path/to/image", NULL);
112 elm_icon_resizable_set(ic, true, true);
113 elm_segment_control_item_add(sc, ic, "label");
114 evas_object_show(sc);
115 @endcode */
116
117 return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
118 params {
119 @in icon: Efl.Canvas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
120 @in label: string @optional; [[The label of the item. Note that, NULL is different from empty string "".]]
121 }
122 }
123 item_icon_get @const {
124 [[Get the icon associated to the item.
125
126 The return value is a pointer to the icon associated to the item when
127 it was created, with function elm_segment_control_item_add(), or later
128 with function elm_object_item_part_content_set(). If no icon
129 was passed as argument, it will return $NULL.]]
130 return: Efl.Canvas.Object; [[The left side icon associated to the item at $index.]]
131 params {
132 @in idx: int; [[The index of the segment item.]]
133 }
134 }
135 }
136 implements {
137 class.constructor;
138 Efl.Object.constructor;
139 Efl.Ui.Widget.theme_apply;
140 Efl.Ui.Widget.on_access_update;
141 Efl.Ui.Widget.disabled {set;}
142 Efl.Ui.L10n.translation_update;
143 }
144 events {
145 changed: Efl.Object; [[Called when segment control changed]]
146 }
147}
diff --git a/src/lib/elementary/elm_segment_control_eo.c b/src/lib/elementary/elm_segment_control_eo.c
new file mode 100644
index 0000000..931b473
--- /dev/null
+++ b/src/lib/elementary/elm_segment_control_eo.c
@@ -0,0 +1,95 @@
1EWAPI const Efl_Event_Description _ELM_SEGMENT_CONTROL_EVENT_CHANGED =
2 EFL_EVENT_DESCRIPTION("changed");
3
4int _elm_segment_control_item_count_get(const Eo *obj, Elm_Segment_Control_Data *pd);
5
6EOAPI EFL_FUNC_BODY_CONST(elm_obj_segment_control_item_count_get, int, 0);
7
8Elm_Widget_Item *_elm_segment_control_item_selected_get(const Eo *obj, Elm_Segment_Control_Data *pd);
9
10EOAPI EFL_FUNC_BODY_CONST(elm_obj_segment_control_item_selected_get, Elm_Widget_Item *, NULL);
11
12const char *_elm_segment_control_item_label_get(const Eo *obj, Elm_Segment_Control_Data *pd, int idx);
13
14EOAPI EFL_FUNC_BODYV_CONST(elm_obj_segment_control_item_label_get, const char *, NULL, EFL_FUNC_CALL(idx), int idx);
15
16Elm_Widget_Item *_elm_segment_control_item_insert_at(Eo *obj, Elm_Segment_Control_Data *pd, Efl_Canvas_Object *icon, const char *label, int idx);
17
18EOAPI EFL_FUNC_BODYV(elm_obj_segment_control_item_insert_at, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(icon, label, idx), Efl_Canvas_Object *icon, const char *label, int idx);
19
20Elm_Widget_Item *_elm_segment_control_item_get(const Eo *obj, Elm_Segment_Control_Data *pd, int idx);
21
22EOAPI EFL_FUNC_BODYV_CONST(elm_obj_segment_control_item_get, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(idx), int idx);
23
24void _elm_segment_control_item_del_at(Eo *obj, Elm_Segment_Control_Data *pd, int idx);
25
26EOAPI EFL_VOID_FUNC_BODYV(elm_obj_segment_control_item_del_at, EFL_FUNC_CALL(idx), int idx);
27
28Elm_Widget_Item *_elm_segment_control_item_add(Eo *obj, Elm_Segment_Control_Data *pd, Efl_Canvas_Object *icon, const char *label);
29
30EOAPI EFL_FUNC_BODYV(elm_obj_segment_control_item_add, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(icon, label), Efl_Canvas_Object *icon, const char *label);
31
32Efl_Canvas_Object *_elm_segment_control_item_icon_get(const Eo *obj, Elm_Segment_Control_Data *pd, int idx);
33
34EOAPI EFL_FUNC_BODYV_CONST(elm_obj_segment_control_item_icon_get, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(idx), int idx);
35
36Efl_Object *_elm_segment_control_efl_object_constructor(Eo *obj, Elm_Segment_Control_Data *pd);
37
38
39Eina_Error _elm_segment_control_efl_ui_widget_theme_apply(Eo *obj, Elm_Segment_Control_Data *pd);
40
41
42void _elm_segment_control_efl_ui_widget_on_access_update(Eo *obj, Elm_Segment_Control_Data *pd, Eina_Bool enable);
43
44
45void _elm_segment_control_efl_ui_widget_disabled_set(Eo *obj, Elm_Segment_Control_Data *pd, Eina_Bool disabled);
46
47
48void _elm_segment_control_efl_ui_l10n_translation_update(Eo *obj, Elm_Segment_Control_Data *pd);
49
50
51static Eina_Bool
52_elm_segment_control_class_initializer(Efl_Class *klass)
53{
54 const Efl_Object_Ops *opsp = NULL;
55
56 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
57
58#ifndef ELM_SEGMENT_CONTROL_EXTRA_OPS
59#define ELM_SEGMENT_CONTROL_EXTRA_OPS
60#endif
61
62 EFL_OPS_DEFINE(ops,
63 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_count_get, _elm_segment_control_item_count_get),
64 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_selected_get, _elm_segment_control_item_selected_get),
65 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_label_get, _elm_segment_control_item_label_get),
66 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_insert_at, _elm_segment_control_item_insert_at),
67 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_get, _elm_segment_control_item_get),
68 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_del_at, _elm_segment_control_item_del_at),
69 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_add, _elm_segment_control_item_add),
70 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_icon_get, _elm_segment_control_item_icon_get),
71 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_segment_control_efl_object_constructor),
72 EFL_OBJECT_OP_FUNC(efl_ui_widget_theme_apply, _elm_segment_control_efl_ui_widget_theme_apply),
73 EFL_OBJECT_OP_FUNC(efl_ui_widget_on_access_update, _elm_segment_control_efl_ui_widget_on_access_update),
74 EFL_OBJECT_OP_FUNC(efl_ui_widget_disabled_set, _elm_segment_control_efl_ui_widget_disabled_set),
75 EFL_OBJECT_OP_FUNC(efl_ui_l10n_translation_update, _elm_segment_control_efl_ui_l10n_translation_update),
76 ELM_SEGMENT_CONTROL_EXTRA_OPS
77 );
78 opsp = &ops;
79
80 return efl_class_functions_set(klass, opsp, ropsp);
81}
82
83static const Efl_Class_Description _elm_segment_control_class_desc = {
84 EO_VERSION,
85 "Elm.Segment_Control",
86 EFL_CLASS_TYPE_REGULAR,
87 sizeof(Elm_Segment_Control_Data),
88 _elm_segment_control_class_initializer,
89 _elm_segment_control_class_constructor,
90 NULL
91};
92
93EFL_DEFINE_CLASS(elm_segment_control_class_get, &_elm_segment_control_class_desc, EFL_UI_LAYOUT_BASE_CLASS, EFL_UI_FOCUS_COMPOSITION_MIXIN, EFL_UI_LEGACY_INTERFACE, NULL);
94
95#include "elm_segment_control_eo.legacy.c"
diff --git a/src/lib/elementary/elm_segment_control_eo.h b/src/lib/elementary/elm_segment_control_eo.h
new file mode 100644
index 0000000..36c7805
--- /dev/null
+++ b/src/lib/elementary/elm_segment_control_eo.h
@@ -0,0 +1,186 @@
1#ifndef _ELM_SEGMENT_CONTROL_EO_H_
2#define _ELM_SEGMENT_CONTROL_EO_H_
3
4#ifndef _ELM_SEGMENT_CONTROL_EO_CLASS_TYPE
5#define _ELM_SEGMENT_CONTROL_EO_CLASS_TYPE
6
7typedef Eo Elm_Segment_Control;
8
9#endif
10
11#ifndef _ELM_SEGMENT_CONTROL_EO_TYPES
12#define _ELM_SEGMENT_CONTROL_EO_TYPES
13
14
15#endif
16/** Elementary segment control class
17 *
18 * @ingroup Elm_Segment_Control
19 */
20#define ELM_SEGMENT_CONTROL_CLASS elm_segment_control_class_get()
21
22EWAPI const Efl_Class *elm_segment_control_class_get(void);
23
24/**
25 * @brief Get the Segment items count from segment control.
26 *
27 * It will just return the number of items added to segment control @c obj.
28 *
29 * @param[in] obj The object.
30 *
31 * @return Segment items count.
32 *
33 * @ingroup Elm_Segment_Control
34 */
35EOAPI int elm_obj_segment_control_item_count_get(const Eo *obj);
36
37/**
38 * @brief Get the selected item.
39 *
40 * The selected item can be unselected with function
41 * elm_segment_control_item_selected_set().
42 *
43 * The selected item always will be highlighted on segment control.
44 *
45 * @param[in] obj The object.
46 *
47 * @return The selected item or @c NULL if none of segment items is selected.
48 *
49 * @ingroup Elm_Segment_Control
50 */
51EOAPI Elm_Widget_Item *elm_obj_segment_control_item_selected_get(const Eo *obj);
52
53/**
54 * @brief Get the label of item.
55 *
56 * The return value is a pointer to the label associated to the item when it
57 * was created, with function elm_segment_control_item_add(), or later with
58 * function elm_object_item_text_set. If no label was passed as argument, it
59 * will return @c NULL.
60 *
61 * @param[in] obj The object.
62 * @param[in] idx The index of the segment item.
63 *
64 * @return The label of the item at @c index.
65 *
66 * @ingroup Elm_Segment_Control
67 */
68EOAPI const char *elm_obj_segment_control_item_label_get(const Eo *obj, int idx);
69
70/**
71 * @brief Insert a new item to the segment control object at specified
72 * position.
73 *
74 * Index values must be between $0, when item will be prepended to segment
75 * control, and items count, that can be get with
76 * elm_segment_control_item_count_get(), case when item will be appended to
77 * segment control, just like elm_segment_control_item_add().
78 *
79 * Items created with this function can be deleted with function
80 * elm_object_item_del() or elm_segment_control_item_del_at().
81 *
82 * @note @c label set to @c NULL is different from empty string "". If an item
83 * only has icon, it will be displayed bigger and centered. If it has icon and
84 * label, even that an empty string, icon will be smaller and positioned at
85 * left.
86 *
87 * @param[in] obj The object.
88 * @param[in] icon The icon object to use for the left side of the item. An
89 * icon can be any Evas object, but usually it is an icon created with
90 * elm_icon_add().
91 * @param[in] label The label of the item.
92 * @param[in] idx Item position. Value should be between 0 and items count.
93 *
94 * @return The created item or @c NULL upon failure.
95 *
96 * @ingroup Elm_Segment_Control
97 */
98EOAPI Elm_Widget_Item *elm_obj_segment_control_item_insert_at(Eo *obj, Efl_Canvas_Object *icon, const char *label, int idx);
99
100/**
101 * @brief Get the item placed at specified index.
102 *
103 * Index is the position of an item in segment control widget. Its range is
104 * from $0 to <tt> count - 1 </tt>. Count is the number of items, that can be
105 * get with elm_segment_control_item_count_get().
106 *
107 * @param[in] obj The object.
108 * @param[in] idx The index of the segment item.
109 *
110 * @return The segment control item or @c NULL on failure.
111 *
112 * @ingroup Elm_Segment_Control
113 */
114EOAPI Elm_Widget_Item *elm_obj_segment_control_item_get(const Eo *obj, int idx);
115
116/**
117 * @brief Remove a segment control item at given index from its parent,
118 * deleting it.
119 *
120 * Items can be added with elm_segment_control_item_add() or
121 * elm_segment_control_item_insert_at().
122 *
123 * @param[in] obj The object.
124 * @param[in] idx The position of the segment control item to be deleted.
125 *
126 * @ingroup Elm_Segment_Control
127 */
128EOAPI void elm_obj_segment_control_item_del_at(Eo *obj, int idx);
129
130/**
131 * @brief Append a new item to the segment control object.
132 *
133 * A new item will be created and appended to the segment control, i.e., will
134 * be set as last item.
135 *
136 * If it should be inserted at another position,
137 * elm_segment_control_item_insert_at() should be used instead.
138 *
139 * Items created with this function can be deleted with function
140 * elm_object_item_del() or elm_object_item_del_at().
141 *
142 * @note @c label set to @c NULL is different from empty string "". If an item
143 * only has icon, it will be displayed bigger and centered. If it has icon and
144 * label, even that an empty string, icon will be smaller and positioned at
145 * left.
146 *
147 * @param[in] obj The object.
148 * @param[in] icon The icon object to use for the left side of the item. An
149 * icon can be any Evas object, but usually it is an icon created with
150 * elm_icon_add().
151 * @param[in] label The label of the item. Note that, NULL is different from
152 * empty string "".
153 *
154 * @return The created item or @c NULL upon failure.
155 *
156 * @ingroup Elm_Segment_Control
157 */
158EOAPI Elm_Widget_Item *elm_obj_segment_control_item_add(Eo *obj, Efl_Canvas_Object *icon, const char *label);
159
160/**
161 * @brief Get the icon associated to the item.
162 *
163 * The return value is a pointer to the icon associated to the item when it was
164 * created, with function elm_segment_control_item_add(), or later with
165 * function elm_object_item_part_content_set(). If no icon was passed as
166 * argument, it will return @c NULL.
167 *
168 * @param[in] obj The object.
169 * @param[in] idx The index of the segment item.
170 *
171 * @return The left side icon associated to the item at @c index.
172 *
173 * @ingroup Elm_Segment_Control
174 */
175EOAPI Efl_Canvas_Object *elm_obj_segment_control_item_icon_get(const Eo *obj, int idx);
176
177EWAPI extern const Efl_Event_Description _ELM_SEGMENT_CONTROL_EVENT_CHANGED;
178
179/** Called when segment control changed
180 * @return Efl_Object *
181 *
182 * @ingroup Elm_Segment_Control
183 */
184#define ELM_SEGMENT_CONTROL_EVENT_CHANGED (&(_ELM_SEGMENT_CONTROL_EVENT_CHANGED))
185
186#endif
diff --git a/src/lib/elementary/elm_segment_control_eo.legacy.c b/src/lib/elementary/elm_segment_control_eo.legacy.c
new file mode 100644
index 0000000..9fc4205
--- /dev/null
+++ b/src/lib/elementary/elm_segment_control_eo.legacy.c
@@ -0,0 +1,48 @@
1
2EAPI int
3elm_segment_control_item_count_get(const Elm_Segment_Control *obj)
4{
5 return elm_obj_segment_control_item_count_get(obj);
6}
7
8EAPI Elm_Widget_Item *
9elm_segment_control_item_selected_get(const Elm_Segment_Control *obj)
10{
11 return elm_obj_segment_control_item_selected_get(obj);
12}
13
14EAPI const char *
15elm_segment_control_item_label_get(const Elm_Segment_Control *obj, int idx)
16{
17 return elm_obj_segment_control_item_label_get(obj, idx);
18}
19
20EAPI Elm_Widget_Item *
21elm_segment_control_item_insert_at(Elm_Segment_Control *obj, Efl_Canvas_Object *icon, const char *label, int idx)
22{
23 return elm_obj_segment_control_item_insert_at(obj, icon, label, idx);
24}
25
26EAPI Elm_Widget_Item *
27elm_segment_control_item_get(const Elm_Segment_Control *obj, int idx)
28{
29 return elm_obj_segment_control_item_get(obj, idx);
30}
31
32EAPI void
33elm_segment_control_item_del_at(Elm_Segment_Control *obj, int idx)
34{
35 elm_obj_segment_control_item_del_at(obj, idx);
36}
37
38EAPI Elm_Widget_Item *
39elm_segment_control_item_add(Elm_Segment_Control *obj, Efl_Canvas_Object *icon, const char *label)
40{
41 return elm_obj_segment_control_item_add(obj, icon, label);
42}
43
44EAPI Efl_Canvas_Object *
45elm_segment_control_item_icon_get(const Elm_Segment_Control *obj, int idx)
46{
47 return elm_obj_segment_control_item_icon_get(obj, idx);
48}
diff --git a/src/lib/elementary/elm_segment_control_eo.legacy.h b/src/lib/elementary/elm_segment_control_eo.legacy.h
new file mode 100644
index 0000000..02ce531
--- /dev/null
+++ b/src/lib/elementary/elm_segment_control_eo.legacy.h
@@ -0,0 +1,170 @@
1#ifndef _ELM_SEGMENT_CONTROL_EO_LEGACY_H_
2#define _ELM_SEGMENT_CONTROL_EO_LEGACY_H_
3
4#ifndef _ELM_SEGMENT_CONTROL_EO_CLASS_TYPE
5#define _ELM_SEGMENT_CONTROL_EO_CLASS_TYPE
6
7typedef Eo Elm_Segment_Control;
8
9#endif
10
11#ifndef _ELM_SEGMENT_CONTROL_EO_TYPES
12#define _ELM_SEGMENT_CONTROL_EO_TYPES
13
14
15#endif
16
17/**
18 * @brief Get the Segment items count from segment control.
19 *
20 * It will just return the number of items added to segment control @c obj.
21 *
22 * @param[in] obj The object.
23 *
24 * @return Segment items count.
25 *
26 * @ingroup Elm_Segment_Control_Group
27 */
28EAPI int elm_segment_control_item_count_get(const Elm_Segment_Control *obj);
29
30/**
31 * @brief Get the selected item.
32 *
33 * The selected item can be unselected with function
34 * elm_segment_control_item_selected_set().
35 *
36 * The selected item always will be highlighted on segment control.
37 *
38 * @param[in] obj The object.
39 *
40 * @return The selected item or @c NULL if none of segment items is selected.
41 *
42 * @ingroup Elm_Segment_Control_Group
43 */
44EAPI Elm_Widget_Item *elm_segment_control_item_selected_get(const Elm_Segment_Control *obj);
45
46/**
47 * @brief Get the label of item.
48 *
49 * The return value is a pointer to the label associated to the item when it
50 * was created, with function elm_segment_control_item_add(), or later with
51 * function elm_object_item_text_set. If no label was passed as argument, it
52 * will return @c NULL.
53 *
54 * @param[in] obj The object.
55 * @param[in] idx The index of the segment item.
56 *
57 * @return The label of the item at @c index.
58 *
59 * @ingroup Elm_Segment_Control_Group
60 */
61EAPI const char *elm_segment_control_item_label_get(const Elm_Segment_Control *obj, int idx);
62
63/**
64 * @brief Insert a new item to the segment control object at specified
65 * position.
66 *
67 * Index values must be between $0, when item will be prepended to segment
68 * control, and items count, that can be get with
69 * elm_segment_control_item_count_get(), case when item will be appended to
70 * segment control, just like elm_segment_control_item_add().
71 *
72 * Items created with this function can be deleted with function
73 * elm_object_item_del() or elm_segment_control_item_del_at().
74 *
75 * @note @c label set to @c NULL is different from empty string "". If an item
76 * only has icon, it will be displayed bigger and centered. If it has icon and
77 * label, even that an empty string, icon will be smaller and positioned at
78 * left.
79 *
80 * @param[in] obj The object.
81 * @param[in] icon The icon object to use for the left side of the item. An
82 * icon can be any Evas object, but usually it is an icon created with
83 * elm_icon_add().
84 * @param[in] label The label of the item.
85 * @param[in] idx Item position. Value should be between 0 and items count.
86 *
87 * @return The created item or @c NULL upon failure.
88 *
89 * @ingroup Elm_Segment_Control_Group
90 */
91EAPI Elm_Widget_Item *elm_segment_control_item_insert_at(Elm_Segment_Control *obj, Efl_Canvas_Object *icon, const char *label, int idx);
92
93/**
94 * @brief Get the item placed at specified index.
95 *
96 * Index is the position of an item in segment control widget. Its range is
97 * from $0 to <tt> count - 1 </tt>. Count is the number of items, that can be
98 * get with elm_segment_control_item_count_get().
99 *
100 * @param[in] obj The object.
101 * @param[in] idx The index of the segment item.
102 *
103 * @return The segment control item or @c NULL on failure.
104 *
105 * @ingroup Elm_Segment_Control_Group
106 */
107EAPI Elm_Widget_Item *elm_segment_control_item_get(const Elm_Segment_Control *obj, int idx);
108
109/**
110 * @brief Remove a segment control item at given index from its parent,
111 * deleting it.
112 *
113 * Items can be added with elm_segment_control_item_add() or
114 * elm_segment_control_item_insert_at().
115 *
116 * @param[in] obj The object.
117 * @param[in] idx The position of the segment control item to be deleted.
118 *
119 * @ingroup Elm_Segment_Control_Group
120 */
121EAPI void elm_segment_control_item_del_at(Elm_Segment_Control *obj, int idx);
122
123/**
124 * @brief Append a new item to the segment control object.
125 *
126 * A new item will be created and appended to the segment control, i.e., will
127 * be set as last item.
128 *
129 * If it should be inserted at another position,
130 * elm_segment_control_item_insert_at() should be used instead.
131 *
132 * Items created with this function can be deleted with function
133 * elm_object_item_del() or elm_object_item_del_at().
134 *
135 * @note @c label set to @c NULL is different from empty string "". If an item
136 * only has icon, it will be displayed bigger and centered. If it has icon and
137 * label, even that an empty string, icon will be smaller and positioned at
138 * left.
139 *
140 * @param[in] obj The object.
141 * @param[in] icon The icon object to use for the left side of the item. An
142 * icon can be any Evas object, but usually it is an icon created with
143 * elm_icon_add().
144 * @param[in] label The label of the item. Note that, NULL is different from
145 * empty string "".
146 *
147 * @return The created item or @c NULL upon failure.
148 *
149 * @ingroup Elm_Segment_Control_Group
150 */
151EAPI Elm_Widget_Item *elm_segment_control_item_add(Elm_Segment_Control *obj, Efl_Canvas_Object *icon, const char *label);
152
153/**
154 * @brief Get the icon associated to the item.
155 *
156 * The return value is a pointer to the icon associated to the item when it was
157 * created, with function elm_segment_control_item_add(), or later with
158 * function elm_object_item_part_content_set(). If no icon was passed as
159 * argument, it will return @c NULL.
160 *
161 * @param[in] obj The object.
162 * @param[in] idx The index of the segment item.
163 *
164 * @return The left side icon associated to the item at @c index.
165 *
166 * @ingroup Elm_Segment_Control_Group
167 */
168EAPI Efl_Canvas_Object *elm_segment_control_item_icon_get(const Elm_Segment_Control *obj, int idx);
169
170#endif
diff --git a/src/lib/elementary/elm_segment_control_item.eo b/src/lib/elementary/elm_segment_control_item.eo
deleted file mode 100644
index 971f32a..0000000
--- a/src/lib/elementary/elm_segment_control_item.eo
+++ /dev/null
@@ -1,47 +0,0 @@
1class Elm.Segment_Control.Item extends Elm.Widget.Item implements Efl.Ui.Focus.Object, Efl.Ui.Legacy
2{
3 [[Elementary segment control item class]]
4 legacy_prefix: elm_segment_control_item;
5 eo_prefix: elm_obj_segment_control_item;
6 methods {
7 index_get @const {
8 [[Get the index of an item.
9
10 Index is the position of an item in segment control widget. Its
11 range is from 0 to (count - 1).
12 Count is the number of items, that can be get with elm_segment_control_item_count_get()]]
13
14 return: int(-1); [[The position of item in segment control widget.]]
15 }
16 object_get @const {
17 [[Get the real Evas(Edje) object created to implement the view of a given segment_control item.
18
19 Base object is the @Efl.Canvas.Object that represents that item.]]
20 return: Efl.Canvas.Object; [[The base Edje object associated with $it]]
21 }
22 selected_set {
23 [[Set the selected state of an item.
24
25 This sets the selected state of the given item $it.
26 $true for selected, $false for not selected.
27
28 If a new item is selected the previously selected will be unselected.
29 Selected item can be got with function elm_segment_control_item_selected_get().
30
31 The selected item always will be highlighted on segment control.]]
32
33 params {
34 selected: bool; [[The selected state.]]
35 }
36 }
37 }
38 implements {
39 Efl.Object.constructor;
40 Efl.Object.destructor;
41 Elm.Widget.Item.access_register;
42 Elm.Widget.Item.part_text { get; set; }
43 Elm.Widget.Item.part_content { get; set; }
44 Efl.Ui.Focus.Object.focus_geometry {get; }
45 Efl.Ui.Focus.Object.focus_parent {get;}
46 }
47}
diff --git a/src/lib/elementary/elm_segment_control_item_eo.c b/src/lib/elementary/elm_segment_control_item_eo.c
new file mode 100644
index 0000000..aa2f1f4
--- /dev/null
+++ b/src/lib/elementary/elm_segment_control_item_eo.c
@@ -0,0 +1,84 @@
1
2int _elm_segment_control_item_index_get(const Eo *obj, Elm_Segment_Control_Item_Data *pd);
3
4EOAPI EFL_FUNC_BODY_CONST(elm_obj_segment_control_item_index_get, int, -1 /* +1 */);
5
6Efl_Canvas_Object *_elm_segment_control_item_object_get(const Eo *obj, Elm_Segment_Control_Item_Data *pd);
7
8EOAPI EFL_FUNC_BODY_CONST(elm_obj_segment_control_item_object_get, Efl_Canvas_Object *, NULL);
9
10void _elm_segment_control_item_selected_set(Eo *obj, Elm_Segment_Control_Item_Data *pd, Eina_Bool selected);
11
12EOAPI EFL_VOID_FUNC_BODYV(elm_obj_segment_control_item_selected_set, EFL_FUNC_CALL(selected), Eina_Bool selected);
13
14Efl_Object *_elm_segment_control_item_efl_object_constructor(Eo *obj, Elm_Segment_Control_Item_Data *pd);
15
16
17void _elm_segment_control_item_efl_object_destructor(Eo *obj, Elm_Segment_Control_Item_Data *pd);
18
19
20Efl_Canvas_Object *_elm_segment_control_item_elm_widget_item_access_register(Eo *obj, Elm_Segment_Control_Item_Data *pd);
21
22
23void _elm_segment_control_item_elm_widget_item_part_text_set(Eo *obj, Elm_Segment_Control_Item_Data *pd, const char *part, const char *label);
24
25
26const char *_elm_segment_control_item_elm_widget_item_part_text_get(const Eo *obj, Elm_Segment_Control_Item_Data *pd, const char *part);
27
28
29void _elm_segment_control_item_elm_widget_item_part_content_set(Eo *obj, Elm_Segment_Control_Item_Data *pd, const char *part, Efl_Canvas_Object *content);
30
31
32Efl_Canvas_Object *_elm_segment_control_item_elm_widget_item_part_content_get(const Eo *obj, Elm_Segment_Control_Item_Data *pd, const char *part);
33
34
35Eina_Rect _elm_segment_control_item_efl_ui_focus_object_focus_geometry_get(const Eo *obj, Elm_Segment_Control_Item_Data *pd);
36
37
38Efl_Ui_Focus_Object *_elm_segment_control_item_efl_ui_focus_object_focus_parent_get(const Eo *obj, Elm_Segment_Control_Item_Data *pd);
39
40
41static Eina_Bool
42_elm_segment_control_item_class_initializer(Efl_Class *klass)
43{
44 const Efl_Object_Ops *opsp = NULL;
45
46 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
47
48#ifndef ELM_SEGMENT_CONTROL_ITEM_EXTRA_OPS
49#define ELM_SEGMENT_CONTROL_ITEM_EXTRA_OPS
50#endif
51
52 EFL_OPS_DEFINE(ops,
53 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_index_get, _elm_segment_control_item_index_get),
54 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_object_get, _elm_segment_control_item_object_get),
55 EFL_OBJECT_OP_FUNC(elm_obj_segment_control_item_selected_set, _elm_segment_control_item_selected_set),
56 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_segment_control_item_efl_object_constructor),
57 EFL_OBJECT_OP_FUNC(efl_destructor, _elm_segment_control_item_efl_object_destructor),
58 EFL_OBJECT_OP_FUNC(elm_wdg_item_access_register, _elm_segment_control_item_elm_widget_item_access_register),
59 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_text_set, _elm_segment_control_item_elm_widget_item_part_text_set),
60 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_text_get, _elm_segment_control_item_elm_widget_item_part_text_get),
61 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_content_set, _elm_segment_control_item_elm_widget_item_part_content_set),
62 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_content_get, _elm_segment_control_item_elm_widget_item_part_content_get),
63 EFL_OBJECT_OP_FUNC(efl_ui_focus_object_focus_geometry_get, _elm_segment_control_item_efl_ui_focus_object_focus_geometry_get),
64 EFL_OBJECT_OP_FUNC(efl_ui_focus_object_focus_parent_get, _elm_segment_control_item_efl_ui_focus_object_focus_parent_get),
65 ELM_SEGMENT_CONTROL_ITEM_EXTRA_OPS
66 );
67 opsp = &ops;
68
69 return efl_class_functions_set(klass, opsp, ropsp);
70}
71
72static const Efl_Class_Description _elm_segment_control_item_class_desc = {
73 EO_VERSION,
74 "Elm.Segment_Control.Item",
75 EFL_CLASS_TYPE_REGULAR,
76 sizeof(Elm_Segment_Control_Item_Data),
77 _elm_segment_control_item_class_initializer,
78 NULL,
79 NULL
80};
81
82EFL_DEFINE_CLASS(elm_segment_control_item_class_get, &_elm_segment_control_item_class_desc, ELM_WIDGET_ITEM_CLASS, EFL_UI_FOCUS_OBJECT_MIXIN, EFL_UI_LEGACY_INTERFACE, NULL);
83
84#include "elm_segment_control_item_eo.legacy.c"
diff --git a/src/lib/elementary/elm_segment_control_item_eo.h b/src/lib/elementary/elm_segment_control_item_eo.h
new file mode 100644
index 0000000..b61ba74
--- /dev/null
+++ b/src/lib/elementary/elm_segment_control_item_eo.h
@@ -0,0 +1,72 @@
1#ifndef _ELM_SEGMENT_CONTROL_ITEM_EO_H_
2#define _ELM_SEGMENT_CONTROL_ITEM_EO_H_
3
4#ifndef _ELM_SEGMENT_CONTROL_ITEM_EO_CLASS_TYPE
5#define _ELM_SEGMENT_CONTROL_ITEM_EO_CLASS_TYPE
6
7typedef Eo Elm_Segment_Control_Item;
8
9#endif
10
11#ifndef _ELM_SEGMENT_CONTROL_ITEM_EO_TYPES
12#define _ELM_SEGMENT_CONTROL_ITEM_EO_TYPES
13
14
15#endif
16/** Elementary segment control item class
17 *
18 * @ingroup Elm_Segment_Control_Item
19 */
20#define ELM_SEGMENT_CONTROL_ITEM_CLASS elm_segment_control_item_class_get()
21
22EWAPI const Efl_Class *elm_segment_control_item_class_get(void);
23
24/**
25 * @brief Get the index of an item.
26 *
27 * Index is the position of an item in segment control widget. Its range is
28 * from 0 to (count - 1). Count is the number of items, that can be get with
29 * elm_segment_control_item_count_get()
30 *
31 * @param[in] obj The object.
32 *
33 * @return The position of item in segment control widget.
34 *
35 * @ingroup Elm_Segment_Control_Item
36 */
37EOAPI int elm_obj_segment_control_item_index_get(const Eo *obj);
38
39/**
40 * @brief Get the real Evas(Edje) object created to implement the view of a
41 * given segment_control item.
42 *
43 * Base object is the @ref Efl_Canvas_Object that represents that item.
44 *
45 * @param[in] obj The object.
46 *
47 * @return The base Edje object associated with @c it
48 *
49 * @ingroup Elm_Segment_Control_Item
50 */
51EOAPI Efl_Canvas_Object *elm_obj_segment_control_item_object_get(const Eo *obj);
52
53/**
54 * @brief Set the selected state of an item.
55 *
56 * This sets the selected state of the given item @c it. @c true for selected,
57 * @c false for not selected.
58 *
59 * If a new item is selected the previously selected will be unselected.
60 * Selected item can be got with function
61 * elm_segment_control_item_selected_get().
62 *
63 * The selected item always will be highlighted on segment control.
64 *
65 * @param[in] obj The object.
66 * @param[in] selected The selected state.
67 *
68 * @ingroup Elm_Segment_Control_Item
69 */
70EOAPI void elm_obj_segment_control_item_selected_set(Eo *obj, Eina_Bool selected);
71
72#endif
diff --git a/src/lib/elementary/elm_segment_control_item_eo.legacy.c b/src/lib/elementary/elm_segment_control_item_eo.legacy.c
new file mode 100644
index 0000000..1f7461c
--- /dev/null
+++ b/src/lib/elementary/elm_segment_control_item_eo.legacy.c
@@ -0,0 +1,18 @@
1
2EAPI int
3elm_segment_control_item_index_get(const Elm_Segment_Control_Item *obj)
4{
5 return elm_obj_segment_control_item_index_get(obj);
6}
7
8EAPI Efl_Canvas_Object *
9elm_segment_control_item_object_get(const Elm_Segment_Control_Item *obj)
10{
11 return elm_obj_segment_control_item_object_get(obj);
12}
13
14EAPI void
15elm_segment_control_item_selected_set(Elm_Segment_Control_Item *obj, Eina_Bool selected)
16{
17 elm_obj_segment_control_item_selected_set(obj, selected);
18}
diff --git a/src/lib/elementary/elm_segment_control_item_eo.legacy.h b/src/lib/elementary/elm_segment_control_item_eo.legacy.h
new file mode 100644
index 0000000..43788d4
--- /dev/null
+++ b/src/lib/elementary/elm_segment_control_item_eo.legacy.h
@@ -0,0 +1,65 @@
1#ifndef _ELM_SEGMENT_CONTROL_ITEM_EO_LEGACY_H_
2#define _ELM_SEGMENT_CONTROL_ITEM_EO_LEGACY_H_
3
4#ifndef _ELM_SEGMENT_CONTROL_ITEM_EO_CLASS_TYPE
5#define _ELM_SEGMENT_CONTROL_ITEM_EO_CLASS_TYPE
6
7typedef Eo Elm_Segment_Control_Item;
8
9#endif
10
11#ifndef _ELM_SEGMENT_CONTROL_ITEM_EO_TYPES
12#define _ELM_SEGMENT_CONTROL_ITEM_EO_TYPES
13
14
15#endif
16
17/**
18 * @brief Get the index of an item.
19 *
20 * Index is the position of an item in segment control widget. Its range is
21 * from 0 to (count - 1). Count is the number of items, that can be get with
22 * elm_segment_control_item_count_get()
23 *
24 * @param[in] obj The object.
25 *
26 * @return The position of item in segment control widget.
27 *
28 * @ingroup Elm_Segment_Control_Item_Group
29 */
30EAPI int elm_segment_control_item_index_get(const Elm_Segment_Control_Item *obj);
31
32/**
33 * @brief Get the real Evas(Edje) object created to implement the view of a
34 * given segment_control item.
35 *
36 * Base object is the @ref Efl_Canvas_Object that represents that item.
37 *
38 * @param[in] obj The object.
39 *
40 * @return The base Edje object associated with @c it
41 *
42 * @ingroup Elm_Segment_Control_Item_Group
43 */
44EAPI Efl_Canvas_Object *elm_segment_control_item_object_get(const Elm_Segment_Control_Item *obj);
45
46/**
47 * @brief Set the selected state of an item.
48 *
49 * This sets the selected state of the given item @c it. @c true for selected,
50 * @c false for not selected.
51 *
52 * If a new item is selected the previously selected will be unselected.
53 * Selected item can be got with function
54 * elm_segment_control_item_selected_get().
55 *
56 * The selected item always will be highlighted on segment control.
57 *
58 * @param[in] obj The object.
59 * @param[in] selected The selected state.
60 *
61 * @ingroup Elm_Segment_Control_Item_Group
62 */
63EAPI void elm_segment_control_item_selected_set(Elm_Segment_Control_Item *obj, Eina_Bool selected);
64
65#endif
diff --git a/src/lib/elementary/elm_segment_control_legacy.h b/src/lib/elementary/elm_segment_control_legacy.h
index 8b9e0a0..fc89f57 100644
--- a/src/lib/elementary/elm_segment_control_legacy.h
+++ b/src/lib/elementary/elm_segment_control_legacy.h
@@ -11,5 +11,5 @@
11 */ 11 */
12EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent); 12EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent);
13 13
14#include "elm_segment_control_item.eo.legacy.h" 14#include "elm_segment_control_item_eo.legacy.h"
15#include "elm_segment_control.eo.legacy.h" 15#include "elm_segment_control_eo.legacy.h"
diff --git a/src/lib/elementary/meson.build b/src/lib/elementary/meson.build
index 4471d9e..47df877 100644
--- a/src/lib/elementary/meson.build
+++ b/src/lib/elementary/meson.build
@@ -22,8 +22,6 @@ pub_legacy_eo_files = [
22 'elm_actionslider_part.eo', 22 'elm_actionslider_part.eo',
23 'elm_bubble_part.eo', 23 'elm_bubble_part.eo',
24 'elm_fileselector_part.eo', 24 'elm_fileselector_part.eo',
25 'elm_segment_control.eo',
26 'elm_segment_control_item.eo',
27 'elm_separator.eo', 25 'elm_separator.eo',
28 'elm_slideshow.eo', 26 'elm_slideshow.eo',
29 'elm_slideshow_item.eo', 27 'elm_slideshow_item.eo',
@@ -788,6 +786,10 @@ elementary_pub_headers = [
788 'elm_route_eo.legacy.h', 786 'elm_route_eo.legacy.h',
789 'elm_scroller_eo.h', 787 'elm_scroller_eo.h',
790 'elm_scroller_eo.legacy.h', 788 'elm_scroller_eo.legacy.h',
789 'elm_segment_control_eo.h',
790 'elm_segment_control_eo.legacy.h',
791 'elm_segment_control_item_eo.h',
792 'elm_segment_control_item_eo.legacy.h',
791] 793]
792 794
793elementary_header_src = [ 795elementary_header_src = [