summaryrefslogtreecommitdiff
path: root/dgl/Window.hpp
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2018-09-30 09:46:38 +0200
committerfalkTX <falktx@gmail.com>2018-09-30 09:46:38 +0200
commit7cf42d65ebab1544583120c4da9981ac1b8b5a43 (patch)
treebac8e369e84c21ad0b6529a2476f8b1c064090a9 /dgl/Window.hpp
parenta7f781a4c5ae6585a89982eea7bc2f5e30298ef3 (diff)
Allow plugin UIs to be user-resizable, test with info example
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;