[gimp/soc-2009-dynamics] and adding a sample of outouts based struct



commit 97c09f2d014611d4d45911a420baf9c4062c8dae
Author: Alexia Death <alexiadeath gmail com>
Date:   Mon Aug 3 23:33:04 2009 +0300

    and adding a sample of outouts based struct

 app/paint/gimpdynamicsoptions.h |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/app/paint/gimpdynamicsoptions.h b/app/paint/gimpdynamicsoptions.h
index 283a980..5f59fe8 100644
--- a/app/paint/gimpdynamicsoptions.h
+++ b/app/paint/gimpdynamicsoptions.h
@@ -23,6 +23,7 @@
 #include "gimppaintoptions.h"
 #include "core/gimpdata.h"
 
+#define GIMP_DYNAMICS_DRIVERS 6
 
 typedef struct _GimpDynamicOptions  GimpDynamicOptions;
 
@@ -40,6 +41,25 @@ struct _GimpDynamicOptions
   gdouble   prescale;
 };
 
+struct _GimpDynamicsOutputOptions
+{
+  gboolean  pressure;
+  gboolean  velocity;
+  gboolean  direction;
+  gboolean  tilt;
+  gboolean  random;
+  gboolean  fade;
+
+  GimpCurve*  pressure_curve;
+  GimpCurve*  velocity_curve;
+  GimpCurve*  direction_curve;
+  GimpCurve*  tilt_curve;
+  GimpCurve*  random_curve;
+  GimpCurve*  fade_curve;
+
+};
+
+
 #define GIMP_PAINT_PRESSURE_SCALE 1.5
 #define GIMP_PAINT_VELOCITY_SCALE 1.0
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]