mouse cursor shape

/* Create a mouse cursor from a predefined, named bitmap; returns NULL on error. */ mbtk_mocu_t *mbtk_mocu_create_named(mbtk_display_t *disp, mbtk_mocu_named_t name); /* Create a mouse cursor from an 1-bit pixmap. Width must be divisible by 8. Pixels are drawn where px 0=black, 1=white while mask is 1; if mask is 0, the pixel is transparent and px should be 0. (Only black&white cursors can be created this way) */ mbtk_mocu_t *mbtk_mocu_create_pixmap(mbtk_display_t *disp, int width, int height, unsigned const char *px, unsigned const char *mask, int hot_x, int hot_y); /* Free memory allocated for curs and unregister it from the backend */ void mbtk_mocu_free_cursor(mbtk_display_t *disp, mbtk_mocu_t *curs); /* Set current cursor to curs; if curs is NULL, set it to system default */ void mbtk_mocu_set_cursor(mbtk_display_t *disp, mbtk_mocu_t *curs);