|
|
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:
Hello!
In the end I solved my need by checking the yposition every 100ms but want to pick your brains for alternative / better solutions. Thank you!
Best regards, Jakub Holy
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/8f0c4444-d7bc-4405-8324-3cfe75a5ebean%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |