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_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pugl/pugl_internal.h') diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h index 778ff1f..6e7e621 100644 --- a/pugl/pugl_internal.h +++ b/pugl/pugl_internal.h @@ -68,6 +68,7 @@ struct PuglViewImpl { bool ignoreKeyRepeat; bool redisplay; bool resizable; + bool visible; uint32_t event_timestamp_ms; }; @@ -167,6 +168,12 @@ puglGetHandle(PuglView* view) return view->handle; } +bool +puglGetVisible(PuglView* view) +{ + return view->visible; +} + uint32_t puglGetEventTimestamp(PuglView* view) { -- cgit v1.2.3