evas: Rename calculate property to calculating

Recently introduced by @cedric
I think the name is not very clear, and is clashing with the
actual method of the same name.
This commit is contained in:
Jean-Philippe Andre 2017-08-02 19:04:06 +09:00
parent bdadc30691
commit 4299905996
2 changed files with 8 additions and 8 deletions

View File

@ -757,13 +757,13 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface,
all smart objects in the canvas.
]]
}
@property smart_objects_calculate {
@property smart_objects_calculating {
get {
[[Get if the canvas is currently calculating smart objects.]]
}
values {
calculating: bool; [[The state of computation of smart objects.]]
}
[[Get if the canvas is currently calculating smart objects.]]
}
values {
calculating: bool; [[$true if currently calculating smart objects.]]
}
}
/* FIXME: The below function is only for efl.ui.win */
touch_point_list_nth_xy_get {

View File

@ -987,8 +987,8 @@ _evas_canvas_smart_objects_calculate(Eo *eo_e, Evas_Public_Data *o EINA_UNUSED)
evas_call_smarts_calculate(eo_e);
}
Eina_Bool
_evas_canvas_smart_objects_calculate_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e)
EOLIAN Eina_Bool
_evas_canvas_smart_objects_calculating_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e)
{
return !!e->in_smart_calc;
}