mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-05 09:56:23 +02:00
gtk intf: TGtkWSDragImageList.BeginDrag: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21784 -
This commit is contained in:
parent
d77de397b1
commit
17b5d19761
@ -990,8 +990,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
gbPixbuf:
|
gbPixbuf:
|
||||||
begin
|
begin
|
||||||
Pixmap := gdk_pixmap_new(nil, ABitmap.Width, ABitmap.Height, 24);
|
Pixmap := nil;
|
||||||
Mask := gdk_pixmap_new(nil, ABitmap.Width, ABitmap.Height, 1);
|
Mask := nil;
|
||||||
gdk_pixbuf_render_pixmap_and_mask(GDIObject^.GDIPixbufObject, Pixmap, Mask, $80);
|
gdk_pixbuf_render_pixmap_and_mask(GDIObject^.GDIPixbufObject, Pixmap, Mask, $80);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user