Rectangles list is STL now.

This commit is contained in:
2025-08-07 23:54:51 -04:00
parent eaee41750d
commit 905fdbf0dd
3 changed files with 23 additions and 29 deletions

View File

@ -99,8 +99,9 @@ void FltkViewBase::draw ()
if ((d & FL_DAMAGE_USER1) && !(d & FL_DAMAGE_EXPOSE)) {
lout::container::typed::Iterator <core::Rectangle> it;
for (it = drawRegion.rectangles (); it.hasNext (); ) {
draw (it.getNext (), DRAW_BUFFERED);
for( auto &rectangle: drawRegion )
{
draw( rectangle.get(), DRAW_BUFFERED );
}
drawRegion.clear ();