summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-06 15:14:07 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-13 09:57:05 +0900
commit46001cde383997bd440c1d39e95ed8ffec7074cf (patch)
tree942af55c68f3a059b4207d114d9bb289ab09bf85 /src/lib/edje/edje_calc.c
parent7e2382853ee54a7e0a92a14cde52b1de5fa7313a (diff)
edje: Remove use of smart clipped data
This removes dependency on a legacy structure. Edje object does not change the smart data, unlike evas box and grid.
Diffstat (limited to 'src/lib/edje/edje_calc.c')
-rw-r--r--src/lib/edje/edje_calc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 4ec2d0288a..8c811478b7 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -5286,7 +5286,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
5286 else if (ep->part->clip_to_id >= 0) 5286 else if (ep->part->clip_to_id >= 0)
5287 evas_object_clip_set(ep->object, ed->table_parts[ep->part->clip_to_id % ed->table_parts_size]->object); 5287 evas_object_clip_set(ep->object, ed->table_parts[ep->part->clip_to_id % ed->table_parts_size]->object);
5288 else 5288 else
5289 evas_object_clip_set(ep->object, ed->base->clipper); 5289 evas_object_clip_set(ep->object, ed->base.clipper);
5290 } 5290 }
5291 break; 5291 break;
5292 5292
@@ -5424,7 +5424,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
5424 case EVAS_CANVAS3D_MESH_PRIMITIVE_SPHERE: 5424 case EVAS_CANVAS3D_MESH_PRIMITIVE_SPHERE:
5425 { 5425 {
5426 Eo *primitive = NULL; 5426 Eo *primitive = NULL;
5427 primitive = efl_add(EVAS_CANVAS3D_PRIMITIVE_CLASS, ed->base->evas); 5427 primitive = efl_add(EVAS_CANVAS3D_PRIMITIVE_CLASS, ed->base.evas);
5428 evas_canvas3d_primitive_form_set(primitive, pd_mesh_node->mesh_node.mesh.primitive); 5428 evas_canvas3d_primitive_form_set(primitive, pd_mesh_node->mesh_node.mesh.primitive);
5429 5429
5430 _edje_calc_params_need_type_node(pf); 5430 _edje_calc_params_need_type_node(pf);
@@ -5554,7 +5554,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
5554 else if (ep->part->clip_to_id >= 0) 5554 else if (ep->part->clip_to_id >= 0)
5555 evas_object_clip_set(ep->typedata.swallow->swallowed_object, ed->table_parts[ep->part->clip_to_id % ed->table_parts_size]->object); 5555 evas_object_clip_set(ep->typedata.swallow->swallowed_object, ed->table_parts[ep->part->clip_to_id % ed->table_parts_size]->object);
5556 else 5556 else
5557 evas_object_clip_set(ep->typedata.swallow->swallowed_object, ed->base->clipper); 5557 evas_object_clip_set(ep->typedata.swallow->swallowed_object, ed->base.clipper);
5558 } 5558 }
5559 5559
5560 if (pf->visible) 5560 if (pf->visible)