DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending] Link: http://www.fltk.org/str.php?L2795 Version: 1.3-current Fix Version: 1.4-feature (r9232) @Domingo: Yes, optimization in this case was wrt the tree being used to contain its native 'items', and not as a container for Fl_Widgets. So the native items are optimized: they aren't drawn if they're outside the viewing window. But I think you're right if the tree is a container for Fl_Widgets, currently all of those widgets are being drawn regardless. This is because it's letting Fl_Group handle drawing them (when Fl_Tree::draw() calls draw_children()). It should probably have its own children() loop that checks the xywh of each child, and only draw it if it's inside the scrolled position (probably similar to what Fl_Scroll does). Link: http://www.fltk.org/str.php?L2795 Version: 1.3-current Fix Version: 1.4-feature (r9232) _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
