On Wed, 18 Aug 2010, Albrecht Schlosser wrote:

> Sounds all fairly easy if you know how to load and display one
> particular picture of the animated gif image set.

The data() method seems to take care of supplying
a pointer to the image data to the renderer. So
as long as all images are available as decoded image
data in memory, that should be simple enough.

All that's left then, is to actually decode all the
frames when loading the image and to properly free
the memory (as needed) on object destruction. The
tricky part there would be to make sure that the
active frame does not get freed twice, as Fl_Pixmap
cleans up after itself.

Best,
Marc

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to