> I use fltk (C++ graphical interface) to create an electronics > design package. I created a list of objects and placed them > on a window. My problem is how to save the file, I think to > create a list in memory for the objects placed on the sheet > and store them in a file. > I think (not sure of course) that xfig for example uses this > procedure ? > > Is there a small fltk program which does something like this > > Is there a tutorial or a link to help me. > thank you
There were some postings in this list a while back (which I can not now find...) about using XML to describe a fltk app - in principle you could use that to save/reload your objects I think. Alternately, if you are wanting to save/load a list of "symbols" representing electronic components and their interconnectivity, you might be able to get something working just using Fl_Preferences to save/restore the list of items... Maybe. SELEX Sensors and Airborne Systems Limited 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

