NSMovieView Aspect
NSMovieView Aspect
- Subject: NSMovieView Aspect
- From: Chris Backas <email@hidden>
- Date: Thu, 18 Sep 2003 19:03:00 -0400 (EDT)
- Priority: Normal
Hello all,
I've written a replacement movieRect method in a subclass of NSMovieView so that I can take whatever media I'm given and make sure to resize it proportionately. This is working well, but when I swap one piece
of media for another in the view, pieces of the old one remain if the new Rect is smaller in any way than the previous. I tried overriding drawRect and filling the Rectangle with a color before calling the super's
version, but that resulted in oddities such as images not displaying at all until the movie changed yet again.
Is there a simple way to fix this?
Thanks,
Chris Backas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.