diff options
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. |