app: move all GEGL operations to new directory app/operations/

This commit is contained in:
Michael Natterer 2012-05-10 21:22:44 +02:00
parent c41ac185b5
commit 7101ee191a
140 changed files with 490 additions and 343 deletions

View File

@ -17,6 +17,7 @@ SUBDIRS = \
config \
composite \
core \
operations \
gegl \
text \
vectors \
@ -139,7 +140,8 @@ calm_down_linker = \
-u $(SYMPREFIX)gimp_vectors_mod_undo_get_type \
-u $(SYMPREFIX)gimp_vectors_prop_undo_get_type \
-u $(SYMPREFIX)gimp_curve_map_pixels \
-u $(SYMPREFIX)gimp_param_spec_duplicate
-u $(SYMPREFIX)gimp_param_spec_duplicate \
-u $(SYNPREFIX)gimp_operations_init
AM_LDFLAGS = \
$(munix) \
@ -161,6 +163,7 @@ gimpconsoleldadd = \
text/libapptext.a \
paint/libapppaint.a \
composite/libappcomposite.a \
operations/libappoperations.a \
gegl/libappgegl.a \
config/libappconfig.a \
paint-funcs/libapppaint-funcs.a \

View File

@ -21,7 +21,7 @@
#include "core-types.h"
#include "gegl/gimplevelsconfig.h"
#include "operations/gimplevelsconfig.h"
#include "gimpdrawable.h"
#include "gimpdrawable-histogram.h"

View File

