• 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
Use of performGammaFade in ScreenSavers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use of performGammaFade in ScreenSavers


  • Subject: Use of performGammaFade in ScreenSavers
  • From: "Chris Donnelly." <email@hidden>
  • Date: Thu, 23 Aug 2001 14:17:55 +1000

Hey I'm a little new to cocoa and ObjC but I can't work out how I am
supposed to get the ScreenSaver interface NOT to gamma fade the screen
to black.
I am needing to 'obtain' the pixel map of the screen to use data from
this for use on texture maps.
I have tried
[performGammaFade NO]; in the initFrame method and also tried what I
think is refered to as overriding this method.
ie
- (BOOL) performGammaFade
{
return NO;
}
I would expect this is wrong due to the declaration being a little
different to routines like 'hasConfigureSheet'. I know it's likely got
something to do with the (+/-) bit.

My second question is regarding access to this big pixmap of the screens
pixels. I would gather it may be part of the 'view' that is inherited.
If someone could confirm this or perhaps suggest where I look.

==============================
performGammaFade

+(BOOL)performGammaFade

Indicates whether the screen saver application should perform a gradual
screen fade when it starts and stops the animation. This class method
allows the screen saver view to select how the desktop visibly
transitions to the screen saver view. If this method returns YES, the
screen will gradually darken before the animation begins. If it returns
NO, the transition will be immediate. The later behavior is more
appropriate if the screen saver animates a screen shot of the desktop,
as is the case for optical lens effects or digital pets. The default is
YES.


--
Chris Donnelly - email@hidden


  • Follow-Ups:
    • Re: Use of performGammaFade in ScreenSavers
      • From: Eric Peyton <email@hidden>
  • Prev by Date: Re: Docs
  • Next by Date: Re: resourcePath
  • Previous by thread: Re: NSURL question
  • Next by thread: Re: Use of performGammaFade in ScreenSavers
  • Index(es):
    • Date
    • Thread