forked from enlightenment/efl
evas: remove Evas_Canvas.smart_objects_calculate
also implement Efl_Canvas method
This commit is contained in:
parent
1813c2084c
commit
ee689bb000
|
@ -6250,6 +6250,17 @@ EAPI void evas_object_polygon_points_clear(Evas_Object *obj);
|
|||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
||||
/** Call user-provided @c calculate smart functions and unset the flag
|
||||
* signalling that the object needs to get recalculated to all smart objects in
|
||||
* the canvas.
|
||||
*
|
||||
* @ingroup Evas_Canvas
|
||||
*/
|
||||
EAPI void evas_smart_objects_calculate(Eo *obj);
|
||||
|
||||
|
||||
/**
|
||||
* Instantiates a new smart object described by @p s.
|
||||
*
|
||||
|
|
|
@ -621,20 +621,6 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface,
|
|||
font_path_clear {
|
||||
[[Removes all font paths loaded into memory for the given evas.]]
|
||||
}
|
||||
smart_objects_calculate {
|
||||
[[Call user-provided $calculate smart functions and unset the
|
||||
flag signalling that the object needs to get recalculated to
|
||||
all smart objects in the canvas.
|
||||
]]
|
||||
}
|
||||
@property smart_objects_calculating {
|
||||
get {
|
||||
[[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 {
|
||||
[[This function returns the nth touch point's coordinates.
|
||||
|
@ -1010,5 +996,6 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface,
|
|||
Efl.Canvas.object_top_at_xy_get;
|
||||
Efl.Canvas.objects_in_rectangle_get;
|
||||
Efl.Canvas.object_top_in_rectangle_get;
|
||||
Efl.Canvas.smart_objects_calculate;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1805,8 +1805,14 @@ evas_font_available_list_free(Evas *eo_e, Eina_List *available)
|
|||
}
|
||||
|
||||
|
||||
EOLIAN void
|
||||
_evas_canvas_smart_objects_calculate(Eo *eo_e, Evas_Public_Data *o EINA_UNUSED)
|
||||
EOLIAN static void
|
||||
_evas_canvas_efl_canvas_smart_objects_calculate(Eo *eo_e, Evas_Public_Data *o EINA_UNUSED)
|
||||
{
|
||||
evas_call_smarts_calculate(eo_e);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_smart_objects_calculate(Eo *eo_e)
|
||||
{
|
||||
evas_call_smarts_calculate(eo_e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue