Commit Graph

4 Commits

Author SHA1 Message Date
Ano-sys a395470d88 + image scaling on mouse scroll
+ window resize redraws surface
+ moved window loop into own function
- removed on_wheel call to resize window for now -> hyprland is not handling this
+ image is not initially drawn onto displayed surface anymore, a subsurface is used (image_surface) to allow scaling on the real surface without redrawing the image in buffer.
+ renamed free_image to free_image_buffer to be more clear about the functionallity
+ renamed draw_image to create_image_surface
+ draw_image is a new function which draws the image_surface with linear scale onto the windows surface
2026-08-15 17:44:43 +02:00
ti_mo 2541f26dda buggy, but better, mouse zoom works most of the time, a strange bug occures when x and y are near zero, sdl then takes no mouse events anymore 2026-05-29 16:37:06 +02:00
Ano-sys 847a445a79 wayland ignores window size requests -> test on macos 2026-05-29 16:07:48 +02:00
ti_mo b78359dc02 initial push 2026-05-29 03:37:25 +02:00