aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-05-16 21:18:02 +0200
committerDavid Robillard <d@drobilla.net>2020-05-16 21:18:02 +0200
commitfe96ed3c451548278197e2da74d3d53b1d6a8dd9 (patch)
tree6c4e3e751ddd13cd4898fac0fae4f4aed7079f36 /test
parent3200cda25e06887e809fc5b47780aaf950253172 (diff)
Add default and maximum size
Diffstat (limited to 'test')
-rw-r--r--test/test_redisplay.c1
-rw-r--r--test/test_show_hide.c1
-rw-r--r--test/test_timer.c1
-rw-r--r--test/test_update.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/test_redisplay.c b/test/test_redisplay.c
index 13f0c81..0e14cf6 100644
--- a/test/test_redisplay.c
+++ b/test/test_redisplay.c
@@ -111,6 +111,7 @@ main(int argc, char** argv)
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);
puglSetEventFunc(app.view, onEvent);
+ puglSetDefaultSize(app.view, 512, 512);
// Create and show window
assert(!puglRealize(app.view));
diff --git a/test/test_show_hide.c b/test/test_show_hide.c
index 43af7f4..7b6d4f4 100644
--- a/test/test_show_hide.c
+++ b/test/test_show_hide.c
@@ -115,6 +115,7 @@ main(int argc, char** argv)
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
puglSetEventFunc(test.view, onEvent);
+ puglSetDefaultSize(test.view, 512, 512);
// Create initially invisible window
assert(!puglRealize(test.view));
diff --git a/test/test_timer.c b/test/test_timer.c
index f26928d..2a0b67f 100644
--- a/test/test_timer.c
+++ b/test/test_timer.c
@@ -109,6 +109,7 @@ main(int argc, char** argv)
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);
puglSetEventFunc(app.view, onEvent);
+ puglSetDefaultSize(app.view, 512, 512);
// Create and show window
assert(!puglRealize(app.view));
diff --git a/test/test_update.c b/test/test_update.c
index 6dccf00..65d74d6 100644
--- a/test/test_update.c
+++ b/test/test_update.c
@@ -101,6 +101,7 @@ main(int argc, char** argv)
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);
puglSetEventFunc(app.view, onEvent);
+ puglSetDefaultSize(app.view, 512, 512);
// Create and show window
assert(!puglRealize(app.view));