On 23 May '08, at 2:37 PM, Wayne Shao wrote:
I want to overlay a small icon at the corner of each images in my browser view. The purpose of this is to provide a visual indicator of different properties in my images, which is better than putting some text in title/orsubtitle.Is it possible without creating a new image representation for each cell?
Not that I know of. IKImageBrowserView has very limited customization. (You can look at /Developer/Examples/PubSub/NewMusic/ to see some things I've done with this view.)
I once tried to subclass the view, override -drawRect:, and draw my own content on top of the basic content, but this doesn't work reliably. I think the problem is that the view uses an OpenGL surface for some of its rendering, and this seems to end up on top of other drawing calls, even if they were made later.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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 [EMAIL PROTECTED]