-
Notifications
You must be signed in to change notification settings - Fork 50
MTY_AppSetRGBACursor
chrisd1100 edited this page May 13, 2023
·
1 revision
Set the app's cursor to an RGBA image.
void MTY_AppSetRGBACursor(
MTY_App * ctx,
const void * image,
uint32_t width,
uint32_t height,
uint32_t hotX,
uint32_t hotY
);
ctx
(MTY_App *
)
The MTY_App
.
image
(const void *
)
A buffer holding 8-bits per channel RGBA.
width
(uint32_t
)
Width of image
.
height
(uint32_t
)
Height of image
.
hotX
(uint32_t
)
The cursor's horizontal hotspot position.
hotY
(uint32_t
)
The cursor's vertical hotspot position.