From 66f2133d2b6293f62729d4665124094990441320 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 20 May 2022 14:21:28 -0400 Subject: Set a title for all test windows --- test/test_gl.c | 1 + test/test_local_copy_paste.c | 1 + test/test_remote_copy_paste.c | 2 ++ test/test_stub.c | 1 + test/test_vulkan.c | 1 + 5 files changed, 6 insertions(+) diff --git a/test/test_gl.c b/test/test_gl.c index 4b6ca80..3fe546b 100644 --- a/test/test_gl.c +++ b/test/test_gl.c @@ -80,6 +80,7 @@ main(int argc, char** argv) // Set up and show view puglSetClassName(test.world, "PuglTest"); + puglSetWindowTitle(test.view, "Pugl OpenGL Test"); puglSetHandle(test.view, &test); puglSetBackend(test.view, puglGlBackend()); puglSetEventFunc(test.view, onEvent); diff --git a/test/test_local_copy_paste.c b/test/test_local_copy_paste.c index 0a1b212..a4350f0 100644 --- a/test/test_local_copy_paste.c +++ b/test/test_local_copy_paste.c @@ -90,6 +90,7 @@ main(int argc, char** argv) // Set up view app.view = puglNewView(app.world); puglSetClassName(app.world, "PuglTest"); + puglSetWindowTitle(app.view, "Pugl Copy/Paste Test"); puglSetBackend(app.view, puglStubBackend()); puglSetHandle(app.view, &app); puglSetEventFunc(app.view, onEvent); diff --git a/test/test_remote_copy_paste.c b/test/test_remote_copy_paste.c index cc6154e..aeba3dc 100644 --- a/test/test_remote_copy_paste.c +++ b/test/test_remote_copy_paste.c @@ -127,6 +127,7 @@ main(int argc, char** argv) // Set up copier view app.copierView = puglNewView(app.world); puglSetClassName(app.world, "PuglTest"); + puglSetWindowTitle(app.copierView, "Pugl Copy Test"); puglSetBackend(app.copierView, puglStubBackend()); puglSetHandle(app.copierView, &app); puglSetEventFunc(app.copierView, onCopierEvent); @@ -135,6 +136,7 @@ main(int argc, char** argv) // Set up paster view app.pasterView = puglNewView(app.world); puglSetClassName(app.world, "PuglTest"); + puglSetWindowTitle(app.pasterView, "Pugl Paste Test"); puglSetBackend(app.pasterView, puglStubBackend()); puglSetHandle(app.pasterView, &app); puglSetEventFunc(app.pasterView, onPasterEvent); diff --git a/test/test_stub.c b/test/test_stub.c index 2043bf2..308aae3 100644 --- a/test/test_stub.c +++ b/test/test_stub.c @@ -47,6 +47,7 @@ main(int argc, char** argv) // Set up and show view puglSetClassName(test.world, "PuglTest"); + puglSetWindowTitle(test.view, "Pugl Stub Test"); puglSetHandle(test.view, &test); puglSetBackend(test.view, puglStubBackend()); puglSetEventFunc(test.view, onEvent); diff --git a/test/test_vulkan.c b/test/test_vulkan.c index f95b85d..0a364f3 100644 --- a/test/test_vulkan.c +++ b/test/test_vulkan.c @@ -167,6 +167,7 @@ main(int argc, char** argv) // Create window puglSetClassName(test.world, "PuglTest"); + puglSetWindowTitle(test.view, "Pugl Vulkan Test"); puglSetHandle(test.view, &test); puglSetBackend(test.view, puglVulkanBackend()); puglSetEventFunc(test.view, onEvent); -- cgit v1.2.1