Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_dnd.h e_dnd.c Log Message: Function to move the drag before the drag begins. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_dnd.h,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- e_dnd.h 17 Sep 2006 06:12:48 -0000 1.26 +++ e_dnd.h 29 Dec 2006 16:53:36 -0000 1.27 @@ -109,6 +109,7 @@ void (*finished_cb)(E_Drag *drag, int dropped)); EAPI Evas *e_drag_evas_get(E_Drag *drag); EAPI void e_drag_object_set(E_Drag *drag, Evas_Object *object); +EAPI void e_drag_move(E_Drag *drag, int x, int y); EAPI void e_drag_resize(E_Drag *drag, int w, int h); EAPI void e_drag_idler_before(void); =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_dnd.c,v retrieving revision 1.53 retrieving revision 1.54 diff -u -3 -r1.53 -r1.54 --- e_dnd.c 13 Nov 2006 13:07:49 -0000 1.53 +++ e_dnd.c 29 Dec 2006 16:53:36 -0000 1.54 @@ -216,6 +216,16 @@ } EAPI void +e_drag_move(E_Drag *drag, int x, int y) +{ + if ((drag->x == x) && (drag->y == y)) return; + drag->x = x; + drag->y = y; + ecore_evas_move(drag->ecore_evas, drag->x, drag->y); + e_container_shape_move(drag->shape, drag->x, drag->y); +} + +EAPI void e_drag_resize(E_Drag *drag, int w, int h) { if ((drag->w == w) && (drag->h == h)) return; ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs