32 Commits

Author SHA1 Message Date
Lawrence37
98752a2433
Merge pull request #7257 from Beep6581/fix-warnings-5.12
Compiler warning fixes
2024-12-26 22:26:11 -08:00
Lawrence Lee
29a344aef1
Fix some more compiler warnings 2024-11-18 23:42:33 -08:00
Lawrence Lee
4e9ceff1e9
Merge remote-tracking branch 'origin/fix-warnings-5.9' into fix-warnings-5.12 2024-11-16 22:27:29 -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
488a157476 Fixing review comments 2023-10-13 11:12:37 +02:00
Pandagrapher
e255a77fcd Fixes AppImage build
- RawTherapee app icon should be installed in hicolor theme provided in AppImage package
- Fix wrong searching path for SVG/PNG images in rtscalable.h
2023-09-12 11:59:43 +02:00
Pandagrapher
5b2dc59fbf Fix incorrect icon names
- Some icon names still had file extension indicated in their names
- This commit also enable icon name debug messages on console
2023-08-12 18:20:27 +02:00
Pandagrapher
21ebb81ece Stop using scale factor for font and pixel size scaling 2022-12-09 16:09:03 +01:00
Lawrence Lee
a2394e08ce
Replace deprecated function (#6563) 2022-09-11 15:10:04 -07:00
Pandagrapher
1c85926200 Creates an RTImage cache
Fixes:
- Fixes GUI issue on Windows (GDI handles limit reached)
- Fixes an incorrect icon name in Perspective tool
- Adds robustness RTScalable::loadSurfaceFromIcon function
2022-09-02 19:15:42 +02:00
Pandagrapher
50e54aa395 Convert remaining RTPixbuf to RTSurface
Changes:
- Remove RTPixbuf use in directory browser to use native GTK mechanism
- Replace RTPixbuf by RTSurface for thumbnail icons
- Remove now useless RTPixbuf class

Fixes:
- Elaborate RTSurface width / height based on the type
2022-08-27 11:37:59 +02:00
Pandagrapher
36222d14a2 Fixes blur rendering with RTSurface on hidpi screen
Other fixes:
- Fixes splash image not rendered
- Cleans commented code
- Replaces deprecated librsvg functions
- Updates Makefile librsvg required minimum version
- Correctly uses RTSurface getWidth / getHeight functions
- Improves lwbutton aspect

Known issues:
- Blur rendering with RTPixbuf on hidpi screen
2022-08-21 15:45:07 +02: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
b4c0bb3acb More double promote fixes 2020-02-10 20:06:43 +01:00
Ingo Weyrich
6935faa258 Further cleanup of include dependencies 2019-10-30 22:12:06 +01:00
Ingo Weyrich
ba8dda1836 Further cleanup of include dependencies 2019-10-30 16:38:02 +01:00
Ingo Weyrich
068847eb5a Further cleanup of include dependencies 2019-10-29 21:06:27 +01:00
Morgan Hardwood
8f0de49d41 Whitespace cleanup
Cleans up whitespace (tab -> space), alignment and DOS line endings.
2019-10-03 11:43:12 +02:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Hombre
500fac34cd The svg2png icon cache is now cleared on new minor version
The `version` value from the `Options` file is compared to the harcoded
value (computed at build time) of the running application. If the major
or minor version is different, the `svg2png` folder is cleaned at
startup-time.
2019-09-05 01:09:48 +02:00
Ingo Weyrich
9293e8e69b Fix some coverity issues 2019-08-09 15:45:52 +02:00
Hombre57
89e63639be Making pseudo-HiDPI tweaks optional, disabled by default
(see issue #5276)
2019-04-14 16:58:11 +02:00
Hombre57
d01d99481d Suppress baseDPI and baseHiDPI hardcoded values
Should fix the issue reported here :
https://discuss.pixls.us/t/test-rawtherapee-5-6-rc1/12073/13
2019-04-11 22:23:07 +02:00
Hombre
4c904967b2 Debug output removed + less wasted space in GUI + grey icon for the
editor tab (completely removed in "Multiple Editor on Own Window" mode).
See #3547
2019-03-13 00:23:41 +01:00
Hombre
0407dc3487 Adding spciial case for MacOS which has a base DPI of 72.
See issue #3547
2019-01-06 20:08:06 +01:00
Hombre
4d77e44880 CSS now handled by RTWindow (instead of main)
see #3547
2019-01-04 23:45:33 +01:00
Hombre
92ed81a1fe Non used svg2png cache folders are now deleted when exiting RT
see #3547
2019-01-02 22:39:49 +01:00
Hombre57
43d1a356f1 Fix wrong formula for icon size 2018-12-14 01:17:27 +01:00
Hombre
81407cd663 Adding SVG support for icons with automatic cache handling
See issue #3547 and #4803
2018-12-13 00:04:30 +01:00
Hombre
5ea0bacddd Icons are resized depending on the current scale/resolution
See issue #3547 and #4803
2018-12-08 22:48:15 +01:00
Hombre
4eb8a8f70c Adding HiDPI support (WIP) 2018-10-25 20:22:33 +02:00