Re: Smooth fast scrolling programatically
Re: Smooth fast scrolling programatically
- Subject: Re: Smooth fast scrolling programatically
- From: Rolf <email@hidden>
- Date: Mon, 26 May 2003 15:02:23 +0200
Thanks. I have checked - its not being redrawn completely. I think the problem is NSTimer which is not accurate enough for this use with the interval being so small. Maybe I'll have to resort to a busy-wait loop inside a seperate thread ?
/Rolf
26.05.2003 12:32:23, skrev John Hvrnkvist <email@hidden>:
>
>
On Monday, May 26, 2003, at 12:17 Europe/Stockholm, Rolf wrote:
>
>
> My app has a panel with a (wide) NSIMageView inside a (narrow)
>
> NSScrollView. The NSImageView is supposed to scroll smoothly and
>
> quickly inside the NSScrollView from one end to the other
>
> (horizontally). The range is around 300 pixels. The problem is that
>
> the scrolling is not as smooth
>
> as I'd like - its actually quite jerky (on a G4 667 MHz). The app is
>
> performing no other tasks while the scrolling is going on. What can be
>
> done to create a perfectly smooth (& quick) scrolling ?
>
>
Have you used QuartzDebug to check that the scroll view isn't being
>
redrawn completely for each scroll "step"?
>
>
/John
_______________________________________________
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.