From bd4f79646f623e929e6aa22bea028952b515aeef Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Jan 2023 10:30:10 -0500 Subject: 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. --- test/test_show_hide.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_show_hide.c') diff --git a/test/test_show_hide.c b/test/test_show_hide.c index 3b0acae..1517203 100644 --- a/test/test_show_hide.c +++ b/test/test_show_hide.c @@ -109,8 +109,8 @@ main(int argc, char** argv) // Set up view test.view = puglNewView(test.world); - puglSetClassName(test.world, "PuglTest"); - puglSetWindowTitle(test.view, "Pugl Show/Hide Test"); + puglSetWorldString(test.world, PUGL_CLASS_NAME, "PuglTest"); + puglSetViewString(test.view, PUGL_WINDOW_TITLE, "Pugl Show/Hide Test"); puglSetBackend(test.view, puglStubBackend()); puglSetHandle(test.view, &test); puglSetEventFunc(test.view, onEvent); -- cgit v1.2.1