diff options
author | Tom Hacohen <tom@stosb.com> | 2016-08-15 14:44:41 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2016-08-15 15:07:42 +0100 |
commit | e65aae994e72c1d3f8ac6b5360d3772f177b77ef (patch) | |
tree | 7ecaf136e45470635889191aded2b47057720a98 /src/lib/evas/canvas/evas_vg_gradient_linear.c | |
parent | 35abb3c34d10a4826c98055fb85ecf93915e5ea8 (diff) |
Eo: Finish the renaming of Eo to the EFL.
This renames all the rest of the API to the EFL namespace except for
Eo_Event that will follow soon.
Obviously breaks both API and ABI.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_gradient_linear.c')
-rw-r--r-- | src/lib/evas/canvas/evas_vg_gradient_linear.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c b/src/lib/evas/canvas/evas_vg_gradient_linear.c index 713ceeb814..11fb903210 100644 --- a/src/lib/evas/canvas/evas_vg_gradient_linear.c +++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c | |||
@@ -69,7 +69,7 @@ _efl_vg_gradient_linear_render_pre(Eo *obj, | |||
69 | 69 | ||
70 | nd->flags = EFL_GFX_CHANGE_FLAG_NONE; | 70 | nd->flags = EFL_GFX_CHANGE_FLAG_NONE; |
71 | 71 | ||
72 | gd = eo_data_scope_get(obj, EFL_VG_GRADIENT_CLASS); | 72 | gd = efl_data_scope_get(obj, EFL_VG_GRADIENT_CLASS); |
73 | EFL_VG_COMPUTE_MATRIX(current, parent, nd); | 73 | EFL_VG_COMPUTE_MATRIX(current, parent, nd); |
74 | 74 | ||
75 | if (!nd->renderer) | 75 | if (!nd->renderer) |
@@ -94,9 +94,9 @@ _efl_vg_gradient_linear_efl_object_constructor(Eo *obj, | |||
94 | { | 94 | { |
95 | Efl_VG_Data *nd; | 95 | Efl_VG_Data *nd; |
96 | 96 | ||
97 | obj = efl_constructor(eo_super(obj, MY_CLASS)); | 97 | obj = efl_constructor(efl_super(obj, MY_CLASS)); |
98 | 98 | ||
99 | nd = eo_data_scope_get(obj, EFL_VG_CLASS); | 99 | nd = efl_data_scope_get(obj, EFL_VG_CLASS); |
100 | nd->render_pre = _efl_vg_gradient_linear_render_pre; | 100 | nd->render_pre = _efl_vg_gradient_linear_render_pre; |
101 | nd->data = pd; | 101 | nd->data = pd; |
102 | 102 | ||
@@ -106,7 +106,7 @@ _efl_vg_gradient_linear_efl_object_constructor(Eo *obj, | |||
106 | static void | 106 | static void |
107 | _efl_vg_gradient_linear_efl_object_destructor(Eo *obj, Efl_VG_Gradient_Linear_Data *pd EINA_UNUSED) | 107 | _efl_vg_gradient_linear_efl_object_destructor(Eo *obj, Efl_VG_Gradient_Linear_Data *pd EINA_UNUSED) |
108 | { | 108 | { |
109 | efl_destructor(eo_super(obj, MY_CLASS)); | 109 | efl_destructor(efl_super(obj, MY_CLASS)); |
110 | } | 110 | } |
111 | 111 | ||
112 | static void | 112 | static void |
@@ -114,7 +114,7 @@ _efl_vg_gradient_linear_efl_vg_bounds_get(Eo *obj, Efl_VG_Gradient_Linear_Data * | |||
114 | { | 114 | { |
115 | Efl_VG_Data *nd; | 115 | Efl_VG_Data *nd; |
116 | 116 | ||
117 | nd = eo_data_scope_get(obj, EFL_VG_CLASS); | 117 | nd = efl_data_scope_get(obj, EFL_VG_CLASS); |
118 | EINA_RECTANGLE_SET(r, | 118 | EINA_RECTANGLE_SET(r, |
119 | nd->x + pd->start.x, nd->y + pd->start.y, | 119 | nd->x + pd->start.x, nd->y + pd->start.y, |
120 | pd->end.x - pd->start.x, pd->end.y - pd->start.x); | 120 | pd->end.x - pd->start.x, pd->end.y - pd->start.x); |
@@ -130,12 +130,12 @@ _efl_vg_gradient_linear_efl_vg_interpolate(Eo *obj, | |||
130 | double from_map; | 130 | double from_map; |
131 | Eina_Bool r; | 131 | Eina_Bool r; |
132 | 132 | ||
133 | r = efl_vg_interpolate(eo_super(obj, EFL_VG_GRADIENT_LINEAR_CLASS), from, to, pos_map); | 133 | r = efl_vg_interpolate(efl_super(obj, EFL_VG_GRADIENT_LINEAR_CLASS), from, to, pos_map); |
134 | 134 | ||
135 | if (!r) return EINA_FALSE; | 135 | if (!r) return EINA_FALSE; |
136 | 136 | ||
137 | fromd = eo_data_scope_get(from, EFL_VG_GRADIENT_LINEAR_CLASS); | 137 | fromd = efl_data_scope_get(from, EFL_VG_GRADIENT_LINEAR_CLASS); |
138 | tod = eo_data_scope_get(to, EFL_VG_GRADIENT_LINEAR_CLASS); | 138 | tod = efl_data_scope_get(to, EFL_VG_GRADIENT_LINEAR_CLASS); |
139 | from_map = 1.0 - pos_map; | 139 | from_map = 1.0 - pos_map; |
140 | 140 | ||
141 | #define INTP(Pd, From, To, Member, From_Map, Pos_Map) \ | 141 | #define INTP(Pd, From, To, Member, From_Map, Pos_Map) \ |
@@ -158,9 +158,9 @@ _efl_vg_gradient_linear_efl_vg_dup(Eo *obj, | |||
158 | { | 158 | { |
159 | Efl_VG_Gradient_Linear_Data *fromd; | 159 | Efl_VG_Gradient_Linear_Data *fromd; |
160 | 160 | ||
161 | efl_vg_dup(eo_super(obj, EFL_VG_GRADIENT_LINEAR_CLASS), from); | 161 | efl_vg_dup(efl_super(obj, EFL_VG_GRADIENT_LINEAR_CLASS), from); |
162 | 162 | ||
163 | fromd = eo_data_scope_get(from, EFL_VG_GRADIENT_LINEAR_CLASS); | 163 | fromd = efl_data_scope_get(from, EFL_VG_GRADIENT_LINEAR_CLASS); |
164 | 164 | ||
165 | efl_gfx_gradient_linear_start_set(obj, fromd->start.x, fromd->start.y); | 165 | efl_gfx_gradient_linear_start_set(obj, fromd->start.x, fromd->start.y); |
166 | efl_gfx_gradient_linear_end_set(obj, fromd->end.x, fromd->end.y); | 166 | efl_gfx_gradient_linear_end_set(obj, fromd->end.x, fromd->end.y); |