From 0b7547b710d7574901ef4a957f830cc2a6a81172 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Fri, 2 Dec 2022 00:18:30 +0100 Subject: [PATCH] demo/win32: Add the renderer name to the window title --- demo/d3d11/main.c | 2 +- demo/d3d12/main.c | 2 +- demo/d3d9/main.c | 2 +- demo/gdi/main.c | 2 +- demo/gdip/main.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/demo/d3d11/main.c b/demo/d3d11/main.c index ff2ac95..338dde2 100644 --- a/demo/d3d11/main.c +++ b/demo/d3d11/main.c @@ -161,7 +161,7 @@ int main(void) AdjustWindowRectEx(&rect, style, FALSE, exstyle); - wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear Demo", + wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear Direct3D 11 Demo", style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, rect.right - rect.left, rect.bottom - rect.top, NULL, NULL, wc.hInstance, NULL); diff --git a/demo/d3d12/main.c b/demo/d3d12/main.c index f6891e5..57e7bc3 100644 --- a/demo/d3d12/main.c +++ b/demo/d3d12/main.c @@ -219,7 +219,7 @@ int main(void) AdjustWindowRectEx(&rect, style, FALSE, exstyle); - wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear Demo", + wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear Direct3D 12 Demo", style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, rect.right - rect.left, rect.bottom - rect.top, NULL, NULL, wc.hInstance, NULL); diff --git a/demo/d3d9/main.c b/demo/d3d9/main.c index c6b8a5d..638c584 100644 --- a/demo/d3d9/main.c +++ b/demo/d3d9/main.c @@ -191,7 +191,7 @@ int main(void) AdjustWindowRectEx(&rect, style, FALSE, exstyle); - wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear Demo", + wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear Direct3D 9 Demo", style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, rect.right - rect.left, rect.bottom - rect.top, NULL, NULL, wc.hInstance, NULL); diff --git a/demo/gdi/main.c b/demo/gdi/main.c index f588c07..281f82b 100644 --- a/demo/gdi/main.c +++ b/demo/gdi/main.c @@ -103,7 +103,7 @@ int main(void) atom = RegisterClassW(&wc); AdjustWindowRectEx(&rect, style, FALSE, exstyle); - wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear Demo", + wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear GDI Demo", style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, rect.right - rect.left, rect.bottom - rect.top, NULL, NULL, wc.hInstance, NULL); diff --git a/demo/gdip/main.c b/demo/gdip/main.c index 8f132f5..7151964 100644 --- a/demo/gdip/main.c +++ b/demo/gdip/main.c @@ -99,7 +99,7 @@ int main(void) AdjustWindowRectEx(&rect, style, FALSE, exstyle); - wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear Demo", + wnd = CreateWindowExW(exstyle, wc.lpszClassName, L"Nuklear GDI+ Demo", style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, rect.right - rect.left, rect.bottom - rect.top, NULL, NULL, wc.hInstance, NULL);