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
Is your feature request related to a problem? Please describe.
I would like my game editor application to be able to change the mouse cursor icon to a custom image. I'm sure many other kinds of applications like image manipulation software could also benefit from this feature
Describe the solution you'd like
The ideal solution would be to just add an extra Custom(ColorImage) or Custom(TextureId) variant to the CursorIcon enum. Please let me know which one is better!
Describe alternatives you've considered
If the above solution isn't viable, another decent one seems to be adding a set_custom_cursor_icon method to Context.
Additional context
Here's an example of what I want to achieve:
Also, we're waiting for winit to release with the recently merged PR that added this feature which we can then use in eframe.
The text was updated successfully, but these errors were encountered:
This would be really helpful for us as well - even if it was just an identifier like Custom(&'static str) as we're ultimately using CSS to draw the cursor.
Is your feature request related to a problem? Please describe.
I would like my game editor application to be able to change the mouse cursor icon to a custom image. I'm sure many other kinds of applications like image manipulation software could also benefit from this feature
Describe the solution you'd like
The ideal solution would be to just add an extra
Custom(ColorImage)
orCustom(TextureId)
variant to theCursorIcon
enum. Please let me know which one is better!Describe alternatives you've considered
If the above solution isn't viable, another decent one seems to be adding a
set_custom_cursor_icon
method toContext
.Additional context
![image](https://private-user-images.githubusercontent.com/2311185/298195756-f1c1e33b-14a5-4c9d-807e-aa69f9c9d501.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTA4NjksIm5iZiI6MTczOTYxMDU2OSwicGF0aCI6Ii8yMzExMTg1LzI5ODE5NTc1Ni1mMWMxZTMzYi0xNGE1LTRjOWQtODA3ZS1hYTY5ZjljOWQ1MDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMDkwOTI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZWQ0NTI4ZjIxNzQyODQ1NWNhNGJhY2NkNTFkOGFlNDM5YTI3MjE1NzNmMmYyNzRmNjdlNTA4M2JkZThjZDA1MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.fzplkKDkyUdTxANuJcOXNp7k6dpYOEijhSAn2_BtX5Y)
Here's an example of what I want to achieve:
Also, we're waiting for
winit
to release with the recently merged PR that added this feature which we can then use ineframe
.The text was updated successfully, but these errors were encountered: