I wanted something similar a few weeks ago (posted it with the title "Problem with redraw() / draw()"). The solution offered to me by some generous fltk fan (I don't remember huis name) was to provide a new callback function for the existing scrollbars in Fl_Scroll and intercept the yposition from there. Very neat! I attach the code with solution.
Op vrijdag 9 september 2022 om 08:29:09 UTC+1 schreef jakubh...@gmail.com:
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.