Re: Transparent image
Re: Transparent image
- Subject: Re: Transparent image
- From: Chunk 1978 <email@hidden>
- Date: Tue, 10 Feb 2009 02:37:56 -0500
i once tried creating an IKImageBrowser as a HUD window but that
caused some crazy problems with dragging images (or was it dragging
the imagebrowser?) because the background of the window wasn't opaque.
On Mon, Feb 9, 2009 at 8:24 PM, Rob Keniger <email@hidden> wrote:
>
> On 10/02/2009, at 10:30 AM, Christian Graus wrote:
>
>> Yes - the interesting thing is, if I turn the grid on for the IKImageView,
>> it is plainly well able to recognise the transparency layer in my PNG and
>> render accordingly. We are overriding IKImageView already, although we're
>> not yet doing anything funky at all, just adding helper methods and
>> handling
>> keypresses. I will try what you've suggested. My other idea is, if the
>> control can display itself transparently on top of a window, I may try
>> taking a screenshot of the area underneath and then house my IKImageView
>> in
>> another control, and in that control, set the background image to fake
>> transparency.
>
> The IKImageView and IKImageBrowserView do some pretty funky stuff under the
> hood and don't support background or image transparency as far as I am tell.
> Subclassing them and overriding the drawing methods causes nothing but pain,
> believe me.
>
> --
> Rob Keniger
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden