aboutsummaryrefslogtreecommitdiff
path: root/pugl/detail/implementation.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/implementation.h')
-rw-r--r--pugl/detail/implementation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pugl/detail/implementation.h b/pugl/detail/implementation.h
index 2ad3f65..bcecd85 100644
--- a/pugl/detail/implementation.h
+++ b/pugl/detail/implementation.h
@@ -54,6 +54,9 @@ uint32_t puglDecodeUTF8(const uint8_t* buf);
/** Dispatch an event with a simple `type` to `view`. */
void puglDispatchSimpleEvent(PuglView* view, PuglEventType type);
+/** Dispatch `event` to `view` while already in the graphics context. */
+void puglDispatchEventInContext(PuglView* view, const PuglEvent* event);
+
/** Dispatch `event` to `view`, entering graphics context if necessary. */
void puglDispatchEvent(PuglView* view, const PuglEvent* event);