aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/window.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h
index 20c700a..812a5b2 100644
--- a/include/mgl/window/window.h
+++ b/include/mgl/window/window.h
@@ -70,4 +70,9 @@ void mgl_window_set_cursor_visible(mgl_window *self, bool visible);
/* 0 = no fps limit */
void mgl_window_set_framerate_limit(mgl_window *self, int fps);
+void mgl_window_set_position(mgl_window *self, mgl_vec2i position);
+void mgl_window_set_size(mgl_window *self, mgl_vec2i size);
+/* if |minimum| is (0, 0) then there is no minimum limit, if |maximum| is (0, 0) then there is no maximum limit */
+void mgl_window_set_size_limits(mgl_window *self, mgl_vec2i minimum, mgl_vec2i maximum);
+
#endif /* MGL_WINDOW_H */