summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_inline.x8
-rw-r--r--src/lib/evas/include/evas_private.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_inline.x b/src/lib/evas/include/evas_inline.x
index a2b96b1789..739a59b32d 100644
--- a/src/lib/evas/include/evas_inline.x
+++ b/src/lib/evas/include/evas_inline.x
@@ -118,6 +118,14 @@ evas_object_is_opaque(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
118} 118}
119 119
120static inline int 120static inline int
121evas_object_is_on_plane(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
122{
123 if (obj->func->is_on_plane)
124 return obj->func->is_on_plane(eo_obj, obj, obj->private_data);
125 return 0;
126}
127
128static inline int
121evas_event_freezes_through(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) 129evas_event_freezes_through(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj)
122{ 130{
123 if (obj->freeze_events) return 1; 131 if (obj->freeze_events) return 1;
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index 3d5020fdd6..db2498708a 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1260,6 +1260,7 @@ struct _Evas_Object_Func
1260// preparation - may include rendering content to buffer or loading data 1260// preparation - may include rendering content to buffer or loading data
1261// from disk or uploading to texture etc. 1261// from disk or uploading to texture etc.
1262 void (*render_prepare) (Evas_Object *obj, Evas_Object_Protected_Data *pd, Eina_Bool do_async); 1262 void (*render_prepare) (Evas_Object *obj, Evas_Object_Protected_Data *pd, Eina_Bool do_async);
1263 int (*is_on_plane) (Evas_Object *obj, Evas_Object_Protected_Data *pd, void *type_private_data);
1263}; 1264};
1264 1265
1265struct _Evas_Func 1266struct _Evas_Func