* Edje: change Edje to use Eo.
This change adds Eo support to Edje while keeping the old API intact.
For more information, go to Eo.
+
+2012-10-26 Michael Bouchaud (yoz)
+
+ * fix edje_object_scale_set with edje containing boxes and/or tables
* Lua 5.2 support added, still works fine with 5.1.
Fixes:
+ * fix scale_set with edje containing boxes and/or tables
+ * fix scale_set with edje containing groups
Edje 1.7.0
Edje *ed, *ged;
Evas_Object *o;
Eina_List *l;
+ int i;
ed = _pd;
if (ed->scale == scale) return;
ged->scale = ed->scale;
EINA_LIST_FOREACH(ed->subobjs, l, o)
edje_object_calc_force(o);
+ for(i = 0; i < ed->table_parts_size; ++i)
+ {
+ Edje_Real_Part *ep;
+ ep = ed->table_parts[i];
+ if ((ep->part->type == EDJE_PART_TYPE_BOX)
+ || (ep->part->type == EDJE_PART_TYPE_TABLE))
+ {
+ Eina_List *l;
+ Evas_Object *o;
+ EINA_LIST_FOREACH(ep->typedata.container->items, l, o)
+ edje_object_scale_set(o, scale);
+ }
+ }
edje_object_calc_force(obj);
}