summaryrefslogtreecommitdiff
path: root/legacy/ephysics
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2012-11-23 21:51:18 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-11-23 21:51:18 +0000
commita231ae47dcbf2fd7e30af0f340ef6649314bf422 (patch)
tree890c02d9c78d8f0abe432fa4c56eb73430a70637 /legacy/ephysics
parent3e10c1bdb6d93b201d5156ef29579a8d7ccca340 (diff)
EPhysics: test flag fix Evas_Mouse_Event_* usage
Now using the proper event attributes. Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79600
Diffstat (limited to 'legacy/ephysics')
-rw-r--r--legacy/ephysics/src/bin/test_flag.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/ephysics/src/bin/test_flag.c b/legacy/ephysics/src/bin/test_flag.c
index 17cb5502ed..feaaa1306e 100644
--- a/legacy/ephysics/src/bin/test_flag.c
+++ b/legacy/ephysics/src/bin/test_flag.c
@@ -63,13 +63,13 @@ _mouse_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_inf
63 Evas_Coord x, y; 63 Evas_Coord x, y;
64 64
65 evas_object_geometry_get(obj, &x, &y, NULL, NULL); 65 evas_object_geometry_get(obj, &x, &y, NULL, NULL);
66 printf("canvas = (%i, %i), output = (%i, %i)\n", mmove->cur.canvas.x, 66 DBG("canvas = (%i, %i), output = (%i, %i)\n", mmove->cur.canvas.x,
67 mmove->cur.canvas.y, mmove->cur.output.x, mmove->cur.output.y); 67 mmove->cur.canvas.y, mmove->cur.output.x, mmove->cur.output.y);
68 68
69 if ((mmove->buttons != 1) || (dragging->node < 0)) return; 69 if ((mmove->buttons != 1) || (dragging->node < 0)) return;
70 70
71 nx = mmove->cur.canvas.x; 71 nx = mmove->cur.output.x;
72 ny = mmove->cur.canvas.y; 72 ny = mmove->cur.output.y;
73 73
74 DBG("Node: %d, nx: %d, ny: %d", dragging->node, nx, ny); 74 DBG("Node: %d, nx: %d, ny: %d", dragging->node, nx, ny);
75 ephysics_body_soft_body_triangle_move(dragging->body, 75 ephysics_body_soft_body_triangle_move(dragging->body,