summaryrefslogtreecommitdiff
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-01 22:22:16 -0400
committerDavid Robillard <d@drobilla.net>2016-09-01 22:22:16 -0400
commit33be0a19a206963f3c600484aea4d1b920b44fd1 (patch)
treebaabaa8cf993bd5320e7c4d09a9943e79c131b26 /pugl/pugl.h
parent156d9f03f26b4dd85dc75f652fb370b07bc2dab7 (diff)
Add puglGetVisible()
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