e->hinting = EVAS_FONT_HINTING_BYTECODE;
e->name_hash = eina_hash_string_superfast_new(NULL);
eina_clist_init(&e->calc_list);
+ eina_clist_init(&e->calc_done);
#define EVAS_ARRAY_SET(E, Array) \
eina_array_step_set(&E->Array, sizeof (E->Array), 4096);
value = !!value;
if (value)
eina_clist_add_tail(&obj->layer->evas->calc_list, &obj->calc_entry);
+ else
+ eina_clist_add_tail(&obj->layer->evas->calc_done, &obj->calc_entry);
if (o->need_recalculate == value) return;
void
evas_call_smarts_calculate(Evas *e)
{
- Eina_Clist processed = EINA_CLIST_INIT(processed);
Eina_Clist *elem;
Evas_Object *obj;
obj = EINA_CLIST_ENTRY(elem, Evas_Object, calc_entry);
eina_clist_remove(&obj->calc_entry);
if (obj->delete_me) continue;
- eina_clist_add_tail(&processed, &obj->calc_entry);
+ eina_clist_add_tail(&e->calc_done, &obj->calc_entry);
o = obj->object_data;
}
}
- while (NULL != (elem = eina_clist_head(&processed)))
+ while (NULL != (elem = eina_clist_head(&e->calc_done)))
{
obj = EINA_CLIST_ENTRY(elem, Evas_Object, calc_entry);
obj->recalculate_cycle = 0;