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_gl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_gl.c') diff --git a/test/test_gl.c b/test/test_gl.c index a53854a..8854cad 100644 --- a/test/test_gl.c +++ b/test/test_gl.c @@ -79,8 +79,8 @@ main(int argc, char** argv) PuglTest test = {world, view, opts, false}; // Set up and show view - puglSetClassName(test.world, "PuglTest"); - puglSetWindowTitle(test.view, "Pugl OpenGL Test"); + puglSetWorldString(test.world, PUGL_CLASS_NAME, "PuglTest"); + puglSetViewString(test.view, PUGL_WINDOW_TITLE, "Pugl OpenGL Test"); puglSetHandle(test.view, &test); puglSetBackend(test.view, puglGlBackend()); puglSetEventFunc(test.view, onEvent); -- cgit v1.2.1