Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_container.c e_zone.c
Log Message:
Use better macro for checking point inside square.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_container.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -3 -r1.103 -r1.104
--- e_container.c 8 Aug 2006 01:34:49 -0000 1.103
+++ e_container.c 10 Aug 2006 14:41:12 -0000 1.104
@@ -337,8 +337,7 @@
E_Zone *zone;
zone = l->data;
- if ((E_SPANS_COMMON(zone->x, zone->w, x, 1)) &&
- (E_SPANS_COMMON(zone->y, zone->h, y, 1)))
+ if (E_INSIDE(x, y, zone->x, zone->y, zone->w, zone->h))
return zone;
}
return NULL;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_zone.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -3 -r1.100 -r1.101
--- e_zone.c 10 Aug 2006 14:36:59 -0000 1.100
+++ e_zone.c 10 Aug 2006 14:41:12 -0000 1.101
@@ -245,8 +245,7 @@
E_Zone *zone;
zone = l->data;
- if (E_INTERSECTS(x, y, 1, 1,
- zone->x, zone->y, zone->w, zone->h))
+ if (E_INSIDE(x, y, zone->x, zone->y, zone->w, zone->h))
return zone;
}
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs