Hey Andy,

It's not really the cpu cycles that I'm worried about. It's how quickly a large number of windows closes. I'm fading each window for 1/2 second, in order of appearance. It looks really nice, but there isn't really a need to fade the windows that aren't visible and in fact, causes it to appear as if nothing is happening if a large number of non-exposed windows are faded before the exposed ones are.

Jason

On Aug 15, 2008, at 5:09 PM, Andy Lee wrote:

On Aug 15, 2008, at 2:18 PM, Jason Bobier wrote:
I'd like to fade my window out if any portion of it is visible to the user, otherwise I simply want to close it for speed. Is there an easy way to determine if some portion of the window is visible?

Offhand I'd say if they can't see it, they can't tell how long it's taking to fade away, and I suspect the few extra CPU cycles used for the fade would be negligible.

--Andy



_______________________________________________

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to