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. --- examples/pugl_clipboard_demo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/pugl_clipboard_demo.c') diff --git a/examples/pugl_clipboard_demo.c b/examples/pugl_clipboard_demo.c index d4ab50f..efeb1eb 100644 --- a/examples/pugl_clipboard_demo.c +++ b/examples/pugl_clipboard_demo.c @@ -217,9 +217,9 @@ main(int argc, char** argv) PuglView* const view = app.cube.view; puglSetWorldHandle(app.world, &app); - puglSetClassName(app.world, "Pugl Test"); + puglSetWorldString(app.world, PUGL_CLASS_NAME, "Pugl Test"); - puglSetWindowTitle(view, "Pugl Clipboard Demo"); + puglSetViewString(view, PUGL_WINDOW_TITLE, "Pugl Clipboard Demo"); puglSetSizeHint(view, PUGL_DEFAULT_SIZE, 512, 512); puglSetSizeHint(view, PUGL_MIN_SIZE, 128, 128); puglSetBackend(view, puglGlBackend()); -- cgit v1.2.1