Correct. Nothing happens until the window is 'flushed' (which
normally happens in the event loop). It is one of the joys of
programming on the Mac (compared to Windows).
Paul Sanders
- Original Message -
From: David Blanton aired...@tularosa.net
To: cocoa-dev List
Great and thanks! Now, if my app is a Cocoa document-based
application where do I implement
initWithContentRect:styleMask:backing:defer:
-db
On Jan 8, 2010, at 1:48 PM, Paul Sanders wrote:
Correct. Nothing happens until the window is 'flushed' (which
normally happens in the event loop).
I guess I just choose Buffered in Window Attributes in IB.
On Jan 8, 2010, at 1:56 PM, David Blanton wrote:
Great and thanks! Now, if my app is a Cocoa document-based
application where do I implement
initWithContentRect:styleMask:backing:defer:
-db
On Jan 8, 2010, at 1:48 PM, Paul Sanders
Indeed. In fact, all other backing store types are now
deprecated.
Paul Sanders.
- Original Message -
From: David Blanton aired...@tularosa.net
To: cocoa-dev List cocoa-dev@lists.apple.com
Sent: Friday, January 08, 2010 9:06 PM
Subject: Re: Flicker Free Drawing
I guess I just choose
On 8 Jan 2010, at 21:06, David Blanton wrote:
I guess I just choose Buffered in Window Attributes in IB.
Buffered is the default. So by default, you do precisely nothing.
You can still achieve flickery drawing if you try hard, of course, but you have
to do it deliberately one way or another.