Re: NSView over QTMovieView
Re: NSView over QTMovieView
- Subject: Re: NSView over QTMovieView
- From: Oliver Quas <email@hidden>
- Date: Tue, 25 Mar 2008 15:20:08 +0100
Hi Joseph,
as you see, you can't just add your custom view to the QTMovieView.
One solution to your problem would be to add your custom view to a
borderless window, and add that window to your NSWindow containing the
QTMovieView. Another solution would be to use CoreAnimation and use a
QTMovieLayer instead of QTMovieView. Then you would be able to place
any other CALayer in front of the movie layer.
Best regards,
Oliver
Am 25.03.2008 um 14:33 schrieb Joseph Ayers:
I'm working on an application to make measurements on each of the
frames of a QTMovie. I have a window with a
QTMovieView and a superimposed NSView. When the QTMovieView is
offset from the NSView, My app draws
to the NSView, but when they are exactly overlaid, I see nothing in
the image. In fact, right on the edge, my NSView
elements are clipped. It seems like the NSView is behind the
QTMovieView. I've tried
[mMovieView addSubview:measureView]; and
[mMovieView addSubview:measureView positioned:NSWindowAbove
relativeTo:mMovieView];
But neither seems to get renderings of NSView to appear above the
QTMovieView.
How can I get the NSView superimposed over the QTMovieView?
Thanks,
Joseph
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden