• 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
ScreenSaver with a subview won't preview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ScreenSaver with a subview won't preview


  • Subject: ScreenSaver with a subview won't preview
  • From: Steve Milano <email@hidden>
  • Date: Mon, 11 Aug 2003 23:08:19 -0700

Are screen effects modules really the black art they seem to be sometimes?

I was messing around with some code from the book "Cocoa Programming" by Anguish, Buck, & Yacktman, and was able to adapt the "LotsOfWords" application from Appendix B to a neat screen saver, er, effects, module. LotsOfWords shows random words from a given list in random sizes and locations, and translated nicely as a screen effect. If you're curious, you can see the result here:

http://do-boy.com/downloads/vocabsaver.sit (236 K)

With a few adjustments, I was able to take the class MYWordView and set it as a subview of the ScreenSaverView. In doing so, I came across a problem that's plagued me every time I've used a subview in a screen saver: The preview doesn't show the screen saver, just a black rectangle. In this case, it turned out to be better to show a static preview anyway, as it takes a while to load the word list, but usually this is not so desirable.

So is there a way to have the preview also show the subview, as the actual screen saver does?

Thanks for any help.


Steve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: ScreenSaver with a subview won't preview
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Query an NSFont: Serif or Sans Serif, is it extended or condensed, etc.
  • Next by Date: Re: ScreenSaver with a subview won't preview
  • Previous by thread: Re: Query an NSFont: Serif or Sans Serif, is it extended or condensed, etc.
  • Next by thread: Re: ScreenSaver with a subview won't preview
  • Index(es):
    • Date
    • Thread