46 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
Pandagrapher
c28d5aab97 Merge with "Beep6581/dev" 2023-03-11 11:02:29 +01: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
Lawrence Lee
40678f67b0 Refactor tool name code 2021-12-11 21:21:54 -08:00
Flössie
64382928c1 Fix -Wodr in GCC LTO builds
I've tested GCC 10 and 11, which exhibit the problem, and 8, which
doesn't.
2021-07-05 13:06:33 +02:00
Lawrence Lee
5f88cf240e Use enums for on-preview geometry 2021-05-30 11:51:49 -07:00
Lawrence Lee
4bc69dc30c Leave gradient widget in good state on commit
Stop highlighting the hovered or dragged geometry when disabling the
widget.
2021-05-23 12:00:30 -07:00
Lawrence Lee
7e436a44d6 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into spot-removal-tool 2021-03-06 16:41:40 -08: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
Ingo Weyrich
19e3833e66 Merge branch 'dev' into spot-removal-tool 2020-11-24 17:16:41 +01:00
Hombre
f42548b018 Merge branch 'dev' into spot-removal-tool 2020-05-18 14:54:30 +02:00
Desmis
e573de78b4 merge with dev 2020-03-19 13:40:11 +01:00
Ingo Weyrich
f0b5ca02e7 More double promote fixes 2020-02-10 16:22:42 +01:00
Hombre
82e7caa635 Spot removal : differentiating source/dest, betted cursor handling
+ some code cleanup from floessie (see issue #2239)
2019-09-01 02:08:48 +02:00
Desmis
526ec318ce merge with dev 2019-08-19 07:01:36 +02:00
Hombre
8bb88073fa Fixing object precedence in getCursor as well
+ resize of the "catching spot" of the Gradient widget (30 -> 12)
2019-08-18 17:12:37 +02:00
Desmis
7ed4c4422a merge with dev 2019-08-17 06:47:28 +02:00
Ingo Weyrich
8744f8f826 cppcheck: further fixes 2019-08-08 19:10:29 +02:00
Desmis
779ae39f17 merge with dev 2019-07-23 06:40:40 +02:00
Ingo Weyrich
0493e67474 nuke empty adjusterAutoToggled functions 2019-07-20 11:44:38 +02:00
Desmis
e1705ab94b merge with dev 2019-03-26 08:23:01 +01:00
Flössie
14020ed356 Fix wrong consts in editcallbacks.h (#5239) 2019-03-25 18:57:30 +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
heckflosse
020204e0cb Merge branch 'dev' into newlocallab 2019-03-12 14:57:17 +01:00
Flössie
57d030881d More procparams.h relaxation 2019-03-01 17:40:02 +01:00
U-PC-BUREAU\jacques
e7448bd084 merge with dev 2018-10-19 19:26:14 +02:00
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
heckflosse
e9d4dede48 Merge branch 'dev' into newlocallab 2018-09-15 20:53:21 +02:00
Morgan Hardwood
871188a1d8 Navigator should use a different icon while panning
The Navigator uses the same hand icon regardless whether panning
the red square or not, this branch tries to fix that, #4738
Includes a cleanup of icon names, i.e. the crosshair should not be
called the hand.
2018-08-20 10:44:27 +02:00
Morgan Hardwood
0780aa0f8f Merge branch 'dev' into newlocallab 2018-07-19 23:07:59 +02:00
Morgan Hardwood
5309307c7b Theme tweaks in light of new icons, #4469
- Button and combobox sizes consistent.
- Padding around left and right edges of comboboxes.
- Fixed bug in green channel preview togglebutton icon always being
  shown as "off".
- Added CSS classes to various elements.
2018-07-18 19:37:24 +02:00
Morgan Hardwood
3750b00272 Tweaked crosshair icon, #4469 2018-07-15 12:32:47 +02:00
Morgan Hardwood
522495f4eb Icon cleanup #4469 #3547
Rebased in new branch to cleanup commit history.
2018-07-13 18:13:35 +02:00
Desmis
b3cfb6e04c merge with dev 2017-02-22 07:06:17 +01:00
Flössie
88336cb897 Make RT build without __USE_MISC and __USE_XOPEN 2017-02-14 21:02:39 +01:00
Desmis
273e1cb3b2 Init locallabgtk3 2017-01-21 15:34:40 +01:00
Hombre
06c26ff1b3 Enhanced edit mechanism, with "element picking" possibility 2016-03-03 00:25:10 +01:00
Adam Reichold
21a1b8ebdc Clean up the Coord and PolarCoord helper class for the GUI to follow standard practice for values types. 2016-02-21 18:04:34 +01:00
Hombre
de7c6d773a Updated code taking into account Adam's comments + bugfix 2016-02-13 17:54:47 +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
Hombre
c351be41b8 Add some new features to the On Preview Objects mechanism 2015-08-20 02:33:46 +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