@ -16,148 +16,26 @@ INCLUDES = \
noinst_LIBRARIES = libappgegl.a
libappgegl_a_sources = \
gimp-gegl-enums.h \
gimp-gegl-types.h \
gimp-babl.c \
gimp-babl.h \
gimp-babl-compat.c \
gimp-babl-compat.h \
gimp-gegl.c \
gimp-gegl.h \
gimp-gegl-config-proxy.c \
gimp-gegl-config-proxy.h \
gimp-gegl-loops.c \
gimp-gegl-loops.h \
gimp-gegl-nodes.c \
gimp-gegl-nodes.h \
gimp-gegl-tile-compat.c \
gimp-gegl-tile-compat.h \
gimp-gegl-utils.c \
gimp-gegl-utils.h \
gimptilebackendtilemanager.c \
gimptilebackendtilemanager.h \
\
gimpbrightnesscontrastconfig.c \
gimpbrightnesscontrastconfig.h \
gimpcageconfig.c \
gimpcageconfig.h \
gimpcolorbalanceconfig.c \
gimpcolorbalanceconfig.h \
gimpcolorizeconfig.c \
gimpcolorizeconfig.h \
gimpcurvesconfig.c \
gimpcurvesconfig.h \
gimpdesaturateconfig.c \
gimpdesaturateconfig.h \
gimphuesaturationconfig.c \
gimphuesaturationconfig.h \
gimplevelsconfig.c \
gimplevelsconfig.h \
gimpposterizeconfig.c \
gimpposterizeconfig.h \
gimpthresholdconfig.c \
gimpthresholdconfig.h \
\
gimpoperationborder.c \
gimpoperationborder.h \
gimpoperationcagecoefcalc.c \
gimpoperationcagecoefcalc.h \
gimpoperationcagetransform.c \
gimpoperationcagetransform.h \
gimpoperationequalize.c \
gimpoperationequalize.h \
gimpoperationgrow.c \
gimpoperationgrow.h \
gimpoperationhistogramsink.c \
gimpoperationhistogramsink.h \
gimpoperationmaskcomponents.c \
gimpoperationmaskcomponents.h \
gimpoperationsemiflatten.c \
gimpoperationsemiflatten.h \
gimpoperationsetalpha.c \
gimpoperationsetalpha.h \
gimpoperationshapeburst.c \
gimpoperationshapeburst.h \
gimpoperationshrink.c \
gimpoperationshrink.h \
gimpoperationthresholdalpha.c \
gimpoperationthresholdalpha.h \
\
gimpoperationpointfilter.c \
gimpoperationpointfilter.h \
gimpoperationbrightnesscontrast.c \
gimpoperationbrightnesscontrast.h \
gimpoperationcolorbalance.c \
gimpoperationcolorbalance.h \
gimpoperationcolorize.c \
gimpoperationcolorize.h \
gimpoperationcurves.c \
gimpoperationcurves.h \
gimpoperationdesaturate.c \
gimpoperationdesaturate.h \
gimpoperationhuesaturation.c \
gimpoperationhuesaturation.h \
gimpoperationlevels.c \
gimpoperationlevels.h \
gimpoperationposterize.c \
gimpoperationposterize.h \
gimpoperationthreshold.c \
gimpoperationthreshold.h \
\
gimpoperationpointlayermode.c \
gimpoperationpointlayermode.h \
gimpoperationnormalmode.c \
gimpoperationnormalmode.h \
gimpoperationdissolvemode.c \
gimpoperationdissolvemode.h \
gimpoperationbehindmode.c \
gimpoperationbehindmode.h \
gimpoperationmultiplymode.c \
gimpoperationmultiplymode.h \
gimpoperationscreenmode.c \
gimpoperationscreenmode.h \
gimpoperationoverlaymode.c \
gimpoperationoverlaymode.h \
gimpoperationdifferencemode.c \
gimpoperationdifferencemode.h \
gimpoperationadditionmode.c \
gimpoperationadditionmode.h \
gimpoperationsubtractmode.c \
gimpoperationsubtractmode.h \
gimpoperationdarkenonlymode.c \
gimpoperationdarkenonlymode.h \
gimpoperationlightenonlymode.c \
gimpoperationlightenonlymode.h \
gimpoperationhuemode.c \
gimpoperationhuemode.h \
gimpoperationsaturationmode.c \
gimpoperationsaturationmode.h \
gimpoperationcolormode.c \
gimpoperationcolormode.h \
gimpoperationvaluemode.c \
gimpoperationvaluemode.h \
gimpoperationdividemode.c \
gimpoperationdividemode.h \
gimpoperationdodgemode.c \
gimpoperationdodgemode.h \
gimpoperationburnmode.c \
gimpoperationburnmode.h \
gimpoperationhardlightmode.c \
gimpoperationhardlightmode.h \
gimpoperationsoftlightmode.c \
gimpoperationsoftlightmode.h \
gimpoperationgrainextractmode.c \
gimpoperationgrainextractmode.h \
gimpoperationgrainmergemode.c \
gimpoperationgrainmergemode.h \
gimpoperationcolorerasemode.c \
gimpoperationcolorerasemode.h \
gimpoperationerasemode.c \
gimpoperationerasemode.h \
gimpoperationreplacemode.c \
gimpoperationreplacemode.h \
gimpoperationantierasemode.c \
gimpoperationantierasemode.h
gimp-gegl-enums.h \
gimp-gegl-types.h \
gimp-babl.c \
gimp-babl.h \
gimp-babl-compat.c \
gimp-babl-compat.h \
gimp-gegl.c \
gimp-gegl.h \
gimp-gegl-config-proxy.c \
gimp-gegl-config-proxy.h \
gimp-gegl-loops.c \
gimp-gegl-loops.h \
gimp-gegl-nodes.c \
gimp-gegl-nodes.h \
gimp-gegl-tile-compat.c \
gimp-gegl-tile-compat.h \
gimp-gegl-utils.c \
gimp-gegl-utils.h \
gimptilebackendtilemanager.c \
gimptilebackendtilemanager.h
libappgegl_a_built_sources = gimp-gegl-enums.c

View File

