> Thank you for all the help with my animated GIF
> question. I've now got the possibility to work
> with animated GIFs with (nearly) no extra effort
> compared to regular GIF images.
> I guess this solution is as close to ideal as
> I could wish for.

Marc,

Haven't had a chance to try this, but it looks like fun...

One question though; does an Fl_GIF_Image widget have a concept of who
its parent is?

If so, in ::animate() then maybe this line that is commented out:

        mythis->select_frame(mythis->currframe);
        //((Fl_Widget*)mythis)->redraw();

Could instead call redraw on the parent() instead?

        ((Fl_Widget*)(mythis->parent())->redraw();

Or, if an Fl_GIF_Image does not have a "parent" then we could maybe add
a method and a class member so that we could assign a "container" widget
to the Image, and when the timeout fires, if the "container" is
non-Null, it would call redraw on the container...

I'm just trying out a few ideas for how we might get the animation to
"expose" correctly - haven't tried these things, so you probably have a
better grasp of what is practical here.

Thoughts?

-- 
Ian

SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to