Commit graph

62 commits

Author SHA1 Message Date
Sophie Herold
88099b1ec9 image/zoom: Make code more readable 2024-01-04 14:37:11 +01:00
Sophie Herold
56625f2309 image/zoom: Store pointer target through animation
Closes #48 #287
2024-01-04 14:37:04 +01:00
Sophie Herold
a0e4791e6b image/zoom: Functions to calculate required adj 2024-01-03 00:49:50 +01: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
3d5ef4038e image: Rename background_color module 2023-12-26 22:28:45 +01:00
Sophie Herold
6827a9c176 print: Use LpImage for preview 2023-12-26 21:51:39 +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
d69d0d5e47 image/scrollable: Abstract adjustment access 2023-12-05 21:26:09 +01:00
Sophie Herold
3ab4d82d36 image: Reorganize into several sub-modules 2023-12-05 16:00:46 +01:00