diff options
author | Alexander Neumann <alexander.neumann@picos-software.com> | 2016-08-01 10:39:38 +0200 |
---|---|---|
committer | Alexander Neumann <alexander.neumann@picos-software.com> | 2016-08-01 10:39:38 +0200 |
commit | a5c0ab6c144b5f415a1a7a76b21841e1cf3705d9 (patch) | |
tree | 277f9b180a6d73d639610438809841dc1512d0f5 /imagelist.go | |
parent | declarative/Grid: Add Rows (diff) | |
download | wireguard-windows-a5c0ab6c144b5f415a1a7a76b21841e1cf3705d9.tar.xz wireguard-windows-a5c0ab6c144b5f415a1a7a76b21841e1cf3705d9.zip |
ImageList: Expose Handle
Diffstat (limited to 'imagelist.go')
-rw-r--r-- | imagelist.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/imagelist.go b/imagelist.go index a23bb6c6..fd1fc90b 100644 --- a/imagelist.go +++ b/imagelist.go @@ -34,6 +34,10 @@ func NewImageList(imageSize Size, maskColor Color) (*ImageList, error) { return &ImageList{hIml: hIml, maskColor: maskColor}, nil } +func (il *ImageList) Handle() win.HIMAGELIST { + return il.hIml +} + func (il *ImageList) Add(bitmap, maskBitmap *Bitmap) (int, error) { if bitmap == nil { return 0, newError("bitmap cannot be nil") |