Re: Smooth Scrolling
- From: Xavier Bestel <xavier bestel free fr>
- To: Alex Jones <alex weej com>
- Cc: Michael L Torrie <torriem chem byu edu>, gtk-devel-list gnome org
- Subject: Re: Smooth Scrolling
- Date: Tue, 27 Mar 2007 21:38:11 +0200
Le mardi 27 mars 2007 à 18:43 +0100, Alex Jones a écrit :
> I don't really understand the old (nor the IE5 implementation), but
> I'd
> imagine the best way to do it would involve keeping the current scroll
> values and just having something constantly adjust the position of the
> scrolled canvas to follow certain rules.
>
> I'd say, 250ms is probably reasonable - so you could calculate a
> position based on registered scrolling position and actual current
> position. That way if you tell it to scroll loads, it will simply
> scroll
> faster and faster to catch up. In any event, it will be at where you
> told it to be 250ms after you stop scrolling. The relationship should
> be
> eased somehow, mathematically, to give the easiest viewing experience.
[...]
> What do you think?
After playing with Gedit a bit I think GTK+ isn't up to the task of
scrolling fast enough to achieve that.
Xav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]