> First of all- I can't call redraw() from Fl_GIF_Image-
> this method does not seem to be available for any of its
> parent classes, but forcing redraw from the front-end
> (for instance in the callback of a button) does not
> result in an updated image frame either.
> 
> This suggests that a copy is made of the image (or at
> least the pointer to the frame that happens to be active
> when Fl_Help_View is first being rendered).

I think that Fl_Help_View uses Fl_Shared_Image to wrap the loaded GIF
file, and when the Help_View is redrawn, it's draw method then uses
either;

- Fl_Shared_Image::get() to fetch the image the first time -or-
- Fl_Shared_Image::find() to fetch the image on any subsequent time.

So, I *guess* that Fl_Shared_Image::find() simply returns a reference to
the image that was loaded by that first call to ::get(), and that maybe
is why you don't see the image animate.

I don't know enough about this to suggest a way forward, however...




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