Re: Drawing on top of QTCaptureView
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com On 31 dec 2009, at 08.14, Bengt Nilsson wrote:
I need to draw a cross-hair on top of a QTCaptureView with a video preview from a USB camera. For this app, I am starting from the sample project QTRecorder. I create the cross-hair line in the Interface Builder. Problem is that the video is always on top, overwriting the cross-hair lines. Is there a way to let the cross-hair lines be drawn in front of the video, by some property setting in IB for the lines? I tried different settings, like "move to front", defining "parent", etc., but nothing seems to help. Or do they need to be drawn programatically?
If everything else fails you should at least be able to do this by placing the crosshairs in a separate transparent window that you programmatically position on top of the other window. j o a r _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com
participants (1)
-
Joar Wingfors