CGDisplayFade maximum length in seconds?
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