summaryrefslogtreecommitdiff
path: root/dgl/Window.hpp
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2014-05-18 03:27:28 +0100
committerfalkTX <falktx@gmail.com>2014-05-18 03:27:28 +0100
commit75727ca792d28b1a0b6c9f50632da1a51564343c (patch)
tree76ec56c24cff641956414795dcb8242d33deb506 /dgl/Window.hpp
parent912cfbc6e040f9d445caba4666e448aae0163747 (diff)
Add templated function
Diffstat (limited to 'dgl/Window.hpp')
-rw-r--r--dgl/Window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dgl/Window.hpp b/dgl/Window.hpp
index 9fead930..f23482a4 100644
--- a/dgl/Window.hpp
+++ b/dgl/Window.hpp
@@ -52,6 +52,7 @@ public:
int getHeight() const noexcept;
Size<uint> getSize() const noexcept;
void setSize(uint width, uint height);
+ void setSize(Size<uint> size);
void setTitle(const char* title);