diff options
author | David Robillard <d@drobilla.net> | 2013-02-03 01:44:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-03 01:44:06 +0000 |
commit | aa01d329754134899e6e729d6948a72e0ef881c4 (patch) | |
tree | 1f762e4118a065b7c02da6f9b8f58f09a2cb1492 /pugl/pugl.h | |
parent | 5ecc055c068ccd13c4e4129a97a2aec4f505866e (diff) | |
download | pugl-aa01d329754134899e6e729d6948a72e0ef881c4.tar.gz pugl-aa01d329754134899e6e729d6948a72e0ef881c4.tar.bz2 pugl-aa01d329754134899e6e729d6948a72e0ef881c4.zip |
Apply portability fixes from Ben Loftis.
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h index 2ee3016..9be936b 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -246,6 +246,12 @@ PUGL_API PuglHandle puglGetHandle(PuglView* view); /** + Return the timestamp (if any) of the currently-processing event. +*/ +PUGL_API uint32_t +puglGetEventTimestamp(PuglView* view); + +/** Get the currently active modifiers (PuglMod flags). This should only be called from an event handler. |