example of a NSScrollView where scrolling is overridden ?
example of a NSScrollView where scrolling is overridden ?
- Subject: example of a NSScrollView where scrolling is overridden ?
- From: Guillaume Laurent <email@hidden>
- Date: Sun, 30 May 2010 11:59:46 +0200
OK this isn't very clear so I'll try to explain my problem.
I need to scroll over a potentially very large area, that area has CALayers, which will themselves "be" very large. That is, they will appear so. So I need to have control over the scrolling so that those "large" CALayers will appear to scroll but actually redrawing their content as appropriate.
From what I gather, I need to override NSScrollView:drawRect and from that to somehow drive the drawing in the underlying NSView, but I'd like to see a working example or something similar, if anybody has some.
Thx,
--
Guillaume
http://telegraph-road.org
_______________________________________________
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