47 Commits

Author SHA1 Message Date
Ingo Weyrich
6335b68a80 Further reduction of include dependencies 2019-11-03 14:52:42 +01:00
Ingo Weyrich
ba8dda1836 Further cleanup of include dependencies 2019-10-30 16:38:02 +01:00
Ingo Weyrich
0493e67474 nuke empty adjusterAutoToggled functions 2019-07-20 11:44:38 +02:00
Hombre
108b69ae22 "edit.h/.cc" splitted to limit rebuilding dependencies 2019-03-22 00:09:37 +01:00
Flössie
b08fb04dae Convert almost all IdleRegister::add() calls to add(std::function<>) 2019-01-01 15:53:39 +01:00
Flössie
5af3f64a9d Merge branch 'dev' into review-idle_register-calls 2018-12-31 14:58:26 +01:00
Alberto Griggio
7cfd9dc8f4 colortoning: fixed bug in setting method in batch mode 2018-12-03 00:55:54 +01:00
Alberto Griggio
73898e1a3f Enhanced version of the "L*a*b* regions" color toning, adding mask blur and ASC-CDL controls 2018-11-22 09:45:59 +01:00
Alberto Griggio
a8bbc9cb8b labgrid: code refactoring to avoid duplication for adding reset buttons 2018-11-01 14:25:06 +01:00
Alberto Griggio
e9f0b6ac60 L*a*b* regions: some code cleanups 2018-11-01 13:34:10 +01:00
Alberto Griggio
4eb93c24f8 fixed broken labgrid after previous commit 2018-10-30 22:30:12 +01:00
Alberto Griggio
74a467fb4e labgrid: work on [0,1] values 2018-10-30 21:12:44 +01:00
Alberto Griggio
f673a4a881 avoid grabbing focus in the L*a*b* region list 2018-10-28 18:38:40 +01:00
Flössie
5906329485 Review IdleRegister (#4892)
This turns `IdleRegister::add()` into a template function to make the
provided function pointers type safe. It also adds a `delete_data`
parameter to manage the provided data pointer even in `destroy()`.
2018-10-28 13:12:01 +01:00
Alberto Griggio
db07a8cdd3 L*a*b* regions: add new regions at the end of the list, not at the beginning 2018-10-26 18:16:12 +02:00
Alberto Griggio
1a3fd9f157 Added new color toning method "L*a*b* regions"
Allows to specify various "regions" of the image with masks, and to correct
for hue, saturation and lightness.

Inspired by the existing L*a*b* grid (in turn taken from darktable)
2018-10-25 16:46:11 +02:00
heckflosse
ccc882dbcf Review idle_register.add() calls: wavelets, ciecam02, colortoning 2018-10-24 17:12:11 +02:00
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
luz.paz
5f867be0c3 Misc. typo tixes 2018-07-31 13:14:14 -04:00
Morgan Hardwood
bb6282fad3 Icons tweaked #4469
- The "light" icon theme is now a little lighter, to increase contrast.
- Toolbox icons are now small.
- Buttons:
  - Buttons without labels which use icons as their only source of info regarding what the button does (e.g. the white-balance pipette button) use normal-sized icons.
  - Labeled buttons which use icons as an auxiliary source of information (e.g. Auto-Crop) now use small icons. Curve type icons are also small even though they have no labels.
- Colored circles are smaller.
- Curve type icons redesigned and small.
- Hand icons (when panning the preview) redesigned to have a clear outline regardless of background color.
- Magnifier icons redesigned to have a thinner magnifier frame and larger inner parts.
- Perspective, distortion and crop icons redesigned.
- Some small icons were missing the `-small` suffix, now renamed.
2018-07-16 12:41:40 +02:00
Morgan Hardwood
522495f4eb Icon cleanup #4469 #3547
Rebased in new branch to cleanup commit history.
2018-07-13 18:13:35 +02:00
Morgan Hardwood
9cecad02f9 Icon cleanup WIP1 2018-05-23 00:37:12 +02:00
Morgan Hardwood
d6c45f90b5 Reset tooltips improved
Now the "reset" tooltips state what happens on click vs ctrl+click.
Commit includes required fixes to other modules which used incorrect
reset language keys.
Fixes #4563
2018-05-18 12:45:26 +02:00
Flössie
656a92cb8e Fix openSUSE build once again (fixes #4307) 2018-01-15 17:54:15 +01:00
Hombre
52be618963 Bugfix in LabGrid class + code refactoring
- suppressed trailing `_` char for class' parameters
- renamed function name (those not related to Gtk) to lowerCamelCase
- changed the mecanism of dragging point, to avoid throwing unecessary
`panelChange` event
- added a `reset` function, with support of `toInitial` to get back the
values at load time (CTRL+click on reset button)
- `on_draw` optimisation: now LabGrid IS A BackBuffer
2018-01-13 20:26:19 +01:00
Alberto Griggio
0e52db3c77 moved LabGrid class to its own file 2018-01-12 21:58:10 +01:00
Alberto Griggio
840d3d1de4 made L*a*b* color correction grid respect options.adjusterMinDelay for updating the preview 2018-01-11 09:40:51 +01:00
Alberto Griggio
bfa3f786ba replace M_PI with rtengine::RT_PI 2018-01-08 23:27:22 +01:00
Alberto Griggio
93ac6e0105 added reset button for the L*a*b* grid in color toning 2018-01-08 22:31:48 +01:00
Alberto Griggio
7353ff864b some tweaks to the L*a*b* correction grid module 2018-01-08 14:34:54 +01:00
Alberto Griggio
041990d216 Added new color toning mode "L*a*b* color correction grid", adapted from DT's color correction module 2018-01-08 00:19:36 +01:00
Morgan Hardwood
9911283266 More full hue range curve bar fixes, #4271
This one fixes the CIECAM02 color curve,
and the Color Toning opacity curves.
2018-01-01 22:51:25 +01:00
Alberto Griggio
729e50ff2e color toning: properly draw hue and strength gradients for the highlights and shadows sliders
Fixes #4209
2017-12-08 15:54:05 +01:00
Flössie
05505803ae C'tor init for (ToneCurve|Retinex|LCurve|ColorToning)Params 2017-11-18 19:07:23 +01:00
Desmis
24fd816c36 Fix all warnings for rtgui colortoning.cc 2017-04-01 10:06:37 +02:00
Flössie
79ff7f5997 Replace all add_idle()s with IdleRegister 2017-02-10 21:22:42 +01:00
Morgan Hardwood
e4f6319d1b Testing merge of master 95f0d6 into gtk3 9cf0e5 2016-12-27 17:14:45 +01:00
heckflosse
b16ef8d1f5 Merge master into gtk3 2016-10-28 17:59:47 +02:00
Flössie
0731975ff0 Apply modernize-use-nullptr
Setup:
- `mkdir tidy; cd tidy`
- `cmake .. -DCMAKE_BUILD_TYPE=debug -DPROC_TARGET_NUMBER=1 -DCACHE_NAME_SUFFIX=4 -DBINDIR=. -DDATADIR=. -DBUILD_BUNDLE=ON -DWITH_LTO=OFF -DOPTION_OMP=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
- `cd ..`
- `find -name '*.cc' -exec clang-tidy-3.8 -header-filter=.* -p=tidy -fix-errors -checks=modernize-use-nullptr {} \;`
2016-10-12 17:48:40 +02:00
Hombre
3577d87862 Removed set_border_width from the code, padding and margin values still
to be set in CSS file
2016-02-23 21:36:00 +01:00
Adam Reichold
8151e0f5ce Merge branch 'master' into 'gtk3'
Most conflicts seemed to be simple enough. There were a lot of `append_text` to
`append` conversions for `Gtk::ComboBoxText`. The `PopUpCommon` class also saw
a lot of changes with non-trivial conflict resolutions.
2016-01-06 23:56:12 +01:00
Adam Reichold
151556ae23 Add an optional function to the pop-up button, so that it will select the next entry when clicked and also do some miscellaneous code clean-ups including forward declarations. 2015-12-20 19:42:06 +01:00
Adam Reichold
871e661a93 Remove two unused labels from the color toning tool that were always hidden when not in batch mode. 2015-12-03 20:08:46 +01:00
Morgan Hardwood
56a0805bc7 Gtk3 by Hombre, issue 2807 2015-08-12 16:07:19 +02:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
DrSlony
effb46c3e1 Line endings 2015-08-11 11:53:44 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00