diff options
author | David Robillard <d@drobilla.net> | 2014-01-17 21:56:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-17 21:56:37 +0000 |
commit | 12898ecf40723adb674bad95c10d1e8092794297 (patch) | |
tree | 131ca9eebaa3c488b7124db4831392872f25caf1 /pugl/pugl.h | |
parent | cea41bcb9be36fdfe9d273133996e1622586f27b (diff) |
Add mouse position to PuglScrollFunc (apply #896).
Fix compilation of pugl_test.
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h index 7f68351..8d82016 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -199,7 +199,11 @@ typedef void (*PuglReshapeFunc)(PuglView* view, int width, int height); @param dx The scroll x distance. @param dx The scroll y distance. */ -typedef void (*PuglScrollFunc)(PuglView* view, float dx, float dy); +typedef void (*PuglScrollFunc)(PuglView* view, + int x, + int y, + float dx, + float dy); /** A function called when a special key is pressed or released. |