From fc3d3c0a4f110a23335398c327ac0a4fc949d5cb Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 17 Jun 2002 10:13:57 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r12, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/ggee/; revision=13 --- gui/envgen.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 gui/envgen.h (limited to 'gui/envgen.h') diff --git a/gui/envgen.h b/gui/envgen.h new file mode 100755 index 0000000..8db6b43 --- /dev/null +++ b/gui/envgen.h @@ -0,0 +1,50 @@ +#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 pointerx; + int pointery; +} t_wenvgen; + +typedef struct _envgen +{ + t_object x_obj; + + t_float x_val; + + t_float x_slevel; + t_float x_time; + 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_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 -- cgit v1.2.1