diff options
author | David Robillard <d@drobilla.net> | 2012-04-29 02:53:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-29 02:53:47 +0000 |
commit | 4e6368d019e2543e6bf792f182486732d6f5a3f5 (patch) | |
tree | 4c2545feea12ebacfda281c9905a410820c55fe1 /pugl/pugl.h | |
parent | e346dc20fb1fcbc8f895d7c46e3ec54628d3db0c (diff) | |
download | pugl-4e6368d019e2543e6bf792f182486732d6f5a3f5.tar.gz pugl-4e6368d019e2543e6bf792f182486732d6f5a3f5.tar.bz2 pugl-4e6368d019e2543e6bf792f182486732d6f5a3f5.zip |
Proper key press and release support on X11.
Clearer mouse callback API.
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h index 853a754..6a6fbe7 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -52,7 +52,7 @@ typedef void (*PuglDisplayFunc)(PuglWindow* handle); typedef void (*PuglKeyboardFunc)(PuglWindow* handle, bool press, uint32_t key); typedef void (*PuglMotionFunc)(PuglWindow* handle, int x, int y); typedef void (*PuglMouseFunc)(PuglWindow* handle, - int button, int state, + int button, bool down, int x, int y); typedef void (*PuglReshapeFunc)(PuglWindow* handle, int width, int height); |