Hi there, I need some help with double buffering. I made my own fltk class, extending Widget, with a load of drawing code in the "draw()" method. The instance of this class gets redrawn many times a second, so I get some flickering, which I would like to get rid of. I noticed that there is a DoubleBufferWindow class, so that seems like the natural thing to use. But just using that as a superclass to my custom widget doesn't do the trick. What else do I need to do to get rid of the flickering? Is there some "swap buffers" method or something that I need to call in draw()? Any help greatly appreciated!
VA _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

