35 Commits

Author SHA1 Message Date
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
Ingo Weyrich
9a4ade6f20 devirtualize method calls by declaring classes and methods final 2020-01-23 22:18:46 +01:00
Ingo Weyrich
04b08741ee Further cleanups 2019-11-27 18:55:20 +01:00
Ingo Weyrich
2a4891827d Some cleanups 2019-11-26 15:25:11 +01:00
Flössie
aacea7046c Fix Clang warnings plus some cleanups 2019-10-31 08:56:38 +01:00
Ingo Weyrich
ba8dda1836 Further cleanup of include dependencies 2019-10-30 16:38:02 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Andy Dodd
1a6d1b038f rtgui/cropwindow: Improve behavior with smooth scrolling devices
Accumulate/coalesce GDK_SCROLL_SMOOTH events until we equal or exceed +/-1.0

This avoids having one zoom adjustment for every single event which makes touchpad zooming unusable due to frequent
small deltas

This makes trackpad zooming usable while having no effect on mice that emit GDK_SMOOTH_SCROLL with values of +/-1.0 instead
of GDK_SCROLL_UP and GDK_SCROLL_DOWN

If any mice exist that have scroll wheel detents but emit smaller values per detent, this may have the negative effect of
requiring multiple detents per zoom level.  It remains to be seen whether any mice behave like this.  The discrete step
implementation of zoomSteps requires us to coalesce events instead of smoothly zooming in and out.
2019-08-30 16:55:35 -04:00
Ingo Weyrich
46cbb652d5 cppcheck: further fixes 2019-08-01 14:02:38 +02:00
Ingo Weyrich
5f8799d48e Store buttonset tooltips in static memory, saves about 700 byte per thumbnail 2019-07-18 11:18:45 +02:00
Hombre
108b69ae22 "edit.h/.cc" splitted to limit rebuilding dependencies 2019-03-22 00:09:37 +01:00
heckflosse
831e18ca45 Add override keyword. Thanks @Floessie 2018-11-22 16:19:16 +01:00
Beep6581
009c1082f7
Merge pull request #4857 from Beep6581/abstract-listeners
Turn Listeners into abstract interfaces
2018-10-17 14:22:11 +02:00
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
Hombre
0d61f14bae Added support for GDK_SCROLL_SMOOTH in some widgets
see #4781, #4786
2018-09-15 21:14:48 +02:00
heckflosse
c9819d35e6 Avoid unnecessary processing when zooming to >= 100% or opening detail windows 2018-02-06 13:50:00 +01:00
heckflosse
3e2e7717b1 Fix random behaviour when opening images in SETM and 'Auto zoom to fit the crop area' is enabled, fixes #4357 2018-02-03 12:57:36 +01:00
Alberto Griggio
68e7c5ce23 cropwindow: use a stateful custom crop ratio to avoid imprecision due to intermediate rounding
See the comments by @heckflosse in #1489
2017-04-13 21:41:03 +02:00
Alberto Griggio
6fe04e3990 fixed warnings in rtgui 2017-04-01 15:55:39 +02:00
Alberto Griggio
674cdb93be improved "zoom to fit" functionality
- fix regression in image quality for the previous zoom levels
- ignore the finer-grained zoom levels when zooming manually (either with the
  scroll wheel or with the buttons), but use them only only for zoom to fit
2017-03-16 23:32:02 +01:00
Alberto Griggio
feed87d046 adding more zoom levels to the image editor 2017-03-16 14:33:26 +01:00
Morgan Hardwood
0dbea030cb Merge branch 'master' into gtk3-merge-master-b8eb349 2016-10-10 23:07:41 +02:00
Hombre
103091e2c9 Code simplification + bugfix 2016-10-07 02:18:52 +02:00
Hombre
773a65b5be Bugfix and using the Navigator's range for displaying values
Thanks a lot to Heckflosse and Floessie for the bugfix
2016-10-07 01:25:45 +02:00
Hombre
f60a4fc4b1 Adding Picker size support and Displayed values support (RGB/HSV/LAB) 2016-10-05 01:13:20 +02:00
Hombre
aca00389d9 Solving most if not all bugs left
Still some features to add, but this commit should make this tool fully
usable.
2016-10-02 17:23:09 +02:00
Hombre
f904bc8f84 First patch of the LockableColorPicker tool.
Still Work In Progress, but can be used without too much hassle.
2016-09-30 01:03:57 +02:00
Beep6581
6daa86be2e Merged master ffd40 into gtk3 9bfca 2016-03-11 18:37:47 +01:00
Hombre
06c26ff1b3 Enhanced edit mechanism, with "element picking" possibility 2016-03-03 00:25:10 +01:00
Hombre
34734350be Merge branch 'master' into gtk3 2016-02-20 18:41:33 +01:00
Hombre
4665b88788 Modified Preview Canvas
- Now the Preview can show free space around the image (the image's
corner will coincide with the center of the preview area)
- Editing objects can now be manipulated in this free space
- The editing mechanism has been split : it was completely handled in
rtengine before, now rtengine still handle the pipette's data provider,
but rtgui now handle the objects data provider.
- Bugfix: when using coarse rotate in the Editor panel, the Gradient
widgets are now correctly displayed
2016-02-05 01:40:31 +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