diff options
author | David Robillard <d@drobilla.net> | 2016-09-01 22:22:16 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-01 22:22:16 -0400 |
commit | 33be0a19a206963f3c600484aea4d1b920b44fd1 (patch) | |
tree | baabaa8cf993bd5320e7c4d09a9943e79c131b26 /pugl/pugl_internal.h | |
parent | 156d9f03f26b4dd85dc75f652fb370b07bc2dab7 (diff) | |
download | pugl-33be0a19a206963f3c600484aea4d1b920b44fd1.tar.gz pugl-33be0a19a206963f3c600484aea4d1b920b44fd1.tar.bz2 pugl-33be0a19a206963f3c600484aea4d1b920b44fd1.zip |
Add puglGetVisible()
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r-- | pugl/pugl_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
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) { |