• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drawing on top of a NSMovieView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawing on top of a NSMovieView?


  • Subject: Re: drawing on top of a NSMovieView?
  • From: Darrin Cardani <email@hidden>
  • Date: Thu, 15 Apr 2004 07:51:21 -0500

At 10:00 PM -0700 4/14/04, Steve Christensen <email@hidden> wrote:
I have a window containing a NSMovieView plus another NSView on top of
it that draws a variety of items (text, graphics, etc.). All is well in
the world until I have the move start playing, and then the view in
front of the movie gets "erased" as the movie plays.

Is there a recommended way to be able to redraw the top NSView as each
frame in the NSMovieView is displayed? I see that, for example, iDVD
handles that correctly with their animated themes, but don't have a
good idea about how to go about it myself.

I wonder if using a "frame done drawing" callback would work? I forget the exact function, but there's a QuickTime function that allows you to install a callback to get called whenever a frame is done being rendered. I think it's the DrawingComplete related functions like this one:

<http://developer.apple.com/documentation/QuickTime/APIREF/SOURCESII/newmoviedrawingcompleteupp.htm>

Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
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.


  • Prev by Date: Re: drawing on top of a NSMovieView?
  • Next by Date: Re: NSOutlineView reloadItem:reloadChildren: selection bug
  • Previous by thread: Re: drawing on top of a NSMovieView?
  • Next by thread: Re: drawing on top of a NSMovieView?
  • Index(es):
    • Date
    • Thread