AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.4k stars 289 forks source link

Set hardware cursor capability #756

Closed SirePi closed 4 years ago

SirePi commented 4 years ago

This PR allows the user to set the hardware (system) cursor used by the game window. It takes a Pixmap as base and leaves any necessary conversion to the specific graphics backend - the Point2 parameter is used to define the hotspot (active point) of the cursor.

ilexp commented 4 years ago

Merged. Thanks! 👍