From 33be0a19a206963f3c600484aea4d1b920b44fd1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Sep 2016 22:22:16 -0400 Subject: Add puglGetVisible() --- pugl/pugl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pugl/pugl.h') diff --git a/pugl/pugl.h b/pugl/pugl.h index 4d5467a..07d3cf4 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -277,6 +277,12 @@ puglGetHandle(PuglView* view); 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. */ -- cgit v1.2.3