Custom Cursors with Scaling

I’m designing a set of custom cursors for Zrythm and want them to scale with the user’s custom cursor size setting. How do I best achieve this?

Right now, I’m using a similar workflow as a-i-t is using: one SVG with all cursors, and a script to export each cursor. In their case, in the build step, the pngs (in different sizes) are built as .cur and .ani files with the help of .in files describing hotspots. I tried this but can’t get those file formats to work with gtk_widget_set_cursor. Instead, I’ve modified to export SVG’s, and simply set the 24x24 ones as the cursors with hardcoded hotspots in the source files. But of course, these do not respect the custom cursor size.

Thanks in advance!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.