Gimp/app
Jehan ffe2fb478c app: new gimp_spin_scale_set_constrain_drag() and use it on paint...
... tools' brush options.
After discussions, it turned out that many people disliked that the spin
scale for brush size (and some other options) get you fractional values.
How often do you actually need to get a 4.32 pixel-size brush? And even
how meaningful is it? On the other hand, you usually want a 4 or a 5
pixel size brush and it's nearly impossible to get (exactly) by dragging
the scale widget.
It is so annoying that some even resort to edit the value with keyboard!
So I am adding an optional "constrain" feature to GimpSpinScale. It will
still be possible to get fractional values when constraining is on, for
instance with keyboard edit (the arrow incrementation also will keep any
fractional part). So the interaction for such scales is simply reversed
so that you get integers easily, and fractional parts with a bit more
effort.

It is not turned on by default (some feature actually need precision and
we don't want to break the sliders for these) and for the time being, I
only applied it to all the brush settings in paint tools. Now that it
exist, we may want to apply this to more scales in various parts of
GIMP.

(cherry picked from commit bff3903f37)
2019-01-25 18:34:09 +01:00
..
actions Annotation for translators. 2019-01-10 12:55:42 +01:00
config app: remove gimp-scratch; replace with gegl-scratch 2019-01-06 07:39:52 -05:00
core app: fix indentation in gimpmaskundo.h 2019-01-20 10:33:56 -05:00
dialogs Issue #2828: Scrolling up with a mouse within a drop-down list. 2019-01-20 13:48:33 +01:00
display app: fix rectangle-select tool rounded-corners option 2019-01-21 11:39:28 -05:00
file Issue #2379 - Crash on saving 2018-10-31 23:52:13 +01:00
gegl app: in gimp_gegl_apply_cached_operation(), s/cancellable/cancelable/ 2019-01-12 05:11:47 -05:00
gui app: make sure we reset tool modifier state before saving options. 2018-12-19 15:48:26 +01:00
menus Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
operations Issue #2848: some sentences have no translation. 2019-01-24 16:20:11 +01:00
paint Issue #1942 - Smudge Tool with Sample Merged Option 2019-01-20 17:50:50 +01:00
pdb app: alt-click to pick a layer will loop through candidate layers. 2019-01-08 13:41:06 +01:00
plug-in libgimpbase, libgimp, app: pass misc. GEGL config to plug-ins 2018-11-19 17:09:59 -05:00
propgui Issue #2136 - On-image UI for adjusting Linear Motion Blur 2019-01-04 14:40:25 +01:00
tests app: remove gimp-scratch; replace with gegl-scratch 2019-01-06 07:39:52 -05:00
text app: use gimp_async_add_callback_for_object() in various places 2018-11-30 04:15:45 -05:00
tools app: new gimp_spin_scale_set_constrain_drag() and use it on paint... 2019-01-25 18:34:09 +01:00
vectors app, libgimpconfig: make various usage of g_file_replace() safer. 2018-12-07 00:51:05 +01:00
widgets app: new gimp_spin_scale_set_constrain_drag() and use it on paint... 2019-01-25 18:34:09 +01:00
xcf Issue #2685 - Crash when distributing layers horizontally 2019-01-03 15:06:36 +01:00
.gitignore Move git-version.h to the toplevel also in .gitignore 2018-01-29 20:26:18 +01:00
about.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
app.c app: more GimpBacktrace tidying 2018-09-03 15:58:01 -04:00
app.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
errors.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
errors.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-debug.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-debug.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-intl.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-log.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-log.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-priorities.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-version.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-version.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcore.def app: remove "Edit -> Fade..." 2018-12-27 11:45:11 -05:00
language.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
language.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
main.c app: open the Windows console a bit earlier. 2018-08-15 14:24:15 +02:00
Makefile.am app: remove gimp-scratch; replace with gegl-scratch 2019-01-06 07:39:52 -05:00
sanity.c configure.ac: require babl >= 0.1.61 2019-01-01 19:24:42 +01:00
sanity.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
signals.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
signals.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
tests.c tests: OSX - activate GIMP window when tests are running 2018-11-23 23:15:25 +01:00
tests.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
unique.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
unique.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00