aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
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 4d5467a..07d3cf4 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -278,6 +278,12 @@ PUGL_API void*
puglGetContext(PuglView* view);
/**
+ Return true iff the view is currently visible.
+*/
+PUGL_API bool
+puglGetVisible(PuglView* view);
+
+/**
Return the timestamp (if any) of the currently-processing event.
*/
PUGL_API uint32_t