Gimp/app/dialogs
Jehan 0f05825a29 app, libgimpwidgets, plug-ins: default increments for GimpScaleEntry.
Instead of setting always manually the step and page increments when
creating a GimpScaleEntry, let's just generate some common cases
automatically. Indeed the increments are rarely something you want to
care about. The algorithm used is:
- For a range under 1.0, use a hundredth and a tenth (typically a [0,
  1.0] range will step-increment of 0.01 and page-increment of 0.1).
- For small ranges (under 40), step-increment by 1, page-increment by 2.
- For bigger ranges, step-increment by 1, page-increment by 10.

For use cases when you absolutely want specific increment values, I add
the gimp_scale_entry_set_increments() function. It is much better to
have a small and understandable constructor call followed by
configuration calls (only when needed) rather than a constructor with a
crazy amount of parameters. Hence gimp_scale_entry_new() went from 17
arguments (absolutely unreadable calls) to now 5.
2020-10-30 12:33:46 +01:00
..
.gitignore
about-dialog.c Issue #4777: "New version available" after update. 2020-10-16 18:15:31 +02:00
about-dialog.h app: show new version availability in About dialog. 2019-12-29 10:36:12 +01:00
action-search-dialog.c app: show unavailable actions in Action Search after available ones. 2020-10-26 16:40:43 +01:00
action-search-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
authors.xsl Bug 754652 - About dialog does not credit contributors for 2.10. 2015-09-07 17:04:23 +02:00
channel-options-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
channel-options-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
color-profile-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
color-profile-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
color-profile-import-dialog.c app: new profile conversion policy to preferred color profile. 2020-09-24 16:27:34 +02:00
color-profile-import-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
convert-indexed-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
convert-indexed-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
convert-precision-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
convert-precision-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
data-delete-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
data-delete-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dialogs-constructors.c app: actually enable multi-selection. 2020-05-17 18:32:15 +02:00
dialogs-constructors.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dialogs-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dialogs.c app, icons: add 3D Transform tool 2020-01-06 21:52:54 +02:00
dialogs.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
extensions-dialog.c app: do not show close button to extensions dialog. 2018-07-19 12:56:49 +02:00
extensions-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-open-dialog.c Remove the second "raw-filename"/"raw-uri" parameter from file procedures 2019-09-11 00:21:03 +02:00
file-open-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-open-location-dialog.c Remove the second "raw-filename"/"raw-uri" parameter from file procedures 2019-09-11 00:21:03 +02:00
file-open-location-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-save-dialog.c Issue #2379 - Crash on saving 2018-10-31 23:46:06 +01:00
file-save-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
fill-dialog.c app: Selection fill and "Fill Path" now multi-layer aware. 2020-08-01 13:12:21 +02:00
fill-dialog.h app: Selection fill and "Fill Path" now multi-layer aware. 2020-08-01 13:12:21 +02:00
grid-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
grid-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-merge-layers-dialog.c app, pdb: layers-merge-layers* and image-merge-layers multi-layer aware. 2020-05-17 18:57:32 +02:00
image-merge-layers-dialog.h app: merge layers in chunks, and show progress 2019-02-25 05:10:50 -05:00
image-new-dialog.c Issue #3105 - "Maximum Image Size" changed to "Maximum new image size" 2019-05-30 00:25:37 +02:00
image-new-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-properties-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
image-properties-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-scale-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-scale-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
input-devices-dialog.c app: Input Devices "Reset" button should actually reset to defaults. 2020-06-13 20:36:37 +02:00
input-devices-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
item-options-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
item-options-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
keyboard-shortcuts-dialog.c app, libgimpwidgets: return visible widgets from all gimp_prop_foo_new() 2019-09-25 20:24:06 +02:00
keyboard-shortcuts-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
layer-add-mask-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
layer-add-mask-dialog.h app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
layer-options-dialog.c Missing mnemonics on several dialogs 2019-09-05 22:41:19 +03:00
layer-options-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
lebl-dialog.c app: fix a super secret segfault 2020-01-30 18:28:48 +02:00
lebl-dialog.h Change a bazillion URLs to https:// 2018-07-14 14:19:27 +02:00
Makefile.am app: argh metadata-rotation-import-dialog.h missing from Makefile.am. 2020-09-24 14:54:52 +02:00
meson.build app, libgimp, plug-ins: move Orientation metadata handling into core. 2020-09-24 12:43:41 +02:00
metadata-rotation-import-dialog.c app, libgimp, plug-ins: move Orientation metadata handling into core. 2020-09-24 12:43:41 +02:00
metadata-rotation-import-dialog.h app, libgimp, plug-ins: move Orientation metadata handling into core. 2020-09-24 12:43:41 +02:00
module-dialog.c libgimpmodule: clean up GimpModule and GimpModuleDB 2019-09-13 13:11:23 +02:00
module-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
palette-import-dialog.c app, libgimpwidgets, plug-ins: default increments for GimpScaleEntry. 2020-10-30 12:33:46 +01:00
palette-import-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
preferences-dialog-utils.c propwidget: Add gimp_prop_switch_new() 2020-08-22 23:53:49 +00:00
preferences-dialog-utils.h propwidget: Add gimp_prop_switch_new() 2020-08-22 23:53:49 +00:00
preferences-dialog.c app: show unavailable actions in Action Search after available ones. 2020-10-26 16:40:43 +01:00
preferences-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
print-size-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
print-size-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
quit-dialog.c app: make drag'n drop multi-drawable selection aware. 2020-05-17 18:32:15 +02:00
quit-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
resize-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
resize-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
resolution-calibrate-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
resolution-calibrate-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
scale-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
scale-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
stroke-dialog.c app: selection stroke and "Stroke Path" now multi-layer aware. 2020-08-01 14:02:24 +02:00
stroke-dialog.h app: selection stroke and "Stroke Path" now multi-layer aware. 2020-08-01 14:02:24 +02:00
template-options-dialog.c app: multi-layer aware layers-mask-add and layers-mask-add-button. 2020-05-17 18:32:16 +02:00
template-options-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
tips-dialog.c Change a bazillion URLs to https:// 2018-07-14 14:19:27 +02:00
tips-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
tips-parser.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
tips-parser.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
user-install-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
user-install-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-export-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-export-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-import-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-import-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-options-dialog.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-options-dialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00