56 Commits

Author SHA1 Message Date
Lawrence37
98752a2433
Merge pull request #7257 from Beep6581/fix-warnings-5.12
Compiler warning fixes
2024-12-26 22:26:11 -08:00
Lawrence Lee
4e9ceff1e9
Merge remote-tracking branch 'origin/fix-warnings-5.9' into fix-warnings-5.12 2024-11-16 22:27:29 -08:00
Daniel Gao
711f274403 Get rid of relative include paths
* Use target_include_directories to specify include paths
* Specify project root (parent of rtgui and rtengine) as include path
* Replace relative includes with normal includes
2024-11-16 17:20:02 -05:00
Pandagrapher
c48531448e Add hidpi support for threshold selector and curves 2022-12-25 15:35:25 +01:00
Lawrence Lee
4b97a5cf3c
Placate some GCC warnings (#6563) 2022-09-05 18:05:35 -07:00
Pandagrapher
89d2bdce5b Initial commit for real hidpi support
Note: This commit has only been tested on MacOS

Changes:
- Icons now use the native hidpi support from Gtk (through Icon Theme)
- Icons are now directly generated from scalable file (i.e. SVG file)
- Widget sizes are scaled based on DPI and scale factor
- Font size is scaled based on DPI and scale factor
2022-08-19 16:47:28 +02:00
Desmis
e573de78b4 merge with dev 2020-03-19 13:40:11 +01:00
Ingo Weyrich
b4c0bb3acb More double promote fixes 2020-02-10 20:06:43 +01:00
Desmis
d645dc5951 merge with dev 2019-11-28 06:50:05 +01:00
Ingo Weyrich
2a4891827d Some cleanups 2019-11-26 15:25:11 +01:00
Ingo Weyrich
033d9fe02a Merge branch 'dev' into newlocallab 2019-11-04 23:01:33 +01:00
Ingo Weyrich
6935faa258 Further cleanup of include dependencies 2019-10-30 22:12:06 +01:00
Desmis
0711373021 Merge with dev 2019-09-11 08:35:25 +02:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Ingo Weyrich
b3e0013e56 Merge branch 'dev' into newlocallab 2019-08-08 16:18:58 +02:00
Ingo Weyrich
4fedfb2b26 cppcheck: further fixes 2019-08-06 22:10:38 +02:00
Desmis
e3962ff8dc merge with dev 2019-07-09 18:26:41 +02:00
Floessie
e980d9b225
Merge pull request #5315 from Beep6581/rtsurface-cleanup
Rtsurface cleanup
2019-07-09 13:02:46 +02:00
Desmis
2b9468e9f8 merge with dev 2019-06-04 18:29:58 +02:00
luz.paz
cc60ea2248 Fix source comment and misc. typos
Found via `codespell -q 3 -I ../rawtherapy-whitelist.txt -S ./rtdata/languages -L hist,fo,reall,bloc,alph`
2019-06-03 17:38:50 -04:00
Flössie
fc10dc5f77 Merge branch 'dev' into rtsurface-cleanup 2019-03-25 19:09:15 +01:00
Desmis
404604f491 merge with dev 2019-03-25 11:19:06 +01:00
Hombre
f60711b65b Code cleanup of editcallbacks.h/.cc for more safety 2019-03-24 01:40:25 +01:00
Pandagrapher
bc890b1070 Merge dev into newlocallab... 2019-03-23 10:43:49 +01:00
Hombre
108b69ae22 "edit.h/.cc" splitted to limit rebuilding dependencies 2019-03-22 00:09:37 +01:00
Flössie
84ce72841e Decouple rtengine/ from rtgui/edit.h 2019-03-21 20:50:43 +01:00
Pandagrapher
3dc0c71e7b Merge with "dev/newlocallab" 2019-03-17 13:39:20 +01:00
Desmis
cf27de89e2 Merge with dev 2019-03-17 10:45:17 +01:00
Pandagrapher
8569738cf6 Display Locallab Hue, Chroma and Luma reference values on mask curves
Bugfixe: Locallab reference values were only shown for the last control spot instead of selected one
2019-03-16 14:35:48 +01:00
Desmis
5156edeb8a display hue chroma lumaref on mask curves - dispaly 1:1 in some expanders - thanks to Pandagrapher 2019-03-04 10:20:08 +01:00
Hombre
78fa7dc063 SHCSelector, ThresholdSelector, LabGrid and Curves now handles HiDPI
see issue #3547
2019-01-02 18:04:58 +01:00
heckflosse
7f32010895 Fix coverity issues 2018-11-21 16:21:05 +01:00
Morgan Hardwood
8bc0df571e Cursor tweaks and code cleanup
- CursorManager code cleanup.
- Diagonal and flat curve cursors now use our bundled cursor icons.
  Icons are now less intrusive, allowing you to see what's going on
  under them as you manipulate the nodes.
- New small crosshair icon for curves.
2018-08-28 23:45:48 +02:00
heckflosse
642b4cc86c Fix some coverity issues 2017-06-16 21:21:22 +02:00
Hombre
abd11da072 New candidate fix for #3862, modifier keys handled in cropwindow.cc 2017-05-09 20:02:08 +02:00
Alberto Griggio
b30367947f do not add nodes to curves when clicking on the preview window unless ctrl is clicked
Candidate fix for #3862
2017-05-04 22:30:05 +02:00
Alberto Griggio
8f1e2cee42 properly reset the editedHandle field of MyFlatCurve when cleaning up the curve editor
Tentative fix for #3813
2017-04-09 21:17:22 +02:00
Alberto Griggio
27e822fdae fixed more warnings in rtgui (reported by gcc but not clang) 2017-04-01 16:43:32 +02:00
Flössie
88336cb897 Make RT build without __USE_MISC and __USE_XOPEN 2017-02-14 21:02:39 +01:00
Hombre
965cadb52e New batch of update for issue 3446
This commit include :
- cleanup rtgui/retinex.cc file (constructor only) and switched to
Gtk::Grid (the new standard) instead of Gtk::Box. This however doesn't
solve the issue of the Transmission curves in the Retinex tool, with
wrong resize of the Frame when folding/unfolding the curves.
- better alignment of the Histogram panel now with 4px of padding on the
left and right side
- Threshold selector now use the Scale's Trough style to draw its box
and sliders
- Curve's background are darker and restricted to the curve diagram
- Diagonal and Flat curves has been converted to Gtk::Grid as well
- A special color is now used for unsensitive Threshold selector and
Sclaes widgets
- Gap around the main Window has been removed on windows to circumvent a
bug in Gtk3, but the window can now only be maximized (usual use case)
or resized vertically by the top border only.
- Buttons at the bottom of the Editor panel has now the same height
2016-11-01 20:39:41 +01:00
Hombre
0c78885d25 Bugfix: Curve's bg and Histogram's bg wasn't cleaned upon refresh 2016-10-17 01:31:49 +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
Morgan Hardwood
040962c1b7 Merge branch 'master' into gtk3 2016-07-09 23:49:31 +02:00
heckflosse
c8779c04f5 Fix all - 2 cppcheck performance hints 2016-07-06 13:04:24 +02:00
Beep6581
ca71a0b7d2 Merge branch 'master' into gtk3 2016-06-09 23:36:02 +02:00
Beep6581
3da7d84ba9 Revert "Merged master into gtk3, fixed three conflicts."
This reverts commit c857bba95effed2bba4c69d7b072c0dce2ee64ad.
2016-06-09 23:24:55 +02:00
Beep6581
c857bba95e Merged master into gtk3, fixed three conflicts. 2016-06-09 22:36:59 +02:00
Beep6581
21b9b15e45 Applied Floessie's changes to prevent mutex lock issues, PR #3318 issue #1791 2016-06-03 14:00:26 +02:00
Beep6581
cf7a175d74 Merge branch 'master' into gtk3 2016-03-13 20:04:57 +01:00