I'm about to check in some mods that move the scrollbar calculations
to a new protected method (which should solve STR#1895), as well as
handling the new global scrollsize stuff.
Would like to hold the checkin though until someone familiar
with Fl_Scroll has time to look it over when I check it in.
Tested with the fltk/test/scroll program in all the variations
of scrollbar positions, and tested with my separate program for
exercising the local+global scrollbar size methods.
To solve STR#1895, I made a small protected ScrollInfo struct
and a new protected Fl_Scroll::recalc_scrollbars() method
to handle the calculations, eg:
ScrollInfo si;
recalc_scrollbars(si);
Someone deriving a class from Fl_Scroll should be able to use this
to do the scrollbar calculations STR#1895 is looking for.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev