add external api call to call smart calc calls on al smarts on a canvas

SVN revision: 42960
This commit is contained in:
Carsten Haitzler 2009-10-08 14:28:21 +00:00
parent 25bec0854c
commit c280f8610e
1 changed files with 17 additions and 1 deletions

View File

@ -544,7 +544,6 @@ evas_object_smart_need_recalculate_get(const Evas_Object *obj)
* Call user provided calculate() and unset need_calculate.
*
* @param obj the smart object
* @return if flag is set or not.
*
* @ingroup Evas_Smart_Object_Group
*/
@ -567,6 +566,23 @@ evas_object_smart_calculate(Evas_Object *obj)
obj->smart.smart->smart_class->calculate(obj);
}
/**
* Call user provided calculate() and unset need_calculate on all objects.
*
* @param e The canvas to calculate all objects in
*
* @ingroup Evas_Smart_Object_Group
*/
EAPI void
evas_smart_objects_calculate(Evas *e)
{
MAGIC_CHECK(e, Evas, MAGIC_EVAS);
return RENDER_METHOD_INVALID;
MAGIC_CHECK_END();
evas_call_smarts_calculate(e);
}
/**
* Call calculate() on all smart objects that need_recalculate.
*