summaryrefslogtreecommitdiff
path: root/dgl/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dgl/Window.hpp')
-rw-r--r--dgl/Window.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/dgl/Window.hpp b/dgl/Window.hpp
index 182ae972..b202f041 100644
--- a/dgl/Window.hpp
+++ b/dgl/Window.hpp
@@ -98,6 +98,8 @@ public:
bool isResizable() const noexcept;
void setResizable(bool yesNo);
+ void setGeometryConstraints(uint width, uint height, bool aspect);
+
uint getWidth() const noexcept;
uint getHeight() const noexcept;
Size<uint> getSize() const noexcept;