snowcone-ltd / libmatoya

Cross-platform application development.
MIT License
592 stars 52 forks source link

Add MTY_AppSetCursorSize #130

Open RonaldH-Parsec opened 10 months ago

RonaldH-Parsec commented 10 months ago

Set the cursor magnification scale for new cursors.

On platforms that support cursor magnification, this tells libmatoya that whenever new cursors are set with MTY_AppSetRGBACursor or MTY_AppSetPNGCursor, the provided cursor bitmaps are assumed to be the specified width and height, rather than the pixel size of the buffer passed to the function.