Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovieView: why why why...



On mercredi, octobre 3, 2001, at 08:48 , Andrew Platzer wrote:

On Wednesday, October 3, 2001, at 02:58 , Stiphane Sudre wrote:
When you put a NSMovieView above a NSImageView and load a movie, only the volume button is displayed. The other buttons are not drawn.

When you say above, do you mean literally overlapping and not nested?

Overlapping.

Cocoa does not support overlapping views and if you do, it could lead to redraw and mouse click problems.

Hum, I'm not sure to see what kind of problems it should lead to in the case of a NSImageView under a NSMovieView

With a clipping, mouse and drawings should work (it might be a little more complex than what I've already seen when you need to handle transparency but not too much) but would be a little slower.

2 complex cases are: OpenGLView and MovieView (with no transparency support, it's not too complex to support the overlapping of a QuickTime view).

Yet, I know that it produces some problems with common widgets like the NSButton throbbing but it's more due to the implementation of the drawing procedure (which is a good choice) of the NSButton than anything else.

Also, what version of X?

10.1 (5G64)

The fact that the Volume button is corrected drawn and the others are not is quite strange.


References: 
 >Re: NSMovieView: why why why... (From: Andrew Platzer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.