On Tue, 17 Aug 2010, MacArthur, Ian (SELEX GALILEO, UK) wrote:

>> has anyone written a replacement GIF image class that
>> can also handle animated GIFs?
>
> I don't know of one, though I recall that Yuri had a simple game that
> did something like that - Yuri D'Elia (wavexx) regame2.
> OK - looking at that now, it is not animated GIF's he's using, he's
> manipulating PNG's with GL, so probably not what you want.
> Might still be worth a look though.

I'll give it a look- but it's already starting to
sound like updating the existing GIF class to
handle animations as well may be the way to go.

Would there be any issues to be expected with setting
up a timer callback inside the draw() event? This would
allow the GIF object to 'damage' itself for redrawing
whenever it's time for the next frame to be displayed.

It then is just a matter of having the draw() routine
display the correct frame depending on the current
time.

Best,
Marc

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

Reply via email to