[..] > > Now comes the trick: in the custom top level group, rewrite the draw() > and the handle() function, so that any subgroup that is invisible is > never handled or drawn. For example, only row 256 to 310 are visible, > so don't bother forwarding handle() or draw() events to rows 0 to 255 > or rows 311 to 999. Already we have reduced the number of widgets > involved by 95%. > > Now do the same with each individual row: rewrite the handle function > to only consider widgets that are actually visible. [..]
In a better world, isn't this exactly what Fl_Scroll would do? Just my $.02. About .0134 Euro, perhaps. Best, Stan _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

