Sophie Herold
e9869bcb40
edit: Use proper styling for toolbar
2024-12-22 20:27:33 +01:00
Sophie Herold
5b184e6be9
edit: Scale cropping selection area with image
2024-12-22 20:27:33 +01:00
Sophie Herold
6867e0b13f
Add cropping
2024-12-22 20:27:33 +01:00
Sophie Herold
ef4b65efbb
core: Fix typo
...
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/459 >
2024-09-25 22:30:55 +00:00
Sophie Herold
be32072d7a
image: Keep texture around until new is available
...
Keep previous texture around during image reloads to avoid flickering.
2024-08-16 13:30:18 +02:00
Sophie Herold
14e5d03a1e
image/rendering: Use new GdkMonitor geometry units
...
The bug that the geometry isn't returned in app pixels on wayland
without scale-monitor-framebuffer was fixed in GDK. Therefore also
require newer GTK version.
2024-02-11 19:03:32 +01:00
Sophie Herold
8c817a3ec6
meta: Update copyright annotations
2024-02-09 20:55:26 +01:00
Sophie Herold
6a4c1c61d7
image/scrollable: Add non-nullable adj getters
...
Somehow they are not automatically generated anymore with new gtk-rs
version.
2024-02-08 21:19:09 +01:00
Sophie Herold
0ed7036098
cargo: Update gtk-rs stack
2024-02-08 21:19:05 +01:00
Sophie Herold
a7116925bf
debug: Add more tracing for initial operations
2024-02-08 00:57:33 +01:00
Sophie Herold
e0df6fc725
image/rendering: Clamp natural size correctly
2024-01-19 15:47:16 +00:00
Sophie Herold
fe43bc3a4c
metadata: Centralize many loose ends
2024-01-01 22:43:30 +01:00
Sophie Herold
db6a7e7f2a
image: Move most functions to imp module
2023-12-27 00:12:35 +01:00
Sophie Herold
e387d8dc66
image: Check realized before using surface
...
This avoids crashes in early calls to scaling()
2023-12-26 18:36:26 +01:00
Sophie Herold
057ca6a3d0
image/rendering: Use scale instead of scale-factor
...
`GdkSurface:scale` supports fractional scaling available as
"scale-monitor-framebuffer" on Mutter. Use this value everywhere
instead of the integer scale-factor
Closing #182
2023-12-06 23:39:09 +01:00
Sophie Herold
9c8d3dc63f
image/rendering: Do not config adj in snapshot
...
This caused warnings and scrollbars to disappear under certain
conditions.
2023-12-05 21:35:03 +01:00
Sophie Herold
3ab4d82d36
image: Reorganize into several sub-modules
2023-12-05 16:00:46 +01:00