@ -28,62 +28,13 @@
#include "config/gimpbaseconfig.h"
#include "operations/gimp-operations.h"
#include "core/gimp.h"
#include "gimp-babl.h"
#include "gimp-gegl.h"
#include "gimpoperationborder.h"
#include "gimpoperationcagecoefcalc.h"
#include "gimpoperationcagetransform.h"
#include "gimpoperationequalize.h"
#include "gimpoperationgrow.h"
#include "gimpoperationhistogramsink.h"
#include "gimpoperationmaskcomponents.h"
#include "gimpoperationsemiflatten.h"
#include "gimpoperationsetalpha.h"
#include "gimpoperationshapeburst.h"
#include "gimpoperationshrink.h"
#include "gimpoperationthresholdalpha.h"
#include "gimpoperationbrightnesscontrast.h"
#include "gimpoperationcolorbalance.h"
#include "gimpoperationcolorize.h"
#include "gimpoperationcurves.h"
#include "gimpoperationdesaturate.h"
#include "gimpoperationhuesaturation.h"
#include "gimpoperationlevels.h"
#include "gimpoperationposterize.h"
#include "gimpoperationthreshold.h"
#include "gimpoperationpointlayermode.h"
#include "gimpoperationnormalmode.h"
#include "gimpoperationdissolvemode.h"
#include "gimpoperationbehindmode.h"
#include "gimpoperationmultiplymode.h"
#include "gimpoperationscreenmode.h"
#include "gimpoperationoverlaymode.h"
#include "gimpoperationdifferencemode.h"
#include "gimpoperationadditionmode.h"
#include "gimpoperationsubtractmode.h"
#include "gimpoperationdarkenonlymode.h"
#include "gimpoperationlightenonlymode.h"
#include "gimpoperationhuemode.h"
#include "gimpoperationsaturationmode.h"
#include "gimpoperationcolormode.h"
#include "gimpoperationvaluemode.h"
#include "gimpoperationdividemode.h"
#include "gimpoperationdodgemode.h"
#include "gimpoperationburnmode.h"
#include "gimpoperationhardlightmode.h"
#include "gimpoperationsoftlightmode.h"
#include "gimpoperationgrainextractmode.h"
#include "gimpoperationgrainmergemode.h"
#include "gimpoperationcolorerasemode.h"
#include "gimpoperationerasemode.h"
#include "gimpoperationreplacemode.h"
#include "gimpoperationantierasemode.h"
static void gimp_gegl_notify_tile_cache_size (GimpBaseConfig *config);
@ -117,56 +68,7 @@ gimp_gegl_init (Gimp *gimp)
gimp_babl_init ();
g_type_class_ref (GIMP_TYPE_OPERATION_BORDER);
g_type_class_ref (GIMP_TYPE_OPERATION_CAGE_COEF_CALC);
g_type_class_ref (GIMP_TYPE_OPERATION_CAGE_TRANSFORM);
g_type_class_ref (GIMP_TYPE_OPERATION_EQUALIZE);
g_type_class_ref (GIMP_TYPE_OPERATION_GROW);
g_type_class_ref (GIMP_TYPE_OPERATION_HISTOGRAM_SINK);
g_type_class_ref (GIMP_TYPE_OPERATION_MASK_COMPONENTS);
g_type_class_ref (GIMP_TYPE_OPERATION_SEMI_FLATTEN);
g_type_class_ref (GIMP_TYPE_OPERATION_SET_ALPHA);
g_type_class_ref (GIMP_TYPE_OPERATION_SHAPEBURST);
g_type_class_ref (GIMP_TYPE_OPERATION_SHRINK);
g_type_class_ref (GIMP_TYPE_OPERATION_THRESHOLD_ALPHA);
g_type_class_ref (GIMP_TYPE_OPERATION_BRIGHTNESS_CONTRAST);
g_type_class_ref (GIMP_TYPE_OPERATION_COLOR_BALANCE);
g_type_class_ref (GIMP_TYPE_OPERATION_COLORIZE);
g_type_class_ref (GIMP_TYPE_OPERATION_CURVES);
g_type_class_ref (GIMP_TYPE_OPERATION_DESATURATE);
g_type_class_ref (GIMP_TYPE_OPERATION_HUE_SATURATION);
g_type_class_ref (GIMP_TYPE_OPERATION_LEVELS);
g_type_class_ref (GIMP_TYPE_OPERATION_POSTERIZE);
g_type_class_ref (GIMP_TYPE_OPERATION_THRESHOLD);
g_type_class_ref (GIMP_TYPE_OPERATION_POINT_LAYER_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_NORMAL_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DISSOLVE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_BEHIND_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_MULTIPLY_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_SCREEN_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_OVERLAY_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DIFFERENCE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_ADDITION_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_SUBTRACT_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DARKEN_ONLY_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_LIGHTEN_ONLY_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_HUE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_SATURATION_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_COLOR_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_VALUE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DIVIDE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DODGE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_BURN_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_HARDLIGHT_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_SOFTLIGHT_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_GRAIN_EXTRACT_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_GRAIN_MERGE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_COLOR_ERASE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_ERASE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_REPLACE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_ANTI_ERASE_MODE);
gimp_operations_init (gimp);
}
static void

