aboutsummaryrefslogtreecommitdiffstats
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 e368cbc..f363a30 100644
--- a/pugl/detail/implementation.h
+++ b/pugl/detail/implementation.h
@@ -50,6 +50,9 @@ void puglFreeViewInternals(PuglView* view);
/** Return the Unicode code point for `buf` or the replacement character. */
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`, entering graphics context if necessary. */
void puglDispatchEvent(PuglView* view, const PuglEvent* event);