You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2024. It is now read-only.
I'm also interested in this... I don't know how the UIs do that, but SDL offers world class xplat cursor image support, including hardware cursors, don't know whether it's available in scripting though.
When you set the hardware cursor using SDL, apparently there's no restriction on image size, what strikes me as a bit odd to say the least, but on my hardware any size seems to work perfectly fine, some engines however restrict hardware cursor to very small sizes (e.g.:32x32px) and fallback to the terrible software cursor when you exceed that size, I couldn't find any reason regarding that limitation on the hardware side though, SDL seems to quite happily use any size, but I'm afraid that in some hardware/platforms that'll break badly. Any ideas on this?
Nope, you can set it using SDL directly, there's no API and I've no idea on how the UIs set that, Urho UI probably just abstracts the SDL stuff, no idea on TB, but if it's software cursor that's not good, hardware cursor is the way to go but there gotta be some safe limits otherwise other engines wouldn't be fallbacking.
The Urho UI provides a method to set the cursor image however Turbobadger doesn't offer this so this functionality went away with SystemUI.
The text was updated successfully, but these errors were encountered: