diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-05 08:48:22 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-05 08:48:22 +0200 |
commit | 8cb04e1859588bb1fed003c369a9adb96c6c932a (patch) | |
tree | a459366707fd6ddecd73ecee147e77c5baf0bf76 /include | |
parent | 212ca50d0fe55a658528f190b679142206ac2a01 (diff) |
Add comment
Diffstat (limited to 'include')
-rw-r--r-- | include/mglpp/window/Window.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |