chickadee » sdl2 » create-color-cursor*

create-color-cursor surface hot-x hot-yprocedure
create-color-cursor* surface hot-x hot-yprocedure
create-colour-cursor surface hot-x hot-yprocedure
create-colour-cursor* surface hot-x hot-yprocedure

See SDL_CreateColorCursor.

  • create-color-cursor and create-colour-cursor return a memory-managed sdl2:cursor.
  • create-color-cursor* and create-colour-cursor* return an unmanaged sdl2:cursor, which should be freed with free-cursor! when you are done with it.

Requires sdl2 egg 0.4.0 or higher.