💄 Changes for desktop windows

This commit is contained in:
2024-06-01 21:50:24 +08:00
parent 99a51de9f6
commit b8aae5a4c0
10 changed files with 81 additions and 18 deletions

View File

@ -4,7 +4,7 @@ project(solian LANGUAGES CXX)
# The name of the executable created for the application. Change this to change
# the on-disk name of your application.
set(BINARY_NAME "solian")
set(BINARY_NAME "Solian")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.

View File

@ -26,8 +26,8 @@ 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"solian", origin, size)) {
Win32Window::Size size(380, 600);
if (!window.Create(L"Solian", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);