forked from enlightenment/efl
parent
823e551f47
commit
6503e28812
|
@ -53,11 +53,11 @@ evas_object_intercept_call_show(Evas_Object *obj)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->show.func);
|
ret = !!(obj->interceptors->show.func);
|
||||||
if (obj->interceptors->show.func)
|
if (obj->interceptors->show.func)
|
||||||
obj->interceptors->show.func(obj->interceptors->show.data, obj);
|
obj->interceptors->show.func(obj->interceptors->show.data, obj);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,11 +69,11 @@ evas_object_intercept_call_hide(Evas_Object *obj)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->hide.func);
|
ret = !!(obj->interceptors->hide.func);
|
||||||
if (obj->interceptors->hide.func)
|
if (obj->interceptors->hide.func)
|
||||||
obj->interceptors->hide.func(obj->interceptors->hide.data, obj);
|
obj->interceptors->hide.func(obj->interceptors->hide.data, obj);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,11 +85,11 @@ evas_object_intercept_call_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->move.func);
|
ret = !!(obj->interceptors->move.func);
|
||||||
if (obj->interceptors->move.func)
|
if (obj->interceptors->move.func)
|
||||||
obj->interceptors->move.func(obj->interceptors->move.data, obj, x, y);
|
obj->interceptors->move.func(obj->interceptors->move.data, obj, x, y);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,11 +101,11 @@ evas_object_intercept_call_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->resize.func);
|
ret = !!(obj->interceptors->resize.func);
|
||||||
if (obj->interceptors->resize.func)
|
if (obj->interceptors->resize.func)
|
||||||
obj->interceptors->resize.func(obj->interceptors->resize.data, obj, w, h);
|
obj->interceptors->resize.func(obj->interceptors->resize.data, obj, w, h);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,11 +117,11 @@ evas_object_intercept_call_raise(Evas_Object *obj)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->raise.func);
|
ret = !!(obj->interceptors->raise.func);
|
||||||
if (obj->interceptors->raise.func)
|
if (obj->interceptors->raise.func)
|
||||||
obj->interceptors->raise.func(obj->interceptors->raise.data, obj);
|
obj->interceptors->raise.func(obj->interceptors->raise.data, obj);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -133,11 +133,11 @@ evas_object_intercept_call_lower(Evas_Object *obj)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->lower.func);
|
ret = !!(obj->interceptors->lower.func);
|
||||||
if (obj->interceptors->lower.func)
|
if (obj->interceptors->lower.func)
|
||||||
obj->interceptors->lower.func(obj->interceptors->lower.data, obj);
|
obj->interceptors->lower.func(obj->interceptors->lower.data, obj);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -149,11 +149,11 @@ evas_object_intercept_call_stack_above(Evas_Object *obj, Evas_Object *above)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->stack_above.func);
|
ret = !!(obj->interceptors->stack_above.func);
|
||||||
if (obj->interceptors->stack_above.func)
|
if (obj->interceptors->stack_above.func)
|
||||||
obj->interceptors->stack_above.func(obj->interceptors->stack_above.data, obj, above);
|
obj->interceptors->stack_above.func(obj->interceptors->stack_above.data, obj, above);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,11 +165,11 @@ evas_object_intercept_call_stack_below(Evas_Object *obj, Evas_Object *below)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->stack_below.func);
|
ret = !!(obj->interceptors->stack_below.func);
|
||||||
if (obj->interceptors->stack_below.func)
|
if (obj->interceptors->stack_below.func)
|
||||||
obj->interceptors->stack_below.func(obj->interceptors->stack_below.data, obj, below);
|
obj->interceptors->stack_below.func(obj->interceptors->stack_below.data, obj, below);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -181,11 +181,11 @@ evas_object_intercept_call_layer_set(Evas_Object *obj, int l)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->layer_set.func);
|
ret = !!(obj->interceptors->layer_set.func);
|
||||||
if (obj->interceptors->layer_set.func)
|
if (obj->interceptors->layer_set.func)
|
||||||
obj->interceptors->layer_set.func(obj->interceptors->layer_set.data, obj, l);
|
obj->interceptors->layer_set.func(obj->interceptors->layer_set.data, obj, l);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -197,11 +197,11 @@ evas_object_intercept_call_color_set(Evas_Object *obj, int r, int g, int b, int
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->color_set.func);
|
ret = !!(obj->interceptors->color_set.func);
|
||||||
if (obj->interceptors->color_set.func)
|
if (obj->interceptors->color_set.func)
|
||||||
obj->interceptors->color_set.func(obj->interceptors->color_set.data, obj, r, g, b, a);
|
obj->interceptors->color_set.func(obj->interceptors->color_set.data, obj, r, g, b, a);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -213,11 +213,11 @@ evas_object_intercept_call_clip_set(Evas_Object *obj, Evas_Object *clip)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->clip_set.func);
|
ret = !!(obj->interceptors->clip_set.func);
|
||||||
if (obj->interceptors->clip_set.func)
|
if (obj->interceptors->clip_set.func)
|
||||||
obj->interceptors->clip_set.func(obj->interceptors->clip_set.data, obj, clip);
|
obj->interceptors->clip_set.func(obj->interceptors->clip_set.data, obj, clip);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -229,11 +229,11 @@ evas_object_intercept_call_clip_unset(Evas_Object *obj)
|
||||||
|
|
||||||
if (!obj->interceptors) return 0;
|
if (!obj->interceptors) return 0;
|
||||||
if (obj->intercepted) return 0;
|
if (obj->intercepted) return 0;
|
||||||
obj->intercepted = 1;
|
obj->intercepted = EINA_TRUE;
|
||||||
ret = !!(obj->interceptors->clip_unset.func);
|
ret = !!(obj->interceptors->clip_unset.func);
|
||||||
if (obj->interceptors->clip_unset.func)
|
if (obj->interceptors->clip_unset.func)
|
||||||
obj->interceptors->clip_unset.func(obj->interceptors->clip_unset.data, obj);
|
obj->interceptors->clip_unset.func(obj->interceptors->clip_unset.data, obj);
|
||||||
obj->intercepted = 0;
|
obj->intercepted = EINA_FALSE;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue