summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_gengrid_pan_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_gengrid_pan_eo.c')
-rw-r--r--src/lib/elementary/elm_gengrid_pan_eo.c67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_gengrid_pan_eo.c b/src/lib/elementary/elm_gengrid_pan_eo.c
new file mode 100644
index 0000000..f4b6e77
--- /dev/null
+++ b/src/lib/elementary/elm_gengrid_pan_eo.c
@@ -0,0 +1,67 @@
1
2void _elm_gengrid_pan_efl_object_destructor(Eo *obj, Elm_Gengrid_Pan_Data *pd);
3
4
5void _elm_gengrid_pan_efl_gfx_entity_position_set(Eo *obj, Elm_Gengrid_Pan_Data *pd, Eina_Position2D pos);
6
7
8void _elm_gengrid_pan_efl_gfx_entity_size_set(Eo *obj, Elm_Gengrid_Pan_Data *pd, Eina_Size2D size);
9
10
11void _elm_gengrid_pan_efl_canvas_group_group_calculate(Eo *obj, Elm_Gengrid_Pan_Data *pd);
12
13
14void _elm_gengrid_pan_elm_pan_content_size_get(const Eo *obj, Elm_Gengrid_Pan_Data *pd, int *w, int *h);
15
16
17void _elm_gengrid_pan_elm_pan_pos_set(Eo *obj, Elm_Gengrid_Pan_Data *pd, int x, int y);
18
19
20void _elm_gengrid_pan_elm_pan_pos_get(const Eo *obj, Elm_Gengrid_Pan_Data *pd, int *x, int *y);
21
22
23void _elm_gengrid_pan_elm_pan_pos_min_get(const Eo *obj, Elm_Gengrid_Pan_Data *pd, int *x, int *y);
24
25
26void _elm_gengrid_pan_elm_pan_pos_max_get(const Eo *obj, Elm_Gengrid_Pan_Data *pd, int *x, int *y);
27
28
29static Eina_Bool
30_elm_gengrid_pan_class_initializer(Efl_Class *klass)
31{
32 const Efl_Object_Ops *opsp = NULL;
33
34 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
35
36#ifndef ELM_GENGRID_PAN_EXTRA_OPS
37#define ELM_GENGRID_PAN_EXTRA_OPS
38#endif
39
40 EFL_OPS_DEFINE(ops,
41 EFL_OBJECT_OP_FUNC(efl_destructor, _elm_gengrid_pan_efl_object_destructor),
42 EFL_OBJECT_OP_FUNC(efl_gfx_entity_position_set, _elm_gengrid_pan_efl_gfx_entity_position_set),
43 EFL_OBJECT_OP_FUNC(efl_gfx_entity_size_set, _elm_gengrid_pan_efl_gfx_entity_size_set),
44 EFL_OBJECT_OP_FUNC(efl_canvas_group_calculate, _elm_gengrid_pan_efl_canvas_group_group_calculate),
45 EFL_OBJECT_OP_FUNC(elm_obj_pan_content_size_get, _elm_gengrid_pan_elm_pan_content_size_get),
46 EFL_OBJECT_OP_FUNC(elm_obj_pan_pos_set, _elm_gengrid_pan_elm_pan_pos_set),
47 EFL_OBJECT_OP_FUNC(elm_obj_pan_pos_get, _elm_gengrid_pan_elm_pan_pos_get),
48 EFL_OBJECT_OP_FUNC(elm_obj_pan_pos_min_get, _elm_gengrid_pan_elm_pan_pos_min_get),
49 EFL_OBJECT_OP_FUNC(elm_obj_pan_pos_max_get, _elm_gengrid_pan_elm_pan_pos_max_get),
50 ELM_GENGRID_PAN_EXTRA_OPS
51 );
52 opsp = &ops;
53
54 return efl_class_functions_set(klass, opsp, ropsp);
55}
56
57static const Efl_Class_Description _elm_gengrid_pan_class_desc = {
58 EO_VERSION,
59 "Elm.Gengrid.Pan",
60 EFL_CLASS_TYPE_REGULAR,
61 sizeof(Elm_Gengrid_Pan_Data),
62 _elm_gengrid_pan_class_initializer,
63 _elm_gengrid_pan_class_constructor,
64 NULL
65};
66
67EFL_DEFINE_CLASS(elm_gengrid_pan_class_get, &_elm_gengrid_pan_class_desc, ELM_PAN_CLASS, NULL);