EAPI void evas_object_intercept_clip_unset_callback_add(Evas_Object *obj, Evas_Object_Intercept_Clip_Unset_Cb func, const void *data) { /* MEM OK */ MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); return; MAGIC_CHECK_END(); if (!func) return; evas_object_intercept_init(obj); if (!obj->interceptors) return; obj->interceptors->clip_unset.func = func; obj->interceptors->clip_unset.data = (void *)data; }
/** * To be documented. * * FIXME: To be fixed. * */ EAPI void evas_object_intercept_color_set_callback_add(Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, int r, int g, int b, int a), const void *data) { /* MEM OK */ MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); return; MAGIC_CHECK_END(); if (!func) return; evas_object_intercept_init(obj); if (!obj->interceptors) return; obj->interceptors->color_set.func = func; obj->interceptors->color_set.data = (void *)data; }
EAPI void evas_object_intercept_stack_below_callback_add(Evas_Object *obj, Evas_Object_Intercept_Stack_Below_Cb func, const void *data) { /* MEM OK */ MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); return; MAGIC_CHECK_END(); if (!func) return; evas_object_intercept_init(obj); if (!obj->interceptors) return; obj->interceptors->stack_below.func = func; obj->interceptors->stack_below.data = (void *)data; }
/** * To be documented. * * FIXME: To be fixed. * */ EAPI void evas_object_intercept_stack_above_callback_add(Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *above), const void *data) { /* MEM OK */ MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); return; MAGIC_CHECK_END(); if (!func) return; evas_object_intercept_init(obj); if (!obj->interceptors) return; obj->interceptors->stack_above.func = func; obj->interceptors->stack_above.data = (void *)data; }