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
Lawrence Lee
143e5c6783
Merge branch 'dev' into favorites-gui 2023-01-02 15:37:07 -08:00
Bezierr
c2c7f2c862
Film Simulation ComboBox for long HaldCLUT names (#6423)
* Film Simulation ComboBox for long HaldCLUT names

Small change that makes the Film Simulation ComboBox look better if there are HaldCLUT names that are too long to fit into it

* Ellipsize long HaldCLUT names

Functionality moved to ClutComboBox constructor.

* Wrapped in Gtk::manage

Wrapped in Gtk::manage

* Compacted.
2022-03-26 11:34:42 +01:00
Lawrence Lee
40678f67b0 Refactor tool name code 2021-12-11 21:21:54 -08:00
Ingo Weyrich
0493e67474 nuke empty adjusterAutoToggled functions 2019-07-20 11:44:38 +02:00
heckflosse
66c9cd6177 Don't scan for darframes/flatfields/cluts if folder is not set, #2238 2019-06-24 19:52:17 +02:00
heckflosse
6d1b1c7691 Remove StopWatch 2019-05-14 13:01:58 +02:00
heckflosse
141e9f632f Scan clut folder: Don't check for unused profile 2019-05-13 23:12:40 +02:00
heckflosse
ea2e9dd274 Scan clut folder: check for .png first because most of cluts are png 2019-05-13 23:04:14 +02:00
heckflosse
1be40beafa Scan clut folder: use std::set<std::string> instead of std::set<Glib::ustring> 2019-05-13 22:54:00 +02:00
Hombre
52dcd08b97 Merge branch 'dev' into hidpi-icons 2019-03-13 01:00:14 +01:00
Flössie
51f06dfa6d Explicitly destroy static Glib::RefPtr<>s on exit (fixes #3636) 2019-03-09 12:06:54 +01:00
Flössie
57d030881d More procparams.h relaxation 2019-03-01 17:40:02 +01:00
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
heckflosse
260d7fadf9 Adjustments in Batch Edit sometimes clear the HaldCLUT combo box, fixes #4720 2018-09-18 14:28:39 +02:00
Morgan Hardwood
cfd666f23e Clear Film Simulation combo when changing images
When switching to the "next" image whose HaldCLUT does not exist,
RT would show the previous image HaldCLUT's name in the
"Film Simulation" combo, even though it is not being used.
This patch by Hombre fixes it, and fixes #4388
2018-02-26 00:14:33 +01:00
Alberto Griggio
2956be333b speed up loading of film simulation cluts by using one shared TreeModel for all the combo boxes 2017-10-13 23:06:52 +02:00
Flössie
c6c9ad5eef Sort HaldCLUT directories (fixes #4123) 2017-10-02 07:49:12 +02:00
heckflosse
97e558a040 Fixed some coverity issues 2017-06-12 17:54:34 +02:00
Alberto Griggio
68271a513b Correctly reset the m_oldClutFilename field when initializing the film simulation tool
Fixes issue #3831
2017-04-17 23:13:16 +02:00
Flössie
9b5ffaf4aa Some minor cleanups 2017-02-14 20:49:10 +01:00
Flössie
6bcac40306 Allow relative CLUT paths (#3639) by @agriggio
Kudos to Alberto Griggio for this contribution! 👍
2017-02-14 20:19:00 +01:00
Flössie
29fe23e517 Move film_simulation_strength calculation into HaldCLUT::getRGB()
- Moved `film_simulation_strength` calculation into `HaldCLUT::getRGB()`
- Removed unneeded base class `CLUT`
- Used `_MM_SHUFFLE`
2016-04-29 17:26:56 +02:00
Flössie
e495093b18 Clean up clutstore.* and add LRU cache
This commit adds a true LRU cache to `rtengine` which is used in the new
`CLUTStore` class. The code in `clutstore.*` was cleaned up with C++11
features and small optimizations taken from my `clutbench` project.
The `CLUTStore` class was converted to a true singleton.
2016-04-23 22:55:28 +02:00
Adam Reichold
a2eea7c265 Finally fully remove the safegtk module. 2016-02-21 10:26:11 +01:00
Adam Reichold
5499974ffa Fix #3121 by asking the user if a slow CLUT scan should be cancelled. 2016-01-27 21:18:50 +01:00
Adam Reichold
75e605012a Fix logic error in extension checks for loading ICC and CLUT files. 2016-01-17 16:21:57 +01:00
Adam Reichold
250e06884d Only notify the user once if the parseDir method of the film simulation is slow. 2016-01-12 17:31:13 +01:00
Adam Reichold
bf2c24a48f Limit CLUT file search by wall time instead of number of directories and files. 2016-01-11 23:42:59 +01:00
Adam Reichold
93d497573a Only sort those CLUT file names which are actually regular files. 2016-01-11 22:57:32 +01:00
Adam Reichold
cc585058ab Limit the recusrion depth, direction and file count of the search for CLUT files. 2016-01-11 20:58:36 +01:00
Adam Reichold
b8aa69c8d5 Fix SIGSEGV on startup if ClutsDirectory is empty by always creating a model. 2016-01-11 18:57:45 +01: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
effb46c3e1 Line endings 2015-08-11 11:53:44 +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