[gimp] app: add operations-enums.h with two soon-needed enums



commit e267d87963bf5e1e5d5dab62e28472d3f1e490ff
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jan 16 23:07:50 2017 +0100

    app: add operations-enums.h with two soon-needed enums

 app/operations/Makefile.am        |    1 +
 app/operations/operations-enums.h |   40 +++++++++++++++++++++++++++++++++++++
 app/operations/operations-types.h |    2 +
 3 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/app/operations/Makefile.am b/app/operations/Makefile.am
index fd1f1a5..368f518 100644
--- a/app/operations/Makefile.am
+++ b/app/operations/Makefile.am
@@ -21,6 +21,7 @@ noinst_LIBRARIES = \
 
 libappoperations_a_SOURCES = \
        operations-types.h                      \
+       operations-enums.h                      \
        gimp-operations.c                       \
        gimp-operations.h                       \
        \
diff --git a/app/operations/operations-enums.h b/app/operations/operations-enums.h
new file mode 100644
index 0000000..37126bb
--- /dev/null
+++ b/app/operations/operations-enums.h
@@ -0,0 +1,40 @@
+/* GIMP - The GNU Image Manipulation Program
+ * Copyright (C) 1995 Spencer Kimball and Peter Mattis
+ *
+ * operations-enums.h
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __OPERATIONS_ENUMS_H__
+#define __OPERATIONS_ENUMS_H__
+
+
+typedef enum
+{
+  GIMP_LAYER_BLEND_RGB_LINEAR,
+  GIMP_LAYER_BLEND_RGB_PERCEPTUAL,
+  GIMP_LAYER_BLEND_LAB,
+} GimpBlendBlend;
+
+typedef enum
+{
+  GIMP_LAYER_COMPOSITE_SRC_ATOP,
+  GIMP_LAYER_COMPOSITE_SRC_OVER,
+  GIMP_LAYER_COMPOSITE_SRC_IN,
+  GIMP_LAYER_COMPOSITE_DST_ATOP
+} GimpLayerComposite;
+
+
+#endif /* __OPERATIONS_ENUMS_H__ */
diff --git a/app/operations/operations-types.h b/app/operations/operations-types.h
index c1d2d32..ad5088d 100644
--- a/app/operations/operations-types.h
+++ b/app/operations/operations-types.h
@@ -25,6 +25,8 @@
 
 #include "gegl/gimp-gegl-types.h"
 
+#include "operations-enums.h"
+
 
 /*  operations  */
 


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