5
app/operations/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
/Makefile
/Makefile.in
/.deps
/.libs
/libappoperations.a

144
app/operations/Makefile.am Normal file
View File

@ -0,0 +1,144 @@
## Process this file with automake to produce Makefile.in
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Gimp-Operations\"
INCLUDES = \
-I$(top_builddir) \
-I$(top_srcdir) \
-I$(top_builddir)/app \
-I$(top_srcdir)/app \
$(CAIRO_CFLAGS) \
$(GEGL_CFLAGS) \
$(GDK_PIXBUF_CFLAGS) \
-I$(includedir)
noinst_LIBRARIES = libappoperations.a
libappoperations_a_sources = \
gimp-operations.c \
gimp-operations.h \
\
gimpbrightnesscontrastconfig.c \
gimpbrightnesscontrastconfig.h \
gimpcageconfig.c \
gimpcageconfig.h \
gimpcolorbalanceconfig.c \
gimpcolorbalanceconfig.h \
gimpcolorizeconfig.c \
gimpcolorizeconfig.h \
gimpcurvesconfig.c \
gimpcurvesconfig.h \
gimpdesaturateconfig.c \
gimpdesaturateconfig.h \
gimphuesaturationconfig.c \
gimphuesaturationconfig.h \
gimplevelsconfig.c \
gimplevelsconfig.h \
gimpposterizeconfig.c \
gimpposterizeconfig.h \
gimpthresholdconfig.c \
gimpthresholdconfig.h \
\
gimpoperationborder.c \
gimpoperationborder.h \
gimpoperationcagecoefcalc.c \
gimpoperationcagecoefcalc.h \
gimpoperationcagetransform.c \
gimpoperationcagetransform.h \
gimpoperationequalize.c \
gimpoperationequalize.h \
gimpoperationgrow.c \
gimpoperationgrow.h \
gimpoperationhistogramsink.c \
gimpoperationhistogramsink.h \
gimpoperationmaskcomponents.c \
gimpoperationmaskcomponents.h \
gimpoperationsemiflatten.c \
gimpoperationsemiflatten.h \
gimpoperationsetalpha.c \
gimpoperationsetalpha.h \
gimpoperationshapeburst.c \
gimpoperationshapeburst.h \
gimpoperationshrink.c \
gimpoperationshrink.h \
gimpoperationthresholdalpha.c \
gimpoperationthresholdalpha.h \
\
gimpoperationpointfilter.c \
gimpoperationpointfilter.h \
gimpoperationbrightnesscontrast.c \
gimpoperationbrightnesscontrast.h \
gimpoperationcolorbalance.c \
gimpoperationcolorbalance.h \
gimpoperationcolorize.c \
gimpoperationcolorize.h \
gimpoperationcurves.c \
gimpoperationcurves.h \
gimpoperationdesaturate.c \
gimpoperationdesaturate.h \
gimpoperationhuesaturation.c \
gimpoperationhuesaturation.h \
gimpoperationlevels.c \
gimpoperationlevels.h \
gimpoperationposterize.c \
gimpoperationposterize.h \
gimpoperationthreshold.c \
gimpoperationthreshold.h \
\
gimpoperationpointlayermode.c \
gimpoperationpointlayermode.h \
gimpoperationnormalmode.c \
gimpoperationnormalmode.h \
gimpoperationdissolvemode.c \
gimpoperationdissolvemode.h \
gimpoperationbehindmode.c \
gimpoperationbehindmode.h \
gimpoperationmultiplymode.c \
gimpoperationmultiplymode.h \
gimpoperationscreenmode.c \
gimpoperationscreenmode.h \
gimpoperationoverlaymode.c \
gimpoperationoverlaymode.h \
gimpoperationdifferencemode.c \
gimpoperationdifferencemode.h \
gimpoperationadditionmode.c \
gimpoperationadditionmode.h \
gimpoperationsubtractmode.c \
gimpoperationsubtractmode.h \
gimpoperationdarkenonlymode.c \
gimpoperationdarkenonlymode.h \
gimpoperationlightenonlymode.c \
gimpoperationlightenonlymode.h \
gimpoperationhuemode.c \
gimpoperationhuemode.h \
gimpoperationsaturationmode.c \
gimpoperationsaturationmode.h \
gimpoperationcolormode.c \
gimpoperationcolormode.h \
gimpoperationvaluemode.c \
gimpoperationvaluemode.h \
gimpoperationdividemode.c \
gimpoperationdividemode.h \
gimpoperationdodgemode.c \
gimpoperationdodgemode.h \
gimpoperationburnmode.c \
gimpoperationburnmode.h \
gimpoperationhardlightmode.c \
gimpoperationhardlightmode.h \
gimpoperationsoftlightmode.c \
gimpoperationsoftlightmode.h \
gimpoperationgrainextractmode.c \
gimpoperationgrainextractmode.h \
gimpoperationgrainmergemode.c \
gimpoperationgrainmergemode.h \
gimpoperationcolorerasemode.c \
gimpoperationcolorerasemode.h \
gimpoperationerasemode.c \
gimpoperationerasemode.h \
gimpoperationreplacemode.c \
gimpoperationreplacemode.h \
gimpoperationantierasemode.c \
gimpoperationantierasemode.h
libappoperations_a_SOURCES = $(libappoperations_a_sources)

