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_win.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pugl/pugl_win.cpp') 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 -- cgit v1.2.1