Hi there, This may be a stupid question. I'm fairly new to C++. I'm wanting to use two Fl_Scrollbars with float values rather then integers.
In Fl_Scrollbars documentation, it states; Scrollbars have step(1) preset (they always return integers). If desired you can set the step() to non-integer values. You will then have to use casts to get at the floating-point versions of value() from Fl_Slider. However Fl_Slider doesn't have a value() function. It has scrollvalue() but like Fl_Scrollbar, that uses integers as well. I can get around this by using basic math but it would be cleaner if I could use floats instead. It's not a big concern. I'm just wondering if this paragraph is out of date. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

