50 Commits

Author SHA1 Message Date
Ingo Weyrich
785273e7bf Further reduction of include dependencies 2019-11-01 01:03:30 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Ingo Weyrich
4101102ddf cppcheck: further fixes 2019-07-31 20:02:35 +02:00
Ingo Weyrich
0493e67474 nuke empty adjusterAutoToggled functions 2019-07-20 11:44:38 +02:00
Hombre
619ca4fe53 Fix icon size of the WB combobox, fix unsensitive button color,
fix progress bar, fix folder line spacing.
See PR #5215
2019-03-16 00:07:03 +01:00
Hombre
cc1779a0ae Merge branch 'dev' into hidpi-icons 2019-01-24 22:02:44 +01:00
Flössie
b21d910573 Remove legacy IdleRegister::add<>() 2019-01-01 20:58:26 +01:00
Flössie
5af3f64a9d Merge branch 'dev' into review-idle_register-calls 2018-12-31 14:58:26 +01:00
Hombre
8728142b64 Merge branch 'dev' into hidpi-icons 2018-12-13 00:52:07 +01:00
Alberto Griggio
773b55b35e restored old behaviour of the WB tint slider
Fixes #5077
2018-12-10 17:29:21 +01:00
Hombre
5ea0bacddd Icons are resized depending on the current scale/resolution
See issue #3547 and #4803
2018-12-08 22:48:15 +01:00
Hombre
434e121f99 Merge branch 'dev' into hidpi-icons 2018-11-29 00:15:57 +01:00
TooWaBoo
24a80c60ee Make WB-Picker button look like other toolbuttons (#4967) 2018-11-20 22:14:04 +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
Hombre
785a0e6a46 Merge branch 'dev' into hidpi-icons 2018-10-25 20:43:41 +02:00
Hombre
4eb8a8f70c Adding HiDPI support (WIP) 2018-10-25 20:22:33 +02:00
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
Alberto Griggio
11e7739a55 Added option to use a non-linear response for Adjuster sliders
Some of the RT parameters that are currently associated to Adjusters are very
hard to edit precisely by dragging the sliders, because small changes to the
default produce quite visible results. Prominent examples include black level,
WB tint, raw black and white points, and lens correction parameters
(distortion, CA, vignetting, perspective). The problem is made worse for those
settings in which not only small changes are significant, but also the
associated Adjusters have a very large range (again, think of black point and
WB tint). This is due to the fact that the current Adjusters have a linear
response. This commit adds an option to use a non-linear (specifically
logarithmic) response, which causes the sliders to move "slowly" around a
designated pivot point, and progressively faster the further you move away
from the pivot.

Besides adding the functionality to the Adjuster class, this changeset also
enables this behaviour for the following adjusters:

- exposure compensation
- black point
- lightness/contrast/saturation/chromaticity (both in exposure and in L*a*b*)
- WB tint
- channel mixer
- lens corrections (perspective, distortion, CA)
- rotation
- raw black and white points
- raw CA correction
2018-09-20 14:41:29 +02:00
Morgan Hardwood
5309307c7b Theme tweaks in light of new icons, #4469
- Button and combobox sizes consistent.
- Padding around left and right edges of comboboxes.
- Fixed bug in green channel preview togglebutton icon always being
  shown as "off".
- Added CSS classes to various elements.
2018-07-18 19:37:24 +02:00
Morgan Hardwood
2a359ce04a Icon tweaks #4469
- Added small versions of the white-balance icons and used them in the
  combobox.
- Style consistency for the hand-open icon.
- Tweaked window-add, used for adding detail windows.
2018-07-18 15:32:58 +02: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
Flössie
22274f2efd Omit GThreadLock and use IdleRegister in WhiteBalance (fixes #4545) 2018-05-10 20:21:12 +02:00
Alberto Griggio
b963f368af Added On/Off switch for White Balance
Candidate fix for #3542
2017-12-09 18:09:13 +01:00
Flössie
e0f7c1358b procparams.h cleanup - Part 2
TODO:
- Add c'tors and find all defaults
- Remove `setDefaults()` in favour of c'tors
- Add `operator ==()` to `struct`s
2017-11-17 17:05:46 +01:00
Flössie
02d6187cd8 procparams.h cleanup - Part 1
TODO:
- Part 2 (obviously 😉)
- Remove `setDefaults()` in favour of c'tor
2017-11-14 21:20:07 +01:00
heckflosse
18076077c0 Fix some coverity issues 2017-06-14 13:50:46 +02:00
Desmis
9bbd7a9589 Fix all warnings in rtgui whitebalance.cc 2017-04-01 08:59:48 +02:00
Alberto Griggio
e66cc8f3fa use the right precision (2 digits) for the history entry of AWB temp bias 2017-02-16 18:38:57 +01:00
Alberto Griggio
1b30493bd7 removed unused variable custom_tempBias 2017-02-16 16:21:38 +01:00
Alberto Griggio
ea0bf12347 added blue and yellow dots to the "AWB temp bias" adjuster 2017-02-16 14:50:22 +01:00
Alberto Griggio
ed71a7eb4e improved UI behaviour of "AWB temperature bias" 2017-02-16 12:15:17 +01:00
Alberto Griggio
7a57e5276a merged with autowbfix branch 2017-02-16 14:12:03 +01:00
heckflosse
974c3ff467 Cleanup for autowb fix 2017-02-15 17:54:29 +01:00
heckflosse
54d1533a7d Fix autowb issues, fixes #3690 2017-02-15 01:30:41 +01:00
Alberto Griggio
dca0e41f35 added "Auto White Balance temperature bias" feature
This new slider in the White Balance tools allows to alter the computation of
the "auto white balance" by "biasing" it towards warmer or cooler
temperatures. The bias is expressed as a percentage of the computed
temperature, so that the resuling temperature is given by
"computedTemp + computedTemp * bias".
2017-02-12 17:39:52 +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
Morgan Hardwood
0dbea030cb Merge branch 'master' into gtk3-merge-master-b8eb349 2016-10-10 23:07:41 +02:00
heckflosse
566d4c9822 Cppcheck: Fixed most issued in rtgui/* 2016-10-04 23:28:19 +02:00
Beep6581
098603c647 Merge branch 'master' into gtk3 2016-04-17 20:12:30 +02:00
Desmis
324b54bb46 extend the limit of the tint slider to 10 for IR 2016-04-10 07:26:51 +02:00
Adam Reichold
a04c7706db Merge branch 'master' into 'gtk3' 2016-03-05 13:11:00 +01:00
Adam Reichold
13ebcb0dd0 Move image loader helper functions from safegtk to RTImage module. 2016-02-21 09:59:12 +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
16061aad88 Removed unused files 2015-08-09 20:56:10 +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