windows版本初步完成

This commit is contained in:
DelLevin-Home
2026-07-13 19:39:01 +08:00
parent 121cbf8b0b
commit 6c30026e32
37 changed files with 5583 additions and 624 deletions

View File

@@ -25,8 +25,8 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
FlutterWindow window(project);
Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720);
Win32Window::Point origin(100, 100);
Win32Window::Size size(1400, 900);
if (!window.Create(L"MookNote", origin, size)) {
return EXIT_FAILURE;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -199,7 +199,7 @@ Win32Window::MessageHandler(HWND hwnd,
}
case WM_GETMINMAXINFO: {
auto info = reinterpret_cast<MINMAXINFO*>(lparam);
info->ptMinTrackSize.x = 360;
info->ptMinTrackSize.x = 900;
info->ptMinTrackSize.y = 640;
return 0;
}