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 --- cup/cup-help.pd | 47 +++++++++++++++++++++++++++++++++++++++++++++++ cup/cup.c | 2 +- cup/help-cup.pd | 47 ----------------------------------------------- 3 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 cup/cup-help.pd delete mode 100644 cup/help-cup.pd (limited to 'cup') diff --git a/cup/cup-help.pd b/cup/cup-help.pd new file mode 100644 index 0000000..ea1a27f --- /dev/null +++ b/cup/cup-help.pd @@ -0,0 +1,47 @@ +#N canvas 0 22 433 272 10; +#X obj 71 134 cup; +#X msg 133 118 0; +#X msg 177 118 25; +#X msg 220 118 -67; +#X text 153 89 set to float; +#X text 130 100 (but do not output); +#X obj 71 81 metro 500; +#X obj 71 62 loadbang; +#X floatatom 71 156 5 0 0 0 - - -; +#X text 196 24 cup counts up ^_^; +#X text 165 46 it's the simplest counter there is; +#X text 184 70 why waste cpu power on counting?; +#X text 106 236 Ed; +#X text 71 198 someday I may write a haiku poem about it; +#X msg 280 119 setbang 198; +#X text 278 103 set and output; +#N canvas 0 0 450 300 simplecounter 0; +#X obj 107 147 cup; +#X msg 138 147 0; +#X msg 107 80 1; +#X floatatom 107 191 5 0 0 0 - - -; +#X obj 107 63 loadbang; +#X obj 107 97 metro 200; +#X text 228 190 don't forget the delay 0!; +#X obj 174 172 select 10; +#X obj 174 189 delay 0; +#X text 80 233 cup counts up from float; +#X text 79 248 simplicity helps me think; +#X text 80 263 organise my patch; +#X text 81 218 ______A_CUP_HAIKU_______; +#X connect 0 0 3 0; +#X connect 0 0 7 0; +#X connect 1 0 0 0; +#X connect 2 0 5 0; +#X connect 4 0 2 0; +#X connect 5 0 0 0; +#X connect 7 0 8 0; +#X connect 8 0 1 0; +#X restore 230 158 pd simplecounter; +#X connect 0 0 8 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 6 0 0 0; +#X connect 7 0 6 0; +#X connect 14 0 0 0; diff --git a/cup/cup.c b/cup/cup.c index 4211c59..7876e69 100644 --- a/cup/cup.c +++ b/cup/cup.c @@ -43,7 +43,7 @@ void cup_setup(void) 0, sizeof(t_cup), 0, A_DEFFLOAT, 0); post("cup counts up ^_^"); - class_sethelpsymbol(cup_class, gensym("help-cup")); + class_addbang(cup_class, cup_bang); class_addfloat(cup_class, cup_float); class_addmethod(cup_class, (t_method)cup_setbang, gensym("setbang"), A_DEFFLOAT, 0);} diff --git a/cup/help-cup.pd b/cup/help-cup.pd deleted file mode 100644 index ea1a27f..0000000 --- a/cup/help-cup.pd +++ /dev/null @@ -1,47 +0,0 @@ -#N canvas 0 22 433 272 10; -#X obj 71 134 cup; -#X msg 133 118 0; -#X msg 177 118 25; -#X msg 220 118 -67; -#X text 153 89 set to float; -#X text 130 100 (but do not output); -#X obj 71 81 metro 500; -#X obj 71 62 loadbang; -#X floatatom 71 156 5 0 0 0 - - -; -#X text 196 24 cup counts up ^_^; -#X text 165 46 it's the simplest counter there is; -#X text 184 70 why waste cpu power on counting?; -#X text 106 236 Ed; -#X text 71 198 someday I may write a haiku poem about it; -#X msg 280 119 setbang 198; -#X text 278 103 set and output; -#N canvas 0 0 450 300 simplecounter 0; -#X obj 107 147 cup; -#X msg 138 147 0; -#X msg 107 80 1; -#X floatatom 107 191 5 0 0 0 - - -; -#X obj 107 63 loadbang; -#X obj 107 97 metro 200; -#X text 228 190 don't forget the delay 0!; -#X obj 174 172 select 10; -#X obj 174 189 delay 0; -#X text 80 233 cup counts up from float; -#X text 79 248 simplicity helps me think; -#X text 80 263 organise my patch; -#X text 81 218 ______A_CUP_HAIKU_______; -#X connect 0 0 3 0; -#X connect 0 0 7 0; -#X connect 1 0 0 0; -#X connect 2 0 5 0; -#X connect 4 0 2 0; -#X connect 5 0 0 0; -#X connect 7 0 8 0; -#X connect 8 0 1 0; -#X restore 230 158 pd simplecounter; -#X connect 0 0 8 0; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 3 0 0 0; -#X connect 6 0 0 0; -#X connect 7 0 6 0; -#X connect 14 0 0 0; -- cgit v1.2.1