[PD] Tcl error for [knob] and [mknob]

Christof Ressi christof.ressi at gmx.at
Sun Sep 25 20:02:10 CEST 2016


Because in his case, the pd version is only known at runtime.

> Gesendet: Sonntag, 25. September 2016 um 19:21 Uhr
> Von: "patrice colet" <colet.patrice at free.fr>
> An: pd-list at lists.iem.at
> Betreff: Re: [PD] Tcl error for [knob] and [mknob]
>
> Hello,
> 
>   why not using preprocessor expression like
> 
> #if PD_MINOR_VERSION < 47
> 
> ...
> iemgui_all_loadcolors();
> 
> ...
> 
> #endif
> 
> ?
> 
> Le 25/09/2016 à 16:25, Antoine Rousseau a écrit :
> > Hi all
> >
> > in order to try making a mknob that would be compatible with any Pd 
> > version, I still have a problem, with a function that didn't exist 
> > prior to 0.47 (iemgui_all_loadcolors). Would someone have an idea to 
> > "hide" the call of this function when linked by an older version of Pd?
> >
> > Anyway I now have a version of mknob that is working with 0.47. I'll 
> > push it soon.
> >
> >
> > 2016-09-24 5:16 GMT+02:00 Billy Stiltner <billy.stiltner at gmail.com 
> > <mailto:billy.stiltner at gmail.com>>:
> >
> >
> >         while on the subject subject of knobs, would be great to hav
> >         option for integer snapping
> >
> >     its easy to do with a few objects in  a patch
> >
> >     _______________________________________________
> >     Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> >     UNSUBSCRIBE and account-management ->
> >     https://lists.puredata.info/listinfo/pd-list
> >     <https://lists.puredata.info/listinfo/pd-list>
> >
> >
> >
> >
> > -- 
> > Antoine Rousseau
> > http://www.metalu.net <http://metalu.net> __ 
> > http://www.metaluachahuter.com/ 
> > <http://www.metaluachahuter.com/compagnies/al1-ant1/>
> >
> >
> >
> > _______________________________________________
> > Pd-list at lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 
> -- 
> Patrice Colet
> fr: 0632660357
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>



More information about the Pd-list mailing list