From a3ff9c42fbe83969fd407ffdc180472bc8d99293 Mon Sep 17 00:00:00 2001 From: gmpassos Date: Mon, 7 Aug 2023 18:07:20 -0300 Subject: [PATCH] Window.loadImage doc --- lib/src/win32_gui_base.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/win32_gui_base.dart b/lib/src/win32_gui_base.dart index 436c24b..4f6a155 100644 --- a/lib/src/win32_gui_base.dart +++ b/lib/src/win32_gui_base.dart @@ -746,6 +746,7 @@ class Window { } /// Loads image from [imgPath] with dimension [imgWidth], [imgHeight]. + /// - The image should be a 24bit Bitmap. /// - See [loadImageCached]. int loadImage(String imgPath, int imgWidth, int imgHeight) { final hBitmap = LoadImage(NULL, imgPath.toNativeUtf16(), IMAGE_BITMAP,