forked from enlightenment/efl
parent
8603177a12
commit
b9e165ac92
|
@ -44,8 +44,6 @@ static int _proxy_can_map(Evas_Object *obj);
|
||||||
int _proxy_is_visible (Evas_Object *obj);
|
int _proxy_is_visible (Evas_Object *obj);
|
||||||
int _proxy_was_visible (Evas_Object *obj);
|
int _proxy_was_visible (Evas_Object *obj);
|
||||||
|
|
||||||
int _proxy_was_opaque (Evas_Object *obj);
|
|
||||||
|
|
||||||
int _proxy_is_inside (Evas_Object *obj, Evas_Coord x, Evas_Coord y);
|
int _proxy_is_inside (Evas_Object *obj, Evas_Coord x, Evas_Coord y);
|
||||||
int _proxy_was_inside (Evas_Object *obj, Evas_Coord x, Evas_Coord y);
|
int _proxy_was_inside (Evas_Object *obj, Evas_Coord x, Evas_Coord y);
|
||||||
|
|
||||||
|
@ -400,20 +398,24 @@ _proxy_engine_data_get(Evas_Object *obj)
|
||||||
static int
|
static int
|
||||||
_proxy_is_opaque(Evas_Object *obj)
|
_proxy_is_opaque(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
/* FIXME: Do color check */
|
Evas_Object_Proxy *o = obj->object_data;
|
||||||
if (obj->cur.usemap) return 0;
|
|
||||||
|
|
||||||
return 0;
|
/* No source: Sure, it's opaque */
|
||||||
|
if (!o->source) return 1;
|
||||||
|
if (obj->cur.usemap) return 0;
|
||||||
|
return o->source->func->is_opaque(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_proxy_was_opaque(Evas_Object *obj)
|
_proxy_was_opaque(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
/* FIXME: Do color check */
|
Evas_Object_Proxy *o = obj->object_data;
|
||||||
if (obj->prev.usemap) return 0;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
/* No source: Sure, it's opaque */
|
||||||
|
if (!o->source) return 1;
|
||||||
|
if (obj->cur.usemap) return 0;
|
||||||
|
return o->source->func->was_opaque(o);
|
||||||
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_proxy_can_map (Evas_Object *obj)
|
_proxy_can_map (Evas_Object *obj)
|
||||||
|
|
Loading…
Reference in New Issue