On 28 May 2008, at 20:54, Marc R.J. Brevoort wrote: > Does something like this exist? If not, how do I go about modifying > the > existing Fl_Roller wheel?
I don't think anything quite like that exists, but I guess you can make something up pretty easy - the fltk valuators (e.g. Fl_Value_Input, Fl_Roller) all respond to mouse drag movement. I guess in a subclassed handle method you could just record the mouse X position on button-down, and pass the delta between current-X and that original-X to the callback? Something like that? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

