13 Commits

Author SHA1 Message Date
Lawrence Lee
29a344aef1
Fix some more compiler warnings 2024-11-18 23:42:33 -08:00
Pandagrapher
488a157476 Fixing review comments 2023-10-13 11:12:37 +02: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
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
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Flössie
363385a838 Streamline RTSurface and fix potential bug in updateImages() 2019-03-21 21:27:04 +01:00
Flössie
fe74625d78 Fix const correctness of RTSurface::get() 2019-03-21 20:55:31 +01:00
Hombre
d059caa7de Enhancing RTSurface: 'surface' now private 2019-03-19 20:45:12 +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