diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mgl/window/window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h index a948932..27e4409 100644 --- a/include/mgl/window/window.h +++ b/include/mgl/window/window.h @@ -50,6 +50,7 @@ typedef struct { mgl_vec2i min_size; /* (0, 0) = no limit */ mgl_vec2i max_size; /* (0, 0) = no limit */ mgl_window_handle parent_window; /* 0 = root window */ + bool hidden; } mgl_window_create_params; int mgl_window_create(mgl_window *self, const char *title, const mgl_window_create_params *params); @@ -80,6 +81,7 @@ void mgl_window_get_view(mgl_window *self, mgl_view *view); void mgl_window_set_scissor(mgl_window *self, mgl_scissor *new_scissor); void mgl_window_get_scissor(mgl_window *self, mgl_scissor *scissor); +void mgl_window_set_visible(mgl_window *self, bool visible); bool mgl_window_is_open(const mgl_window *self); bool mgl_window_has_focus(const mgl_window *self); bool mgl_window_is_key_pressed(const mgl_window *self, mgl_key key); |