• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fwd: CGDisplayFade maximum length in seconds?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: CGDisplayFade maximum length in seconds?


  • Subject: Fwd: CGDisplayFade maximum length in seconds?
  • From: Lon Giese <email@hidden>
  • Date: Tue, 16 May 2006 10:56:50 -0700

You can write your own screen fader and take 15 years to fade the screen if you want, thats what I did... Screen fade only was introduced in 10.3, I had 10.2 and wrote my own fader...

If you like I could dig out the code for you... just curious why do you need more than 12 second?


Begin forwarded message:

On May 15, 2006, at 9:31 PM, Jerry Brace wrote:

Thanks Glenn for that info. Is there any other way to do a screen fade for a specific number of seconds beyond 15? Any help would be great.

Jerry

On 16-May-06, at 1:50 AM, glenn andreas wrote:


On May 15, 2006, at 11:00 PM, Jerry Brace wrote:

Hi Everyone,

I am using CGDisplayFade to fade in/out the screen but I find that if it doesn't seem to use anything pass 12 seconds for the fade time. If I enter 30 for example the fade length is roughly 12/13 seconds. Anyone know how to increase this?

It's 15 seconds, and "you can't":

seconds
The desired number of seconds for the fade operation. You should use a value in the interval [0, kCGMaxDisplayReservationInterval]. If the value is 0, the ending blend color is applied immediately.
where:

#define kCGMaxDisplayReservationInterval	(15.0)




Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures, fractals, art




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Fwd: More Mac like handling of OS raised exceptions
  • Next by Date: Re: Issue with Scroller n Placard in Table view
  • Previous by thread: Re: CGDisplayFade maximum length in seconds?
  • Next by thread: Need help with document, window controllers and bindings.
  • Index(es):
    • Date
    • Thread