View File

@ -0,0 +1,137 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimp-operations.c
*
* 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/>.
*/
#include "config.h"
#include <gegl.h>
#include "operations-types.h"
#include "core/gimp.h"
#include "gimp-operations.h"
#include "gimpoperationborder.h"
#include "gimpoperationcagecoefcalc.h"
#include "gimpoperationcagetransform.h"
#include "gimpoperationequalize.h"
#include "gimpoperationgrow.h"
#include "gimpoperationhistogramsink.h"
#include "gimpoperationmaskcomponents.h"
#include "gimpoperationsemiflatten.h"
#include "gimpoperationsetalpha.h"
#include "gimpoperationshapeburst.h"
#include "gimpoperationshrink.h"
#include "gimpoperationthresholdalpha.h"
#include "gimpoperationbrightnesscontrast.h"
#include "gimpoperationcolorbalance.h"
#include "gimpoperationcolorize.h"
#include "gimpoperationcurves.h"
#include "gimpoperationdesaturate.h"
#include "gimpoperationhuesaturation.h"
#include "gimpoperationlevels.h"
#include "gimpoperationposterize.h"
#include "gimpoperationthreshold.h"
#include "gimpoperationpointlayermode.h"
#include "gimpoperationnormalmode.h"
#include "gimpoperationdissolvemode.h"
#include "gimpoperationbehindmode.h"
#include "gimpoperationmultiplymode.h"
#include "gimpoperationscreenmode.h"
#include "gimpoperationoverlaymode.h"
#include "gimpoperationdifferencemode.h"
#include "gimpoperationadditionmode.h"
#include "gimpoperationsubtractmode.h"
#include "gimpoperationdarkenonlymode.h"
#include "gimpoperationlightenonlymode.h"
#include "gimpoperationhuemode.h"
#include "gimpoperationsaturationmode.h"
#include "gimpoperationcolormode.h"
#include "gimpoperationvaluemode.h"
#include "gimpoperationdividemode.h"
#include "gimpoperationdodgemode.h"
#include "gimpoperationburnmode.h"
#include "gimpoperationhardlightmode.h"
#include "gimpoperationsoftlightmode.h"
#include "gimpoperationgrainextractmode.h"
#include "gimpoperationgrainmergemode.h"
#include "gimpoperationcolorerasemode.h"
#include "gimpoperationerasemode.h"
#include "gimpoperationreplacemode.h"
#include "gimpoperationantierasemode.h"
void
gimp_operations_init (Gimp *gimp)
{
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_type_class_ref (GIMP_TYPE_OPERATION_BORDER);
g_type_class_ref (GIMP_TYPE_OPERATION_CAGE_COEF_CALC);
g_type_class_ref (GIMP_TYPE_OPERATION_CAGE_TRANSFORM);
g_type_class_ref (GIMP_TYPE_OPERATION_EQUALIZE);
g_type_class_ref (GIMP_TYPE_OPERATION_GROW);
g_type_class_ref (GIMP_TYPE_OPERATION_HISTOGRAM_SINK);
g_type_class_ref (GIMP_TYPE_OPERATION_MASK_COMPONENTS);
g_type_class_ref (GIMP_TYPE_OPERATION_SEMI_FLATTEN);
g_type_class_ref (GIMP_TYPE_OPERATION_SET_ALPHA);
g_type_class_ref (GIMP_TYPE_OPERATION_SHAPEBURST);
g_type_class_ref (GIMP_TYPE_OPERATION_SHRINK);
g_type_class_ref (GIMP_TYPE_OPERATION_THRESHOLD_ALPHA);
g_type_class_ref (GIMP_TYPE_OPERATION_BRIGHTNESS_CONTRAST);
g_type_class_ref (GIMP_TYPE_OPERATION_COLOR_BALANCE);
g_type_class_ref (GIMP_TYPE_OPERATION_COLORIZE);
g_type_class_ref (GIMP_TYPE_OPERATION_CURVES);
g_type_class_ref (GIMP_TYPE_OPERATION_DESATURATE);
g_type_class_ref (GIMP_TYPE_OPERATION_HUE_SATURATION);
g_type_class_ref (GIMP_TYPE_OPERATION_LEVELS);
g_type_class_ref (GIMP_TYPE_OPERATION_POSTERIZE);
g_type_class_ref (GIMP_TYPE_OPERATION_THRESHOLD);
g_type_class_ref (GIMP_TYPE_OPERATION_POINT_LAYER_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_NORMAL_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DISSOLVE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_BEHIND_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_MULTIPLY_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_SCREEN_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_OVERLAY_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DIFFERENCE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_ADDITION_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_SUBTRACT_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DARKEN_ONLY_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_LIGHTEN_ONLY_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_HUE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_SATURATION_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_COLOR_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_VALUE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DIVIDE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_DODGE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_BURN_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_HARDLIGHT_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_SOFTLIGHT_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_GRAIN_EXTRACT_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_GRAIN_MERGE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_COLOR_ERASE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_ERASE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_REPLACE_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_ANTI_ERASE_MODE);
}

