When I tried to create an offscreen buffer in the initialization of my widget, 
it would give me a segmentation fault. Sure enough, when I moved the code to 
the first draw, it would work just fine. So I'm assuming that offscreen buffers 
only work when FLTK is currently drawing, but I wonder why? After all, you're 
not drawing to a window or widget, you're drawing to an offscreen buffer that 
may or may not be related to one.


On a different note, is there a problem with drawing offscreen buffers onto 
themselves(with an offset)? This would be useful to speed up scrolling.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to