diff options
author | David Robillard <d@drobilla.net> | 2019-07-22 16:53:36 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-09-03 08:32:16 +0200 |
commit | 496f17c3804c79d304aa6095b92768593d1cc700 (patch) | |
tree | c8a9f9b831ae838f2005dd459abf3a65162fac4f /pugl/detail/mac.h | |
parent | dacaaa5f328ac2598123aa1f0744ddd68c87e9cc (diff) | |
download | pugl-496f17c3804c79d304aa6095b92768593d1cc700.tar.gz pugl-496f17c3804c79d304aa6095b92768593d1cc700.tar.bz2 pugl-496f17c3804c79d304aa6095b92768593d1cc700.zip |
Add puglPollEvents()
This allows waiting for events for any view in the world. It also improves on
puglWaitForEvent() by the addition of a time parameter that allows indefinite
blocking, non-blocking polling, and blocking polling with a timeout.
Diffstat (limited to 'pugl/detail/mac.h')
-rw-r--r-- | pugl/detail/mac.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pugl/detail/mac.h b/pugl/detail/mac.h index f8cfbed..1bd2bbc 100644 --- a/pugl/detail/mac.h +++ b/pugl/detail/mac.h @@ -60,6 +60,5 @@ struct PuglInternalsImpl { PuglWrapperView* wrapperView; NSView* drawView; id window; - NSEvent* nextEvent; uint32_t mods; }; |