> > I note that you have used std::vector to hold the animation > frames... > Yes, mostly due to the need of some sort of dynamic array.
I understand and I do use the vector stuff from time to time in my own code for this very reason... > Of course, if there's a better way to do this which gives > better cross-platform compatibility I'd gladly hear about > it- no harm in making things better! I wouldn't say better... Where the fltk core lib does this, it tends to be implemented "by hand" as linked lists or by malloc/realloc of arrays, so that it only depends on simple "C" techniques that will be portable. This was done in the early days when the support for the std:: stuff was very inconsistent across platforms, and especially in small embedded ones... Whether that constraint is still sensible or valid I do not know. I suspect that it is not, to be honest. 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

