aboutsummaryrefslogtreecommitdiff
path: root/exciter/exciter.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-16 08:13:16 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-16 08:13:16 +0000
commitd553c8c877c2969345b1e237e08a40be05a9babd (patch)
tree24d653e8d2e04ce121dd1f6c44b7cb970621aa22 /exciter/exciter.h
parent46c90cd0fc550312658d6c35025d2eb57da1519e (diff)
added files straight from Yves' sources
svn path=/trunk/externals/unauthorized/; revision=855
Diffstat (limited to 'exciter/exciter.h')
-rw-r--r--exciter/exciter.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/exciter/exciter.h b/exciter/exciter.h
new file mode 100644
index 0000000..81076a1
--- /dev/null
+++ b/exciter/exciter.h
@@ -0,0 +1,34 @@
+/* Copyright (c) 2002 Yves Degoyon
+* For information on usage and redistribution, and for a DISCLAIMER OF ALL
+* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
+
+/* a header for exciter which enables
+* to trigger bang events scheduled with the mouse
+*/
+
+#ifndef __G_EXCITER_H
+#define __G_EXCITER_H
+
+typedef struct _exciter
+{
+ t_object x_obj;
+ t_glist *x_glist;
+ t_outlet **x_bangs;
+ t_int x_height; /* height of the exciter */
+ t_int x_width; /* width of the exciter */
+ t_int x_nbevents; /* number of simultaneous events */
+ t_float x_timegrain; /* time granularity for one pixel */
+ t_int *x_sbangs; /* scheduled bangs */
+ int x_selected; /* stores selected state */
+ int x_loop; /* looping flag */
+ int x_save; /* saving contents flag */
+
+ /* internal processing */
+ long long x_plooptime; /* initial time */
+ long long x_reltime; /* elapsed time since start */
+ long long x_looplength; /* length of a loop */
+ t_int x_started; /* start flag */
+ t_int x_gindex; /* last scanned index */
+} t_exciter;
+
+#endif