manolo gouy wrote:
> Greg: the patch regarding the missing right and middle drag events
> is for sure correct.
Great; at very least I'll check the right/middle drag in,
as there seems no problem with that.
> For the other one, some testing seems needed to make sure that
> wheel movements don't become exagerately fast after this
> multiplication by 10.
Right. Might need some more massaging.
With the x10 patch applied, I compared mousewheel scrolling
of the FLTK editor program and Apple's own TextEditor.
In the FLTK editor, one click would scroll up 3 lines,
and with 5 quick spins, I could get the FLTK editor
to scroll from one end of a 8000 line document to the other.
So it's definitely a little too sensitive.
In Apple's text editor, it took 10 single clicks of the mousewheel
to scroll /one line/ (madness). So I guess they're taking the 0.10
wheel value literally. It took about 20 quick spins to move only
1/8 of the way through the document.
In these cases, I'd say Apple's is too slow, and FLTK's is too fast.
So maybe a better thing would be to scale by 5 and add 0.5,
so that .1 would become (.1 * 5 + 0.5) = 1.0.
Or maybe just assume anything less than 1 is 1,
and don't scale at all.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev