diff options
-rw-r--r-- | examples/pugl_cairo_demo.c | 2 | ||||
-rw-r--r-- | examples/pugl_cpp_demo.cpp | 4 | ||||
-rw-r--r-- | examples/pugl_cursor_demo.c | 4 | ||||
-rw-r--r-- | examples/pugl_embed_demo.c | 2 | ||||
-rw-r--r-- | examples/pugl_print_events.c | 2 | ||||
-rw-r--r-- | examples/pugl_shader_demo.c | 4 | ||||
-rw-r--r-- | examples/pugl_vulkan_cpp_demo.cpp | 4 | ||||
-rw-r--r-- | examples/pugl_vulkan_demo.c | 2 | ||||
-rw-r--r-- | examples/pugl_window_demo.c | 2 | ||||
-rw-r--r-- | test/test_cairo.c | 2 | ||||
-rw-r--r-- | test/test_clipboard.c | 2 | ||||
-rw-r--r-- | test/test_gl.c | 2 | ||||
-rw-r--r-- | test/test_gl_free_unrealized.c | 4 | ||||
-rw-r--r-- | test/test_gl_hints.c | 2 | ||||
-rw-r--r-- | test/test_local_copy_paste.c | 2 | ||||
-rw-r--r-- | test/test_realize.c | 2 | ||||
-rw-r--r-- | test/test_redisplay.c | 2 | ||||
-rw-r--r-- | test/test_remote_copy_paste.c | 4 | ||||
-rw-r--r-- | test/test_show_hide.c | 2 | ||||
-rw-r--r-- | test/test_size.c | 2 | ||||
-rw-r--r-- | test/test_stub.c | 2 | ||||
-rw-r--r-- | test/test_stub_hints.c | 2 | ||||
-rw-r--r-- | test/test_timer.c | 2 | ||||
-rw-r--r-- | test/test_update.c | 2 | ||||
-rw-r--r-- | test/test_view.c | 2 | ||||
-rw-r--r-- | test/test_vulkan.c | 2 |
26 files changed, 32 insertions, 32 deletions
diff --git a/examples/pugl_cairo_demo.c b/examples/pugl_cairo_demo.c index 5a81f7e..2cd4493 100644 --- a/examples/pugl_cairo_demo.c +++ b/examples/pugl_cairo_demo.c @@ -211,7 +211,7 @@ main(int argc, char** argv) } app.world = puglNewWorld(PUGL_PROGRAM, 0); - puglSetClassName(app.world, "PuglCairoTest"); + puglSetClassName(app.world, "PuglCairoDemo"); PuglView* view = puglNewView(app.world); diff --git a/examples/pugl_cpp_demo.cpp b/examples/pugl_cpp_demo.cpp index 7d7b727..7794529 100644 --- a/examples/pugl_cpp_demo.cpp +++ b/examples/pugl_cpp_demo.cpp @@ -112,9 +112,9 @@ main(int argc, char** argv) CubeView view{world}; PuglFpsPrinter fpsPrinter{}; - world.setClassName("PuglCppTest"); + world.setClassName("PuglCppDemo"); - view.setWindowTitle("Pugl C++ Test"); + view.setWindowTitle("Pugl C++ Demo"); view.setDefaultSize(512, 512); view.setMinSize(64, 64); view.setMaxSize(256, 256); diff --git a/examples/pugl_cursor_demo.c b/examples/pugl_cursor_demo.c index 7a6216f..8462193 100644 --- a/examples/pugl_cursor_demo.c +++ b/examples/pugl_cursor_demo.c @@ -119,11 +119,11 @@ main(int argc, char** argv) app.world = puglNewWorld(PUGL_PROGRAM, 0); puglSetWorldHandle(app.world, &app); - puglSetClassName(app.world, "Pugl Test"); + puglSetClassName(app.world, "PuglCursorDemo"); PuglView* view = puglNewView(app.world); - puglSetWindowTitle(view, "Pugl Window Demo"); + puglSetWindowTitle(view, "Pugl Cursor Demo"); puglSetDefaultSize(view, 512, 256); puglSetMinSize(view, 128, 64); puglSetMaxSize(view, 512, 256); diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c index d375fcb..085cfa7 100644 --- a/examples/pugl_embed_demo.c +++ b/examples/pugl_embed_demo.c @@ -274,7 +274,7 @@ main(int argc, char** argv) app.parent = puglNewView(app.world); app.child = puglNewView(app.world); - puglSetClassName(app.world, "Pugl Test"); + puglSetClassName(app.world, "PuglEmbedDemo"); const PuglRect parentFrame = {0, 0, 512, 512}; puglSetDefaultSize(app.parent, 512, 512); diff --git a/examples/pugl_print_events.c b/examples/pugl_print_events.c index 9be9ca1..1bbe33a 100644 --- a/examples/pugl_print_events.c +++ b/examples/pugl_print_events.c @@ -41,7 +41,7 @@ main(void) app.world = puglNewWorld(PUGL_PROGRAM, 0); app.view = puglNewView(app.world); - puglSetClassName(app.world, "Pugl Print Events"); + puglSetClassName(app.world, "PuglPrintEvents"); puglSetWindowTitle(app.view, "Pugl Event Printer"); puglSetDefaultSize(app.view, 512, 512); puglSetBackend(app.view, puglStubBackend()); diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c index a2f3589..db448ca 100644 --- a/examples/pugl_shader_demo.c +++ b/examples/pugl_shader_demo.c @@ -260,8 +260,8 @@ setupPugl(PuglTestApp* app) app->rects = makeRects(app->numRects); // Set up world and view - puglSetClassName(app->world, "PuglGL3Demo"); - puglSetWindowTitle(app->view, "Pugl OpenGL 3"); + puglSetClassName(app->world, "PuglShaderDemo"); + puglSetWindowTitle(app->view, "Pugl OpenGL Shader Demo"); puglSetDefaultSize(app->view, defaultWidth, defaultHeight); puglSetMinSize(app->view, defaultWidth / 4, defaultHeight / 4); puglSetMaxSize(app->view, defaultWidth * 4, defaultHeight * 4); diff --git a/examples/pugl_vulkan_cpp_demo.cpp b/examples/pugl_vulkan_cpp_demo.cpp index 6ed3885..3f635ba 100644 --- a/examples/pugl_vulkan_cpp_demo.cpp +++ b/examples/pugl_vulkan_cpp_demo.cpp @@ -1713,8 +1713,8 @@ run(const char* const programPath, const auto height = static_cast<int>(app.extent.height); // Realize window so we can set up Vulkan - app.world.setClassName("PuglVulkanDemo"); - app.view.setWindowTitle("Pugl Vulkan Demo"); + app.world.setClassName("PuglVulkanCppDemo"); + app.view.setWindowTitle("Pugl Vulkan C++ Demo"); app.view.setAspectRatio(1, 1, 16, 9); app.view.setDefaultSize(width, height); app.view.setMinSize(width / 4, height / 4); diff --git a/examples/pugl_vulkan_demo.c b/examples/pugl_vulkan_demo.c index 06d73ee..b7ff146 100644 --- a/examples/pugl_vulkan_demo.c +++ b/examples/pugl_vulkan_demo.c @@ -1064,7 +1064,7 @@ main(int argc, char** argv) } // Create window - puglSetWindowTitle(app.view, "Pugl Vulkan"); + puglSetWindowTitle(app.view, "Pugl Vulkan Demo"); puglSetFrame(app.view, frame); puglSetHandle(app.view, &app); puglSetBackend(app.view, puglVulkanBackend()); diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c index faa895d..912ccb6 100644 --- a/examples/pugl_window_demo.c +++ b/examples/pugl_window_demo.c @@ -181,7 +181,7 @@ main(int argc, char** argv) app.cubes[1].view = puglNewView(app.world); puglSetWorldHandle(app.world, &app); - puglSetClassName(app.world, "Pugl Test"); + puglSetClassName(app.world, "PuglWindowDemo"); PuglStatus st = PUGL_SUCCESS; for (unsigned i = 0; i < 2; ++i) { diff --git a/test/test_cairo.c b/test/test_cairo.c index be5e95d..5d2aab8 100644 --- a/test/test_cairo.c +++ b/test/test_cairo.c @@ -60,7 +60,7 @@ main(int argc, char** argv) PuglTest test = {world, view, opts, false}; // Set up and show view - puglSetClassName(test.world, "Pugl Test"); + puglSetClassName(test.world, "PuglTest"); puglSetWindowTitle(test.view, "Pugl Cairo Test"); puglSetHandle(test.view, &test); puglSetBackend(test.view, puglCairoBackend()); diff --git a/test/test_clipboard.c b/test/test_clipboard.c index be611c3..3cbb8d1 100644 --- a/test/test_clipboard.c +++ b/test/test_clipboard.c @@ -48,7 +48,7 @@ main(int argc, char** argv) puglParseTestOptions(&argc, &argv), false}; - puglSetClassName(test.world, "Pugl Test"); + puglSetClassName(test.world, "PuglTest"); // Set up views for (unsigned i = 0u; i < 2; ++i) { diff --git a/test/test_gl.c b/test/test_gl.c index 1c0e0a2..4b6ca80 100644 --- a/test/test_gl.c +++ b/test/test_gl.c @@ -79,7 +79,7 @@ main(int argc, char** argv) PuglTest test = {world, view, opts, false}; // Set up and show view - puglSetClassName(test.world, "Pugl OpenGL Test"); + puglSetClassName(test.world, "PuglTest"); puglSetHandle(test.view, &test); puglSetBackend(test.view, puglGlBackend()); puglSetEventFunc(test.view, onEvent); diff --git a/test/test_gl_free_unrealized.c b/test/test_gl_free_unrealized.c index c4d3fcd..783ffb8 100644 --- a/test/test_gl_free_unrealized.c +++ b/test/test_gl_free_unrealized.c @@ -44,8 +44,8 @@ main(int argc, char** argv) // Set up view test.view = puglNewView(test.world); - puglSetClassName(test.world, "Pugl Test"); - puglSetWindowTitle(test.view, "Pugl Free View Test"); + puglSetClassName(test.world, "PuglTest"); + puglSetWindowTitle(test.view, "Pugl OpenGL Free Test"); puglSetBackend(test.view, puglGlBackend()); puglSetHandle(test.view, &test); puglSetEventFunc(test.view, onEvent); diff --git a/test/test_gl_hints.c b/test/test_gl_hints.c index 01d617a..701dd77 100644 --- a/test/test_gl_hints.c +++ b/test/test_gl_hints.c @@ -30,7 +30,7 @@ main(void) PuglView* const view = puglNewView(world); // Set up view - puglSetClassName(world, "Pugl Test"); + puglSetClassName(world, "PuglTest"); puglSetWindowTitle(view, "Pugl OpenGL Hints Test"); puglSetBackend(view, puglGlBackend()); puglSetEventFunc(view, onEvent); diff --git a/test/test_local_copy_paste.c b/test/test_local_copy_paste.c index 65e9788..0a1b212 100644 --- a/test/test_local_copy_paste.c +++ b/test/test_local_copy_paste.c @@ -89,7 +89,7 @@ main(int argc, char** argv) // Set up view app.view = puglNewView(app.world); - puglSetClassName(app.world, "Pugl Test"); + puglSetClassName(app.world, "PuglTest"); puglSetBackend(app.view, puglStubBackend()); puglSetHandle(app.view, &app); puglSetEventFunc(app.view, onEvent); diff --git a/test/test_realize.c b/test/test_realize.c index d1d3053..d26d866 100644 --- a/test/test_realize.c +++ b/test/test_realize.c @@ -63,7 +63,7 @@ main(int argc, char** argv) // Set up view test.view = puglNewView(test.world); - puglSetClassName(test.world, "Pugl Test"); + puglSetClassName(test.world, "PuglTest"); puglSetWindowTitle(test.view, "Pugl Realize Test"); puglSetBackend(test.view, puglStubBackend()); puglSetHandle(test.view, &test); diff --git a/test/test_redisplay.c b/test/test_redisplay.c index 5a0de4d..801393e 100644 --- a/test/test_redisplay.c +++ b/test/test_redisplay.c @@ -108,7 +108,7 @@ main(int argc, char** argv) // Set up view test.view = puglNewView(test.world); - puglSetClassName(test.world, "Pugl Test"); + puglSetClassName(test.world, "PuglTest"); puglSetWindowTitle(test.view, "Pugl Redisplay Test"); puglSetBackend(test.view, puglStubBackend()); puglSetHandle(test.view, &test); diff --git a/test/test_remote_copy_paste.c b/test/test_remote_copy_paste.c index cd82f10..cc6154e 100644 --- a/test/test_remote_copy_paste.c +++ b/test/test_remote_copy_paste.c @@ -126,7 +126,7 @@ main(int argc, char** argv) // Set up copier view app.copierView = puglNewView(app.world); - puglSetClassName(app.world, "Pugl Test Copier"); + puglSetClassName(app.world, "PuglTest"); puglSetBackend(app.copierView, puglStubBackend()); puglSetHandle(app.copierView, &app); puglSetEventFunc(app.copierView, onCopierEvent); @@ -134,7 +134,7 @@ main(int argc, char** argv) // Set up paster view app.pasterView = puglNewView(app.world); - puglSetClassName(app.world, "Pugl Test Paster"); + puglSetClassName(app.world, "PuglTest"); puglSetBackend(app.pasterView, puglStubBackend()); puglSetHandle(app.pasterView, &app); puglSetEventFunc(app.pasterView, onPasterEvent); diff --git a/test/test_show_hide.c b/test/test_show_hide.c index 87c2110..32efe19 100644 --- a/test/test_show_hide.c +++ b/test/test_show_hide.c @@ -98,7 +98,7 @@ main(int argc, char** argv) // Set up view test.view = puglNewView(test.world); - puglSetClassName(test.world, "Pugl Test"); + puglSetClassName(test.world, "PuglTest"); puglSetWindowTitle(test.view, "Pugl Show/Hide Test"); puglSetBackend(test.view, puglStubBackend()); puglSetHandle(test.view, &test); diff --git a/test/test_size.c b/test/test_size.c index 5e9e7c8..862eba5 100644 --- a/test/test_size.c +++ b/test/test_size.c @@ -81,7 +81,7 @@ main(int argc, char** argv) // Set up view with size bounds and an aspect ratio test.view = puglNewView(test.world); - puglSetClassName(test.world, "Pugl Test"); + puglSetClassName(test.world, "PuglTest"); puglSetWindowTitle(test.view, "Pugl Size Test"); puglSetBackend(test.view, puglStubBackend()); puglSetHandle(test.view, &test); diff --git a/test/test_stub.c b/test/test_stub.c index 189d470..2043bf2 100644 --- a/test/test_stub.c +++ b/test/test_stub.c @@ -46,7 +46,7 @@ main(int argc, char** argv) PuglTest test = {world, view, opts, false}; // Set up and show view - puglSetClassName(test.world, "Pugl Stub Test"); + puglSetClassName(test.world, "PuglTest"); puglSetHandle(test.view, &test); puglSetBackend(test.view, puglStubBackend()); puglSetEventFunc(test.view, onEvent); diff --git a/test/test_stub_hints.c b/test/test_stub_hints.c index e5067ab..f45bacc 100644 --- a/test/test_stub_hints.c +++ b/test/test_stub_hints.c @@ -30,7 +30,7 @@ main(void) PuglView* const view = puglNewView(world); // Set up view - puglSetClassName(world, "Pugl Test"); + puglSetClassName(world, "PuglTest"); puglSetWindowTitle(view, "Pugl Stub Hints Test"); puglSetBackend(view, puglStubBackend()); puglSetEventFunc(view, onEvent); diff --git a/test/test_timer.c b/test/test_timer.c index dd3ec50..70e6e3b 100644 --- a/test/test_timer.c +++ b/test/test_timer.c @@ -106,7 +106,7 @@ main(int argc, char** argv) // Set up view test.view = puglNewView(test.world); - puglSetClassName(test.world, "Pugl Test"); + puglSetClassName(test.world, "PuglTest"); puglSetWindowTitle(test.view, "Pugl Timer Test"); puglSetBackend(test.view, puglStubBackend()); puglSetHandle(test.view, &test); diff --git a/test/test_update.c b/test/test_update.c index 5efdc86..4fb6ac1 100644 --- a/test/test_update.c +++ b/test/test_update.c @@ -84,7 +84,7 @@ main(int argc, char** argv) // Set up view test.view = puglNewView(test.world); - puglSetClassName(test.world, "Pugl Test"); + puglSetClassName(test.world, "PuglTest"); puglSetWindowTitle(test.view, "Pugl Update Test"); puglSetBackend(test.view, puglStubBackend()); puglSetHandle(test.view, &test); diff --git a/test/test_view.c b/test/test_view.c index df56ad6..04cd2c1 100644 --- a/test/test_view.c +++ b/test/test_view.c @@ -65,7 +65,7 @@ main(int argc, char** argv) // Set up view test.view = puglNewView(test.world); - puglSetClassName(test.world, "Pugl Test"); + puglSetClassName(test.world, "PuglTest"); puglSetWindowTitle(test.view, "Pugl View Test"); puglSetBackend(test.view, puglStubBackend()); puglSetHandle(test.view, &test); diff --git a/test/test_vulkan.c b/test/test_vulkan.c index 45c57ae..f95b85d 100644 --- a/test/test_vulkan.c +++ b/test/test_vulkan.c @@ -166,7 +166,7 @@ main(int argc, char** argv) assert(!createInstance(&test)); // Create window - puglSetClassName(test.world, "Pugl Vulkan Test"); + puglSetClassName(test.world, "PuglTest"); puglSetHandle(test.view, &test); puglSetBackend(test.view, puglVulkanBackend()); puglSetEventFunc(test.view, onEvent); |