summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo_base_class.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-20 13:15:56 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-08-20 13:15:57 -0400
commit365c0334ff66af2592c8f86f542024d0b506ca3e (patch)
treec337d6cb92c7f71cbb47363cbc263fae4725bf95 /src/lib/eo/eo_base_class.c
parent87332f2e3ab2694f27913222ddadbadbca5c4d54 (diff)
efl_object: add call for getting invalidating
Summary: there is now invalidated & invalidating. invalidated returns true when all children are invalidated, and the object is / was requested to be invalidated. invalidating return true when the object is called to be invalidated but not all children are invalidated yet. However, the object is garanteed to be invalidated in near future. Reviewers: zmike Reviewed By: zmike Subscribers: cedric Tags: #efl, #do_not_merge Differential Revision: https://phab.enlightenment.org/D6722
Diffstat (limited to 'src/lib/eo/eo_base_class.c')
-rw-r--r--src/lib/eo/eo_base_class.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 5acc70b..b2de426 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -827,6 +827,16 @@ _efl_object_invalidated_get(const Eo *obj_id, Efl_Object_Data *pd)
827 return invalidate; 827 return invalidate;
828} 828}
829 829
830EOLIAN static Eina_Bool
831_efl_object_invalidating_get(const Eo *obj_id, Efl_Object_Data *pd EINA_UNUSED)
832{
833 Eina_Bool invalidating;
834 EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, EINA_TRUE);
835 invalidating = obj->is_invalidating;
836 EO_OBJ_DONE(obj_id);
837 return invalidating;
838}
839
830EOLIAN static Efl_Object * 840EOLIAN static Efl_Object *
831_efl_object_provider_find(const Eo *obj, Efl_Object_Data *pd, const Efl_Object *klass) 841_efl_object_provider_find(const Eo *obj, Efl_Object_Data *pd, const Efl_Object *klass)
832{ 842{