68 Commits

Author SHA1 Message Date
Thanatomanic
a6a368e682 Allow resizing of navigator window. Patch by @Lawrence37. Fixes #6052 2021-02-27 08:03:36 +01:00
Thanatomanic
fc031ccb5a
Remove deprecated GTK3 code, fixes #6103 (#6113)
Replaces the following deprecated Gtk classes throughout the codebase by their non-deprecated counterparts. Style, HBox, VBox, HPaned, VPaned, HScrollbar, VScrollbar, VSeparator, HSeparator, Stock, Table, VScale and HScale.
2021-02-17 11:44:25 +01:00
Flössie
97c7794a5a Turn Options::ScopeType into a scoped enum :)
Also remove global `using ...` from header file.
2020-09-14 09:44:29 +02:00
Lawrence Lee
c03efe4878 Add dedicated buttons for scope switching
Previously, changing to a different scope was done by clicking the scope
type button and cycling through all scopes. This commit decreases the
number of clicks needed to switch between two scopes by adding a radio
selector. The radio buttons can be shown or hidden by pressing the scope
type button. This commit also makes the raw histogram one of the scope
types.
2020-09-12 17:52:24 -07:00
Lawrence Lee
b2942fd949 Improve performance of scopes
If a scope update is requested, don't recalculate scope data if it is
already up-to-date.

Eliminate double and triple scope rendering.
2020-08-28 22:33:52 -07:00
Ingo Weyrich
e67b02da8b further cleanups 2020-08-15 22:36:10 +02:00
Ingo Weyrich
07d26c16ed ImProcCoordinator::updateVectorscope(): fix crash caused by large stack allocation, speedup, fixed scaling from [0;255] to [0;65535] range 2020-08-15 17:35:24 +02:00
Lawrence Lee
6cd87ad975 Use array2D for waveform and vectorscopes 2020-08-09 16:49:28 -07:00
Lawrence Lee
9382306fed Add CIELAB lightness to waveform 2020-08-05 11:57:34 -07:00
Lawrence Lee
fbe73614c3 Add H-S and H-C vectorscopes 2020-08-03 18:23:25 -07:00
Lawrence Lee
6df69b3786 Improve performance of histogram/waveform updates
Only perform calculations for the currently shown scope.
Cache the waveform so it can be reused when the scope is resized.
Increase speed of waveform rendering.
2020-07-26 13:27:17 -07:00
Lawrence Lee
4cbd622569 Add initial implementation of waveform 2020-07-21 22:45:10 -07:00
Pandagrapher
bb95dd7a1b Improves Locallab tools advice tooltips management
Other:
- GUI widgets cleanup
2020-05-08 12:34:10 +02:00
Ingo Weyrich
04b08741ee Further cleanups 2019-11-27 18:55:20 +01:00
Ingo Weyrich
587652283d further reduction of include dependencies, also finalised some classes 2019-11-09 16:51:54 +01:00
Ingo Weyrich
b3b1008270 Further reduction of include dependencies 2019-11-02 17:29:26 +01:00
Ingo Weyrich
afeca7f5f9 Fix lgtm issues 2019-11-02 00:18:48 +01:00
Ingo Weyrich
c1f9120ef4 Further reduction of include dependencies 2019-11-01 21:20:52 +01:00
Flössie
add5c790d6 #pragma once for our headers plus drive-by formatting 2019-10-31 10:20:50 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Ingo Weyrich
46cbb652d5 cppcheck: further fixes 2019-08-01 14:02:38 +02:00
heckflosse
831e18ca45 Add override keyword. Thanks @Floessie 2018-11-22 16:19:16 +01:00
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
heckflosse
78989731f5 Always use icons for tab headers, #4772 2018-09-18 11:37:15 +02:00
Thanatomanic
9e735b2640 Big update: 1) implemented scalable histogram (TooWaBoo's CSS untested but probably unnecessary now); 2) reverted graphical changes; 3) gridlines now multiply based on height and width; 4) removed cube-scaling; 5) implementend double-log scaling as the third alternative based on suggestion by @iliasg 2018-06-17 10:01:16 +02:00
Hombre
157da7f9ba Merge branch 'dev' into tiff32float 2017-12-20 00:21:23 +01:00
Oleg Koncevoy
d6037a880e Moved histogramProfile_toggled() to EditorPanel private section.
modified:   rtgui/editorpanel.h
2017-12-08 09:59:46 +02:00
Oleg Koncevoy
4c76c7456f Added a histogram profile settings toggle button. Now working histogram profile can be changed without entering the preferences window.
modified:   ../rtgui/editorpanel.cc
	modified:   ../rtgui/editorpanel.h
2017-11-27 17:12:21 +02:00
Alberto Griggio
bc8b8902e6 make rtengine::processImage return an Imagefloat instead of an Image16
This is for supporting saving to 32-bit float TIFFs
2017-11-20 00:10:51 +01:00
Hombre57
e97c7cad2c Bugfix: when 'off', "Show all" only shew the first frame
The QuickInfo panel now reflect the selected subframe's metadata
See #4008
2017-09-28 00:25:23 +02:00
heckflosse
14378f39af Finally fixes #2494 2017-09-16 12:37:58 +02:00
heckflosse
91fd578f49 Write PP3 before processing image, not after. Hopefully fixes #2494 2017-09-15 22:09:45 +02:00
Alberto Griggio
f70ba32c9d run through astyle 2017-08-22 08:48:33 +02:00
Alberto Griggio
610f3e4853 added option to manually save the collapsed/expanded state of tools 2017-08-21 18:42:15 +02:00
heckflosse
aecfaa2631 In MEOW mode size of toolpanel has to depend on size of MEOW window instead on size of main rt window 2017-07-07 21:00:31 +02:00
Alberto Griggio
6b28671c41 some code style fixes 2017-06-19 13:49:14 +02:00
Alberto Griggio
54b66b7736 Added support for using RawTherapee as a GIMP plugin for opening RAW files
plugin code taken from Darktable
2017-05-18 15:59:56 +02:00
Alberto Griggio
ecae94f17c automatically select the system monitor profile if the preferences say so
Fix for issue #3821
2017-04-12 16:20:03 +02:00
Alberto Griggio
7f05567edf fixed warnings in rtgui/editorpanel 2017-04-01 15:31:19 +02:00
Flössie
79ff7f5997 Replace all add_idle()s with IdleRegister 2017-02-10 21:22:42 +01:00
Hombre
d702156f8a Merge branch 'master' into gtk3 2017-01-02 02:48:45 +01:00
Hombre
e9df621d4b Updated strings + Image preview now updates on changes in Preferences
... regarding Printer profile, intent or BPC
2017-01-01 02:03:44 +01:00
Hombre
e6aff9cbf7 Tweaked some space here and there, thanks to Beep6581 (issue #3446) 2016-12-12 01:18:27 +01:00
heckflosse
b16ef8d1f5 Merge master into gtk3 2016-10-28 17:59:47 +02:00
Flössie
0bbc84b2af Merge branch 'master' into clang-tidy 2016-10-18 17:48:50 +02:00
Morgan Hardwood
4efae5c764 Merge branch 'master' into gtk3 2016-10-16 23:26:51 +02:00
Hombre
50165dab20 Merge branch 'master' into softproofing 2016-10-16 01:45:52 +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
3552fd4161 Cppcheck: Fix issues related to explicit constructors 2016-10-03 00:54:02 +02:00