Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/pager
Modified Files:
e_mod_main.c
Log Message:
DND work.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -3 -r1.84 -r1.85
--- e_mod_main.c 25 Apr 2005 08:57:19 -0000 1.84
+++ e_mod_main.c 25 Apr 2005 18:02:26 -0000 1.85
@@ -1363,7 +1363,19 @@
}
static void
-_pager_drop_cb(void *data, const char *type, void *drop)
+_pager_drop_cb(void *data, const char *type, void *event_info)
{
- printf("We have a drop!\n");
+ E_Drop_Event *e;
+ Pager_Face *face;
+ int x, y, w, h;
+
+ e = event_info;
+ face = data;
+
+ x = e->x - face->fx;
+ y = e->y - face->fy;
+ w = x / face->xnum;
+ h = y / face->ynum;
+
+ printf("We have a drop! %d %d\n", w, h);
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs