aboutsummaryrefslogtreecommitdiff
path: root/exciter.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-07-31 03:59:16 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commitd145fa6f792d6c44da2feec90507adb94e40323e (patch)
treeae3aaf213dbb4273331745802ef1259dce8e2986 /exciter.h
parent67af8f6b3f179d5b4ba0747ab971abbeecbedd45 (diff)
got everything building using the template Makefile
svn path=/trunk/externals/unauthorized/; revision=15173
Diffstat (limited to 'exciter.h')
-rw-r--r--exciter.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/exciter.h b/exciter.h
new file mode 100644
index 0000000..81076a1
--- /dev/null
+++ b/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