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
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Flössie
0cbc4923bc Relax dependency from procparams.h 2019-02-28 20:44:50 +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
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
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
Flössie
0ea3ad8781 Prevent coarse display when updating parameters 2018-04-28 10:05:35 +02:00
heckflosse
c9819d35e6 Avoid unnecessary processing when zooming to >= 100% or opening detail windows 2018-02-06 13:50:00 +01:00
Flössie
78045374ad Fix coarse initial display (#4224) 2018-01-25 18:57:02 +01:00
Alberto Griggio
16c8f18976 make sure that the idle callback set by CropHandler::setDetailedCrop gets called before redraws
Fixes #4224
2018-01-22 23:00:37 +01:00
heckflosse
8ee8701141 Detail windows broken at higher zoom levels, #4224 2018-01-18 19:49:05 +01:00
heckflosse
8aff354df9 Fix some coverity and cppcheck issues 2017-06-18 18:40:40 +02:00
Alberto Griggio
6fe04e3990 fixed warnings in rtgui 2017-04-01 15:55:39 +02:00
Alberto Griggio
7689502764 crophandler: changed Gdk::INTERP_NEAREST to Gdk::INTERP_TILES for better zoom quality 2017-03-19 11:59:19 +01:00
Alberto Griggio
5bb40ff0ad merged with dev 2017-03-19 11:58:09 +01:00
Flössie
5d7191070b Fix a OOB access in CropHandler::setDetailedCrop() (#3763) 2017-03-18 19:48:04 +01: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
Flössie
79ff7f5997 Replace all add_idle()s with IdleRegister 2017-02-10 21:22:42 +01:00
heckflosse
b16ef8d1f5 Merge master into gtk3 2016-10-28 17:59:47 +02:00
Hombre
22d8869953 Hotfix for issue #3480. 2016-10-24 01:14:35 +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
Ingo Weyrich
a57ecac9e9 Merge pull request #3452 from Beep6581/cppcheck
merge fixes for a lot of issues reported by Cppcheck
2016-10-09 22:55:31 +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
heckflosse
566d4c9822 Cppcheck: Fixed most issued in rtgui/* 2016-10-04 23:28:19 +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
Hombre
fc00537b2c Merge branch 'master' into gtk3 2016-03-19 11:15:03 +01:00
Hombre
f36565cba9 Fix issue #3182: "Preview image jumps around on canvas while zooming" 2016-03-18 21:49:23 +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
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