Version: 1.1

Posted: 2008-07-25

Build Requirements: Xcode 2.5, Mac OS X 10.4 Tiger

Runtime Requirements: Mac OS X 10.4 Tiger

View Source Code:

Download Sample (“Movie_Overlay.zip”, 345.7K)
Download Sample (“Movie_Overlay.dmg”, 346.8K)



Description

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.

Document Revision History

Date Notes
2008-07-25Updated for QTMovieView.
2003-09-18Shows how to overlay text & graphics and perform animation on an QTMovieView through a floating overlay window.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.