[PD] about presets

Yves Degoyon ydegoyon at free.fr
Thu Jun 6 12:12:07 CEST 2002


of course i agree with that,

but the question was : hem , how to do this right now ???

"state" is prone to errors whenever objects structure changes, true .. ok

you might have some problems to set it up ... ok

my advice was just to give it a try..

yves/

Krzysztof Czaja wrote:

> 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, ... ) --
>
>
>





More information about the Pd-list mailing list