• 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
Screensavers and Text Flicker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Screensavers and Text Flicker


  • Subject: Screensavers and Text Flicker
  • From: Evan DiBiase <email@hidden>
  • Date: Sat, 6 Apr 2002 13:47:38 -0500

Hello,

I'm writing a screensaver and am trying to add a scrolling line of text to the bottom of it. The problem that I'm having is that when NSForegroundColor is white (drawing on the black background drawn every frame by the ScreenSaverView's superclass), it noticeably flickers as it moves across the screen, where in any other case it doesn't.

What I'm doing, essentially, is having the string's NSPoint's x member decreasing by 1.5 each frame, and then drawing the string after the [super drawRect:] is called.

How might I go about getting rid of this flicker?

-Evan
_______________________________________________
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.

  • Prev by Date: Re: Color entire table view row
  • Next by Date: Re: problem with NSMatrix
  • Previous by thread: Re: Cocoa File Copy on MacOS X
  • Next by thread: Administrators Needed: Learning Cocoa Techstra Book
  • Index(es):
    • Date
    • Thread