On 08.01.2008, at 15:59, Stan wrote:

> [..]
>> 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?


Yes, in a better world. But first of all, Fl_Scroll is due to ABI  
constrints limited to widget coordinates in the signed 16 bit range.  
It is also not optimized for huge numbers of widgets.

In this optimization I use the fact that his widgets are in a grid- 
like structure which makes it very easy to predict visiblity of each  
widget. An assumption that the Fl_Scroll can not do.

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to