aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2004-05-18 00:46:49 +0000
committerN.N. <sevyves@users.sourceforge.net>2004-05-18 00:46:49 +0000
commit7fea73bdea625b55fc9e9e2a01a4fdfa4d623a7f (patch)
treea888ebe3cd3110338666090c7d1159a8ee762ebd /include
parentebe6bf999cc1dc18e500510c49fcea974c5fbfef (diff)
Definitions for pdp_colorgrid
svn path=/trunk/externals/pidip/; revision=1731
Diffstat (limited to 'include')
-rwxr-xr-xinclude/g_colorgrid.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/include/g_colorgrid.h b/include/g_colorgrid.h
new file mode 100755
index 0000000..8007ffa
--- /dev/null
+++ b/include/g_colorgrid.h
@@ -0,0 +1,39 @@
+/* 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 pdp_colorgrid which enables to control
+* 2 parameters with the mouse cursor
+*/
+
+#ifndef __G_COLORGRID_H
+#define __G_COLORGRID_H
+
+typedef struct _pdp_colorgrid
+{
+ t_object x_obj;
+ t_glist *x_glist;
+ t_symbol *x_name;
+ t_outlet *x_xoutlet;
+ t_outlet *x_youtlet;
+ t_outlet *x_zoutlet;
+ int x_null; /* To dissable resize */
+ int x_height; /* height of the pdp_colorgrid */
+ t_float x_min; /* minimum value of x */
+ t_float x_max; /* max value of x */
+ int x_width; /* width of the pdp_colorgrid */
+ t_float y_min; /* minimum value of y */
+ t_float y_max; /* max value of y */
+ t_float x_current; /* x coordinate of current position */
+ t_float y_current; /* y coordinate of current position */
+ int x_selected; /* stores selected state */
+ int x_point; /* indicates if a point is plotted */
+ int x_pdp_colorgrid; /* indicates if a pdp_colorgrid is requested */
+ t_float x_xstep; /* sets the step ( grain ) for x */
+ t_float x_ystep; /* sets the step ( grain ) for y */
+ int x_xlines; /* number of vertical lines */
+ int x_ylines; /* number of horizontal lines */
+ t_symbol* x_fname;
+} t_pdp_colorgrid;
+
+#endif