Re: Draw NSView over QTMovieView
Re: Draw NSView over QTMovieView
- Subject: Re: Draw NSView over QTMovieView
- From: "Mr. Gecko" <email@hidden>
- Date: Tue, 20 Jan 2009 15:07:02 -0600
Well I'm going to be Tiger and up so I don't know if that's a good idea.
On Jan 20, 2009, at 2:57 PM, Matt Long wrote:
You can add controls to your View in IB and then use a QTMovieLayer
to display your movie (assuming you are Leopard only). Just make
sure when you add the QTMovieLayer to your view's sub-layers that
you use -insertSublayer:atIndex passing it an index of zero. This
will keep all of the controls visible in front of the movie.
-Matt
On Jan 20, 2009, at 12:54 PM, Mr. Gecko wrote:
Actually I don't think that would work because it's adding it to
the window it self and the window isn't going fullscreen, only my
fullscreen NSView is... i could try subclassing QTMovieView sense
it's a subclass of NSView and draw my layer on top.
Any suggestions?
Mr. Gecko
On Jan 20, 2009, at 1:21 PM, douglas welton wrote:
Have you tried to use an overlay (child) window like in the Movie
Overlay sample code at the ADC site? Alternately, you have the
option of displaying your movie in a QTMovieLayer and adding
various sublayers to accomplish the effect you want.
On Jan 20, 2009, at 12:58 PM, Mr. Gecko wrote:
hide (shouldn't be too hard). When I tried to add controls over
my movie, I placed it on the top layer in my NSView for going
full screen, and it doesn't show... When I hide the QTMovieView
it shows. But what's the point in having controls if you can't
see the movie? Any help?
Thanks,
_______________________________________________
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
_______________________________________________
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