Rectangles list is STL now.
This commit is contained in:
@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user