Browse Source

demo/win32: Add the renderer name to the window title

Mark Jansen 2 years ago
parent
commit
0b7547b710
5 changed files with 5 additions and 5 deletions
  1. 1 1
      demo/d3d11/main.c
  2. 1 1
      demo/d3d12/main.c
  3. 1 1
      demo/d3d9/main.c
  4. 1 1
      demo/gdi/main.c
  5. 1 1
      demo/gdip/main.c

+ 1 - 1
demo/d3d11/main.c

@@ -161,7 +161,7 @@ int main(void)
 
 
     AdjustWindowRectEx(&rect, style, FALSE, exstyle);
     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,
         style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT,
         rect.right - rect.left, rect.bottom - rect.top,
         rect.right - rect.left, rect.bottom - rect.top,
         NULL, NULL, wc.hInstance, NULL);
         NULL, NULL, wc.hInstance, NULL);

+ 1 - 1
demo/d3d12/main.c

@@ -219,7 +219,7 @@ int main(void)
 
 
     AdjustWindowRectEx(&rect, style, FALSE, exstyle);
     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,
         style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT,
         rect.right - rect.left, rect.bottom - rect.top,
         rect.right - rect.left, rect.bottom - rect.top,
         NULL, NULL, wc.hInstance, NULL);
         NULL, NULL, wc.hInstance, NULL);

+ 1 - 1
demo/d3d9/main.c

@@ -191,7 +191,7 @@ int main(void)
 
 
     AdjustWindowRectEx(&rect, style, FALSE, exstyle);
     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,
         style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT,
         rect.right - rect.left, rect.bottom - rect.top,
         rect.right - rect.left, rect.bottom - rect.top,
         NULL, NULL, wc.hInstance, NULL);
         NULL, NULL, wc.hInstance, NULL);

+ 1 - 1
demo/gdi/main.c

@@ -103,7 +103,7 @@ int main(void)
     atom = RegisterClassW(&wc);
     atom = RegisterClassW(&wc);
 
 
     AdjustWindowRectEx(&rect, style, FALSE, exstyle);
     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,
         style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT,
         rect.right - rect.left, rect.bottom - rect.top,
         rect.right - rect.left, rect.bottom - rect.top,
         NULL, NULL, wc.hInstance, NULL);
         NULL, NULL, wc.hInstance, NULL);

+ 1 - 1
demo/gdip/main.c

@@ -99,7 +99,7 @@ int main(void)
 
 
     AdjustWindowRectEx(&rect, style, FALSE, exstyle);
     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,
         style | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT,
         rect.right - rect.left, rect.bottom - rect.top,
         rect.right - rect.left, rect.bottom - rect.top,
         NULL, NULL, wc.hInstance, NULL);
         NULL, NULL, wc.hInstance, NULL);