window rename

This commit is contained in:
2025-10-15 14:50:13 +02:00
parent 9af1dc9fef
commit 45684dcf44
2 changed files with 3 additions and 3 deletions

View File

@ -39,11 +39,11 @@ static void my_application_activate(GApplication* application) {
#endif
if (use_header_bar) {
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
gtk_header_bar_set_title(header_bar, "flutterudp");
gtk_header_bar_set_title(header_bar, "UnityUDP");
gtk_header_bar_set_show_close_button(header_bar, TRUE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
} else {
gtk_window_set_title(window, "flutterudp");
gtk_window_set_title(window, "UnityUDP");
}
gtk_window_set_default_size(window, 1280, 720);

View File

@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(project);
Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720);
if (!window.Create(L"flutterudp", origin, size)) {
if (!window.Create(L"UnityUDP", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);