diff options
author | David Robillard <d@drobilla.net> | 2020-05-16 21:18:02 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-05-16 21:18:02 +0200 |
commit | fe96ed3c451548278197e2da74d3d53b1d6a8dd9 (patch) | |
tree | 6c4e3e751ddd13cd4898fac0fae4f4aed7079f36 /examples/pugl_cxx_demo.cpp | |
parent | 3200cda25e06887e809fc5b47780aaf950253172 (diff) | |
download | pugl-fe96ed3c451548278197e2da74d3d53b1d6a8dd9.tar.gz pugl-fe96ed3c451548278197e2da74d3d53b1d6a8dd9.tar.bz2 pugl-fe96ed3c451548278197e2da74d3d53b1d6a8dd9.zip |
Add default and maximum size
Diffstat (limited to 'examples/pugl_cxx_demo.cpp')
-rw-r--r-- | examples/pugl_cxx_demo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_cxx_demo.cpp b/examples/pugl_cxx_demo.cpp index 9522534..4addee2 100644 --- a/examples/pugl_cxx_demo.cpp +++ b/examples/pugl_cxx_demo.cpp @@ -122,7 +122,7 @@ main(int argc, char** argv) world.setClassName("PuglCppTest"); view.setWindowTitle("Pugl C++ Test"); - view.setFrame({0, 0, 512, 512}); + view.setDefaultSize(512, 512); view.setMinSize(64, 64); view.setAspectRatio(1, 1, 16, 9); view.setBackend(pugl::glBackend()); |