mirror of https://github.com/GNOME/gimp.git
app: move all GEGL operations to new directory app/operations/
This commit is contained in:
parent
c41ac185b5
commit
7101ee191a
|
@ -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 \
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "core-types.h"
|
||||
|
||||
#include "gegl/gimplevelsconfig.h"
|
||||
#include "operations/gimplevelsconfig.h"
|
||||
|
||||
#include "gimpdrawable.h"
|
||||
#include "gimpdrawable-histogram.h"
|
||||
|
|
|
@ -35,129 +35,7 @@ libappgegl_a_sources = \
|
|||
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
|
||||
gimptilebackendtilemanager.h
|
||||
|
||||
libappgegl_a_built_sources = gimp-gegl-enums.c
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
/Makefile
|
||||
/Makefile.in
|
||||
/.deps
|
||||
/.libs
|
||||
/libappoperations.a
|
|
@ -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)
|
|
@ -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);
|
||||
}
|
|
@ -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__ */
|
|
@ -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"
|
|
@ -25,7 +25,7 @@
|
|||
#include "libgimpmath/gimpmath.h"
|
||||
#include "libgimpbase/gimpbase.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpcageconfig.h"
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
#include "libgimpmath/gimpmath.h"
|
||||
#include "libgimpconfig/gimpconfig.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpcolorbalanceconfig.h"
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
#include "libgimpcolor/gimpcolor.h"
|
||||
#include "libgimpconfig/gimpconfig.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpcolorizeconfig.h"
|
||||
|
|
@ -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"
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "libgimpconfig/gimpconfig.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpdesaturateconfig.h"
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "libgimpconfig/gimpconfig.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimphuesaturationconfig.h"
|
||||
|
|
@ -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"
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationadditionmode.h"
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationantierasemode.h"
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationbehindmode.h"
|
||||
|
|
@ -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"
|
||||
|
||||
|
|
@ -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"
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationburnmode.h"
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "libgimpmath/gimpmath.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationcagecoefcalc.h"
|
||||
#include "gimpcageconfig.h"
|
|
@ -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"
|
|
@ -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"
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationcolorerasemode.h"
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "libgimpcolor/gimpcolor.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpcolorizeconfig.h"
|
||||
#include "gimpoperationcolorize.h"
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationcolormode.h"
|
||||
|
|
@ -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"
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationdarkenonlymode.h"
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "libgimpcolor/gimpcolor.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationdesaturate.h"
|
||||
#include "gimpdesaturateconfig.h"
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationdifferencemode.h"
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationdissolvemode.h"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationdividemode.h"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationdodgemode.h"
|
||||
|
|
@ -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"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationerasemode.h"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationgrainextractmode.h"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationgrainmergemode.h"
|
||||
|
|
@ -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"
|
||||
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationhardlightmode.h"
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <gegl.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "core/gimphistogram.h"
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include "libgimpcolor/gimpcolor.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationhuemode.h"
|
||||
|
|
@ -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"
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "libgimpmath/gimpmath.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimplevelsconfig.h"
|
||||
#include "gimpoperationlevels.h"
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationlightenonlymode.h"
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <gegl.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationmaskcomponents.h"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationmultiplymode.h"
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationnormalmode.h"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <gegl-plugin.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationoverlaymode.h"
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <gegl.h>
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationpointfilter.h"
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "libgimpcolor/gimpcolor.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "paint-funcs/paint-funcs.h"
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "libgimpmath/gimpmath.h"
|
||||
|
||||
#include "gimp-gegl-types.h"
|
||||
#include "operations-types.h"
|
||||
|
||||
#include "gimpoperationposterize.h"
|
||||
#include "gimpposterizeconfig.h"
|
|
@ -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
Loading…
Reference in New Issue