Emerge.Config.Cursor (Emerge v0.5.1)

Copy Markdown View Source

DRM pointer appearance. Set this record as Emerge.Config.Input.cursor. Desktop window cursors remain controlled by their window backend.

%Emerge.Config{
  input: %Emerge.Config.Input{
    cursor: %Emerge.Config.Cursor{hardware: false}
  }
}

Fields

All icon fields default to nil, keeping the built-in icon. Overrides apply to DRM; they do not replace desktop system cursors. All fields require a new viewport to change.

Summary

Types

Canonical form after nested keyword records have been expanded.

Typed keyword shorthand accepted in this record's parent field.

t()

Types

normalized_t()

@type normalized_t() :: %Emerge.Config.Cursor{
  default: Emerge.Config.CursorIcon.normalized_t() | nil,
  hardware: boolean(),
  pointer: Emerge.Config.CursorIcon.normalized_t() | nil,
  text: Emerge.Config.CursorIcon.normalized_t() | nil
}

Canonical form after nested keyword records have been expanded.

options()

Typed keyword shorthand accepted in this record's parent field.

t()

@type t() :: %Emerge.Config.Cursor{
  default:
    Emerge.Config.CursorIcon.t() | Emerge.Config.CursorIcon.options() | nil,
  hardware: boolean(),
  pointer:
    Emerge.Config.CursorIcon.t() | Emerge.Config.CursorIcon.options() | nil,
  text: Emerge.Config.CursorIcon.t() | Emerge.Config.CursorIcon.options() | nil
}