• 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
CGDisplayFade maximum length in seconds?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGDisplayFade maximum length in seconds?


  • Subject: CGDisplayFade maximum length in seconds?
  • From: Jerry Brace <email@hidden>
  • Date: Tue, 16 May 2006 01:30:25 -0230

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?

CGDisplayFadeReservationToken reservationToken;
    CGAcquireDisplayFadeReservation(kCGMaxDisplayReservationInterval,
                                    &reservationToken);

    CGDisplayFade(reservationToken,
                  30,
                  kCGDisplayBlendNormal,
                  kCGDisplayBlendSolidColor,
                  0.0, 0.0, 0.0,
                  true);

	CGReleaseDisplayFadeReservation(reservationToken);


Thanks, Jerry _______________________________________________ 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
  • Follow-Ups:
    • Re: CGDisplayFade maximum length in seconds?
      • From: glenn andreas <email@hidden>
  • Prev by Date: Is NSPopUpButton KVO compliant?
  • Next by Date: Re: CGDisplayFade maximum length in seconds?
  • Previous by thread: Re: Is NSPopUpButton KVO compliant?
  • Next by thread: Re: CGDisplayFade maximum length in seconds?
  • Index(es):
    • Date
    • Thread