diff options
m--------- | depends/mgl | 0 | ||||
-rw-r--r-- | include/mglpp/window/Window.hpp | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/depends/mgl b/depends/mgl -Subproject a96a61a4d5104f804628912830de2afd0e22280 +Subproject fb73de12aecca5d14bf73326a977c87ac6c4794 diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp index 42a8488..f25e63e 100644 --- a/include/mglpp/window/Window.hpp +++ b/include/mglpp/window/Window.hpp @@ -86,6 +86,7 @@ namespace mgl { void set_key_repeat_enabled(bool enabled); void set_cursor_visible(bool visible); vec2i get_size() const; + /* Note that window size in get_size doesn't update immediately as the change size request can be ignored by the window manager. A Resized event will be received if the resize occurred */ void set_size(mgl::vec2i size); void set_position(mgl::vec2i position); /* if |minimum| is (0, 0) then there is no minimum limit, if |maximum| is (0, 0) then there is no maximum limit */ |