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

This commit is contained in:
Michael Natterer 2017-01-16 23:07:50 +01:00
parent 69c4644e15
commit e267d87963
3 changed files with 43 additions and 0 deletions

View File

@ -21,6 +21,7 @@ noinst_LIBRARIES = \
libappoperations_a_SOURCES = \
operations-types.h \
operations-enums.h \
gimp-operations.c \
gimp-operations.h \
\

View File

@ -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__ */

View File

@ -25,6 +25,8 @@
#include "gegl/gimp-gegl-types.h"
#include "operations-enums.h"
/* operations */