aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pugl_cairo_demo.c2
-rw-r--r--examples/pugl_cpp_demo.cpp4
-rw-r--r--examples/pugl_cursor_demo.c4
-rw-r--r--examples/pugl_embed_demo.c2
-rw-r--r--examples/pugl_print_events.c2
-rw-r--r--examples/pugl_shader_demo.c4
-rw-r--r--examples/pugl_vulkan_cpp_demo.cpp4
-rw-r--r--examples/pugl_vulkan_demo.c2
-rw-r--r--examples/pugl_window_demo.c2
9 files changed, 13 insertions, 13 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) {