Re: QTKit: QTMovieView
Re: QTKit: QTMovieView
- Subject: Re: QTKit: QTMovieView
- From: Christian Schneider <email@hidden>
- Date: Wed, 11 May 2005 21:01:24 +0200
Ricky,
I want to take advantage of QTMovieView's fillColor, i.e. I want the
movie view to be bigger than the movie it contains such that a black
border is drawn around the movie. I suppose there are lots of other
ways to achieve that but as the functionality is advertised in the
documentation I'd have liked to use it.
Also, I have a transparent view on top of the movie view that I use as
drag source and destination. Originally I set that view to be one
pixel larger on every side than the movie view and had it draw a black
border. That worked on three sides but the border on the top was
removed as soon as the movie started playing. It reappeared if
something caused my view to be redrawn but again diappeared when
playing resumed. So I don't think QTMovieView is playing entirely by
Cocoa's rules.
chris
On 5/11/05, Ricky Sharp <email@hidden> wrote:
>
>
> > As to overriding QTMovieView, I suppose if that were the way to go,
> > they wouldn't say the movie could be placed in an arbitrary rectangle
> > without saying that subclassing was needed, would they?
>
> Could you place the QTMovieView within say a transparent NSBox (or
> any other container-type view) and then place that box where you need
> it?
>
> Also, I don't know if QTMovieView considers itself opaque or not.
> You may want to experiment with having the container view be opaque
> so as not to incur any penalty during movie playback.
>
_______________________________________________
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