aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-30 16:14:20 +0200
committerdec05eba <dec05eba@protonmail.com>2022-03-30 16:15:11 +0200
commit2c879c34c9aeddae528d2818f7baa6a915d5d77a (patch)
treea45a5e100abd15d0cf9512914b884d724617107a /src/window
parent5b97ed133553f92875872a32728221bcda53be38 (diff)
Proper y offset for text, add option to create hidden window and add function to make it visible (map, unmap), fix incorrect copy/move text
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);
}