NSMovieView & movie controller separating :-0
NSMovieView & movie controller separating :-0
- Subject: NSMovieView & movie controller separating :-0
- From: "Michael P. Rogers" <email@hidden>
- Date: Thu, 28 Feb 2002 22:52:11 -0600
hello,
I'm trying to animate an NSMovieView, by repeatedly calling this
method through an NSTimer:
-(void)moveMovieViews
{
NSRect newFrame = NSOffsetRect([leftMovie frame], 1,1);
[leftMovie setFrame:newFrame];
[[theBigScreen contentView] setNeedsDisplay:YES];
}
where leftMovie is an NSMovieView *, and theBigScreen is the NSWindow *.
Unfortunately, the content area of the movie and its movie controller
(the bar underneath the movie with the controls) split up -- the
controller moves in the right direction as expected, but the movie
proper stays in one place, until I ever-so-slightly resize the
NSWindow.
I've tested this with several QuickTime trailers, always with the same result.
Why won't the NSMovieView move as one? I have a hunch that I might
have to subclass NSMovieView and override movieRect, but I'd rather
not, if possible.
Thanks,
Michael
--
---------------------------------
Dr. Michael Rogers
e-mail: email@hidden
Phone: 217-424-6327
For information about Computer Science at Millikin University, visit
http://math.millikin.edu
For information about astronomy, check out
http://twincityamateurastronomers.org
_______________________________________________
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.