Marc R.J. Brevoort wrote:

> each GIF frame can have a different duration. This is easier to
> implement by setting up single add_timeouts as needed rather than
> repeat_timeouts, but probably run less efficiently.

As Ian wrote already, each time you call add/repeat_timeout, you
have to specify the (next frame's display) time anyway.

> Also, I suppose
> the increment-and-wrap-to-0 could still figure out which frame to
> display based on the total time that has passed,

This should be much easier because you have the next image's index
anyway, so you can also have its display time (as stored somewhere
when loading the gif image(s) from the file).

> so it should not really be an issue.

Yep.

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

Reply via email to