Skip to content

Commit

Permalink
Window.loadImage doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpassos committed Aug 7, 2023
1 parent 2e731e8 commit a3ff9c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/win32_gui_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a3ff9c4

Please sign in to comment.