Drag&Drop image opacity

2020-11-16 Thread JP HARMAND via Cocoa-dev
Thanks Howard That’s what I finally did, but, for my specific case, this involves two images, one opaque and one transparent, Instead of an opaque one plus some (inexistant !) transparency framework feature while drag…. Some times I mourn The Dead Carbon…. who had this built in feature… RG

Re: Drag&Drop image opacity

2020-11-16 Thread Howard Moon via Cocoa-dev
According to the docs: The Dragged Image The image that is dragged in a dragging session is simply an image that represents the data on the pasteboard. Although a dragging destination can access the image, its primary concern is with the pasteboard data that the image represents—the dragging oper

Drag&Drop image opacity

2020-11-16 Thread JP HARMAND via Cocoa-dev
If I assign an opaque image to an NSDrag, the system add some transparency to my image while dragging. This is OK, but I would like to adjust this transparency to better see through the image while it is over some of my app interface objects. Could not find any way to do this . Of course I can m

Re: image opacity?

2008-05-11 Thread Jim Puls
On May 11, 2008, at 1:26 AM, Michael Vannorsdel wrote: On May 11, 2008, at 1:03 AM, Patrick J. Collins wrote: Does anyone happen to know how one could set the opacity of an NSImageView object? I am looking for a way to simply fade in an image on within my app's window-- but neither of the

Re: image opacity?

2008-05-11 Thread Michael Vannorsdel
NSView and subclasses have a setAlphaValue: that might do what you want. It requires a backing Core Animation layer (CALayer) and therefore is Leopard only. You can have IB setup the layer backing by setting the view's Wants Core Animation Layer under Effects of the Inspector window; I th

image opacity?

2008-05-11 Thread Patrick J. Collins
Hi again, Does anyone happen to know how one could set the opacity of an NSImageView object? I am looking for a way to simply fade in an image on within my app's window-- but neither of the NSImageView nor IKImageView list anything about opacity... Thank you. Patrick J. Collins http://collinato