aboutsummaryrefslogtreecommitdiff
path: root/src/increment.c
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-01 15:47:28 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-01 15:47:28 +0000
commit0efb9908a5930c4d3fb9aa796d79b0c4b4fde6a4 (patch)
treea56d3255a78487e0abd63b3d51b5be888150802c /src/increment.c
parent1b0c060a98575bb8d1d793d49c4be8baa21608ff (diff)
Added a reset inlet to increment
svn path=/trunk/externals/tof/; revision=12507
Diffstat (limited to 'src/increment.c')
-rw-r--r--src/increment.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/increment.c b/src/increment.c
index 25e7924..b5a8a59 100644
--- a/src/increment.c
+++ b/src/increment.c
@@ -119,6 +119,9 @@ void *increment_new(t_symbol *s, int argc, t_atom *argv)
floatinlet_new(&x->x_obj, &x->inc);
+ inlet_new(&x->x_obj, &x->x_obj.ob_pd,
+ gensym("bang"), gensym("reset"));
+
x->outlet1 = outlet_new(&x->x_obj, &s_float);
//x->outlet2 = outlet_new(&x->x_obj, &s_float);