Screensavers and Text Flicker
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.