aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_update.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-12 10:30:10 -0500
committerDavid Robillard <d@drobilla.net>2023-01-14 11:53:28 -0500
commitbd4f79646f623e929e6aa22bea028952b515aeef (patch)
treee2dcc2635bb2b12b9c552755b35a0343005ce88a /test/test_update.c
parent786a28e4a2bc9fce95a8d2e6cd1a4c76d2ae1a0f (diff)
downloadpugl-bd4f79646f623e929e6aa22bea028952b515aeef.tar.gz
pugl-bd4f79646f623e929e6aa22bea028952b515aeef.tar.bz2
pugl-bd4f79646f623e929e6aa22bea028952b515aeef.zip
Add general string hint interface
This replaces the window title and class name APIs with a more general one that can be easily extended to other things, like icon names, more detailed application hints, and so on.
Diffstat (limited to 'test/test_update.c')
-rw-r--r--test/test_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_update.c b/test/test_update.c
index 1fc10d1..4710ca2 100644
--- a/test/test_update.c
+++ b/test/test_update.c
@@ -84,8 +84,8 @@ main(int argc, char** argv)
// Set up view
test.view = puglNewView(test.world);
- puglSetClassName(test.world, "PuglTest");
- puglSetWindowTitle(test.view, "Pugl Update Test");
+ puglSetWorldString(test.world, PUGL_CLASS_NAME, "PuglTest");
+ puglSetViewString(test.view, PUGL_WINDOW_TITLE, "Pugl Update Test");
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
puglSetEventFunc(test.view, onEvent);