-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_AppSetPNGCursor
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Set the app's cursor to a PNG image.
void MTY_AppSetPNGCursor(
MTY_App * ctx,
const void * image,
size_t size,
uint32_t hotX,
uint32_t hotY
);
ctx
(MTY_App *
)
The MTY_App
.
image
(const void *
)
A buffer holding a compressed PNG image.
size
(size_t
)
Size in bytes of image
.
hotX
(uint32_t
)
The cursor's horizontal hotspot position.
hotY
(uint32_t
)
The cursor's vertical hotspot position.