summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_line_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_line_eo.c')
-rw-r--r--src/lib/evas/canvas/evas_line_eo.c47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_line_eo.c b/src/lib/evas/canvas/evas_line_eo.c
new file mode 100644
index 0000000..3199d53
--- /dev/null
+++ b/src/lib/evas/canvas/evas_line_eo.c
@@ -0,0 +1,47 @@
1
2void _evas_line_xy_set(Eo *obj, Evas_Line_Data *pd, int x1, int y1, int x2, int y2);
3
4EOAPI EFL_VOID_FUNC_BODYV(evas_obj_line_xy_set, EFL_FUNC_CALL(x1, y1, x2, y2), int x1, int y1, int x2, int y2);
5
6void _evas_line_xy_get(const Eo *obj, Evas_Line_Data *pd, int *x1, int *y1, int *x2, int *y2);
7
8EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_line_xy_get, EFL_FUNC_CALL(x1, y1, x2, y2), int *x1, int *y1, int *x2, int *y2);
9
10Efl_Object *_evas_line_efl_object_constructor(Eo *obj, Evas_Line_Data *pd);
11
12
13static Eina_Bool
14_evas_line_class_initializer(Efl_Class *klass)
15{
16 const Efl_Object_Ops *opsp = NULL;
17
18 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
19
20#ifndef EVAS_LINE_EXTRA_OPS
21#define EVAS_LINE_EXTRA_OPS
22#endif
23
24 EFL_OPS_DEFINE(ops,
25 EFL_OBJECT_OP_FUNC(evas_obj_line_xy_set, _evas_line_xy_set),
26 EFL_OBJECT_OP_FUNC(evas_obj_line_xy_get, _evas_line_xy_get),
27 EFL_OBJECT_OP_FUNC(efl_constructor, _evas_line_efl_object_constructor),
28 EVAS_LINE_EXTRA_OPS
29 );
30 opsp = &ops;
31
32 return efl_class_functions_set(klass, opsp, ropsp);
33}
34
35static const Efl_Class_Description _evas_line_class_desc = {
36 EO_VERSION,
37 "Evas.Line",
38 EFL_CLASS_TYPE_REGULAR,
39 sizeof(Evas_Line_Data),
40 _evas_line_class_initializer,
41 NULL,
42 NULL
43};
44
45EFL_DEFINE_CLASS(evas_line_class_get, &_evas_line_class_desc, EFL_CANVAS_OBJECT_CLASS, NULL);
46
47#include "evas_line_eo.legacy.c"