aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
Diffstat (limited to 'src/window')
-rw-r--r--src/window/Window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window/Window.cpp b/src/window/Window.cpp
index c41a0c6..dbb77a3 100644
--- a/src/window/Window.cpp
+++ b/src/window/Window.cpp
@@ -63,6 +63,10 @@ namespace mgl {
mgl_window_display(&window);
}
+ void Window::set_visible(bool visible) {
+ mgl_window_set_visible(&window, visible);
+ }
+
bool Window::is_open() const {
return mgl_window_is_open(&window);
}