From 53003af7f1a9ecbf42b9b39fec7335e97127650b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 20 Oct 2003 03:35:33 +0000 Subject: cleaned up #if; added multiselect help patch svn path=/trunk/externals/markex/; revision=1113 --- alternate.c | 2 +- gem_counter.c | 2 +- invert.c | 2 +- multiselect-help.pd | 38 +++++++++++++++++++++++++++++++++----- multiselect.c | 2 +- oneshot.c | 4 ++-- randomF.c | 2 +- strcat.c | 2 +- tripleLine.c | 2 +- tripleRand.c | 2 +- 10 files changed, 43 insertions(+), 15 deletions(-) diff --git a/alternate.c b/alternate.c index 0042c74..694d903 100644 --- a/alternate.c +++ b/alternate.c @@ -73,7 +73,7 @@ void alternate_setup(void) class_addmethod(alternate_class, (t_method)alternate_list, gensym("list"), A_GIMME, A_NULL); - #if PD_MINOR_VERSION < 37 +#if PD_MINOR_VERSION < 37 class_sethelpsymbol(alternate_class, gensym("alternate-help.pd")); #endif } diff --git a/gem_counter.c b/gem_counter.c index 2c3c476..c3c8236 100644 --- a/gem_counter.c +++ b/gem_counter.c @@ -224,7 +224,7 @@ void gem_counter_setup(void) class_addmethod(gem_counter_class, (t_method)gem_counter_reset, gensym("reset"), A_GIMME, 0); class_addmethod(gem_counter_class, (t_method)gem_counter_clear, gensym("clear"), A_GIMME, 0); - #if PD_MINOR_VERSION < 37 +#if PD_MINOR_VERSION < 37 class_sethelpsymbol(gem_counter_class, gensym("gem_counter-help.pd")); #endif } diff --git a/invert.c b/invert.c index 431f6d3..d8cf37d 100644 --- a/invert.c +++ b/invert.c @@ -37,7 +37,7 @@ void invert_setup(void) sizeof(t_invert), 0, A_NULL); class_addfloat(invert_class, (t_method)invert_float); - #if PD_MINOR_VERSION < 37 +#if PD_MINOR_VERSION < 37 class_sethelpsymbol(invert_class, gensym("invert-help.pd")); #endif } diff --git a/multiselect-help.pd b/multiselect-help.pd index 66276e9..2dc635c 100644 --- a/multiselect-help.pd +++ b/multiselect-help.pd @@ -1,6 +1,34 @@ -#N canvas 0 22 454 304 10; +#N canvas 320 324 484 381 10; #X text 13 14 [multiselect] is part of MarkEx \, which was formerly -in GEM; -#X obj 171 121 multiselect; -#X text 29 209 Unfortunately \, this is undocumented \, so someone -should write a help page for it!; +in GEM \, and was written by Mark Danks.; +#X text 16 52 [multiselect] is like [select] \, except that you send +a list of numbers into the right inlet to change the selection values +instead of only one number as with [select].; +#X text 16 94 If you send more values than there are outlets (i.e. +\, more values that you created the object with) \, the extra numbers +are ignored.; +#X text 19 291 One use for [multiselect] is to filter notes so that +they fit a particular scale and the notes in that scale can be changed +on the fly.; +#X obj 92 345 select; +#X text 21 346 see also:; +#X floatatom 155 209 0 0 0 0 - - -; +#X msg 219 167 1; +#X msg 185 167 54; +#X msg 155 167 23; +#X obj 155 239 multiselect 23 54 1; +#X obj 155 259 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 283 260 5 0 0 0 - - -; +#X obj 197 259 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 240 259 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X connect 6 0 10 0; +#X connect 7 0 6 0; +#X connect 8 0 6 0; +#X connect 9 0 6 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 10 2 14 0; +#X connect 10 3 12 0; diff --git a/multiselect.c b/multiselect.c index 0274d11..cf4fb80 100644 --- a/multiselect.c +++ b/multiselect.c @@ -93,7 +93,7 @@ void multiselect_setup(void) class_addmethod(multiselect_class, (t_method)multiselect_params, gensym("params"), A_GIMME, A_NULL); - #if PD_MINOR_VERSION < 37 +#if PD_MINOR_VERSION < 37 class_sethelpsymbol(multiselect_class, gensym("multiselect-help.pd")); #endif } diff --git a/oneshot.c b/oneshot.c index f1718b2..33aa9d4 100644 --- a/oneshot.c +++ b/oneshot.c @@ -1,4 +1,4 @@ -/* +`/* * Copyright (c) 1997-1999 Mark Danks. * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution. @@ -56,7 +56,7 @@ void oneshot_setup(void) class_addfloat(oneshot_class, (t_method)oneshot_float); class_addbang(oneshot_class, (t_method)oneshot_bang); class_addmethod(oneshot_class, (t_method)oneshot_clear, gensym("clear"), A_NULL); - #if PD_MINOR_VERSION < 37 +#if PD_MINOR_VERSION < 37 class_sethelpsymbol(oneshot_class, gensym("oneshot-help.pd")); #endif } diff --git a/randomF.c b/randomF.c index 20e7683..cce03e6 100644 --- a/randomF.c +++ b/randomF.c @@ -57,7 +57,7 @@ void randomF_setup(void) class_addbang(randomF_class, (t_method)randomF_bang); - #if PD_MINOR_VERSION < 37 +#if PD_MINOR_VERSION < 37 class_sethelpsymbol(randomF_class, gensym("randomF-help.pd")); #endif } diff --git a/strcat.c b/strcat.c index 9e227ce..0ee7262 100644 --- a/strcat.c +++ b/strcat.c @@ -59,7 +59,7 @@ void strcat_setup(void) class_addfloat(strcat_class, (t_method)strcat_float); class_addbang(strcat_class, (t_method)strcat_bang); - #if PD_MINOR_VERSION < 37 +#if PD_MINOR_VERSION < 37 class_sethelpsymbol(strcat_class, gensym("strcat-help.pd")); #endif } diff --git a/tripleLine.c b/tripleLine.c index 88d2336..b70efb9 100644 --- a/tripleLine.c +++ b/tripleLine.c @@ -126,7 +126,7 @@ void tripleLine_setup(void) class_addmethod(tripleLine_class, (t_method)setLineParameters, &s_list, A_GIMME, A_NULL); - #if PD_MINOR_VERSION < 37 +#if PD_MINOR_VERSION < 37 class_sethelpsymbol(tripleLine_class, gensym("tripleLine-help.pd")); #endif } diff --git a/tripleRand.c b/tripleRand.c index db01aa3..bb8ebb0 100644 --- a/tripleRand.c +++ b/tripleRand.c @@ -103,7 +103,7 @@ void tripleRand_setup(void) class_addmethod(tripleRand_class, (t_method)setTripleRandVals, gensym("newVals"), A_GIMME, A_NULL); - #if PD_MINOR_VERSION < 37 +#if PD_MINOR_VERSION < 37 class_sethelpsymbol(tripleRand_class, gensym("tripleRand-help.pd")); #endif } -- cgit v1.2.1