aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-03 01:44:06 +0000
committerDavid Robillard <d@drobilla.net>2013-02-03 01:44:06 +0000
commitaa01d329754134899e6e729d6948a72e0ef881c4 (patch)
tree1f762e4118a065b7c02da6f9b8f58f09a2cb1492 /pugl/pugl.h
parent5ecc055c068ccd13c4e4129a97a2aec4f505866e (diff)
downloadpugl-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.h6
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.