From 5879bc9332a97d74274f79a1b9207928b3f2c11b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 29 Sep 2007 21:36:48 +0000 Subject: renamed help files to standard name and removed class_sethelpsymbol since it is unnecessary and gets in the way svn path=/trunk/externals/ekext/; revision=8774 --- valve/help-valve.pd | 34 ---------------------------------- valve/valve-help.pd | 34 ++++++++++++++++++++++++++++++++++ valve/valve.c | 2 +- 3 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 valve/help-valve.pd create mode 100644 valve/valve-help.pd (limited to 'valve') diff --git a/valve/help-valve.pd b/valve/help-valve.pd deleted file mode 100644 index d5c7cef..0000000 --- a/valve/help-valve.pd +++ /dev/null @@ -1,34 +0,0 @@ -#N canvas 0 0 450 300 10; -#X obj 126 189 valve; -#X msg 60 46 map 0 0 1 1 1 1 0 0; -#X obj 21 82 loadbang; -#X text 116 66 ^; -#X text 116 68 |; -#X text 116 78 |; -#X text 116 88 |; -#X text 116 98 |; -#X msg 115 114 2; -#X floatatom 103 233 5 0 0 0 - - -; -#X floatatom 166 233 5 0 0 0 - - -; -#X msg 194 104 4; -#X text 145 66 ^; -#X text 145 68 |; -#X text 145 78 |; -#X text 145 88 |; -#X text 145 98 |; -#X text 171 66 ^; -#X text 171 68 |; -#X text 171 68 |; -#X text 171 78 |; -#X text 171 78 |; -#X text 175 78 _________; -#X msg 240 82 6; -#X text 149 98 ______; -#X connect 0 0 9 0; -#X connect 0 1 10 0; -#X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 2 0 8 0; -#X connect 8 0 0 1; -#X connect 11 0 0 0; -#X connect 23 0 0 0; diff --git a/valve/valve-help.pd b/valve/valve-help.pd new file mode 100644 index 0000000..d5c7cef --- /dev/null +++ b/valve/valve-help.pd @@ -0,0 +1,34 @@ +#N canvas 0 0 450 300 10; +#X obj 126 189 valve; +#X msg 60 46 map 0 0 1 1 1 1 0 0; +#X obj 21 82 loadbang; +#X text 116 66 ^; +#X text 116 68 |; +#X text 116 78 |; +#X text 116 88 |; +#X text 116 98 |; +#X msg 115 114 2; +#X floatatom 103 233 5 0 0 0 - - -; +#X floatatom 166 233 5 0 0 0 - - -; +#X msg 194 104 4; +#X text 145 66 ^; +#X text 145 68 |; +#X text 145 78 |; +#X text 145 88 |; +#X text 145 98 |; +#X text 171 66 ^; +#X text 171 68 |; +#X text 171 68 |; +#X text 171 78 |; +#X text 171 78 |; +#X text 175 78 _________; +#X msg 240 82 6; +#X text 149 98 ______; +#X connect 0 0 9 0; +#X connect 0 1 10 0; +#X connect 1 0 0 0; +#X connect 2 0 1 0; +#X connect 2 0 8 0; +#X connect 8 0 0 1; +#X connect 11 0 0 0; +#X connect 23 0 0 0; diff --git a/valve/valve.c b/valve/valve.c index 5762201..a83808c 100644 --- a/valve/valve.c +++ b/valve/valve.c @@ -114,7 +114,7 @@ void valve_setup(void) post("|¬~¬~¬~¬~¬~¬valve~¬~¬~¬~¬~¬~¬|"); post("|~>^^^integer map router^^^<¬|"); post("|¬~¬~¬Edward Kelly 2007~¬~¬~¬|"); - class_sethelpsymbol(valve_class, gensym("help-valve")); + class_addfloat(valve_class, valve_float); class_addmethod(valve_class, (t_method)valve_set, gensym("set"), A_DEFFLOAT, A_DEFFLOAT, 0); class_addmethod(valve_class, (t_method)valve_map, gensym("map"), A_GIMME, 0); -- cgit v1.2.1