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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to