diff options
author | David Robillard <d@drobilla.net> | 2012-04-29 18:10:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-29 18:10:46 +0000 |
commit | d9732fbc106a6ac228912078888fbac65e78d26d (patch) | |
tree | d0b8c8f11c7cdcf8d117f853d680e4fa706d2a99 /pugl_test.c | |
parent | d4b2829de83ca5f0efd3d1ee2683ee400e63ffe2 (diff) | |
download | pugl-d9732fbc106a6ac228912078888fbac65e78d26d.tar.gz pugl-d9732fbc106a6ac228912078888fbac65e78d26d.tar.bz2 pugl-d9732fbc106a6ac228912078888fbac65e78d26d.zip |
Scroll support on Windows.
Diffstat (limited to 'pugl_test.c')
-rw-r--r-- | pugl_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl_test.c b/pugl_test.c index 57b9e5e..05efa61 100644 --- a/pugl_test.c +++ b/pugl_test.c @@ -110,9 +110,9 @@ onMouse(PuglWindow* win, int button, bool press, int x, int y) } static void -onScroll(PuglWindow* win, int dx, int dy) +onScroll(PuglWindow* win, float dx, float dy) { - fprintf(stderr, "Scroll %d %d\n", dx, dy); + fprintf(stderr, "Scroll %f %f\n", dx, dy); dist += dy / 4.0f; puglPostRedisplay(win); } |