On Mon, Aug 15, 2011 at 02:18:33PM -0400, saulgoode@flashingtwelve.brickfilms.com wrote:
Quoting Jorge Arellano Cid <jcid@dillo.org>:
Please try dillo-3.0-pre, following these directions [1]. Then report back how it goes.
With that build, the horizontal scroll buttons are inactive. To my mind this is satisfactory behavior as it does not interfere with the vertical scrolling of the mouse wheel (previously the only way to restore vertical wheel scrolling was to restart the program).
Good! This looks like an issue with fltk-1.3. FWIW, inside fltk-1.3 src/Fl_x.cxx:1443, there's no code to handle those buttons. Having something like the following may be worth a try (if you're a coder): if (xevent.xbutton.button == Button4) { Fl::e_dy = -1; // Up event = FL_MOUSEWHEEL; } else if (xevent.xbutton.button == Button5) { Fl::e_dy = +1; // Down event = FL_MOUSEWHEEL; + } else if (xevent.xbutton.button == Button6) { + Fl::e_dx = -1; // Left + event = FL_MOUSEWHEEL; + } else if (xevent.xbutton.button == Button7) { + Fl::e_dx = +1; // Right + event = FL_MOUSEWHEEL; } else { Fl::e_state |= (FL_BUTTON1 << (xevent.xbutton.button-1)); event = FL_PUSH; checkdouble(); }
Thank you for your response.
:) -- Cheers Jorge.-
On Tue, 16 Aug 2011 12:03:39 -0400, Jorge Arellano Cid wrote:
On Mon, Aug 15, 2011 at 02:18:33PM -0400, saulgoode at flashingtwelve.brickfilms.com wrote:
Quoting Jorge Arellano Cid <jcid at dillo.org>:
Please try dillo-3.0-pre, following these directions [1]. Then report back how it goes.
With that build, the horizontal scroll buttons are inactive. To my mind this is satisfactory behavior as it does not interfere with the vertical scrolling of the mouse wheel (previously the only way to restore vertical wheel scrolling was to restart the program).
Good!
This looks like an issue with fltk-1.3.
FWIW, inside fltk-1.3 src/Fl_x.cxx:1443, there's no code to handle those buttons. Having something like the following may be worth a try (if you're a coder):
if (xevent.xbutton.button == Button4) { Fl::e_dy = -1; // Up event = FL_MOUSEWHEEL; } else if (xevent.xbutton.button == Button5) { Fl::e_dy = +1; // Down event = FL_MOUSEWHEEL; + } else if (xevent.xbutton.button == Button6) { + Fl::e_dx = -1; // Left + event = FL_MOUSEWHEEL; + } else if (xevent.xbutton.button == Button7) { + Fl::e_dx = +1; // Right + event = FL_MOUSEWHEEL; } else { Fl::e_state |= (FL_BUTTON1 << (xevent.xbutton.button-1)); event = FL_PUSH; checkdouble(); }
That doesn't work (for me). Button6/7 aren't defined, or something. Does anybody have horizontal scrolling working?
Dennis wrote:
On Tue, 16 Aug 2011 12:03:39 -0400, Jorge Arellano Cid wrote:
On Mon, Aug 15, 2011 at 02:18:33PM -0400, saulgoode at flashingtwelve.brickfilms.com wrote:
Quoting Jorge Arellano Cid <jcid at dillo.org>:
Please try dillo-3.0-pre, following these directions [1]. Then report back how it goes.
With that build, the horizontal scroll buttons are inactive. To my mind this is satisfactory behavior as it does not interfere with the vertical scrolling of the mouse wheel (previously the only way to restore vertical wheel scrolling was to restart the program).
Good!
This looks like an issue with fltk-1.3.
FWIW, inside fltk-1.3 src/Fl_x.cxx:1443, there's no code to handle those buttons. Having something like the following may be worth a try (if you're a coder):
if (xevent.xbutton.button == Button4) { Fl::e_dy = -1; // Up event = FL_MOUSEWHEEL; } else if (xevent.xbutton.button == Button5) { Fl::e_dy = +1; // Down event = FL_MOUSEWHEEL; + } else if (xevent.xbutton.button == Button6) { + Fl::e_dx = -1; // Left + event = FL_MOUSEWHEEL; + } else if (xevent.xbutton.button == Button7) { + Fl::e_dx = +1; // Right + event = FL_MOUSEWHEEL; } else { Fl::e_state |= (FL_BUTTON1 << (xevent.xbutton.button-1)); event = FL_PUSH; checkdouble(); }
That doesn't work (for me). Button6/7 aren't defined, or something. Does anybody have horizontal scrolling working?
I saw that there was a commit in June: http://fltk.org/newsgroups.php?s6952+gfltk.commit+v6955+T0 It uses 6/7 instead of Button6/Button7.
participants (3)
-
corvid@lavabit.com
-
dennisn@dennisn.dyndns.org
-
jcid@dillo.org