bevy icon indicating copy to clipboard operation
bevy copied to clipboard

WIP custom cursors

Open amytimed opened this issue 1 year ago • 1 comments

hello, this PR is a wip draft PR to add custom cursor support to bevy

Objective

  • Adds custom cursor support to Bevy
  • Fixes #9557

Solution

  • Splits CursorIcon into two enum variants: SystemCursor and CustomCursor

Testing

As this is an unfinished draft PR, it has not yet been tested

amytimed avatar Jul 06 '24 22:07 amytimed

Does it make sense to flatten SystemCursor into CursorIcon?

Also, we might want CustomCursor to consist of a Handle<Image> + hotspot for easy use with assets, though that means you need bevy_render for custom cursors, so maybe a convenience method that converts the image to Rgba will have to do.

SpecificProtagonist avatar Jul 07 '24 20:07 SpecificProtagonist

Closing in favor of #14284.

alice-i-cecile avatar Aug 05 '24 23:08 alice-i-cecile