Commit graph

16 commits

Author SHA1 Message Date
Michael Natterer
26dce72d2c Remove autotools 2023-05-27 00:03:52 +02:00
Asalle
614e1c6b4c app: make dynamics tool options a checkbox
Fixes #4333

If the checkbox is unchecked: dynamics falls back to "Dynamics Off",
the current dynamics name and its options are hidden in the UI.

If the checkbox is checked: dynamics is set to previously used one
or the default one, all dynamics options are seen in the UI.
2022-02-03 20:33:45 +01:00
Félix Piédallu
65eff6f150 Meson port. 2019-09-11 16:42:04 +02:00
Jehan
cd924f453a app: do not make line art bucket fill a GimpSelectCriterion anymore.
This was my initial choice, but the more I think about it, the less I am
sure this was the right choice. There was some common code (as I was
making a common composite bucket fill once the line art was generated),
but there is also a lot of different code and the functions were filled
of exception when we were doing a line art fill. Also though there is a
bit of color works (the way we decide whether a pixel is part of a
stroke or not, though currently this is basic grayscale threshold), this
is really not the same as other criterions. In particular this was made
obvious on the Select by Color tool where the line art criterion was
completely meaningless and would have had to be opted-out!

This commit split a bit the code. Instead of finding the line art in the
criterion list, I add a third choice to the "Fill whole selection"/"Fill
similar colors" radio. In turn I create a new GimpBucketFillArea type
with the 3 choices, and remove line art value from GimpSelectCriterion.

I am not fully happy yet of this code, as it creates a bit of duplicate
code, and I would appreciate to move some code away from gimpdrawable-*
and gimppickable-* files. This may happen later. I break the work in
pieces to not get too messy.
Also this removes access to the smart colorization from the API, but
that's probably ok as I prefer to not freeze options too early in the
process since API needs to be stable. Probably we should get a concept
of experimental API.
2018-12-12 15:27:48 +01:00
Michael Natterer
e8d0f8e3cf data: don't use deprecated enum value nicks in tool presets 2018-05-01 13:57:44 +02:00
Michael Natterer
b0beb0197a Bug 795230 - Rename Blend tool and provide PDB compatibility
Rename the tool and its options, and the gradient sub-struct of paint
options.
2018-04-14 00:52:20 +02:00
Michael Natterer
895edd6d76 data: add .gitignore to tool-presets/Crop and fix tabs in its Makefile.am 2017-08-24 19:25:30 +02:00
Alexandre Prokoudine
36316e20b9 Bug 156858 - Add option menu of standard aspect ratios to ratio-using tools
Add 4x3 Landscape/Portrait, 3x2 Landscape/Portrait, 16x10, 16x9, and Square presets
2017-06-12 02:05:57 +03:00
Michael Natterer
88d2df0af8 data: s/stock-id/icon-name/ in all tool presets 2014-05-09 02:46:21 +02:00
Sven Claussner
3bc112bd07 Bug 692956 - Bring back 'Color from gradient' option to Paint tools
This patch adds a Dynamic for the 'Color From Gradient' option
and three Paint tool presets (Airbrush, Paintbrush, Pencil), which
use this preset.

	new file:   data/dynamics/Color-From-Gradient.gdyn
	new file:   data/tool-presets/Paint/Airbrush-Color-From-Gradient.gtp
	new file:   data/tool-presets/Paint/Paintbrush-Color-From-Gradient.gtp
	new file:   data/tool-presets/Paint/Pencil-Color-From-Gradient.gtp
	modified:   data/dynamics/Makefile.am
	modified:   data/tool-presets/Paint/Makefile.am
 	modified:   AUTHORS
 	modified:   authors.xml
(cherry picked from commit 54b28a5b60)
2013-04-24 19:59:08 +02:00
Alexia Death
fe946a7501 data: More new brush set cleanup, underscore hunt edition 2012-02-06 21:57:20 +02:00
Alexia Death
7aa12175a4 data: More resource updates and cleanup with Ramon 2012-02-04 21:00:43 +02:00
Michael Natterer
6699ed185c data: Add .gitignore in the new data directories 2012-01-22 21:02:36 +01:00
Mukund Sivaraman
8746d0c51e build: Cleanup trailing whitespace and some other whitespace 2012-01-21 22:45:16 +05:30
Alexia Death
b8e2b8b0d8 data: Make new presets from Ramon Miranda install 2012-01-21 18:16:47 +02:00
Alexia Death
fb0630cfe8 data: New resource files from Ramon Miranda (wo/install) 2012-01-21 13:30:31 +02:00