Re: Cocoa functionality analogous to ValidWindowRect?
Re: Cocoa functionality analogous to ValidWindowRect?
- Subject: Re: Cocoa functionality analogous to ValidWindowRect?
- From: Chris Hanson <email@hidden>
- Date: Sat, 5 Nov 2005 08:41:40 -0800
On Nov 3, 2005, at 1:58 PM, Kurt Bigler wrote:
I have not been able to find any functionality in NSView that
corresponds to
the carbon ValidWindowRect call, which marks a rectangular area as not
needing to be redrawn.
You won't be able to do this with AppKit directly. However, if
there's a way to determine when your application objects are "done"
invalidating and re-validating, you can implement your own system to
track which rectangles should be updated. Then when the validations
are complete, you can invoke -[NSView setNeedsDisplayInRect:] on your
window's content view with an appropriate set of rectangles.
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden