aboutsummaryrefslogtreecommitdiff
path: root/gui/envgen.h
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-09-16 09:06:38 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-09-16 09:06:38 +0000
commit1748ff644c668c9c5be3f646977781b5362b53cf (patch)
treea6c70f29bdf7cc6102d124a50b117057ce5140f6 /gui/envgen.h
parentf743e92854752f0b7baa25a2227469e1a5ef9c31 (diff)
fixed bug when clicking at the very right, added recv symbol
svn path=/trunk/externals/ggee/; revision=975
Diffstat (limited to 'gui/envgen.h')
-rwxr-xr-xgui/envgen.h109
1 files changed, 56 insertions, 53 deletions
diff --git a/gui/envgen.h b/gui/envgen.h
index 905c80a..a3a8721 100755
--- a/gui/envgen.h
+++ b/gui/envgen.h
@@ -1,53 +1,56 @@
-#ifndef __GG_ENVGEN_H__
-#define __GG_ENVGEN_H__
-
-#include "g_canvas.h"
-
-typedef struct _wenvgen {
- t_glist* glist;
- int width;
- int height;
- int numdoodles;
- int grabbed; /* for moving points */
- int shift; /* move 100th */
- float pointerx;
- float pointery;
- t_clock* numclock;
-} t_wenvgen;
-
-typedef struct _envgen
-{
- t_object x_obj;
-
- t_float x_val;
-
- int x_state;
- int last_state;
- int sustain_state;
- int envchanged;
-
- t_float* finalvalues;
- t_float* duration;
- t_float totaldur;
- t_int args; /* get rid of that */
- t_int resizing;
- t_int resizeable;
-
- t_float min;
- t_float max;
-
- t_clock* x_clock;
- t_float x_freeze;
-
- t_outlet* out2;
- /* widget parameters */
- t_wenvgen w;
-} t_envgen;
-
-
-t_widgetbehavior envgen_widgetbehavior;
-void envgen_drawme(t_envgen *x, t_glist *glist, int firsttime);
-int envgen_set_values(t_envgen * x);
-void envgen_resize(t_envgen* x,int ns);
-
-#endif
+#ifndef __GG_ENVGEN_H__
+#define __GG_ENVGEN_H__
+
+#include "g_canvas.h"
+
+typedef struct _wenvgen {
+ t_glist* glist;
+ int width;
+ int height;
+ int numdoodles;
+ int grabbed; /* for moving points */
+ int shift; /* move 100th */
+ float pointerx;
+ float pointery;
+ t_clock* numclock;
+} t_wenvgen;
+
+typedef struct _envgen
+{
+ t_object x_obj;
+
+ t_float x_val;
+
+ int x_state;
+ int last_state;
+ int sustain_state;
+ int envchanged;
+
+ t_float* finalvalues;
+ t_float* duration;
+ t_float totaldur;
+ t_int args; /* get rid of that */
+ t_int resizing;
+ t_int resizeable;
+
+ t_symbol* r_sym;
+ t_symbol* s_sym;
+
+ t_float min;
+ t_float max;
+
+ t_clock* x_clock;
+ t_float x_freeze;
+
+ t_outlet* out2;
+ /* widget parameters */
+ t_wenvgen w;
+} t_envgen;
+
+
+t_widgetbehavior envgen_widgetbehavior;
+void envgen_drawme(t_envgen *x, t_glist *glist, int firsttime);
+int envgen_set_values(t_envgen * x);
+void envgen_resize(t_envgen* x,int ns);
+
+#endif