summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_actionslider_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_actionslider_eo.c')
-rw-r--r--src/lib/elementary/elm_actionslider_eo.c82
1 files changed, 82 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_actionslider_eo.c b/src/lib/elementary/elm_actionslider_eo.c
new file mode 100644
index 0000000..5e47bd4
--- /dev/null
+++ b/src/lib/elementary/elm_actionslider_eo.c
@@ -0,0 +1,82 @@
1EWAPI const Efl_Event_Description _ELM_ACTIONSLIDER_EVENT_POS_CHANGED =
2 EFL_EVENT_DESCRIPTION("pos_changed");
3
4void _elm_actionslider_indicator_pos_set(Eo *obj, Elm_Actionslider_Data *pd, Elm_Actionslider_Pos pos);
5
6EOAPI EFL_VOID_FUNC_BODYV(elm_obj_actionslider_indicator_pos_set, EFL_FUNC_CALL(pos), Elm_Actionslider_Pos pos);
7
8Elm_Actionslider_Pos _elm_actionslider_indicator_pos_get(const Eo *obj, Elm_Actionslider_Data *pd);
9
10EOAPI EFL_FUNC_BODY_CONST(elm_obj_actionslider_indicator_pos_get, Elm_Actionslider_Pos, 0);
11
12void _elm_actionslider_magnet_pos_set(Eo *obj, Elm_Actionslider_Data *pd, Elm_Actionslider_Pos pos);
13
14EOAPI EFL_VOID_FUNC_BODYV(elm_obj_actionslider_magnet_pos_set, EFL_FUNC_CALL(pos), Elm_Actionslider_Pos pos);
15
16Elm_Actionslider_Pos _elm_actionslider_magnet_pos_get(const Eo *obj, Elm_Actionslider_Data *pd);
17
18EOAPI EFL_FUNC_BODY_CONST(elm_obj_actionslider_magnet_pos_get, Elm_Actionslider_Pos, 0);
19
20void _elm_actionslider_enabled_pos_set(Eo *obj, Elm_Actionslider_Data *pd, Elm_Actionslider_Pos pos);
21
22EOAPI EFL_VOID_FUNC_BODYV(elm_obj_actionslider_enabled_pos_set, EFL_FUNC_CALL(pos), Elm_Actionslider_Pos pos);
23
24Elm_Actionslider_Pos _elm_actionslider_enabled_pos_get(const Eo *obj, Elm_Actionslider_Data *pd);
25
26EOAPI EFL_FUNC_BODY_CONST(elm_obj_actionslider_enabled_pos_get, Elm_Actionslider_Pos, 0);
27
28const char *_elm_actionslider_selected_label_get(const Eo *obj, Elm_Actionslider_Data *pd);
29
30EOAPI EFL_FUNC_BODY_CONST(elm_obj_actionslider_selected_label_get, const char *, NULL);
31
32Efl_Object *_elm_actionslider_efl_object_constructor(Eo *obj, Elm_Actionslider_Data *pd);
33
34
35Eina_Error _elm_actionslider_efl_ui_widget_theme_apply(Eo *obj, Elm_Actionslider_Data *pd);
36
37
38Efl_Object *_elm_actionslider_efl_part_part_get(const Eo *obj, Elm_Actionslider_Data *pd, const char *name);
39
40
41static Eina_Bool
42_elm_actionslider_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_ACTIONSLIDER_EXTRA_OPS
49#define ELM_ACTIONSLIDER_EXTRA_OPS
50#endif
51
52 EFL_OPS_DEFINE(ops,
53 EFL_OBJECT_OP_FUNC(elm_obj_actionslider_indicator_pos_set, _elm_actionslider_indicator_pos_set),
54 EFL_OBJECT_OP_FUNC(elm_obj_actionslider_indicator_pos_get, _elm_actionslider_indicator_pos_get),
55 EFL_OBJECT_OP_FUNC(elm_obj_actionslider_magnet_pos_set, _elm_actionslider_magnet_pos_set),
56 EFL_OBJECT_OP_FUNC(elm_obj_actionslider_magnet_pos_get, _elm_actionslider_magnet_pos_get),
57 EFL_OBJECT_OP_FUNC(elm_obj_actionslider_enabled_pos_set, _elm_actionslider_enabled_pos_set),
58 EFL_OBJECT_OP_FUNC(elm_obj_actionslider_enabled_pos_get, _elm_actionslider_enabled_pos_get),
59 EFL_OBJECT_OP_FUNC(elm_obj_actionslider_selected_label_get, _elm_actionslider_selected_label_get),
60 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_actionslider_efl_object_constructor),
61 EFL_OBJECT_OP_FUNC(efl_ui_widget_theme_apply, _elm_actionslider_efl_ui_widget_theme_apply),
62 EFL_OBJECT_OP_FUNC(efl_part_get, _elm_actionslider_efl_part_part_get),
63 ELM_ACTIONSLIDER_EXTRA_OPS
64 );
65 opsp = &ops;
66
67 return efl_class_functions_set(klass, opsp, ropsp);
68}
69
70static const Efl_Class_Description _elm_actionslider_class_desc = {
71 EO_VERSION,
72 "Elm.Actionslider",
73 EFL_CLASS_TYPE_REGULAR,
74 sizeof(Elm_Actionslider_Data),
75 _elm_actionslider_class_initializer,
76 _elm_actionslider_class_constructor,
77 NULL
78};
79
80EFL_DEFINE_CLASS(elm_actionslider_class_get, &_elm_actionslider_class_desc, EFL_UI_LAYOUT_BASE_CLASS, EFL_UI_SELECTABLE_INTERFACE, EFL_UI_LEGACY_INTERFACE, NULL);
81
82#include "elm_actionslider_eo.legacy.c"