View File

@ -0,0 +1,27 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimp-operations.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 __GIMP_OPERATIONS_H__
#define __GIMP_OPERATIONS_H__
void gimp_operations_init (Gimp *gimp);
#endif /* __GIMP_OPERATIONS_H__ */

View File

@ -25,7 +25,7 @@
#include "libgimpmath/gimpmath.h"
#include "libgimpconfig/gimpconfig.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpbrightnesscontrastconfig.h"
#include "gimplevelsconfig.h"

View File

@ -25,7 +25,7 @@
#include "libgimpmath/gimpmath.h"
#include "libgimpbase/gimpbase.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpcageconfig.h"

View File

@ -28,7 +28,7 @@
#include "libgimpmath/gimpmath.h"
#include "libgimpconfig/gimpconfig.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpcolorbalanceconfig.h"

View File

@ -27,7 +27,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpconfig/gimpconfig.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpcolorizeconfig.h"

View File

@ -31,7 +31,7 @@
#include "libgimpmath/gimpmath.h"
#include "libgimpconfig/gimpconfig.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "core/gimpcurve.h"
#include "core/gimphistogram.h"

View File

@ -24,7 +24,7 @@
#include "libgimpconfig/gimpconfig.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpdesaturateconfig.h"

View File

@ -25,7 +25,7 @@
#include "libgimpconfig/gimpconfig.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimphuesaturationconfig.h"

