Movie Overlay

Last Revision:
Version 1.1, 2008-07-25
Updated for QTMovieView.
(Full Revision History)
Build Requirements:
Xcode 2.5, Mac OS X 10.4 Tiger
Runtime Requirements:
Mac OS X 10.4 Tiger

This sample shows how to overlay text & graphics and perform animation on an QTMovieView through a floating overlay window. This is accomplished by first creating a new window and adding subviews to this window. These subviews are used to draw the images and perform the animation. The new overlay window is then added as a child window to the QTMovieView window with the NSWindowAbove ordering so it will be ordered on top of the movie window. Any subsequent drawing in the overlay window subviews will then draw on top of the QTMovieView window, giving the overlay effect.