showCursor property

bool showCursor

Returns true if the cursor is shown, false otherwise.

SDL Docs

Implementation

bool get showCursor =>
    getBool(checkReturnValue(sdl.SDL_ShowCursor(SDL_QUERY)));
void showCursor=(bool enabled)

Toggle whether or not the cursor is shown.

SDL Docs

Implementation

set showCursor(final bool enabled) =>
    checkReturnValue(sdl.SDL_ShowCursor(boolToValue(enabled)));