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_win.cpp | |
parent | 156d9f03f26b4dd85dc75f652fb370b07bc2dab7 (diff) | |
download | pugl-33be0a19a206963f3c600484aea4d1b920b44fd1.tar.gz pugl-33be0a19a206963f3c600484aea4d1b920b44fd1.tar.bz2 pugl-33be0a19a206963f3c600484aea4d1b920b44fd1.zip |
Add puglGetVisible()
Diffstat (limited to 'pugl/pugl_win.cpp')
-rw-r--r-- | pugl/pugl_win.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp index b834143..c061f25 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -209,6 +209,7 @@ puglShowWindow(PuglView* view) PuglInternals* impl = view->impl; ShowWindow(impl->hwnd, SW_SHOWNORMAL); + view->visible = true; } void @@ -217,6 +218,7 @@ puglHideWindow(PuglView* view) PuglInternals* impl = view->impl; ShowWindow(impl->hwnd, SW_HIDE); + view->visible = false; } void |