EPhysics: test flag fix Evas_Mouse_Event_* usage

Now using the proper event attributes.

Patch by: Leandro Dorileo <dorileo@profusion.mobi>

SVN revision: 79600
This commit is contained in:
Leandro Dorileo 2012-11-23 21:51:18 +00:00 committed by Bruno Dilly
parent 3e10c1bdb6
commit a231ae47dc
1 changed files with 3 additions and 3 deletions

View File

@ -63,13 +63,13 @@ _mouse_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_inf
Evas_Coord x, y;
evas_object_geometry_get(obj, &x, &y, NULL, NULL);
printf("canvas = (%i, %i), output = (%i, %i)\n", mmove->cur.canvas.x,
DBG("canvas = (%i, %i), output = (%i, %i)\n", mmove->cur.canvas.x,
mmove->cur.canvas.y, mmove->cur.output.x, mmove->cur.output.y);
if ((mmove->buttons != 1) || (dragging->node < 0)) return;
nx = mmove->cur.canvas.x;
ny = mmove->cur.canvas.y;
nx = mmove->cur.output.x;
ny = mmove->cur.output.y;
DBG("Node: %d, nx: %d, ny: %d", dragging->node, nx, ny);