On 23 Mar 2007, at 17:00, John Ryan wrote: > Good afternoon,
Hey, it's evening here, but whatever... > > each redraw I create a new Fl_RGB_Image using my pixel buffer, is > this the problem? Literally use the keyword "new" for each image? That's probably wasteful - if only one image is visible you can release then re-use the one image object... See the pixmap_browser demo, around line 47 or so, and see how it re- uses the one shared image object for every file it loads. > 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's a howto that covers some of this here: http://www.fltk.org/ articles.php?L468 The worked example might point you in the right direction. Cheers, -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

