On Mar 23, 2007, at 9:26 PM, gga wrote:

> I was wondering if anyone had developed a portable library to allow
> marshalling of fltk widgets.  Or if someone could recommend a good way
> to do it under fltk2.
> What I mean by that is a library that allows saving out the widget
> positions, parenting relationships, images and others onto a
> configuration file.
> The use for this would be to allow the user a better configuration of
> the interface.
> A more elaborate version of the same would also allow for the creation
> of "skins".

Fluid would be about half way there in that you can visually create  
your setup. I was pushing for making Fluid-files run-time readable,  
but got only negative feedback as the concept of Fast and Light may  
be at risk. After thinking this over, I think I have to agree. It's  
one of those "would be nice" features.

But apart from that, it is very easy to write a function that walks  
the widget tree and writes out some information. For a complete file,  
you'd need some runtime type checking though.

----
http://robowerk.com/


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

Reply via email to