Re: setNeedsDisplayInRect: rect NO ????
Re: setNeedsDisplayInRect: rect NO ????
- Subject: Re: setNeedsDisplayInRect: rect NO ????
- From: Ondra Cada <email@hidden>
- Date: Sat, 16 Nov 2002 17:59:46 +0100
On Saturday, November 16, 2002, at 04:01 , Andreas Mayer wrote:
Does anyone know if it is possible to 'validate' a rectangular area
in Cocoa as opposed to the entire visible area ? It seems this ability
is missing in Cocoa.
Um. Maybe I missed something,
I fear so...
From the documentation of NSView:
----
setNeedsDisplayInRect:
- (void)setNeedsDisplayInRect:(NSRect)invalidRect
----
...since the documentation goes on:
"... increasing the receiver's existing invalid region to include it..."
So far as I understand the original question, the goal was to decrease the
invalid region (which I regret to say I dunno howto, but for the
setNeedsDisplay:NO which clears it altogether).
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.