2001-01-22 09:46:28 +08:00
## Process this file with automake to produce Makefile.in
2008-10-07 19:58:14 +08:00
AM_CPPFLAGS = \
2013-06-06 02:48:37 +08:00
-DG_LOG_DOMAIN= \" Gimp-Tools\" \
-I$( top_builddir) \
-I$( top_srcdir) \
-I$( top_builddir) /app \
-I$( top_srcdir) /app \
$( GEGL_CFLAGS) \
$( GTK_CFLAGS) \
2008-10-07 19:58:14 +08:00
-I$( includedir)
2001-06-06 00:14:47 +08:00
noinst_LIBRARIES = libapptools.a
2001-01-22 09:46:28 +08:00
2003-04-15 22:20:19 +08:00
libapptools_a_sources = \
tools-enums.h \
2002-03-19 23:05:38 +08:00
tools-types.h \
app: add gimp-tool-options-manager.[ch]
The way we currently manage tool options, and particularly copy things
around for "global_brush", "global_pattern" etc. sucks, is spread
across files, happens only on tool change, is thus buggy and leads to
all sorts of small inconsistencies.
This new manager will replace all of that stuff, and it does it in one
place, and will keep the user context, the global paint options, and
all tool options connected permanently, and only connect/disconnect
things when settings change, so everything is always in a consistent
state.
Pushed for review only, nothing is used yet.
2018-06-29 03:41:32 +08:00
gimp-tool-options-manager.c \
gimp-tool-options-manager.h \
2003-09-18 21:51:10 +08:00
gimp-tools.c \
gimp-tools.h \
tool_manager.c \
tool_manager.h \
\
2001-05-25 07:57:08 +08:00
gimpairbrushtool.c \
gimpairbrushtool.h \
2005-06-04 01:05:01 +08:00
gimpalignoptions.c \
gimpalignoptions.h \
gimpaligntool.c \
gimpaligntool.h \
2001-05-25 07:57:08 +08:00
gimpbrightnesscontrasttool.c \
gimpbrightnesscontrasttool.h \
2006-08-16 05:46:22 +08:00
gimpbrushtool.c \
gimpbrushtool.h \
2003-02-05 22:39:40 +08:00
gimpbucketfilloptions.c \
gimpbucketfilloptions.h \
2001-05-25 07:57:08 +08:00
gimpbucketfilltool.c \
gimpbucketfilltool.h \
gimpbycolorselecttool.c \
gimpbycolorselecttool.h \
2010-11-05 04:08:51 +08:00
gimpcageoptions.c \
gimpcageoptions.h \
gimpcagetool.c \
gimpcagetool.h \
2013-06-03 22:40:24 +08:00
gimpcloneoptions-gui.c \
gimpcloneoptions-gui.h \
2001-05-25 07:57:08 +08:00
gimpclonetool.c \
gimpclonetool.h \
2003-06-04 23:48:17 +08:00
gimpcoloroptions.c \
gimpcoloroptions.h \
gimpcolortool.c \
gimpcolortool.h \
2003-02-05 22:39:40 +08:00
gimpcolorpickeroptions.c \
gimpcolorpickeroptions.h \
2001-05-25 07:57:08 +08:00
gimpcolorpickertool.c \
gimpcolorpickertool.h \
gimpconvolvetool.c \
gimpconvolvetool.h \
2003-02-05 22:39:40 +08:00
gimpcropoptions.c \
gimpcropoptions.h \
2001-05-25 07:57:08 +08:00
gimpcroptool.c \
gimpcroptool.h \
gimpcurvestool.c \
gimpcurvestool.h \
gimpdodgeburntool.c \
gimpdodgeburntool.h \
gimpdrawtool.c \
gimpdrawtool.h \
gimpeditselectiontool.c \
gimpeditselectiontool.h \
gimpellipseselecttool.c \
gimpellipseselecttool.h \
gimperasertool.c \
gimperasertool.h \
2016-05-10 06:08:36 +08:00
gimpfilteroptions.c \
gimpfilteroptions.h \
gimpfiltertool.c \
gimpfiltertool.h \
gimpfiltertool-settings.c \
gimpfiltertool-settings.h \
2017-07-03 06:37:55 +08:00
gimpfiltertool-widgets.c \
gimpfiltertool-widgets.h \
2003-02-05 22:39:40 +08:00
gimpflipoptions.c \
gimpflipoptions.h \
2001-05-25 07:57:08 +08:00
gimpfliptool.c \
gimpfliptool.h \
2005-08-01 02:29:10 +08:00
gimpforegroundselectoptions.c \
gimpforegroundselectoptions.h \
2005-07-29 09:48:56 +08:00
gimpforegroundselecttool.c \
gimpforegroundselecttool.h \
2007-02-04 05:22:37 +08:00
gimpforegroundselecttoolundo.c \
gimpforegroundselecttoolundo.h \
2019-04-25 17:40:24 +08:00
gimpfreeselecttool.c \
gimpfreeselecttool.h \
2001-05-25 07:57:08 +08:00
gimpfuzzyselecttool.c \
gimpfuzzyselecttool.h \
2008-02-05 07:32:45 +08:00
gimpgegltool.c \
gimpgegltool.h \
2018-01-27 19:08:55 +08:00
gimpgenerictransformtool.c \
gimpgenerictransformtool.h \
2018-04-14 06:52:20 +08:00
gimpgradientoptions.c \
gimpgradientoptions.h \
gimpgradienttool.c \
gimpgradienttool.h \
gimpgradienttool-editor.c \
gimpgradienttool-editor.h \
2016-04-03 22:27:41 +08:00
gimpguidetool.c \
gimpguidetool.h \
2015-03-05 19:29:19 +08:00
gimphandletransformoptions.c \
gimphandletransformoptions.h \
gimphandletransformtool.c \
gimphandletransformtool.h \
2006-09-03 02:54:35 +08:00
gimphealtool.c \
gimphealtool.h \
2003-10-24 16:12:21 +08:00
gimphistogramoptions.c \
gimphistogramoptions.h \
2004-05-26 23:34:45 +08:00
gimpinkoptions-gui.c \
gimpinkoptions-gui.h \
2001-05-25 07:57:08 +08:00
gimpinktool.c \
gimpinktool.h \
2008-03-09 23:05:54 +08:00
gimpiscissorsoptions.c \
gimpiscissorsoptions.h \
2001-05-25 07:57:08 +08:00
gimpiscissorstool.c \
gimpiscissorstool.h \
gimplevelstool.c \
gimplevelstool.h \
2019-06-06 06:09:28 +08:00
gimpoffsettool.c \
gimpoffsettool.h \
2012-03-27 02:59:49 +08:00
gimpoperationtool.c \
gimpoperationtool.h \
2003-02-05 22:39:40 +08:00
gimpmagnifyoptions.c \
gimpmagnifyoptions.h \
2003-02-08 01:12:21 +08:00
gimpmagnifytool.c \
gimpmagnifytool.h \
2003-02-05 22:39:40 +08:00
gimpmeasureoptions.c \
gimpmeasureoptions.h \
2001-05-25 07:57:08 +08:00
gimpmeasuretool.c \
gimpmeasuretool.h \
2003-02-05 22:39:40 +08:00
gimpmoveoptions.c \
gimpmoveoptions.h \
2001-05-25 07:57:08 +08:00
gimpmovetool.c \
gimpmovetool.h \
2014-04-06 21:48:53 +08:00
gimpmybrushoptions-gui.c \
gimpmybrushoptions-gui.h \
gimpmybrushtool.c \
gimpmybrushtool.h \
2013-07-31 06:45:19 +08:00
gimpnpointdeformationoptions.c \
gimpnpointdeformationoptions.h \
gimpnpointdeformationtool.c \
gimpnpointdeformationtool.h \
2001-05-25 07:57:08 +08:00
gimppaintbrushtool.c \
gimppaintbrushtool.h \
2003-06-30 04:40:45 +08:00
gimppaintoptions-gui.c \
gimppaintoptions-gui.h \
2001-05-25 07:57:08 +08:00
gimppainttool.c \
gimppainttool.h \
2018-04-08 21:28:23 +08:00
gimppainttool-paint.c \
gimppainttool-paint.h \
2001-05-25 07:57:08 +08:00
gimppenciltool.c \
gimppenciltool.h \
2006-09-08 01:10:22 +08:00
gimpperspectiveclonetool.c \
gimpperspectiveclonetool.h \
2001-05-25 07:57:08 +08:00
gimpperspectivetool.c \
gimpperspectivetool.h \
2019-04-25 17:40:24 +08:00
gimppolygonselecttool.c \
gimppolygonselecttool.h \
2006-06-11 05:34:12 +08:00
gimprectangleselecttool.c \
gimprectangleselecttool.h \
gimprectangleselectoptions.c \
gimprectangleselectoptions.h \
2005-03-03 02:18:19 +08:00
gimprectangleoptions.c \
gimprectangleoptions.h \
2008-03-09 23:05:54 +08:00
gimpregionselectoptions.c \
gimpregionselectoptions.h \
2006-07-31 19:42:51 +08:00
gimpregionselecttool.c \
gimpregionselecttool.h \
2001-05-25 07:57:08 +08:00
gimprotatetool.c \
gimprotatetool.h \
2016-04-03 22:27:41 +08:00
gimpsamplepointtool.c \
gimpsamplepointtool.h \
2001-05-25 07:57:08 +08:00
gimpscaletool.c \
gimpscaletool.h \
2013-05-15 06:39:06 +08:00
gimpseamlesscloneoptions.c \
gimpseamlesscloneoptions.h \
2011-08-06 19:15:02 +08:00
gimpseamlessclonetool.c \
gimpseamlessclonetool.h \
2003-02-09 05:12:03 +08:00
gimpselectionoptions.c \
gimpselectionoptions.h \
2001-05-25 07:57:08 +08:00
gimpselectiontool.c \
gimpselectiontool.h \
gimpsheartool.c \
gimpsheartool.h \
gimpsmudgetool.c \
gimpsmudgetool.h \
2006-09-04 07:11:35 +08:00
gimpsourcetool.c \
gimpsourcetool.h \
2003-02-05 22:39:40 +08:00
gimptextoptions.c \
gimptextoptions.h \
2001-05-25 07:57:08 +08:00
gimptexttool.c \
gimptexttool.h \
2010-02-18 04:23:15 +08:00
gimptexttool-editor.c \
gimptexttool-editor.h \
2001-05-25 07:57:08 +08:00
gimpthresholdtool.c \
gimpthresholdtool.h \
2015-03-18 05:19:29 +08:00
gimptilehandleriscissors.c \
gimptilehandleriscissors.h \
2001-05-25 07:57:08 +08:00
gimptool.c \
2003-04-15 22:20:19 +08:00
gimptool.h \
2011-03-25 17:55:07 +08:00
gimptool-progress.c \
gimptool-progress.h \
2002-03-29 11:50:29 +08:00
gimptoolcontrol.c \
gimptoolcontrol.h \
2003-06-30 04:40:45 +08:00
gimptooloptions-gui.c \
gimptooloptions-gui.h \
2018-12-10 21:00:32 +08:00
gimptools-utils.c \
gimptools-utils.h \
app, icons: add 3D Transform tool
Add a new 3D Transform tool, based on GimpToolTransform3DGrid,
added in the previous commit. The tool UI provides a notbook with
three tabs, corresponding to the three GimpToolTransform3DGrid
modes:
Camera - allows setting the primary vanishing point, as well as
the camera's focal length, expressed either directly, or as the
camera's angle of view, relative to the whole image or the
transformed item. By default, the vanishing point is aligned
with the item's center, and the angle of view is fixed relative
to the item; this essentially means that each item is transformed
using a local perspective, independent of its position and size
relative to the image. A global perspective can be achieved by
using a common vanishing point and focal length (or an image-
relative angle of view).
Move - allows moving the item using X, Y, and Z offsets.
Rotate - allows rotating the item using X, Y, and Z Euler angles.
The order of rotation of the different axes can be controlled by
a set of numbered buttons next to the sliders, and the rotation's
pivot can be controlled using a pivot selector.
2020-01-06 23:31:30 +08:00
gimptransform3doptions.c \
gimptransform3doptions.h \
gimptransform3dtool.c \
gimptransform3dtool.h \
2018-06-10 04:25:03 +08:00
gimptransformgridoptions.c \
gimptransformgridoptions.h \
gimptransformgridtool.c \
gimptransformgridtool.h \
gimptransformgridtoolundo.c \
gimptransformgridtoolundo.h \
2003-02-09 05:12:03 +08:00
gimptransformoptions.c \
gimptransformoptions.h \
2001-05-25 07:57:08 +08:00
gimptransformtool.c \
gimptransformtool.h \
2012-08-22 01:50:01 +08:00
gimpunifiedtransformtool.c \
gimpunifiedtransformtool.h \
2003-02-05 22:39:40 +08:00
gimpvectoroptions.c \
gimpvectoroptions.h \
2002-02-22 08:11:37 +08:00
gimpvectortool.c \
2011-05-24 03:11:08 +08:00
gimpvectortool.h \
gimpwarpoptions.c \
gimpwarpoptions.h \
gimpwarptool.c \
gimpwarptool.h
2001-03-08 09:07:03 +08:00
2003-04-15 22:20:19 +08:00
libapptools_a_built_sources = tools-enums.c
libapptools_a_SOURCES = $( libapptools_a_built_sources) $( libapptools_a_sources)
#
# rules to generate built sources
#
# setup autogeneration dependencies
gen_sources = xgen-tec
CLEANFILES = $( gen_sources)
2017-05-23 05:19:17 +08:00
xgen-tec : $( srcdir ) /tools -enums .h $( GIMP_MKENUMS ) Makefile .am
2017-05-23 08:12:50 +08:00
$( AM_V_GEN) $( GIMP_MKENUMS) \
2013-10-15 07:58:39 +08:00
--fhead "#include \"config.h\"\n#include <gio/gio.h>\n#include \"libgimpbase/gimpbase.h\"\n#include \"core/core-enums.h\"\n#include \"tools-enums.h\"\n#include \"gimp-intl.h\"" \
2017-05-23 08:12:50 +08:00
--fprod "\n/* enumerations from \"@basename@\" */" \
2004-07-28 19:50:20 +08:00
--vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \
2004-10-26 01:55:25 +08:00
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
--vtail " { 0, NULL, NULL }\n };\n" \
--dhead " static const Gimp@Type@Desc descs[] =\n {" \
2017-11-30 05:27:59 +08:00
--dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \
2008-11-06 16:28:28 +08:00
--dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \
2017-05-23 08:12:50 +08:00
$< > $@
2017-05-23 05:19:17 +08:00
2017-06-02 22:53:44 +08:00
# copy the generated enum file back to the source directory only if it's
# changed; otherwise, only update its timestamp, so that the recipe isn't
# executed again on the next build, however, allow this to (harmlessly) fail,
# to support building from a read-only source tree.
2017-05-23 05:19:17 +08:00
$(srcdir)/tools-enums.c : xgen -tec
$( AM_V_GEN) if ! cmp -s $< $@ ; then \
cp $< $@ ; \
else \
touch $@ 2> /dev/null \
|| true; \
fi