Class Cursor

A cursor is how the mouse at its location looks While this class should *technically* be defined in d2d.sdl2, its only use is in Mouse And since this class is small, instead of giving it its own file, I'll keep it here

class Cursor ;

Constructors

NameDescription
this Creates a cursor from a surface and the hotspot The hotspot is where on the surface is the actual mouse location
this Creates a cursor from a predefined system cursor
this Creates a cursor from an already SDL_Cursor

Properties

NameTypeDescription
handle[get] derelict.sdl2.internal.sdl_types.SDL_Cursor*Returns the raw SDL data of this object