summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-05-11 13:13:27 +0100
committerTom Hacohen <tom@stosb.com>2016-05-11 13:13:27 +0100
commitd64f2fdd4373dfc477f4d69e6d2ef59ad333763b (patch)
tree99e7c6f486dd2c1273ad90787244d70ed47b5327 /src/lib/evas/canvas/evas_vg_private.h
parent70b5f3875e54446e21dcef56e80fc7046a2dbdec (diff)
Efl vg: Remove the no longer needed .Base hack.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index ca0389dafb..fca6680505 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -3,7 +3,7 @@
3 3
4#include <Ector.h> 4#include <Ector.h>
5 5
6typedef struct _Efl_VG_Base_Data Efl_VG_Base_Data; 6typedef struct _Efl_VG_Data Efl_VG_Data;
7typedef struct _Efl_VG_Container_Data Efl_VG_Container_Data; 7typedef struct _Efl_VG_Container_Data Efl_VG_Container_Data;
8typedef struct _Efl_VG_Gradient_Data Efl_VG_Gradient_Data; 8typedef struct _Efl_VG_Gradient_Data Efl_VG_Gradient_Data;
9typedef struct _Efl_VG_Interpolation Efl_VG_Interpolation; 9typedef struct _Efl_VG_Interpolation Efl_VG_Interpolation;
@@ -22,7 +22,7 @@ struct _Evas_VG_Data
22 Eina_Array cleanup; 22 Eina_Array cleanup;
23}; 23};
24 24
25struct _Efl_VG_Base_Data 25struct _Efl_VG_Data
26{ 26{
27 const char *name; 27 const char *name;
28 28
@@ -32,7 +32,7 @@ struct _Efl_VG_Base_Data
32 Efl_VG *mask; 32 Efl_VG *mask;
33 Ector_Renderer *renderer; 33 Ector_Renderer *renderer;
34 34
35 void (*render_pre)(Eo *obj, Eina_Matrix3 *parent, Ector_Surface *s, void *data, Efl_VG_Base_Data *nd); 35 void (*render_pre)(Eo *obj, Eina_Matrix3 *parent, Ector_Surface *s, void *data, Efl_VG_Data *nd);
36 void *data; 36 void *data;
37 37
38 double x, y; 38 double x, y;
@@ -67,14 +67,14 @@ struct _Efl_VG_Interpolation
67 Eina_Point_3D skew; 67 Eina_Point_3D skew;
68}; 68};
69 69
70static inline Efl_VG_Base_Data * 70static inline Efl_VG_Data *
71_evas_vg_render_pre(Efl_VG *child, Ector_Surface *s, Eina_Matrix3 *m) 71_evas_vg_render_pre(Efl_VG *child, Ector_Surface *s, Eina_Matrix3 *m)
72{ 72{
73 Efl_VG_Base_Data *child_nd = NULL; 73 Efl_VG_Data *child_nd = NULL;
74 74
75 // FIXME: Prevent infinite loop 75 // FIXME: Prevent infinite loop
76 if (child) 76 if (child)
77 child_nd = eo_data_scope_get(child, EFL_VG_BASE_CLASS); 77 child_nd = eo_data_scope_get(child, EFL_VG_CLASS);
78 if (child_nd) 78 if (child_nd)
79 child_nd->render_pre(child, m, s, child_nd->data, child_nd); 79 child_nd->render_pre(child, m, s, child_nd->data, child_nd);
80 80
@@ -82,7 +82,7 @@ _evas_vg_render_pre(Efl_VG *child, Ector_Surface *s, Eina_Matrix3 *m)
82} 82}
83 83
84static inline void 84static inline void
85_efl_vg_base_changed(Eo *obj) 85_efl_vg_changed(Eo *obj)
86{ 86{
87 eo_event_callback_call(obj, EFL_GFX_CHANGED, NULL); 87 eo_event_callback_call(obj, EFL_GFX_CHANGED, NULL);
88} 88}