55 Commits

Author SHA1 Message Date
Lawrence37
fa4d0e1f24
Merge pull request #7265 from Lawrence37/info-font-size
Quick info font size
2025-02-01 11:44:32 -08:00
Lawrence Lee
5fe1520c65
Set font size of quick info display
Use the main font size set in preferences.
2024-12-08 17:17:41 -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
bf988ad274 Updates font management for hidpi
Improvements:
- Cleanup of default options files to use OS font by default
- Comments updates
- Simplify font size management as Pango/Gtk directly manage pt/px conversions

Bug fix:
- If Preference panel is closed by "cancel", font size was not reinitialized to previously saved one
- Font size was specified in "RawTherapee.css" theme and so user choice could be ignored
2023-08-23 13:43:07 +02:00
Pandagrapher
21ebb81ece Stop using scale factor for font and pixel size scaling 2022-12-09 16:09:03 +01:00
Pandagrapher
7ee6fd795b Add other font size scaling
Minor fixes:
- Fixes some incorrect cast
- fixes some incorrect comments
2022-08-19 19:05:06 +02: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
Ingo Weyrich
033d9fe02a Merge branch 'dev' into newlocallab 2019-11-04 23:01:33 +01:00
Ingo Weyrich
b3b1008270 Further reduction of include dependencies 2019-11-02 17:29:26 +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
4101102ddf cppcheck: further fixes 2019-07-31 20:02:35 +02:00
Desmis
779ae39f17 merge with dev 2019-07-23 06:40:40 +02:00
Ingo Weyrich
cbb3f05b7e use empty() instead of comparison with an empty string 2019-07-22 13:49:08 +02:00
Pandagrapher
680dd1a424 Center new spot inside preview area, fixes #5220
When adding/duplicating spot, new spot is now centered according to the
preview area. Moreover ellipse/rectangle size takes into account the
preview area size (but it is saturated at maximum at 250 for a creation,
at duplicated spot size for a duplication). Center circle radius is
unchanged
2019-04-24 20:33:35 +02:00
Hombre
52dcd08b97 Merge branch 'dev' into hidpi-icons 2019-03-13 01:00:14 +01:00
Flössie
0cbc4923bc Relax dependency from procparams.h 2019-02-28 20:44:50 +01:00
Hombre
97824da6de Histogram and Navigator now handle Hi-DPI.
+ widgets are now sized depending on Hi-DPI
see issue #3547
2019-01-04 15:32:35 +01:00
heckflosse
81dd3dc3d9 Remove printf introduced with 0d61f14 2018-10-14 12:26:43 +02:00
Hombre
0d61f14bae Added support for GDK_SCROLL_SMOOTH in some widgets
see #4781, #4786
2018-09-15 21:14:48 +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
heckflosse
cbdf30f691 Merge branch 'dev' into sharpmask 2018-06-13 22:29:45 +02:00
heckflosse
ebfc5dab9b Info area hidden by detail window, fixes #4606 2018-06-13 22:27:29 +02:00
heckflosse
1b094a084a Show/hide contrast mask, still wrong icon on button 2018-06-13 13:02:10 +02:00
heckflosse
c9819d35e6 Avoid unnecessary processing when zooming to >= 100% or opening detail windows 2018-02-06 13:50:00 +01:00
heckflosse
1f42e5cdd4 Avoid unnecessary update to main preview when opening first detail window, fixes #4368 2018-02-05 16:01: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
a43886032f small tweak to the "zoom to fit crop" functionality 2018-01-04 09:29:53 +01:00
Alberto Griggio
8168611c23 added preferences to control the behaviour of the crop tool 2018-01-03 15:44:34 +01:00
Alberto Griggio
0ac3bafbca some tweaks to the cropping GUI, inspired by recent comments on pixls.us 2018-01-01 22:48:16 +01:00
heckflosse
655d66a859 Fix some coverity issues 2017-06-18 00:10:31 +02:00
Hombre
b3167eadce Merge branch 'gtk3' into gtk3-bugfix 2016-11-12 01:19:27 +01:00
Hombre
024905a8ca Merge branch 'master' into gtk3 2016-11-11 23:05:29 +01:00
Hombre
2bf87d5c5c Fixing issue #3497: "Lockable color picker interacts with info text on
image area"
2016-11-05 19:13:59 +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
heckflosse
b16ef8d1f5 Merge master into gtk3 2016-10-28 17:59:47 +02:00
Flössie
aeaff29ac0 Apply readability-simplify-boolean-expr 2016-10-12 20:01:30 +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
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
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
cb916f7c2d Merge branch 'master' into gtk3 2016-02-23 09:26:00 +01:00
Hombre
0b32f12f6c Solving issue #3163: "Detail window centres to whole image instead of
centre of preview"
2016-02-21 00:20:34 +01:00
Hombre
34734350be Merge branch 'master' into gtk3 2016-02-20 18:41:33 +01:00
Hombre
de7c6d773a Updated code taking into account Adam's comments + bugfix 2016-02-13 17:54:47 +01:00