Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHamed Zaghaghi <hamed.zaghaghi@gmail.com>2007-10-23 00:24:26 +0400
committerHamed Zaghaghi <hamed.zaghaghi@gmail.com>2007-10-23 00:24:26 +0400
commit21eb3e11e0d4d42d23de6c27a5cdf83d36ac0774 (patch)
treedf6641f49358a6f2cb401b095a185a7e149edcc5 /source/blender/makesdna/DNA_actuator_types.h
parente979e6ee4d509665a3746959cbff95f47b0463db (diff)
2d-Filters feature and actuators.
Diffstat (limited to 'source/blender/makesdna/DNA_actuator_types.h')
-rw-r--r--source/blender/makesdna/DNA_actuator_types.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_actuator_types.h b/source/blender/makesdna/DNA_actuator_types.h
index 0531e70bb97..bc847958fdf 100644
--- a/source/blender/makesdna/DNA_actuator_types.h
+++ b/source/blender/makesdna/DNA_actuator_types.h
@@ -191,6 +191,17 @@ typedef struct bVisibilityActuator {
int flag;
} bVisibilityActuator;
+typedef struct bTwoDFilterActuator{
+ /* Tells what type of 2D Filter*/
+ short type;
+ /* (flag == 0) means 2D filter is activate and
+ (flag != 0) means 2D filter is inactive*/
+ short flag;
+ /* a float argument */
+ float float_arg;
+ int int_arg;
+}bTwoDFilterActuator;
+
typedef struct bActuator {
struct bActuator *next, *prev, *mynew;
short type;
@@ -259,6 +270,7 @@ typedef struct FreeCamera {
#define ACT_CD 16
#define ACT_GAME 17
#define ACT_VISIBILITY 18
+#define ACT_2DFILTER 19
/* actuator flag */
#define ACT_SHOW 1
@@ -391,5 +403,20 @@ typedef struct FreeCamera {
/* Set means the object will become invisible */
#define ACT_VISIBILITY_INVISIBLE (1 << 0)
+/* twodfilter->type */
+#define ACT_2DFILTER_NOFILTER -1
+#define ACT_2DFILTER_MOTIONBLUR 0
+#define ACT_2DFILTER_BLUR 1
+#define ACT_2DFILTER_SHARPEN 2
+#define ACT_2DFILTER_DILATION 3
+#define ACT_2DFILTER_EROSION 4
+#define ACT_2DFILTER_LAPLACIAN 5
+#define ACT_2DFILTER_SOBEL 6
+#define ACT_2DFILTER_PREWITT 7
+#define ACT_2DFILTER_GRAYSCALE 8
+#define ACT_2DFILTER_SEPIA 9
+#define ACT_2DFILTER_INVERT 10
+#define ACT_2DFILTER_NUMBER_OF_FILTERS 11
#endif
+