NSImageView redraws
NSImageView redraws
- Subject: NSImageView redraws
- From: Chris Moolenschot <email@hidden>
- Date: Tue, 20 Jun 2006 12:49:48 +0200
Hi all,
I have an issue where an NSImageView only updates the NSImage it is
displaying if it is scaling the NSImage down to fit.
The NSImage is backed by an NSBitmapImageRep which is being modified
via a slider. After each modification I am
calling
[imageView setImage: nil];
[imageView setImage: image];
to update the view. Caching is turned off in the NSImage and
retainData is set to YES.
The view is being redrawn (I can see this using Quartz Debug), but it
appears a cached version of the image is being used.
What am I doing wrong?
Thanks,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden