View Source Exray.Core.Cursor (Exray v0.1.0)

Summary

Functions

Check if cursor is not visible

Check if cursor is on the screen

Disables cursor (lock cursor)

Enables cursor (unlock cursor)

Hides cursor

Shows cursor

Functions

@spec cursor_hidden?() :: true | false

Check if cursor is not visible

@spec cursor_on_screen?() :: true | false

Check if cursor is on the screen

@spec disable_cursor() :: {:ok}

Disables cursor (lock cursor)

@spec enable_cursor() :: {:ok}

Enables cursor (unlock cursor)

@spec hide_cursor() :: {:ok}

Hides cursor

@spec show_cursor() :: {:ok}

Shows cursor