This adds the ability to change the cursor on Windows platforms. For some reason there are very few default cursors included in Windows so a lot of cursors available on other platforms aren't available yet, which is why many of the MouseCursor options just maps to IDC_ARROW. I'll look into adding custom cursors next.
LoadCursorW is supposedly superseded by LoadImageW but I couldn't find a way to do it with that one that doesn't crash.
Tested with Vizia's cursor icon example here and everything seems to work as it should.
Also tested by hovering over some buttons on a plugin.
This adds the ability to change the cursor on Windows platforms. For some reason there are very few default cursors included in Windows so a lot of cursors available on other platforms aren't available yet, which is why many of the
MouseCursor
options just maps toIDC_ARROW
. I'll look into adding custom cursors next.LoadCursorW
is supposedly superseded by LoadImageW but I couldn't find a way to do it with that one that doesn't crash.Tested with Vizia's cursor icon example here and everything seems to work as it should. Also tested by hovering over some buttons on a plugin.