Re: Cocoa functionality analogous to ValidWindowRect?
Re: Cocoa functionality analogous to ValidWindowRect?
- Subject: Re: Cocoa functionality analogous to ValidWindowRect?
- From: "John C. Randolph" <email@hidden>
- Date: Sat, 5 Nov 2005 06:35:31 -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.
There's nothing like this in Cocoa. A view's content is considered
valid unless you send it a -setNeedsDisplay: or -
setNeedsDisplayInRect: message.
I am porting an application that was written with some portability
hooks
which require this functionality. I'd rather be able to do the
initial port
without having to redesign these internals to avoid needing this
functionality, if at all possible
It's not. You'll have to do some reworking of the drawing logic in
the app you're porting.
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
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