Skip to content

MTY_AppSetCursor

chrisd1100 edited this page Mar 26, 2023 · 1 revision

Use a cursor predefined by the OS.

The cursor set via this function will take precedence over any set with MTY_AppSetPNGCursor.

void MTY_AppSetCursor(
    MTY_App *  ctx,
    MTY_Cursor cursor
);

Parameters

ctx (MTY_App *)

The MTY_App.

cursor (MTY_Cursor)

The predefined cursor. Set MTY_CURSOR_NONE to revert the effects of this function.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: App

Clone this wiki locally