On Mar 23, 2007, at 6:00 PM, John Ryan wrote: > each redraw I create a new Fl_RGB_Image using my pixel buffer, is > this the problem? If so, is there a way of changing values within > an already existing image and then redrawing the changes or > rebinding the image to the Fl_Box?
There is no imposed limit by FLTK on how may images you can manage, however most PC's these days have alimited amount of RAM and you seem to be running out of it. Make sure that you really release all memory associated with the images you do not need anymore. Try using a memory leak tool and see what is going on. You can reuse the buffer as well and avoid fragmentation. The code in src/Fl_Image.cxx is pretty easy to read and shows you how it all can be done. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

