forked from enlightenment/efl
Old stagaed patch for managing list of proxies.
SVN revision: 56762
This commit is contained in:
parent
37aba1b3ea
commit
e52a55a907
|
@ -177,7 +177,16 @@ evas_object_proxy_new(void)
|
|||
static void
|
||||
_proxy_unset(Evas_Object *proxy)
|
||||
{
|
||||
Evas_Object_Proxy *o;
|
||||
|
||||
printf("Do proxy object unset\n");
|
||||
|
||||
o = proxy->object_data;
|
||||
if (!o->source) return;
|
||||
|
||||
o->source->proxies = eina_list_remove(o->source->proxies, proxy);
|
||||
|
||||
o->source = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
@ -191,6 +200,8 @@ _proxy_set(Evas_Object *proxy, Evas_Object *src)
|
|||
o->source = src;
|
||||
printf("Set %p\n",src);
|
||||
|
||||
src->proxies = eina_list_append(src->proxies, proxy);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -255,7 +266,7 @@ _proxy_render(Evas_Object *obj, void *output, void *context,
|
|||
{
|
||||
pt->x = (p->x + x) << FP;
|
||||
pt->y = (p->y + y) << FP;
|
||||
printf("Point %d: %8d,%8d\n",p - obj->cur.map->points,pt->x,pt->y);
|
||||
printf("Point %d: %8d,%8d\n",(int)(p - obj->cur.map->points),pt->x,pt->y);
|
||||
pt->z = (p->z) << FP;
|
||||
pt->x3 = p->px << FP;
|
||||
pt->y3 = p->py << FP;
|
||||
|
|
Loading…
Reference in New Issue