View File

@ -32,7 +32,7 @@
#include "libgimpmath/gimpmath.h"
#include "libgimpconfig/gimpconfig.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "core/gimpcurve.h"
#include "core/gimphistogram.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationadditionmode.h"

View File

@ -23,7 +23,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationantierasemode.h"

View File

@ -23,7 +23,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationbehindmode.h"

View File

@ -27,9 +27,8 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimp-gegl-utils.h"
#include "gimpoperationborder.h"

View File

@ -27,7 +27,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpbrightnesscontrastconfig.h"
#include "gimpoperationbrightnesscontrast.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationburnmode.h"

View File

@ -23,7 +23,7 @@
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationcagecoefcalc.h"
#include "gimpcageconfig.h"

View File

@ -26,7 +26,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationcagetransform.h"
#include "gimpcageconfig.h"

View File

@ -27,7 +27,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpcolorbalanceconfig.h"
#include "gimpoperationcolorbalance.h"

View File

@ -23,7 +23,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationcolorerasemode.h"

View File

@ -26,7 +26,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpcolorizeconfig.h"
#include "gimpoperationcolorize.h"

View File

@ -23,7 +23,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationcolormode.h"

View File

@ -25,7 +25,7 @@
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "core/gimpcurve.h"
#include "core/gimpcurve-map.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationdarkenonlymode.h"

View File

@ -26,7 +26,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationdesaturate.h"
#include "gimpdesaturateconfig.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationdifferencemode.h"

View File

@ -25,7 +25,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationdissolvemode.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationdividemode.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationdodgemode.h"

View File

@ -27,7 +27,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "core/gimphistogram.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationerasemode.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationgrainextractmode.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationgrainmergemode.h"

View File

@ -27,9 +27,8 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimp-gegl-utils.h"
#include "gimpoperationgrow.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationhardlightmode.h"

View File

@ -22,7 +22,7 @@
#include <gegl.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "core/gimphistogram.h"

View File

@ -28,7 +28,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationhuemode.h"

View File

@ -27,7 +27,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimphuesaturationconfig.h"
#include "gimpoperationhuesaturation.h"

View File

@ -25,7 +25,7 @@
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimplevelsconfig.h"
#include "gimpoperationlevels.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationlightenonlymode.h"

View File

@ -22,7 +22,7 @@
#include <gegl.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationmaskcomponents.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationmultiplymode.h"

View File

@ -23,7 +23,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationnormalmode.h"

View File

@ -24,7 +24,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationoverlaymode.h"

View File

@ -22,7 +22,7 @@
#include <gegl.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationpointfilter.h"

View File

@ -27,7 +27,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "paint-funcs/paint-funcs.h"

View File

@ -25,7 +25,7 @@
#include "libgimpmath/gimpmath.h"
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationposterize.h"
#include "gimpposterizeconfig.h"

View File

@ -23,7 +23,7 @@
#include <gegl-plugin.h>
#include "gimp-gegl-types.h"
#include "operations-types.h"
#include "gimpoperationreplacemode.h"

Some files were not shown because too many files have changed in this diff Show More