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 --- cupd/cupd-help.pd | 19 +++++++++++++++++++ cupd/cupd.c | 2 +- cupd/help-cupd.pd | 19 ------------------- 3 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 cupd/cupd-help.pd delete mode 100644 cupd/help-cupd.pd (limited to 'cupd') diff --git a/cupd/cupd-help.pd b/cupd/cupd-help.pd new file mode 100644 index 0000000..2bd8d67 --- /dev/null +++ b/cupd/cupd-help.pd @@ -0,0 +1,19 @@ +#N canvas 0 0 450 300 10; +#X obj 87 161 cupd; +#X obj 87 94 metro 100; +#X obj 87 56 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 110 134 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X floatatom 87 201 5 0 0 0 - - -; +#X msg 197 102 160; +#X text 109 59 bang counts; +#X text 70 14 cupd counts up ^_^ and down _^_; +#X text 223 101 float sets next; +#X text 132 135 != 0 counts down \, 0 counts up; +#X text 69 235 aaaaah \, simplicity!; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 2 0 1 0; +#X connect 3 0 0 1; +#X connect 5 0 0 0; diff --git a/cupd/cupd.c b/cupd/cupd.c index f699c10..66d42c0 100644 --- a/cupd/cupd.c +++ b/cupd/cupd.c @@ -62,7 +62,7 @@ void cupd_setup(void) 0, sizeof(t_cupd), 0, A_DEFFLOAT, 0); post("cupd counts up ^_^ and down _^_"); - class_sethelpsymbol(cupd_class, gensym("help-cupd")); + class_addbang(cupd_class, cupd_bang); class_addfloat(cupd_class, cupd_float); class_addmethod(cupd_class, (t_method)cupd_setbang, gensym("setbang"), A_DEFFLOAT, 0);} diff --git a/cupd/help-cupd.pd b/cupd/help-cupd.pd deleted file mode 100644 index 2bd8d67..0000000 --- a/cupd/help-cupd.pd +++ /dev/null @@ -1,19 +0,0 @@ -#N canvas 0 0 450 300 10; -#X obj 87 161 cupd; -#X obj 87 94 metro 100; -#X obj 87 56 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X obj 110 134 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 -1; -#X floatatom 87 201 5 0 0 0 - - -; -#X msg 197 102 160; -#X text 109 59 bang counts; -#X text 70 14 cupd counts up ^_^ and down _^_; -#X text 223 101 float sets next; -#X text 132 135 != 0 counts down \, 0 counts up; -#X text 69 235 aaaaah \, simplicity!; -#X connect 0 0 4 0; -#X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 3 0 0 1; -#X connect 5 0 0 0; -- cgit v1.2.1