Embedding Custom NSView in NSScroller having strange effect on drawRect calls.
Embedding Custom NSView in NSScroller having strange effect on drawRect calls.
- Subject: Embedding Custom NSView in NSScroller having strange effect on drawRect calls.
- From: Billy Flatman <email@hidden>
- Date: Thu, 25 Feb 2010 08:00:52 +0000
>>> Hi all,
>>>
>>> I've written a custom view and done some optimisation of the drawing calls so only the exact areas that need redrawing are passed to the 'setNeedsDisplayInRect' function.
>>>
>>> All was working well, until I embedded my view into an NSScroller.
>>>
>>> Since then my custom view seems to be being invalidated by grid sections.
>>>
>>> I've included a link to some pics to try and better show.
>>>
>>> http://www.flickr.com/photos/47616059@N08/sets/72157623505127258/
>>>
>>> I added the green borders around the dirtyRect area to better show the problem.
>>>
>>> Thanks,
>>>
>>> Billy.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden