diff options
Diffstat (limited to 'sonogram~')
-rw-r--r-- | sonogram~/sonogram~-help.pd (renamed from sonogram~/help-sonogram~.pd) | 0 | ||||
-rw-r--r-- | sonogram~/sonogram~-joge.c | 3 | ||||
-rw-r--r-- | sonogram~/sonogram~-yves.c | 3 | ||||
-rw-r--r-- | sonogram~/sonogram~.c | 1 | ||||
-rw-r--r-- | sonogram~/sonograph~-help.pd (renamed from sonogram~/help-sonograph~.pd) | 0 |
5 files changed, 4 insertions, 3 deletions
diff --git a/sonogram~/help-sonogram~.pd b/sonogram~/sonogram~-help.pd index ab00898..ab00898 100644 --- a/sonogram~/help-sonogram~.pd +++ b/sonogram~/sonogram~-help.pd diff --git a/sonogram~/sonogram~-joge.c b/sonogram~/sonogram~-joge.c index e9c8927..dc6e6b6 100644 --- a/sonogram~/sonogram~-joge.c +++ b/sonogram~/sonogram~-joge.c @@ -1982,7 +1982,6 @@ void sonogram_tilde_setup(void) post(sonogram_version); sonogram_class = class_new(gensym("sonogram~"), (t_newmethod)sonogram_new, (t_method)sonogram_free, sizeof(t_sonogram), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); - class_sethelpsymbol( sonogram_class, gensym("help-sonogram~.pd") ); // set callbacks sonogram_widgetbehavior.w_getrectfn = sonogram_getrect; @@ -2001,6 +2000,8 @@ void sonogram_tilde_setup(void) #if PD_MINOR_VERSION < 37 || !defined(PD_MINOR_VERSION) sonogram_widgetbehavior.w_propertiesfn = NULL; sonogram_widgetbehavior.w_savefn = sonogram_save; +/* this is needed to make the help patch work on < 0.37 */ + class_sethelpsymbol( sonogram_class, gensym("sonogram~-help.pd") ); #else class_setpropertiesfn(sonogram_class, NULL); class_setsavefn(sonogram_class, &sonogram_save); diff --git a/sonogram~/sonogram~-yves.c b/sonogram~/sonogram~-yves.c index 4886284..02e5f47 100644 --- a/sonogram~/sonogram~-yves.c +++ b/sonogram~/sonogram~-yves.c @@ -1953,7 +1953,6 @@ void sonogram_tilde_setup(void) post(sonogram_version); sonogram_class = class_new(gensym("sonogram~"), (t_newmethod)sonogram_new, (t_method)sonogram_free, sizeof(t_sonogram), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); - class_sethelpsymbol( sonogram_class, gensym("help-sonogram~.pd") ); // set callbacks sonogram_widgetbehavior.w_getrectfn = sonogram_getrect; @@ -1972,6 +1971,8 @@ void sonogram_tilde_setup(void) #if PD_MINOR_VERSION < 37 || !defined(PD_MINOR_VERSION) sonogram_widgetbehavior.w_propertiesfn = NULL; sonogram_widgetbehavior.w_savefn = sonogram_save; +/* this is needed to make the help patch work on < 0.37 */ + class_sethelpsymbol( sonogram_class, gensym("sonogram~-help.pd") ); #else class_setpropertiesfn(sonogram_class, NULL); class_setsavefn(sonogram_class, &sonogram_save); diff --git a/sonogram~/sonogram~.c b/sonogram~/sonogram~.c index 61d12d9..8c1d989 100644 --- a/sonogram~/sonogram~.c +++ b/sonogram~/sonogram~.c @@ -2018,7 +2018,6 @@ void sonogram_tilde_setup(void) post(sonogram_version); sonogram_class = class_new(gensym("sonogram~"), (t_newmethod)sonogram_new, (t_method)sonogram_free, sizeof(t_sonogram), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); - class_sethelpsymbol( sonogram_class, gensym("help-sonogram~.pd") ); // set callbacks sonogram_widgetbehavior.w_getrectfn = sonogram_getrect; diff --git a/sonogram~/help-sonograph~.pd b/sonogram~/sonograph~-help.pd index 4352c3d..4352c3d 100644 --- a/sonogram~/help-sonograph~.pd +++ b/sonogram~/sonograph~-help.pd |