hi Yves,
I am not sure maintaining state' external is an option, unless there is a way of querying gui objects for their state. Since there is no api with access methods, one would need to take for granted, that the structs declared in g_all_guis.h will not change for some time. But even if there is a (permanent) api, I think the proper place for a
preset' (or `state') class would be alongside Pd gui
internals.
Krzysztof
Yves Degoyon wrote: ...
i must put the highlights on "state" object from ggee . . . it does save the state of sliders, numberboxes, .. and is able to restore them easily.
but, it doen't save all kind of objects ( no toggles, hslider, vslider, ... ) --